Friday, June 12, 2015

OpenBSD overwrite DHCP values delivered from server

Sometimes the DHCP-Server returns wrong values.
To overwrite the search domain:

# cat /etc/dhclient.conf
...
supersede domain-name "my-new-domain.net"
...

then
# reboot
or
# dhclient  

Now the new value is in the /etc.resolv.conf

No comments: