Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2013 12:01:14 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
Cc:        matt <sendtomatt@gmail.com>, Current <freebsd-current@freebsd.org>, Daniel Nebdal <dnebdal@gmail.com>, Daniel Kalchev <daniel@digsys.bg>
Subject:   Re: Response of *.freebsd.org websites are very slow
Message-ID:  <CAGE5yCqfo7%2BTh3etc3gf4=kbbbhqvLSoZRyWfpoX3xV8bPmn3w@mail.gmail.com>
In-Reply-To: <CAOgwaMucYBEF9OXeuNWjugEFOsG6fm3k5fZase4091E7B4rADw@mail.gmail.com>
References:  <CAOgwaMvs2%2Bff0Y-VBdrzG7813GhGx5-TF_7D6WjAoAtD_BCtFQ@mail.gmail.com> <CA%2Bt49PJ6seVBWKW3u3pQE%2BdNbdvCrX2tL5_RmXOa5b6funb_kw@mail.gmail.com> <512DE205.4010202@digsys.bg> <CAOgwaMvtXLhj1m2iQxaZ-NeUkY_DQ1Mu0KeKUhCwvkFyht1y=w@mail.gmail.com> <CA%2Bt49PLjs%2Bp56S%2B8bu3QUi936LGhG1kt0NNwZS4YNQWFirOHhw@mail.gmail.com> <CAOgwaMtfYKbcJ9BiWCK5US2n7GGHJzLH6YTOfNTiDSe6nJxriw@mail.gmail.com> <512E4D3F.6050900@gmail.com> <CAOgwaMucYBEF9OXeuNWjugEFOsG6fm3k5fZase4091E7B4rADw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 27, 2013 at 11:25 AM, Mehmet Erol Sanliturk
<m.e.sanliturk@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@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV
bitcoin:188ZjyYLFJiEheQZw4UtU27e2FMLmuRBUE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGE5yCqfo7%2BTh3etc3gf4=kbbbhqvLSoZRyWfpoX3xV8bPmn3w>