Package: dhcp-client
Version: 2.0pl5-19.1
With a DHCP server configured to send 4 DNS to clients,
dhclient write them all in /etc/resolv.conf, while
the man page of /etc/resolv.conf says :
[...]
nameserver Name server IP address
Internet address (in dot notation) of a name server that the
resolver should query. Up to MAXNS (currently 3, see
<resolv.h>) name servers may be listed, one per keyword.
[...]
/usr/include/resolv.h says the same thing :
[...]
# define MAXNS 3 /* max # name servers we'll track */
[...]
I think the correct behavior should be to only write the first 3 DNS
received from the server.
I'm using :
* Debian GNU/Linux testing
* libc6 version 2.3.2.ds1-21
* Linux box 2.6.8-2-686 #1 Mon Jan 24 03:58:38 EST 2005 i686 GNU/Linux
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]