how to ask different DNS for gethostbyname?

Anthony Baxter anthony at interlink.com.au
Wed Mar 20 08:56:21 EST 2002


> Is there any way to use a DNS which is not looked up
> when I just use the socket.gethostbyname(),  without
> changing /etc/resolv.conf or any system configuration?

try pydns.sf.net

-- 
Anthony Baxter     <anthony at interlink.com.au>   
It's never too late to have a happy childhood.





More information about the Python-list mailing list