[Freeipa-devel] [PATCH] 23 Add ability to specify DNS reverse zone name by IP network address

Adam Young ayoung at redhat.com
Tue Jun 21 14:04:22 UTC 2011


On 06/21/2011 08:15 AM, Jan Cholasta wrote:
> This patch adds a new option name_from_ip to dnszone commands. Default 
> value of idnsname is created from this option.
>
> Honza
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Some questions:

Is the field name_from_ip conditional?  I assume that either we want to 
provide the name, or calculate the name from the IP address.

Should the field be a checkbox?

Will you code to calculate the reverse zone for an IPv6 Address work for 
the shorthand notation  like this?

feco:aaaa:bbbb::1111

What is the point of the code
+        while True:
+            default = self.get_default(**params)
+            if len(default) == 0:
+                break
+            params.update(default)

I am guessing that there is no risk of an infinite loop here.  Just 
seems like this code is meant to run for things other than dns.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110621/0625c4f4/attachment.htm>


More information about the Freeipa-devel mailing list