[Freeipa-devel] [PATCH] Add new version of DNS plugin: complete rework with baseldap + unit tests.
Adam Young
ayoung at redhat.com
Tue Nov 9 21:31:19 UTC 2010
On 11/08/2010 11:07 PM, Pavel Zůna wrote:
> Finally, there it is. :)
>
> I redesigned the whole thing to fit the baseldap model.
>
> Here's some example on how it's used:
>
> # create zone 'example.com'
> # ipa dnszone-add example.com --name=ns.example.com
> --admin=admin at example.com
>
> # create a resource in zone 'example.com' named 'machine1'
> # (machine1.example.com) with A record 10.10.0.1
> # ipa dnsres-add example.com machine1 --a-rec=10.10.0.1
>
> # Add another A record to 'machine1' in 'example.com'
> # ipa dnsres-add-record example.com machine1 --a-rec=10.10.0.2
>
> # Remove one of the A records from 'machine1' in 'example.com'
> # ipa dnsres-remove-record example.com machine1 --a-rec=10.10.0.1
>
>
>
> The plugin is pretty complex and requires my patch number 35 to work.
> There is a bunch of unit tests, so hopefully it won't be too much pain
> to review.
>
> You can use both dns and dns2 at the same time.
>
> When dns2 is tested enough, it should replace the original dns plugin.
>
> docstring (ipa help dns2) documentation will follow soon in a separate
> patch.
>
> Pavel
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Note that it has the patch format issue where Thunderbird prepends a >
keeping git am from applying. Also, patch name is reversed: we had
standardized on freeipa_<username>
The lite server doesn't seem to want to respond to thenew commands. ipa
helpd dns2 brings up the right subset of helpstrings, but:
[ayoung at ipa freeipa]$ ./ipa dnszone-find
ipa: ERROR: unknown command u'dnszone_find'
[ayoung at ipa freeipa]$ ./ipa dnsres-find ayoung.boston.devel.redhat.com
ipa: ERROR: unknown command u'dnsres_find'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101109/46d82568/attachment.htm>
More information about the Freeipa-devel
mailing list