Commit Diff
Diff:
c650d1b19462069410f602594762e555ab3a502e
3010817a07f53089dc7650df2ab0032c5877f272
Commit:
3010817a07f53089dc7650df2ab0032c5877f272
Tree:
ab167ffb3c4df14c03f5b35ef0c3e89a1db8cc0a
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Mon Jul 27 05:59:26 2020 UTC
Message:
add an example for SOA constraints and update BNF. I noticed rzone was missing and added it to opts.
blob - 7b5b93a09007964cf0ab4ea3b9409279075cb017
blob + 7d9c50c5bff9c7b49c5b802352b08a14c1d945ab
--- delphinusdns.conf.5
+++ delphinusdns.conf.5
@@ -166,6 +166,7 @@ options "arrowhead" {
include "/etc/delphinusdns/delphinusdns.tsig";
rzone "ip6.centroid.eu." {
+ constraints 600, 600, 600;
; do make sure you have a tsig "" {} for this
tsigkey "pass";
masterport 10053;
@@ -183,7 +184,7 @@ in BNF:
.Bd -literal
line = ( version | axfrport | include | zinclude | zone | region |
axfr | mzone | passlist | filter | recurse | comment |
- options | forward )
+ options | forward | rzone )
version = "version" ("number") ;
@@ -227,13 +228,15 @@ tsig-auth = "tsig-auth" (string) ("base64-string") ;
tsig = "tsig" ("string") [ "{" cidrlist "}" ]
rzone = "rzone" ("string") [ "{" rzonelist "}" ]
-rzonelist = ( opttsig | optmaster | optmasterport | optrzonename | optfilename )
+rzonelist = ( opttsig | optmaster | optmasterport | optrzonename |
+ optfilename | optconstraints )
opttsig = "tsigkey" ("string") ;
optmaster = "master" ("cidr-address") ;
optmasterport = "masterport" (number) ;
optrzonename = "zonename" ("string") ;
optfilename = "filename" ("string") ;
+optconstraints = "constraints" (number), (number), (number) ;
forward = "forward" ("string") [ "{" forwardlist "}" ]
repomaster@centroid.eu