how to ask different DNS for gethostbyname?

Koji Nobumoto koji at twinsun.com
Wed Mar 20 05:04:16 EST 2002


Dear All,

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?

Thanks in advice

Koji



More information about the Python-list mailing list