Skip to content

Instantly share code, notes, and snippets.

@ximon18
Last active March 5, 2019 08:05
Show Gist options
  • Save ximon18/07da7c358447c0d72cd5347e9e71d26a to your computer and use it in GitHub Desktop.
Save ximon18/07da7c358447c0d72cd5347e9e71d26a to your computer and use it in GitHub Desktop.
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