[Zope-dev] zope and dns question

Júlio Dinis Silva juliodinis@hotmail.com
Wed, 05 Sep 2001 11:58:08 +0100


<html><div style='background-color:'><DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Problem:</DIV>
<DIV>-two zeo clients running on linux.</DIV>
<DIV>-there is a problem with the dns server and we change /etc/resolve.conf to use another dns server.</DIV>
<DIV>-now the linuxs running the zeo clients have their dns problem solved.</DIV>
<DIV>-but the running zeo clients cant see this dns update.</DIV>
<DIV>-only restarting the zeo clients they became aware of the dns new configuration.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I can see in z2.py a DNS_IP option. My zeo zlients run without this option which defaults</DIV>
<DIV>to localhost 127.0.0.1.</DIV>
<DIV>&nbsp;&nbsp;&nbsp; if DNS_IP:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rs = resolver.caching_resolver(DNS_IP)<BR>&nbsp;&nbsp;&nbsp; else:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rs=None</DIV>
<DIV>&nbsp;</DIV>
<DIV>How can one force zope to resolve with the new linux so configurations, i.e, is there a way</DIV>
<DIV>to update the dns resolve information of a running zope.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best Regards,</DIV>
<DIV>Júlio Silva</DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>