Still fighting to get names to resolve in Ubuntu

Arsenio Lupin lupiniii__ at hotmail.com
Sun Oct 2 11:52:10 UTC 2005


Colin Murphy wrote:
> I am still banging on about this problem I am having getting my internet 
> connection to work properly.  I think the problem is tied to resolving domain 
> names.
> 
> On my ADSL line I have an Addon ARM8100 router/modem.  Looking through the web 
> admin tool for the modem I cannot see any options to control or amend 
> nameserver entries.  Ubuntu looks to the router to resolve domain names. 
> 
> This has not previously been a problem because, being a refugee from Suse, I 
> always had my nameservers 'hard coded' in resolv.conf.  This does not seem to 
> be an acceptible way of working in Ubuntu because resolv.conf keeps being 
> overwritten to point at the router, 192.168.1.1.
> 
> I seem to be able to get some sort of name resolution working if I tinker, for 
> instance, if I do :
> 
>  # dig www.google.co.uk

I had a similar problem, but due to a misconfigured
/etc/network/interfaces (probably kde control center messed up something).

Anyway, check the /etc/network/interfaces. It would look something like
this:

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.1.2
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

NOT something like:

auto lo
iface lo inet loopback
address 127.0.0.1   <<<<<<<
netmask 255.0.0.0  <<<<<<<
etc..




More information about the ubuntu-users mailing list