[nmglug] Re:lost xserver upon upgrade is OK now, no network tho!

Sam Noble sam at laclinux.com
Thu Apr 27 00:01:23 PDT 2006


On Wed, 2006-04-26 at 17:52 -0600, Brian O'Keefe wrote:
> brianokeefe at ubuntu:~$ pico /etc/resolv.conf
> 
> file has: 192.168.01

Brian it looks like Jason and chochoms have diagnosed this for you.
If you want to make sure that the problem is DNS you could try putting a
few known good IP's in a web browser and seeing if that works.
http://65.19.10.22/
http://64.233.167.104/
http://216.93.164.69/
http://64.58.141.4/

Assuming that works the problem, my favorite solution is adding a
prepend line to the dhclient config, so that everytime you pull a new
dhcp lease, the top nameserver is the one you set and the ones sent via
dhcp are added as secondary and tertiary. (Been trying to use tertiary
in conversation for a year now, finally!)

Pick your favorite DNS server, and then edit the file dhcpd.conf:

$ sudo vi /etc/dhcp3/dhclient

and add/edit the line:
#prepend domain-name-servers 127.0.0.1;

replacing 127.0.0.1 with your favorite DNS server and removing the
leading hash.

So if you want to use the qwest nameservers:

prepend domain-name-servers 205.171.3.65;
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, host-name,
        netbios-name-servers, netbios-scope;

Good luck.
sam





More information about the nmglug mailing list