* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: ddns-confgen.c,v 1.6 2009/06/17 19:18:37 jinmei Exp $ */
+/* $Id: ddns-confgen.c,v 1.7 2009/07/02 22:50:24 jinmei Exp $ */
/*! \file */
# name \"%s\", place an \"update-policy\" statement\n\
# like this one, adjusted as needed for your preferred permissions:\n\
update-policy {\n\
- grant %s self . ANY;\n\
+ grant %s name %s ANY;\n\
};\n",
- self_domain, keyname);
+ self_domain, keyname, self_domain);
} else if (zone != NULL) {
printf("\n\
# Then, in the \"zone\" definition statement for \"%s\",\n\
- PERFORMANCE OF THIS SOFTWARE.
-->
-<!-- $Id: ddns-confgen.docbook,v 1.4 2009/06/16 22:36:53 jinmei Exp $ -->
+<!-- $Id: ddns-confgen.docbook,v 1.5 2009/07/02 22:50:24 jinmei Exp $ -->
<refentry id="man.ddns-confgen">
<refentryinfo>
<date>Jan 29, 2009</date>
<para>
Specifies the key name of the DDNS authentication key.
The default is <constant>ddns-key</constant> when neither
- the <command>-s</command> nor <command>-z</command> option is
+ the <option>-s</option> nor <option>-z</option> option is
specified; otherwise, the default
is <constant>ddns-key</constant> as a separate label
followed by the argument of the option, e.g.,
<term>-s <replaceable class="parameter">name</replaceable></term>
<listitem>
<para>
- Self mode: The example <command>named.conf</command> text
- shows how to set an update policy for the specified
+ Single host mode: The example <command>named.conf</command> text
+ shows how to set an update policy for the specified
<replaceable class="parameter">name</replaceable>
- using the "self" nametype, instead of the "subdomain"
- nametype which allows matching on any name within a
- specified domain.
- This option cannot be used with the <command>-z</command> option.
+ using the "name" nametype.
+ The default key name is
+ ddns-key.<replaceable class="parameter">name</replaceable>.
+ Note that the "self" nametype cannot be used, since
+ the name to be updated may differ from the key name.
+ This option cannot be used with the <option>-z</option> option.
</para>
</listitem>
</varlistentry>
using the "zonesub" nametype, allowing updates to all subdomain
names within
that <replaceable class="parameter">zone</replaceable>.
- This option cannot be used with the <command>-s</command> option.
+ This option cannot be used with the <option>-s</option> option.
</para>
</listitem>
</varlistentry>