DNS timing out? (was: Network Help)

Paul Sladen sounder at paul.sladen.org
Thu Sep 30 10:39:07 UTC 2004

On Thu, 30 Sep 2004, Olafur Arason wrote:
> >On Sat, 18 Sep 2004, Bert Martin wrote:

> > You can see the DNS servers that are trying to be used, by looking in:
> >   /etc/resolv.conf
> >If you have 'host', or 'dig' on the system (or anyother system), you could
> >try one of the following commands:
> >  $ dig www.ubuntulinux.org @
> In lynx, firefox and epiphany it takes from 10 - 20 sek to get a page up because
> the browser is looking for the address.

Your problem is probably _not_ related to DHCP, IPV6 or the other items you
mentioned you'd tried above.  It is likely that it is purely down to having
a non-responding DNS server configured as the first one in

I've added a intentionally non-existant `' DNS server to my
machine, and you can see the effect below:

  $ grep nameserver /etc/resolv.conf | tee /dev/tty | \
    sed -e 's/nameserver */@/' | \
    xargs -n1 dig www.ubuntulinux.org 2>&1 | grep time  
  nameserver        # non-existant DNS server
  ;; Total query time: 0 msec
  ;; Total query time: 0 msec
  ;; Total query time: 2 msec
  ;; res_nsend to server Connection timed out

if you try the above command you should find the first DNS server in your
list times-out.  A solution is probably adjusting your network
configuration;  for instance a cable-router might be giving itself out as a
DNS server, but not responding because the DNS service is not enabled on it.

Is there no safe way to travel?  London, GB

More information about the ubuntu-users mailing list