Last active
March 5, 2019 08:05
-
-
Save ximon18/07da7c358447c0d72cd5347e9e71d26a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msg = DNSMessage(qdn, qstate.qinfo.qtype, qstate.qinfo.qclass, PKT_QR) | |
msg.authority.append("{}.<somedomain>. 60 IN NS {}.<somedomain>".format(b32, decoded)) | |
msg.additional.append("{}.<somedomain>. 60 IN A {}".format(b32, decoded)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment