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

Re: mirror.debian.net maintenance



On Mon, Apr 03, 2006 at 02:52:23PM -0700, Matt Kraai wrote:
> Howdy,
> 
> How is the mirror.debian.net subdomain maintained?

After a few years ;) I've managed to get my grubby little hands on that
setup, so I can finally answer this old question.

It's now automatically generated once a day from the contents of
Mirrors.masterlist, but after taking into account these rules:
* only the architectures referenced in a site's Archive-architecture
  are considered (obviously enough)
* sites which don't have either HTTP or FTP are excluded
* sites whose HTTP server isn't configured to answer with the contents
  of the Debian archive when given the <cc>.i386.mirror.debian.net
  virtual host in the request are excluded

Technically, the situation is this: the BIND on the SOA-indicated machine
is configured to accept dynamic updates using a key. This key is fed into
nsupdate(8), together with commands to add or delete zone entries.
A Perl script, using a slightly modified stanza-file parser from
mirror_list.pl and a bit of custom code as described above, generates
the file which is fed into nsupdate. This all happens on klecker.d.o
(the mirror.d.o machine) at /org/mirror.debian.org/dns/, and is started
at midnight local time from (my) cron job.

All comments would be most welcome...

-- 
Josip Rodin
mirrors@debian.org


Reply to: