mutliple NS support for Delegations
[zonemaker.git] / db.example.com.py
index daf53276ffcd1775122960df0c0f4bbde32fd1f5..10871137b1206a05d1241b0be1bed9f0d4da6251 100644 (file)
@@ -40,6 +40,11 @@ __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
+        'sub1':         Delegation('ns.example.org.', 'ns'), # 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
+        #
+        'local': {
+            'one':      Name(one4),
+            'stuff':    CName('one'),
+        },
     })