Commit 547094b7 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2964] updated doc for loadzone -e so it more focuses on creating empty zone.

parent 9b95e643
...@@ -67,10 +67,9 @@ ...@@ -67,10 +67,9 @@
in a BIND 10 ready data source format. in a BIND 10 ready data source format.
Master files are text files that contain DNS Resource Records Master files are text files that contain DNS Resource Records
in text form. in text form.
This utility can also be used to empty current content, if any, This utility can also be used to create an empty zone on the
of the specified zone from the specified data source so the specified data source so the existence of the zone is recognized
existence of the zone is recognized in the data source without in the data source without any content (resource records).
any content (resource records).
</para> </para>
<note><simpara>Currently only the SQLITE3 data source is supported. <note><simpara>Currently only the SQLITE3 data source is supported.
</simpara></note> </simpara></note>
...@@ -118,13 +117,12 @@ ...@@ -118,13 +117,12 @@
If the <command>-e</command> command line option is specified, If the <command>-e</command> command line option is specified,
<command>b10-loadzone</command> does not take the zone name <command>b10-loadzone</command> does not take the zone name
argument. argument.
In this case it empties any existing content of the specified In this case it creates an empty zone without any content
zone from the specified data source while the data source still while the data source still recognizes the existence of the
recognizes the existence of the zone. If the zone originally zone.
didn't exist in the zone, it effectively creates the zone without If the specified zone already has some content, this mode of
any content. operation will remove it (but the existence of the zone in the
This mode of operation can be used for setting up a secondary data source will be still recognized).
zone before transferring zone content from a primary server.
</para> </para>
</refsect1> </refsect1>
...@@ -167,7 +165,8 @@ ...@@ -167,7 +165,8 @@
<varlistentry> <varlistentry>
<term>-e</term> <term>-e</term>
<listitem><para> <listitem><para>
Empty any existing zone content instead of loading new one. Create an empty zone, or empty existing zone content
instead of loading new one.
When this option is specified, the zone file command line When this option is specified, the zone file command line
argument must not be provided. argument must not be provided.
The <command>-i</command> option has no effect, but it The <command>-i</command> option has no effect, but it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment