<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 11/08/2010 11:07 PM, Pavel Zůna wrote:
<blockquote cite="mid:4CD8C8E9.1000809@redhat.com" type="cite">Finally,
there it is. :)
<br>
<br>
I redesigned the whole thing to fit the baseldap model.
<br>
<br>
Here's some example on how it's used:
<br>
<br>
# create zone 'example.com'
<br>
# ipa dnszone-add example.com --name=ns.example.com
--admin=admin@example.com
<br>
<br>
# create a resource in zone 'example.com' named 'machine1'
<br>
# (machine1.example.com) with A record 10.10.0.1
<br>
# ipa dnsres-add example.com machine1 --a-rec=10.10.0.1
<br>
<br>
# Add another A record to 'machine1' in 'example.com'
<br>
# ipa dnsres-add-record example.com machine1 --a-rec=10.10.0.2
<br>
<br>
# Remove one of the A records from 'machine1' in 'example.com'
<br>
# ipa dnsres-remove-record example.com machine1 --a-rec=10.10.0.1
<br>
<br>
<br>
<br>
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.
<br>
<br>
You can use both dns and dns2 at the same time.
<br>
<br>
When dns2 is tested enough, it should replace the original dns plugin.
<br>
<br>
docstring (ipa help dns2) documentation will follow soon in a separate
patch.
<br>
<br>
Pavel
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
</blockquote>
<br>
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><br>
<br>
<br>
The lite server doesn't seem to want to respond to thenew commands.
ipa helpd dns2 brings up the right subset of helpstrings, but:<br>
<br>
<br>
[ayoung@ipa freeipa]$ ./ipa dnszone-find<br>
ipa: ERROR: unknown command u'dnszone_find'<br>
<br>
[ayoung@ipa freeipa]$ ./ipa dnsres-find ayoung.boston.devel.redhat.com<br>
ipa: ERROR: unknown command u'dnsres_find'<br>
<br>
<br>
</body>
</html>