It uses the same mechanism as all other grammars, but the file is named
differently to distinguish it from named.conf grammars.
(cherry picked from commit fb474de3ab)
22 lines
627 B
Plaintext
22 lines
627 B
Plaintext
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> ] [ dscp <integer> ] | <ipv4_address> [ port <integer> ] [ dscp <integer> ] | <ipv6_address> [ port <integer> ] [ dscp <integer> ] ); ... };
|
|
key <string>;
|
|
port <integer>;
|
|
source-address ( <ipv4_address> | * );
|
|
source-address-v6 ( <ipv6_address> | * );
|
|
}; // may occur multiple times
|
|
|