I followed th instructions in
http://www.openbsd.org/faq/faq6.html#DHCPclient
uncommented request and earrased "domain-name-servers", but dhcp
insist in changing
resolv.conf and also in giving an unwanted DNS server. Why?
Do you know a real solution (not resolv.conf.tail) so that I decide
what in resolv.conf
stay? So that dhclient do not touch resolv.conf?
Thanks
Rodrigo
<begin quote>
No matter how you start the DHCP client, you can edit the /etc/
dhclient.conf file to not
update your DNS according to the dhcp server's idea of DNS by first
uncommenting the
'request' lines in it (they are examples of the default settings, but
you need to uncomment
them to override dhclient's defaults.)
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, host-name, lpr-servers,
ntp-servers;
and then remove domain-name-servers. Of course, you may want to remove
host-name,
or other settings too.
<end of quote>