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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<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>