[Pythonmac-SIG] socket.getaddrinfo problems

Steven Palm n9yty at n9yty.com
Sun Apr 18 16:58:52 EDT 2004


On Apr 18, 2004, at 12:44 PM, brad.allen at omsdal.com wrote:
> I thought OS X clients had a local DNS cache by default. Whenever we 
> make a change to our internal DNS server at work, it usually takes 
> about 15 minutes before the clients pick up the change. Rebooting the 
> clients usually clears the local DNS cache and allows them to pick up 
> the change.
>
> The guys in our network dept have asked me to find out how to flush 
> the local DNS cache without rebooting. They say they have a DOS 
> command to do it under Windows, but I haven't been able to find a way 
> to do it on Mac OS X.

  I thought lookupd cached... You could always try:

  /usr/sbin/lookupd -flushcache





More information about the Pythonmac-SIG mailing list