X-Git-Url: https://git.ralfj.de/zonemaker.git/blobdiff_plain/f036ee7868886116f0aab76a4cf80dae72b4cd19..HEAD:/db.example.com.py diff --git a/db.example.com.py b/db.example.com.py index ca620ef..310a6bf 100644 --- a/db.example.com.py +++ b/db.example.com.py @@ -27,7 +27,8 @@ __zone__ = Zone('example.com.', serialfile = 'db.example.com.srl', secondary_refresh = 6*hour, secondary_retry = 1*hour, secondary_expire = 7*day, # Here come the actual domains. Each takes records as argument, either individually or as lists. domains = { - '@': Name(one, mail, HTTPS('0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef')), # this will all all records from the list "one" and the list "mail" to this name + '@': Name(one, mail, HTTPS('0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef')), # this will add all records from the list "one" and the list "mail" to this name + '@': Name(CAA(0, CAA.Tag.Issue, "letsencrypt.org")), 'ns': Name(one), 'ipv4.ns': Name(one4), # just a single record 'ipv6.ns': Name(one6), @@ -40,8 +41,8 @@ __zone__ = Zone('example.com.', serialfile = 'db.example.com.srl', # 'orgstuff': CName('example.org.'), # CNAMEs cannot be combined with other records # - 'sub1': Delegation('ns.example.org.'), # this adds an NS record - 'sub2': SecureDelegation('ns.example.com.', 12345, Algorithm.RSA_SHA256, Digest.SHA256, '0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF'), # this adds an NS and a DS record + 'sub1': Delegation('ns.example.org.', 'ns'), # this adds an NS record + 'sub2': SecureDelegation(12345, Algorithm.RSA_SHA256, Digest.SHA256, '0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF', 'ns.example.com.'), # this adds an NS and a DS record # 'local': { 'one': Name(one4),