X-Git-Url: https://git.ralfj.de/zonemaker.git/blobdiff_plain/df4af7d06d59d207a7ae9e3838cd0956131c977e..e2ed490c0ba53712c9625c3be2d49d372fb7220d:/db.example.com.py diff --git a/db.example.com.py b/db.example.com.py index ad8f957..daf5327 100644 --- a/db.example.com.py +++ b/db.example.com.py @@ -1,4 +1,4 @@ -from zonemaker.zone import * +from zone import * # Our IP addresses; we have machine one and machine two. one4 = A("172.16.254.1") # for each record type, there's a corresponding class with the same name @@ -27,7 +27,7 @@ __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), # this will all all records from the list "one" and the list "mail" to this name + '@': Name(one, mail, HTTPS('0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef')), # this will all all records from the list "one" and the list "mail" to this name 'ns': Name(one), 'ipv4.ns': Name(one4), # just a single record 'ipv6.ns': Name(one6),