Skip to content

TSIG with dns.query.inbound_xfr #707

Answered by rthalley
peterthomassen asked this question in Q&A
Discussion options

You must be logged in to vote

You use dns.xfr.make_query() and pass the query in.

zone = dns.zone.Zone(domain_name)
query = dns.xfr.make_query(zone, keyring=keyring, keyname=keyname)
dns.query.inbound_xfr(ns_ip, zone, query)

If you're going to try a UDP xfr, you should probably turn EDNS0 on too.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@peterthomassen
Comment options

@peterthomassen
Comment options

Answer selected by peterthomassen
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@peterthomassen
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants