Ah yeah that totally works too- just putting all 4 IPs on the box and loading up each instance on it's own IP. Lot less work to do that way :D<br><br><div class="gmail_quote">On Tue, Mar 25, 2008 at 10:28 PM, Brad Dameron <<a href="mailto:Brad.Dameron@clearwire.com">Brad.Dameron@clearwire.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


<div>
<div 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>
<font face="Tahoma" size="2"><b>From:</b> Chet Nichols III [mailto:<a href="mailto:chet.nichols@gmail.com" target="_blank">chet.nichols@gmail.com</a>]<br><b>Sent:</b> Tue 3/25/2008 4:29 PM<br><b>To:</b> Brad Dameron<br><b>Cc:</b> <a href="mailto:pdns-users@mailman.powerdns.com" target="_blank">pdns-users@mailman.powerdns.com</a><br>
<b>Subject:</b> Re: [Pdns-users] pdns-recursor.<br></font><br></div><div><div></div><div class="Wj3C7c">
<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/" target="_blank">ns1.clearwire.com:53</a> > <a href="http://big-ns-box.clearwire.com:53/" target="_blank">big-ns-box.clearwire.com:53</a></div>
<div><a href="http://ns2.clearwire.com:53/" target="_blank">ns2.clearwire.com:53</a> > <a href="http://big-ns-box.clearwire.com:54/" target="_blank">big-ns-box.clearwire.com:54</a></div>
<div><a href="http://ns3.clearwire.com:53/" target="_blank">ns3.clearwire.com:53</a> > <a href="http://big-ns-box.clearwire.com:55/" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">chet.nichols@gmail.com</a><br>(aim: chet / twitter: chet)<br>*/ </div></div></div></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>*/