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

Re: [update] Automatic mirror selection - feedback appreciated



Hi

On Wed, 6 Feb 2008 02:18:10 +0100
Adam Borowski <kilobyte@angband.pl> wrote:

> geoip is not perfect, but a glance at your mail headers suggest that there
> may be some confusion from another source.
> 
> Received: from mort.cihar.com (mort.cihar.com [82.208.50.189])
>         by liszt.debian.org
>         Tue,  5 Feb 2008 23:58:07 +0000 (UTC)
> Received: from p1185-ipbfp704tokaisakaetozai.aichi.ocn.ne.jp ([125.207.87.185] helo=raptor.cic)
>         by mort.cihar.com
>         Wed, 06 Feb 2008 00:58:05 +0100
> Received: from localhost ([127.0.0.1] helo=raptor.cic ident=nijel)
>         by raptor.cic
>         Wed, 06 Feb 2008 08:57:57 +0900
> 
> IPs, rev names and time zones seem to match.  The machine you sent the mail
> from seems to be definitely in Japan, and geoip says so as well.  The mail
> server, mort.cihar.com, looks Czechish (per its time zone and your name) --
> again, geoip confirms that.

This server was the place where I tried the lookup and it is really in
Czech. It has own DNS server which does not use any proxy and I flushed
it's cache before each attempt. Just tested it again to be sure:

# Flush of DNS server cache
nijel@mort$ host i386-geomirror.debian.net
i386-geomirror.debian.net is an alias for i386.geomirror.angband.pl.
i386.geomirror.angband.pl is an alias for ftp2.jp.debian.org.
ftp2.jp.debian.org has address 210.157.158.33
# Flush of DNS server cache
nijel@mort$ host i386-geomirror.debian.net 
i386-geomirror.debian.net is an alias for i386.geomirror.angband.pl.
i386.geomirror.angband.pl is an alias for ftp.cz.debian.org.
ftp.cz.debian.org has address 195.113.161.73

Any further resolutions seems to go correctly to ftp.cz.d.o.

Okay let's try it also another way - ask directly your server without
anything on the way. It seems that last reply is somehow cached even 
for different source addresses. If I do query first here in Japan and 
then over there in Czech, I get few results pointing to Japan mirror 
before it updates to Czech one. The same happens when I then start 
resolving in Japan - I get again the Czech server on first attempts.
Log follows, the time difference 8 hours is time zone shift:

nijel@mort$ dig i386.geomirror.angband.pl @nurnen.angband.pl

; <<>> DiG 9.4.2 <<>> i386.geomirror.angband.pl @nurnen.angband.pl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 24505
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;i386.geomirror.angband.pl.	IN	A

;; ANSWER SECTION:
i386.geomirror.angband.pl. 3600	IN	CNAME	ftp2.jp.debian.org.

;; Query time: 184 msec
;; SERVER: 212.160.145.27#53(212.160.145.27)
;; WHEN: Wed Feb  6 02:40:03 2008
;; MSG SIZE  rcvd: 75

nijel@mort$ dig i386.geomirror.angband.pl @nurnen.angband.pl

; <<>> DiG 9.4.2 <<>> i386.geomirror.angband.pl @nurnen.angband.pl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 16974
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;i386.geomirror.angband.pl.	IN	A

;; ANSWER SECTION:
i386.geomirror.angband.pl. 3600	IN	CNAME	ftp.cz.debian.org.

;; Query time: 56 msec
;; SERVER: 212.160.145.27#53(212.160.145.27)
;; WHEN: Wed Feb  6 02:40:05 2008
;; MSG SIZE  rcvd: 74

nijel@jp$ dig i386.geomirror.angband.pl @nurnen.angband.pl

; <<>> DiG 9.4.2 <<>> i386.geomirror.angband.pl @nurnen.angband.pl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 11125
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;i386.geomirror.angband.pl.	IN	A

;; ANSWER SECTION:
i386.geomirror.angband.pl. 3600	IN	CNAME	ftp.cz.debian.org.

;; Query time: 327 msec
;; SERVER: 212.160.145.27#53(212.160.145.27)
;; WHEN: Wed Feb  6 10:41:15 2008
;; MSG SIZE  rcvd: 74

nijel@jp$ dig i386.geomirror.angband.pl @nurnen.angband.pl

; <<>> DiG 9.4.2 <<>> i386.geomirror.angband.pl @nurnen.angband.pl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 18208
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;i386.geomirror.angband.pl.	IN	A

;; ANSWER SECTION:
i386.geomirror.angband.pl. 3600	IN	CNAME	ftp2.jp.debian.org.

;; Query time: 332 msec
;; SERVER: 212.160.145.27#53(212.160.145.27)
;; WHEN: Wed Feb  6 10:42:31 2008
;; MSG SIZE  rcvd: 75


-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature


Reply to: