Browse Source

[2184] update guide for params any type fix

Jelte Jansen 12 years ago
parent
commit
a581302851
4 changed files with 501 additions and 416 deletions
  1. 154 113
      doc/guide/bind10-guide.html
  2. 333 300
      doc/guide/bind10-guide.txt
  3. 13 2
      doc/guide/bind10-guide.xml
  4. 1 1
      doc/guide/bind10-messages.html

File diff suppressed because it is too large
+ 154 - 113
doc/guide/bind10-guide.html


File diff suppressed because it is too large
+ 333 - 300
doc/guide/bind10-guide.txt


+ 13 - 2
doc/guide/bind10-guide.xml

@@ -1611,8 +1611,19 @@ can use various data source backends.
 &gt; <userinput>config set data_sources/classes/IN[1]/params { "example.org": "/path/to/example.org", "example.com": "/path/to/example.com" }</userinput>
 &gt; <userinput>config set data_sources/classes/IN[1]/params { "example.org": "/path/to/example.org", "example.com": "/path/to/example.com" }</userinput>
 &gt; <userinput>config commit</userinput></screen>
 &gt; <userinput>config commit</userinput></screen>
 
 
-          Unfortunately, due to current technical limitations, the params must
-          be set as one JSON blob, it can't be edited in
+          Initially, a map value has to be set, but this value may be an
+          empty map. After that, key/value pairs can be added with 'config
+          add' and keys can be removed with 'config remove'. The initial
+          value may be an empty map, but it has to be set before zones are
+          added or removed.
+
+          <screen>
+&gt; <userinput>config set data_sources/classes/IN[1]/params {}</userinput>
+&gt; <userinput>config add data_sources/classes/IN[1]/params another.example.org /path/to/another.example.org</userinput>
+&gt; <userinput>config add data_sources/classes/IN[1]/params another.example.com /path/to/another.example.com</userinput>
+&gt; <userinput>config remove data_sources/classes/IN[1]/params another.example.org</userinput>
+          </screen>
+
           <command>bindctl</command>. To reload a zone, you the same command
           <command>bindctl</command>. To reload a zone, you the same command
           as above.
           as above.
         </para>
         </para>

File diff suppressed because it is too large
+ 1 - 1
doc/guide/bind10-messages.html