With a little side of applesauce...

Friday, April 6, 2007

DHCP - set nameservers

I was having trouble with Ubuntu in VMWare and InnoTek VirtualBox giving me a working DNS server when using DHCP to configure eth0... So found that you can set your own in the /etc/dhcp3/dhclient.conf:

prepend domain-name-servers 192.168.1.1;


And, restart networking. (Setting the name servers in /etc/resolv.conf, /etc/network/interfaces, or the GNOME networking tool didn't work...)

No comments: