[Freeipa-devel] [PATCH 0062] DNS record-add warns when a suspicious DNS name is detected

Petr Spacek pspacek at redhat.com
Tue Nov 10 10:19:30 UTC 2015


On 10.11.2015 11:17, Martin Basti wrote:
> 
> 
> On 09.11.2015 08:42, Petr Spacek wrote:
>> Hello,
>>
>> DNS record-add warns when a suspicious DNS name is detected
>>
>> Relative name "record.zone" is being added into zone "zone.",
>> which is probably a mistake. User probably wanted to either specify
>> relative name "record" or use FQDN "record.zone.".
>>
> 
> works as expected, I just have one nitpick:
> 
> record name and zone are instances of DNSName class, thus would be better to use
> zone.relativize(DNSName.root)
> instead of
> zone.relativize(dns.name.root)

Thank you, I will keep it in mind for the next time.

Please fix it before push ;-)

-- 
Petr^2 Spacek




More information about the Freeipa-devel mailing list