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
--nextPart2578104.hHPi10UHqx Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, My ISP is using a WinGate DNS but resolving host names often takes a long=20 time. The problem is also present in Konqueror (3 & 4) and Firefox. =20 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.= =20 # konqueror www.google.co.za & [1] 4862 # sh -c 'while true; do echo -n .; netstat -np tcp; sleep 5; done' =2E.....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 =2EActive 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 =46irefox 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? Ho= w=20 can I diagnose and fix it? Thanks in advance, David System: # uname -a =46reeBSD dragon.dg 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sub Feb 1 20:= 27:42=20 SAST 2009 root@dragon.dg:/tmp/tmp/src/sys/GENERIC i386 and # uname -a =46reeBSD dragonmini.dg 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Dec 21 20:0= 4:04=20 SAST 2008 root@dragonmini.dg:/tmp/usr/src/sys/GENERIC amd64 --nextPart2578104.hHPi10UHqx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkmL7Q8ACgkQUaaFgP9pFrJZ3gCaAxrdDJZyqZ1nsYQK1SIvLB2w sgAAnj2ClLpRO/fpsKWc1PrkgmC5VzO3 =v2Ag -----END PGP SIGNATURE----- --nextPart2578104.hHPi10UHqx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902060955.59611.naylor.b.david>