[Freeipa-devel] [PATCH] Set of patches to enable DNS work in replica

Rob Crittenden rcritten at redhat.com
Wed Jul 22 14:08:33 UTC 2009


Martin Nagy wrote:
> On Wed, 15 Jul 2009 09:39:28 -0400, Rob Crittenden
> <rcritten at redhat.com> wrote:
> 
>> Martin Nagy wrote:
>>> Patches are attached. Now we also provide an option --setup-dns to
>>> ipa-replica-install that will set up BIND, but will only create the
>>> zone if it didn't exist before. One patch also introduces reverse
>>> zone, which we didn't have before.
>>>
>>> Martin
>>>
>> A couple of questions.
>>
>> So when installing a replica a bind instance isn't required? In other 
>> words, you could have a mixed environment where some IPA servers do
>> DNS and others don't?
>>
>> Looks like the reverse_host and reverse_subnet code you are adding to 
>> bindinstance.py won't work on IPv6.
> 
> I took a look at the code in ipa-server-install and it seems that it
> doesn't have to work on IPv6. If you look on resolve_host() in there
> (and I practically copied almost the same code for
> ipa-replica-install), you'll notice that it uses the
> socket.gethostbyname() function. This function, according to [1] does
> not support IPv6.
> 
> We probably should think about reworking the code to support IPv6 and
> ideally also test it. But at least for now, I think the code for zones
> is good enough, given that we don't support IPv6.
> 
> Martin
> 
> [1] http://docs.python.org/library/socket.html#socket.gethostbyname

Ok, ack then.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090722/64400488/attachment.bin>


More information about the Freeipa-devel mailing list