summaryrefslogtreecommitdiffstats
path: root/ipa-python
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-03-03 16:10:06 -0500
committerRob Crittenden <rcritten@redhat.com>2008-03-03 16:10:06 -0500
commit6301914941a355f0d0e1010199716d4c0bbbd867 (patch)
tree4105c250305fa327bfdcbc9e247f06e0be95f8a5 /ipa-python
parente88d62ffcf5a69975e08b29219bb7ad253d17912 (diff)
downloadfreeipa-6301914941a355f0d0e1010199716d4c0bbbd867.tar.gz
freeipa-6301914941a355f0d0e1010199716d4c0bbbd867.tar.xz
freeipa-6301914941a355f0d0e1010199716d4c0bbbd867.zip
Require that the hostname is a DNS A record and that the forward and reverse
match. 433515
Diffstat (limited to 'ipa-python')
-rw-r--r--ipa-python/dnsclient.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipa-python/dnsclient.py b/ipa-python/dnsclient.py
index f301136c5..44dae4d75 100644
--- a/ipa-python/dnsclient.py
+++ b/ipa-python/dnsclient.py
@@ -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()