Created
March 4, 2019 12:24
-
-
Save ximon18/15aae65af9a705510bf828431e7c072a 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 | PKT_AA) | |
msg.answer.append("{} 300 IN A {}".format(qdn, ipv4)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment