From https://bugs.gentoo.org/889664#c1 """ So that's 3 out of 11 mirrors that actually work. Also, there's no IPv6 addresses in here. Oddly enough, rsync.europe doesn't include for instance the address used in rsync.nl, rsync.de or rsync.uk. """
Fixing this properly in the DNS records requires refactoring. Instead of repeating the A/AAAA records each time, and having to update multiple places, we should move each *mirror* into a include file, and then just repeat as needed. That covers the A/AAAA as well, and keeping TXT records so users can transparently map. Rough working: include/rsync/$CC/rsync$N: _contact.@ IN TXT "..." @ IN A 1.2.3.4 @ IN AAAA ... main files: zones/$CC.gentoo.org: $INCLUDE include/rsync/$CC/rsync$N rsync$N.$CC.gentoo.org. $INCLUDE include/rsync/$CC/rsync$N rsync$CC.gentoo.org. zones/$REGION.gentoo.org: $INCLUDE include/rsync/$CC/rsync$N rsync.$REGION.gentoo.org. outcome: _contact.rsyncN.CC.gentoo.org IN TXT rsyncN.CC.gentoo.org IN A rsyncN.CC.gentoo.org IN AAAA _contact.rsync.CC.gentoo.org IN TXT rsync.CC.gentoo.org IN A rsync.CC.gentoo.org IN AAAA _contact.$REGION.gentoo.org IN TXT rsyncN.$REGION.gentoo.org IN A rsyncN.$REGION.gentoo.org IN AAAA
Should be better now. $ dig rsync.europe.gentoo.org IN AAAA ; <<>> DiG 9.16.42 <<>> rsync.europe.gentoo.org IN AAAA ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65070 ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 5, AUTHORITY: 4, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;rsync.europe.gentoo.org. IN AAAA ;; ANSWER SECTION: rsync.europe.gentoo.org. 300 IN AAAA 2a01:55e0::a1f rsync.europe.gentoo.org. 300 IN AAAA 2a01:4f8:140:5123::2 rsync.europe.gentoo.org. 300 IN AAAA 2001:690:2100:80::6 rsync.europe.gentoo.org. 300 IN AAAA 2a01:8740:ffff:fffc::11 rsync.europe.gentoo.org. 300 IN AAAA 2a00:1828:2000:128::10 ;; AUTHORITY SECTION: europe.gentoo.org. 86400 IN NS ns1.gentoo.org. europe.gentoo.org. 86400 IN NS ns3.gentoo.org. europe.gentoo.org. 86400 IN NS ns2.gentoo.org. europe.gentoo.org. 86400 IN NS ns4.gentoo.org. ;; Query time: 598 msec ;; SERVER: XXX ;; WHEN: Mon Nov 27 14:48:00 PST 2023 ;; MSG SIZE rcvd: 264