]> mj.ucw.cz Git - pynsc.git/blobdiff - example/example_org.py
Implement add_null_mx
[pynsc.git] / example / example_org.py
index f3b49a4e2eeb7fc9e6c5358b35d9ec2b006de6ee..02c5afee3a840233c9506d465343d62ba16317bf 100644 (file)
@@ -1,6 +1,10 @@
 from example import nsc
 
-z = nsc.add_zone('example.org', daemon_options=['check-integrity yes;'])
+z = nsc.add_zone(
+    'example.org',
+    daemon_options=['check-integrity yes;'],
+    add_null_mx=True,
+)
 
 (z[""]
     .NS('ns1', 'ns2')