Translation(s): none


DebianGeoMirror is discussion wiki to manage Debian global mirror servers by DNS.

New URLs for Apt lines

There are 2 types of Debian Mirror archive URL with the new Debian GeoMirror capability.

http.debian.net

It is a service based on http redirections. It is still under development but it is already usable. More details at the following address and the pages linked from there: http://lists.debian.org/debian-mirrors/2012/01/msg00025.html

Mirror administrators don't need to do anything special to receive users from the redirector.

Only APT version 0.7.21 or greater (i.e. squeeze or greater) support HTTP redirections.

cdn.debian.net

You can see what is CDN at:

requests for mirror administrators

First of all, please set mirror directory structure. You have to set your mirror by

curl -H "HOST: cdn.debian.net" http://YOUR.MIRROR.IP.ADDRESS/debian/

cdn.debian.net can handle IP-based Virtual Host (http://httpd.apache.org/docs/2.0/vhosts/ip-based.html ) without any modification at server-side.

If mirror server use Name-based Virtual Host (http://httpd.apache.org/docs/2.0/en/vhosts/name-based.html ), please fill "ServerAlias cdn.debian.net". After that, please send mail to debian-mirrors@lists.debian.org and ar@debian.org.

Technical information on cdn.debian.net

Contact: Yasuhiro Araki ar@debian.org

fact

summary

Health check

by HTTP (1) every 10 mins.

Geo Routing

GeoIP(2) for 42 countries (4) and 6 continents

Server list

autogenerated + http://cdncheck1.araki.net/hosts/ (password required)

Source code

Available

Source IP Routing

Available

  1. cdn.d.n checks rsync tracefile by HTTP(/debian/project/trace/#{tracefile}) for each server every three minutes. If server is down, this server is removed.
  2. Use GeoIP to check DNS server which client uses.
  3. Auto making from Mirrors.masterlist. But for Japan, hand-optimized. ( I round up volunteers for your country!)
  4. At 2009 Apr. 13.
  5. Apply at 2010, Aug, 7.

Technology and Codes:

At first, CDN find requester's IP in CIDR entry of the mirrors.

At 2nd, CDN find requester IP's location by Max-mind DB. Max-mind DB is same DB file for geoip-bin.deb package.

At 3rd, CDN checks nation/continent rsync footprint on each mirrors. In order to avoid dead/old/partial mirror.

At last, CDN return nation/continent IP address by DNS-balance (http://openlab.jp/dns_balance/dns_balance.html)

Do you want source? All codes are available in SVN at

Now these codes are maintained by three of DD in Japan.

It is watching servers: 154 (alive: 113) at June.4 2010.

All of these are

http://www.debian.org/mirror/submit.

You can see list of servers in

<country>.<arch>.mirror.debian.net

This offers a DNS RRSET of mirror servers that have packages for a particular arch, restricted to a particular country.

(Operated by whom? seems to be DSA territory, not in LDAP).

Mailing List

How to get server list data merged?

  1. Submit information about a mirror of Debian at http://www.debian.org/mirror/submit.

  2. As a result, "Mirrors.masterlist" is generated.
  3. You can see latest data at