Database of existing LG improved:

* Contact information added
* New attribute 'status'
master
Stephane Bortzmeyer 10 years ago
parent f2f8d7592a
commit 7d5366ab81
  1. 5
      db/dbconv.py
  2. 14
      db/dns-lg.yaml
  3. 11
      dns-lg-zone.incl

@ -74,7 +74,7 @@ def dns_txt(db, origin="dns-lg"):
print ";"
for ep in db:
if 'endpoint' in ep:
if 'endpoint' in ep and 'status' in ep and ep.get('status') != 'down':
txt = "\"%s\"" % (ep['endpoint'])
print "%-10s IN TXT %-45s ; %s" % (origin, txt, ep.get('contact', ''))
origin = '' # on continuation line
@ -110,6 +110,9 @@ def xml_out(db):
if 'contact' in ep:
child.set('contact', ep.get('contact'))
if 'status' in ep:
child.set('status', ep.get('status'))
print prettyprint(root)
if __name__ == '__main__':

@ -1,16 +1,26 @@
# Documentation of the existing DNS-LG instances.
# Available statuses: "production" (monitored, etc), "besteffort" and "down"
- endpoint: http://dns.bortzmeyer.org/
contact: Stéphane Bortzmeyer
contact: Stéphane Bortzmeyer <stephane+dns-lg@bortzmeyer.org>
status: production
- endpoint: http://dnslg.generic-nic.net/
contact: Stéphane Bortzmeyer <bortzmeyer+dns-lg@nic.fr>
status: production
- endpoint: http://dns-lg.nlnetlabs.nl/
contact: NLnetLabs
contact: NLnetLabs / Olaf Kolkman <olaf@NLnetLabs.nl>
status: besteffort
- endpoint: http://dns-lg.tetaneutral.net/
contact: Laurent GUERBY <laurent@guerby.net>
status: besteffort
- endpoint: http://dns-lg.vs.uni-due.de/
status: besteffort
contact: Matthäus Wander <dnssec@vs.uni-due.de>
- endpoint: http://dns-lg.dk-hostmaster.dk/
contact: Erwin Lansing <erwin@dk-hostmaster.dk>
status: besteffort

@ -1,11 +0,0 @@
; Documentation of the existing DNS-LG instances.
;
; This file contains a TXT RRset for inclusion into a
; zone master file. Each endpoint is a TXT record.
;
dns-lg IN TXT "http://dns.bortzmeyer.org/"
IN TXT "http://dnslg.generic-nic.net/"
IN TXT "http://dns-lg.nlnetlabs.nl/"
IN TXT "http://dns-lg.tetaneutral.net/"
IN TXT "http://dns-lg.vs.uni-due.de/"
IN TXT "http://dns-lg.dk-hostmaster.dk/"
Loading…
Cancel
Save