On 2011-08-26, I?igo Ortiz de Urbina <tarom...@gmail.com> wrote: > Hi all users and developers > > I simply noticed what I would call a weird behaviour on my 32 bit 4.9 > GENERIC#671 box's dhclient, which I hope is not the expected behavior. > While reading RFC2131, I didnt find any sentence stating or implying > that is the desired behavior, as in a "server MUST...". > > Say I run a local instance of named on my machine. I dont want dhcp to > overwrite my resolv.conf, so I add the classical prepend > dns-name-servers to my dhclient.conf. > > I capture the traffic while asking for an IP address (no prior leases) > and I can see how DHCP packets do not request DNS servers. However, > which I am afraid happens more often than not, my crappy Comtrend > domestic router ignores the request and simply decides to always > answer including my ISPs DNS servers. I could check this with > Wireshark also. The result is resolv.conf has 3 nameserver entries, > instead of the only one I want to prepend.
Not sure I understand exactly what you mean but perhaps you want "supersede" instead of "prepend". Best regards, Jona