DNS/実装/python/dnslib/lame_check/check.pyについて、ここに記述してください。 {{{#!python import TLD tldns = TLD.TLD() from Get_ns import get_ns, checkns import fileinput for line in fileinput.input(): # domain candidate if line[0] == "#" : continue d = line[:-1] tld_a = tldns.getaddress(d) # get some tld server A nslist = tldns.delegation(tld_a,d).keys() # delegation if nslist: # not empty checkns(d, set(nslist)) # check delegation }}}