You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Stephane Bortzmeyer 84e5435101 Complete port to Python 3 2 years ago
..
README.md Proposal for YAML "database" for DNS-LG with conversion utility 9 years ago
dbconv.py Complete port to Python 3 2 years ago
dns-lg.yaml Verisign's instance no longer in production 3 years ago
test-instances.go Test of the deployed instances 9 years ago
test-instances.py Complete port to Python 3 2 years ago

README.md

dbconv

Convert DNS-LG "database" from YAML to different outputs.

Usage

Usage: dbconv.py [options]

Print DNS-LG database

Options:
  -h, --help            show this help message and exit
  -f DBNAME, --database=DBNAME
                        Path to YAML database
  -j, --json            Output in JSON format
  -o ORIGIN, --origin=ORIGIN
                        Specify origin for DNS zone master format. (default: dns-lg)
  -t, --text            Plain-text output
  -x, --xml             XML format
  -z, --zone            master zone file format

The following formats are currently supported

Plain text

http://dns.bortzmeyer.org/                         Stéphane Bortzmeyer
http://dnslg.generic-nic.net/                      
http://dns-lg.nlnetlabs.nl/                        NLnetLabs

Master zone file format

; Documentation of the existing DNS-LG instances.
;
; Generated at 2013-02-02T16:31:28
;
; 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/"                  ; Stéphane Bortzmeyer
           IN TXT  "http://dnslg.generic-nic.net/"               ; 
           IN TXT  "http://dns-lg.nlnetlabs.nl/"                 ; NLnetLabs

JSON

[
    {
        "endpoint": "http://dns.bortzmeyer.org/", 
        "contact": "St\u00e9phane Bortzmeyer"
    }, 
    {
        "endpoint": "http://dnslg.generic-nic.net/"
    },
]

XML

<?xml version="1.0" ?>
<dns-lg>
  <!--Generated at 2013-02-02T19:03:51-->
  <endpoint contact="Stéphane Bortzmeyer">
    http://dns.bortzmeyer.org/
  </endpoint>
  <endpoint>
    http://dns-lg.tetaneutral.net/
  </endpoint>
</dns-lg>