Re: Response of *.freebsd.org websites are very slow

From: Peter Wemm <peter_at_wemm.org>
Date: Wed, 27 Feb 2013 12:01:14 -0800
On Wed, Feb 27, 2013 at 11:25 AM, Mehmet Erol Sanliturk
<m.e.sanliturk_at_gmail.com> wrote:
> I have installed snapshot
>
> FreeBSD-9.1-STABLE-amd64-20130223-r247167-release.iso
>
> # traceroute ftp.freebsd.org
>
> 3 failures : traceroute : unknown host ftp.freebsd.org
> 2 successes :
>
> Route is Izmir ( Turkey ) -> Frankfurt -> New York -> San Jose ->
> freebsd.isc.org ( 204.152.184.73 )
>
> and pkg_add is not able to find package site .
>
> Perhaps for many tries it may find in some of the tries , but this will not
> be a feasible way .

Clearly you are having dns problems.

First, try a dig with the +trace flag, eg:

$ dig +trace www.freebsd.org.

; <<>> DiG 9.8.3-P1 <<>> +trace www.freebsd.org.
;; global options: +cmd
.			518400	IN	NS	e.root-servers.net.
.			518400	IN	NS	j.root-servers.net.
.			518400	IN	NS	h.root-servers.net.
.			518400	IN	NS	d.root-servers.net.
.			518400	IN	NS	f.root-servers.net.
.			518400	IN	NS	b.root-servers.net.
.			518400	IN	NS	i.root-servers.net.
.			518400	IN	NS	g.root-servers.net.
.			518400	IN	NS	c.root-servers.net.
.			518400	IN	NS	k.root-servers.net.
.			518400	IN	NS	a.root-servers.net.
.			518400	IN	NS	m.root-servers.net.
.			518400	IN	NS	l.root-servers.net.
;; Received 512 bytes from 10.0.0.1#53(10.0.0.1) in 234 ms

org.			172800	IN	NS	a2.org.afilias-nst.info.
org.			172800	IN	NS	d0.org.afilias-nst.org.
org.			172800	IN	NS	c0.org.afilias-nst.info.
org.			172800	IN	NS	b0.org.afilias-nst.org.
org.			172800	IN	NS	a0.org.afilias-nst.info.
org.			172800	IN	NS	b2.org.afilias-nst.org.
;; Received 435 bytes from 2001:500:2d::d#53(2001:500:2d::d) in 1469 ms

freebsd.org.		86400	IN	NS	ns1.isc-sns.net.
freebsd.org.		86400	IN	NS	ns2.isc-sns.com.
freebsd.org.		86400	IN	NS	ns3.isc-sns.info.
;; Received 132 bytes from 199.19.56.1#53(199.19.56.1) in 1165 ms

www.freebsd.org.	120	IN	CNAME	wfe0.ysv.freebsd.org.
wfe0.ysv.freebsd.org.	3600	IN	A	8.8.178.110
freebsd.org.		3600	IN	NS	ns2.isc-sns.com.
freebsd.org.		3600	IN	NS	ns1.isc-sns.net.
freebsd.org.		3600	IN	NS	ns3.isc-sns.info.
;; Received 264 bytes from 63.243.194.1#53(63.243.194.1) in 27 ms

Note the isc-sns.com/net/info addresses.  These are our public-facing
DNS servers and are distributed around the world.

You should see something like this:
$ host ns1.isc-sns.net
ns1.isc-sns.net has address 72.52.71.1
...
ns2.isc-sns.com has address 38.103.2.1
ns3.isc-sns.info has address 63.243.194.1

It would be interesting to see traceroutes to these IP addresses.

You had problems above with the nslookup commands.  You might try this:
$ nslookup www.freebsd.org ns1.isc-sns.net
Server:		ns1.isc-sns.net
Address:	2001:470:1a::1#53

www.freebsd.org	canonical name = wfe0.ysv.freebsd.org.
Name:	wfe0.ysv.freebsd.org
Address: 8.8.178.110

or even:
$ nslookup www.freebsd.org 72.52.71.1
Server:		72.52.71.1
Address:	72.52.71.1#53

www.freebsd.org	canonical name = wfe0.ysv.freebsd.org.
Name:	wfe0.ysv.freebsd.org
Address: 8.8.178.110

What does your /etc/resolv.conf file look like?


What happens if you change it to (as a debugging aid):
$ cat /etc/resolf.conf
nameserver 8.8.8.8
nameserver 8.8.4.4

Does that change anything?
-- 
Peter Wemm - peter_at_wemm.org; peter_at_FreeBSD.org; peter_at_yahoo-inc.com; KI6FJV
bitcoin:188ZjyYLFJiEheQZw4UtU27e2FMLmuRBUE
Received on Wed Feb 27 2013 - 19:01:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC