diff options
author | Martin Basti <mbasti@redhat.com> | 2014-04-04 16:56:44 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2014-06-03 15:55:33 +0200 |
commit | fa21899529cdfb7d13be200c6092972e216672aa (patch) | |
tree | 57988c946671fac251bfdbb5c96be4d4b1749199 /ipalib/plugins | |
parent | 7860c63fb11a92cf15af772054079b37f259b04a (diff) | |
download | freeipa-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')
-rw-r--r-- | ipalib/plugins/dns.py | 3 |
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'), ), |