[Freeipa-devel] [PATCH] Add new version of DNS plugin: complete rework with baseldap + unit tests.

Pavel Zůna pzuna at redhat.com
Tue Nov 9 04:12:56 UTC 2010


On 2010-11-09 05:07, 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
>

Forgot to mention that this solves:

Ticket #36
Ticket #450

Pavel




More information about the Freeipa-devel mailing list