From fa21899529cdfb7d13be200c6092972e216672aa Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Fri, 4 Apr 2014 16:56:44 +0200 Subject: PTR record target can be relative Reviewed-By: Jan Cholasta --- ipalib/plugins/dns.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ipalib/plugins/dns.py') 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'), ), -- cgit