Hi All,

From this page:

Once the interface is configured, the /etc/resolv.conf file will be overwritten. You can customize the resolver configuration by using settings in dhclient.conf(5) and using resolv.conf.tail(5). To prevent the DHCP server from overriding the DNS server you configured in /etc/resolv.conf.tail, add ignore domain-name-servers;
to your /etc/dhclient.conf.

$ cat /etc/dhclient.conf

send host-name "puffer.in.example.net";
ignore domain-name-servers;

$ cat /etc/resolv.conf.tail

search in.example.net
lookup file bind

$ cat /etc/resolv.conf


$ cat /etc/hosts       localhost puffer.in.example.net
::1             localhost

What am I doing wrong? I just want a search domain and a couple NS is resolv.conf


Reply via email to