Originally Posted by
blackhatbrigade
What controls the nameservers that show up in /etc/resolv.conf? With a DHCP client that is. Does that setting get pulled from the LAN or is that something that the Local Host controls with DHCP?
Gotta figure out what needs work, my router or my computer
They are not managed by resolv.conf, but by dhclient.conf; so edit the file:
Code:
sudo nano /etc/dhcp3/dhclient.conf
change this line:
Code:
#prepend domain-name-servers 127.0.0.1;
to
Code:
prepend domain-name-servers a.a.a.a,b.b.b.b,c.c.c.c;
where a,b and c are the ip addresses of your DNS servers
Then do:
Code:
sudo /etc/init.d/networking restart
or reboot the machine
Bookmarks