]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
add comment that running xfr example does not work for access control reasons
authorBob Halley <halley@dnspython.org>
Sun, 30 Mar 2025 19:24:37 +0000 (12:24 -0700)
committerBob Halley <halley@dnspython.org>
Sun, 30 Mar 2025 19:24:37 +0000 (12:24 -0700)
examples/xfr.py

index 1336053182a5e9ee9bb5a9826c9451ebad3eaaa5..8f21e9094be4b458d5b561e445ac5e5618378d23 100755 (executable)
@@ -4,6 +4,9 @@ import dns.query
 import dns.resolver
 import dns.zone
 
+# Note that running this doesn't currently work because
+# dnspython.org's nameservers do not permit AXFR
+
 soa_answer = dns.resolver.resolve("dnspython.org", "SOA")
 master_answer = dns.resolver.resolve(soa_answer[0].mname, "A")