[Freeipa-devel] [PATCH] 267 Allow relative DNS name in NS validator
Petr Viktorin
pviktori at redhat.com
Thu May 31 11:42:43 UTC 2012
On 05/29/2012 03:11 PM, Martin Kosek wrote:
> Precallback validator was failing when a zone-relative name was
> used as a NS record (for example record "ns" in a zone "example.com").
> However, this is valid in BIND and we should allow it as well.
>
> Imports in dns module had to be switched to absolute imports
> (available from Python 2.5) to deal with a conflict of IPA dns
> module and dnspython module.
>
> https://fedorahosted.org/freeipa/ticket/2630
>
This works fine, but it breaks a test:
======================================================================
FAIL: test_dns[48]: dnsrecord_add: Try to add unresolvable NS record to
u'testdnsres' using dnsrecord_add
----------------------------------------------------------------------
[...]
expected = u"Nameserver 'does.not.exist' does not have a
corresponding A/AAAA record"
got = u"Nameserver 'does.not.exist.dnszone.test.' does not have a
corresponding A/AAAA record"
path = ()
--
Petr³
More information about the Freeipa-devel
mailing list