summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/dns.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2014-04-04 16:56:44 +0200
committerMartin Kosek <mkosek@redhat.com>2014-06-03 15:55:33 +0200
commitfa21899529cdfb7d13be200c6092972e216672aa (patch)
tree57988c946671fac251bfdbb5c96be4d4b1749199 /ipalib/plugins/dns.py
parent7860c63fb11a92cf15af772054079b37f259b04a (diff)
downloadfreeipa-fa21899529cdfb7d13be200c6092972e216672aa.tar.gz
freeipa-fa21899529cdfb7d13be200c6092972e216672aa.tar.xz
freeipa-fa21899529cdfb7d13be200c6092972e216672aa.zip
PTR record target can be relative
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r--ipalib/plugins/dns.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index 6e804778d..211efb872 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -1297,8 +1297,7 @@ class PTRRecord(DNSRecord):
rfc = 1035
parts = (
DNSNameParam('hostname',
- _hostname_validator,
- only_absolute=True,
+ #RFC 2317 section 5.2 -- can be relative
label=_('Hostname'),
doc=_('The hostname this reverse record points to'),
),