[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Slow DNS Lookups on Debian Etch AMD 64



Hi All,

I'm getting terrible DNS lookup performance on my Debian Etch system.
I've installed the "Etch" - Official Beta amd64 version.

After installing, I noticed that the Internet browsers were taking a
really long time to pull up a web page.  I also observed that the
browser delays seemed to be DNS related as they were spending a lot of
time "Looking up whatever.com...".

I turned off IPv6 and it made no observable difference.

It seems that a DNS lookup is taking 10s on average.  Here is the dig
output for one such lookup:

debian:/# time dig 192.168.0.1 www.yahoo.com
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52841
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;192.168.0.1.                   IN      A

;; AUTHORITY SECTION:
.                       7650    IN      SOA     A.ROOT-SERVERS.NET.
NSTLD.VERISIGN-GRS.COM. 2007050901 1800 900 604800 86400

;; Query time: 10 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Thu May 10 09:39:21 2007
;; MSG SIZE  rcvd: 104


; <<>> DiG 9.3.4 <<>> 192.168.0.1 www.yahoo.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 60232
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 8, ADDITIONAL: 8

;; QUESTION SECTION:
;www.yahoo.com.                 IN      A

;; ANSWER SECTION:
www.yahoo.com.          41      IN      CNAME   www.yahoo-ht3.akadns.net.
www.yahoo-ht3.akadns.net. 44    IN      A       209.131.36.158

;; AUTHORITY SECTION:
akadns.net.             146740  IN      NS      zc.akadns.org.
akadns.net.             146740  IN      NS      zd.akadns.org.
akadns.net.             146740  IN      NS      eur1.akadns.net.
akadns.net.             146740  IN      NS      eur7.akadns.net.
akadns.net.             146740  IN      NS      usw1.akadns.net.
akadns.net.             146740  IN      NS      asia9.akadns.net.
akadns.net.             146740  IN      NS      za.akadns.org.
akadns.net.             146740  IN      NS      zb.akadns.org.

;; ADDITIONAL SECTION:
za.akadns.org.          63940   IN      A       204.2.178.133
zb.akadns.org.          63940   IN      A       206.132.100.105
zc.akadns.org.          63940   IN      A       63.209.3.132
zd.akadns.org.          63940   IN      A       204.2.178.133
eur1.akadns.net.        4599    IN      A       213.254.204.197
eur7.akadns.net.        4599    IN      A       193.108.94.88
usw1.akadns.net.        4599    IN      A       63.209.3.132
asia9.akadns.net.       4599    IN      A       220.73.220.4

;; Query time: 10 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Thu May 10 09:39:26 2007
;; MSG SIZE  rcvd: 368


real    0m10.031s
user    0m0.000s
sys     0m0.000s
debian:/#

This very same machine also has Windows Vista Ultimate 64 installed on
it and DNS lookups are lightning fast.  There is definitely something
going on with Debian Etch or perhaps the network configuration.   I am
using the ndiswrapper around a Windows driver for my Broadcom wireless
network adapter.

Does anyone have any ideas for me?

Thanks,

Dallas Clement



Reply to: