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
#!/usr/bin/python | |
# This script will query a name server nonrecursively | |
# RFC 1912 recommends that the $TTL value on the name server | |
# be set to 1 day or longer | |
# -*- coding: utf-8 -*- | |
import sys | |
import dns | |
from dns.exception import DNSException | |
from dns.rdataclass import * |