Override DHCP assigned DNS

Adam Conrad adconrad at ubuntu.com
Sat Feb 25 15:44:44 UTC 2006


Jason O'Connell wrote:
> 
> I've tried making resolv.conf immutable, but that seems to hang the
> networking init script after a reboot. Aside from switching to static IP
> settings, does anyone know how to overried DHCP assigned DNS?

See /etc/dhcp3/dhclient.conf and "man dhclient.conf", specifically you
may want to "supersede" the "domain-name" and "domain-name-servers" options.

... Adam





More information about the ubuntu-users mailing list