networking

Ubuntu Networking

The other day I went to my company’s office and tried to browse and kept getting denied on DNS lookups. Our network guru told me I needed to add a line in resolve.conf to find the nameserver.

/etc/resolve.conf

Add  line:

nameserver 192.168.1.31

The problem though was that this file gets overwritten, so I had to ask him again for the setting today.  Frustrated at this, I did a bit of research and it looks like if I want to make this change permanent I need to modify dhclient.conf (http://ubuntuforums.org/showthread.php?t=445753)

/etc/dhcp3/dhclient.conf

Add:

supersede domain-name "company.com";
prepend domain-name-servers 192.168.1.31;
http://ubuntuforums.org/showthread.php?t=445753

Tags: , ,

Monday, February 1st, 2010 Linux No Comments