[Pythonmac-SIG] socket.getaddrinfo problems
dudley at cs.stanford.edu
Sun Apr 18 11:50:30 EDT 2004
Jack Jansen wrote:
> On 17 Apr 2004, at 04:31, Dudley Carr wrote:
>> Jack Jansen wrote:
>> > Is it feasible to put a sniffer on your network and see whether there's
>> > funny network traffic going on?
>> I did the next best thing and turned on Bind on OS X for local DNS
> How do you do this? As this is the second time this problem has come up
> it would be good to have instructions available for solving the issue the
> next time someone experiences it...
> Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
> If I can't dance I don't want to be part of your revolution -- Emma Goldman
I followed the direction as outline on this page:
The instructions are correct except for two small omissions:
1) The page instructs you to execute "rndc-confgen > rndc.conf" in the /etc
directory. The rndc.conf file has two sections to it. The second half of the
rndc.conf is commented out. The commented out portion at the bottom of the
rndc.conf file should be inserted at the top of the named.conf file, and it has
to be uncommented.
2) The network connection settings have to be changed so that all DNS queries
are sent through the local BIND server. I had to go to
System Preferences -> Network
and add 127.0.0.1 as the only server in the DNS Servers section.
3) After making the configuration file changes, Bind has to be started or the
machine has to be rebooted.
More information about the Pythonmac-SIG