<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText99210 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Yes these are behind load balancers. And I am going to put each instance on a seperate IP since they are NATed. I thought I had read something about renaming the startup script and when you start it looks for the matching config file. But I didn't see that in the script itself. </FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Brad</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Chet Nichols III [mailto:chet.nichols@gmail.com]<BR><B>Sent:</B> Tue 3/25/2008 4:29 PM<BR><B>To:</B> Brad Dameron<BR><B>Cc:</B> pdns-users@mailman.powerdns.com<BR><B>Subject:</B> Re: [Pdns-users] pdns-recursor.<BR></FONT><BR></DIV>
<DIV>if you want to run four separate, completely independent instances with no forking/parent, just starting up each one individually, you'll need to change the local-port in each recursor.conf to be unique from the others. one can run on 53, 54, ..., and from there, you'll need to set up something in front that handles layer 4 switching/port translation, and configure 4 virtual IPs on the switch/router, all configured to accept on 53, to do a port translate from the virtual ip:port to the physical ip:port of wherever it would be directed to. 
<DIV><BR></DIV>
<DIV>for example, your switch/router would have the following virtual > physical mappings:</DIV>
<DIV><BR></DIV>
<DIV><A href="http://ns1.clearwire.com:53/">ns1.clearwire.com:53</A> > <A href="http://big-ns-box.clearwire.com:53/">big-ns-box.clearwire.com:53</A></DIV>
<DIV><A href="http://ns2.clearwire.com:53/">ns2.clearwire.com:53</A> > <A href="http://big-ns-box.clearwire.com:54/">big-ns-box.clearwire.com:54</A></DIV>
<DIV><A href="http://ns3.clearwire.com:53/">ns3.clearwire.com:53</A> > <A href="http://big-ns-box.clearwire.com:55/">big-ns-box.clearwire.com:55</A></DIV>
<DIV>etc..</DIV>
<DIV><BR></DIV>
<DIV>not sure what capabilities you have, but thats how we'd do it. if anyone else has any other ways of doing it, feel free to share.</DIV>
<DIV><BR></DIV>
<DIV>then again, this is more of a sysadmin/networking type question and not a pdns-specific question, so i dont want the list to get flooded :)</DIV>
<DIV><BR></DIV>
<DIV>thanks!</DIV>
<DIV><BR></DIV>
<DIV>chet</DIV>
<DIV><BR></DIV>
<DIV>
<DIV class=gmail_quote>On Tue, Mar 25, 2008 at 6:41 PM, Brad Dameron <<A href="mailto:Brad.Dameron@clearwire.com">Brad.Dameron@clearwire.com</A>> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV><FONT face=Arial color=#000000 size=2>I've looked over the docs and not sure how I can run multiple pdns-recursors. We are moving to dual dual-core servers and would like to run multiple recursor instances. I know about the fork process but would prefer to run 4 seperate instances. I know this will require 4 configs but was hoping there was a simple way to handle this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Brad Dameron</FONT></DIV></DIV><BR>_______________________________________________<BR>Pdns-users mailing list<BR><A href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</A><BR><A href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target=_blank>http://mailman.powerdns.com/mailman/listinfo/pdns-users</A><BR><BR></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>/*<BR>Chet Nichols III<BR>mail: <A href="mailto:chet.nichols@gmail.com">chet.nichols@gmail.com</A><BR>(aim: chet / twitter: chet)<BR>*/ </DIV></DIV></BODY></HTML>