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

Re: [update] Automatic mirror selection - feedback appreciated

On Wed, Feb 06, 2008 at 08:57:52AM +0900, Michal Čihař wrote:
> Dne Tue, 05 Feb 2008 22:13:48 +0100
> "Leo \"costela\" Antunes" <costela@debian.org> napsal(a):
> > The <arch>-geomirror.d.n addresses are manually added CNAMEs to a
> > PowerDNS server that manages the zone geomirror.angband.pl (helpfully
> > loaned by Adam Borowski). This server is running pdns-backend-pipe,
> > which simply runs a script to determine the best mirror based on the
> > contents of Mirrors.masterlist[0], the IP that originated the request
> > and the requested architecture.
> Hmm, looks like mine server IP address is not detected correctly - first
> resolution ended up with Japan mirror, second one with UK and finally
> the third used correct Czech ;-). Not using any proxy DNS.

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 [])
        by liszt.debian.org
        Tue,  5 Feb 2008 23:58:07 +0000 (UTC)
Received: from p1185-ipbfp704tokaisakaetozai.aichi.ocn.ne.jp ([] helo=raptor.cic)
        by mort.cihar.com
        Wed, 06 Feb 2008 00:58:05 +0100
Received: from localhost ([] 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.

Assuming all machines use a nearby DNS, could you check again, using
"nslookup" or similar to avoid http proxies?  Travelling/sshing to the other
side of the world means you may use a resolver all the way at home. 
Accidentally mistaking a remote ssh session for a local one could be another

1KB		// Microsoft corollary to Hanlon's razor:
		//	Never attribute to stupidity what can be
		//	adequately explained by malice.

Reply to: