[Freeipa-devel] [PATCH] 671 ensure replica server exists in DNS

Rob Crittenden rcritten at redhat.com
Mon Jan 10 22:19:01 UTC 2011


Simo Sorce wrote:
> On Mon, 10 Jan 2011 13:49:59 -0500
> Rob Crittenden<rcritten at redhat.com>  wrote:
>
>> Before allowing ipa-replica-prepare to proceed ensure that the target
>> server exists in DNS. This can add the entry if you include the
>> --ip-address option.
>>
>> The result if the DNS entry doesn't exist is the replication
>> agreement will fail because the master can't connect to the replica.
>
> Nack,
> if you pass --ip-address you are going to test for existence of the DNS
> record before actually creating it therefore always failing the check.
>
> Simo.
>

Ok, use the existing verify_fqdn() method instead of calling the API.

I left the dns_resolve() change so it isn't IPv4-specific.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-671-2-dns.patch
Type: text/x-patch
Size: 4507 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110110/1d971707/attachment.bin>


More information about the Freeipa-devel mailing list