Richard Heyes wrote:
Or read the contents of /etc/resolv.conf
Faster for static DNS servers, but if you're using DHCP assigned
servers, they aren't likely to be in there.
Yes they are. The DNS resolver has just one place to look, and
that's /etc/resolv.conf.
The DNS resolver? What? If DNS servers are assigned by DHCP how will
they be in resolv.conf?
Because dhcpclient overwrites resolv.conf when it gets DNS details from
a DHCP server.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php