Hi All,

From this page:
https://www.openbsd.org/faq/faq6.html#Setup

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
nameserver 192.168.0.17
lookup file bind

$ cat /etc/resolv.conf


$

$ cat /etc/hosts


127.0.0.1       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

Thanks!

Reply via email to