[Freeipa-devel] [PATCH] 0067 Use fqdn when creating msdcs SRV records

Martin Kosek mkosek at redhat.com
Wed Oct 2 15:24:33 UTC 2013


On 10/02/2013 05:17 PM, Petr Vobornik wrote:
> On 09/18/2013 06:42 PM, Ana Krivokapic wrote:
>> Hello,
>>
>> This patch addresses ticket https://fedorahosted.org/freeipa/ticket/3908.
>>
>>
> 
> The patch does what it advertises - it uses fqdn every time for mcsdcs SRV
> records.
> 
> It's not consistent with other DNS SRV records, where fqdn is used only when
> IPA server is not in the IPA DNS domain.
> 
> bindinstance.py uses this code to address the same issue:
> 
>     host, zone = fqdn.split(".", 1)
> 
>         if normalize_zone(zone) == normalize_zone(self.domain):
>             host_in_rr = host
>         else:
>             host_in_rr = normalize_zone(fqdn)
> 
> Alexander suggests the same solution
> <https://fedorahosted.org/freeipa/ticket/3908#comment:1>

Yes, I think we should be fixed.

When I was looking at the AD SRV records using this patch, it just look
confusing - some records relative, some were absolute. This could bite us later
when for example removing or changing these records.

Martin




More information about the Freeipa-devel mailing list