Added records as well

This commit is contained in:
Benjamyn Love 2017-08-16 10:08:53 +10:00
parent dec9fafaeb
commit 0df605b88b

View File

@ -251,9 +251,13 @@ while running == 1:
# soaRec, soaType = newdig(inInput, "SOA")
# iterate(soaRec, soaType)
# print compareSOA(nsRec, inInput, soaRec)
# print '\n'
for sub in sub2check:
if sub != "":
tmpDom = sub + "." + inInput
subRec, subType, test = newdig(tmpDom, "A", sub)
iterate(test, subType)
subRec, subType, subDomain = newdig(tmpDom, "A", sub)
iterate(subRec, subDomain)
for rec in rec2check:
if rec != "":
dnsRec, dnsType = newdig(inInput, rec)
iterate(dnsRec, dnsType)
print '\n'