[pkg-dhcp-devel] Bug#787622: isc-dhcp-client: No documented way to drop "options rotate" in /etc/resolv.conf using dhclient.conf
Santiago Vila
sanvila at unex.es
Wed Jun 3 12:17:24 UTC 2015
Package: isc-dhcp-client
Version: 4.3.1-6
I want to add 127.0.0.1 at the top of my nameserver list in
/etc/resolv.conf, so I used this in dhclient.conf:
prepend domain-name-servers 127.0.0.1;
But this is not enough in my case, because the DHCP configuration from
my VPS provider makes /etc/resolv.conf to have this line at the end:
options rotate
The problem is that I don't want rotating nameservers, I want to use
127.0.0.1 most of the time.
The manpage for dhclient.conf should explain how to disable such line
(if there is a way at all to do so). Currently, it does not say anything.
Thanks.
More information about the pkg-dhcp-devel
mailing list