Date: Fri, 6 Feb 2009 09:55:56 +0200 From: David Naylor <naylor.b.david@gmail.com> To: freebsd-questions@freebsd.org Subject: Slow DNS (and host: connection timed out) Message-ID: <200902060955.59611.naylor.b.david@gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi, My ISP is using a WinGate DNS but resolving host names often takes a long time. The problem is also present in Konqueror (3 & 4) and Firefox. An example: # time host google.co.za google.co.za has address 66.249.93.104 google.co.za has address 72.14.207.104 google.co.za has address 64.233.161.104 ;; connection timed out; no servers could be reached ;; connection timed out; no servers could be reached 0.000u 0.008s 0:24.69 0.0% 0+0k 0+0io 0pf+0w The web browsers also take a long time before they actually try connecting. # konqueror www.google.co.za & [1] 4862 # sh -c 'while true; do echo -n .; netstat -np tcp; sleep 5; done' ......Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 SYN_SENT tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 SYN_SENT .Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 SYN_SENT tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 SYN_SENT Firefox on Windows doesn't have this problem. Lastly: # cat /etc/resolve.conf nameserver 192.193.194.1 What is wrong, why is DN resolving taking such an abnormally long time? How can I diagnose and fix it? Thanks in advance, David System: # uname -a FreeBSD dragon.dg 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sub Feb 1 20:27:42 SAST 2009 root@dragon.dg:/tmp/tmp/src/sys/GENERIC i386 and # uname -a FreeBSD dragonmini.dg 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Dec 21 20:04:04 SAST 2008 root@dragonmini.dg:/tmp/usr/src/sys/GENERIC amd64 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkmL7Q8ACgkQUaaFgP9pFrJZ3gCaAxrdDJZyqZ1nsYQK1SIvLB2w sgAAnj2ClLpRO/fpsKWc1PrkgmC5VzO3 =v2Ag -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902060955.59611.naylor.b.david>
