summaryrefslogtreecommitdiffstats
path: root/doc/misc/rndc.grammar
diff options
context:
space:
mode:
Diffstat (limited to 'doc/misc/rndc.grammar')
-rw-r--r--doc/misc/rndc.grammar21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/misc/rndc.grammar b/doc/misc/rndc.grammar
new file mode 100644
index 0000000..9d5604f
--- /dev/null
+++ b/doc/misc/rndc.grammar
@@ -0,0 +1,21 @@
+key <string> {
+ algorithm <string>;
+ secret <string>;
+}; // may occur multiple times
+
+options {
+ default-key <string>;
+ default-port <integer>;
+ default-server <string>;
+ default-source-address ( <ipv4_address> | * );
+ default-source-address-v6 ( <ipv6_address> | * );
+};
+
+server <string> {
+ addresses { ( <quoted_string> [ port <integer> ] | <ipv4_address> [ port <integer> ] | <ipv6_address> [ port <integer> ] ); ... };
+ key <string>;
+ port <integer>;
+ source-address ( <ipv4_address> | * );
+ source-address-v6 ( <ipv6_address> | * );
+}; // may occur multiple times
+