Require that the hostname is a DNS A record and that the forward and reverse
match. 433515
This commit is contained in:
1 parent
e88d62ffcf
commit
6301914941
2 files changed
+22
No files matched your search
@@ -327,6 +327,7 @@ def dnsParsePTR(data, base):
|
||||
(rest, rdata.ptrdname) = dnsParseLabel(data, base)
|
||||
if DEBUG_DNSCLIENT:
|
||||
print "PTR = \"%s\"." % rdata.ptrdname
|
||||
return rdata
|
||||
|
||||
def dnsParseSRV(data, base):
|
||||
rdata = DNSRData()
|
||||
|
||||
Reference in new issue
Block a user