mutliple NS support for Delegations
[zonemaker.git] / db.example.com.py
index ca620ef4e628c54b22a853caf0fe3873fda31bbe..10871137b1206a05d1241b0be1bed9f0d4da6251 100644 (file)
@@ -40,7 +40,7 @@ __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': {