]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
further tidying of primary/secondary terminology in system tests
authorEvan Hunt <each@isc.org>
Tue, 30 Jun 2020 20:10:59 +0000 (13:10 -0700)
committerEvan Hunt <each@isc.org>
Wed, 1 Jul 2020 18:12:12 +0000 (11:12 -0700)
this changes most visble uses of master/slave terminology in tests.sh
and most uses of 'type master' or 'type slave' in named.conf files.
files in the checkconf test were not updated in order to confirm that
the old syntax still works. rpzrecurse was also left mostly unchanged
to avoid interference with DNSRPS.

336 files changed:
bin/tests/system/acl/ns2/named1.conf.in
bin/tests/system/acl/ns2/named2.conf.in
bin/tests/system/acl/ns2/named3.conf.in
bin/tests/system/acl/ns2/named4.conf.in
bin/tests/system/acl/ns2/named5.conf.in
bin/tests/system/acl/ns4/named.conf.in
bin/tests/system/acl/tests.sh
bin/tests/system/additional/ns1/named1.conf.in
bin/tests/system/additional/ns1/named2.conf.in
bin/tests/system/additional/ns1/named3.conf.in
bin/tests/system/additional/ns1/named4.conf.in
bin/tests/system/additional/ns2/named.conf.in
bin/tests/system/additional/ns3/named.conf.in
bin/tests/system/addzone/clean.sh
bin/tests/system/addzone/ns1/inlinesec.db [moved from bin/tests/system/addzone/ns1/inlineslave.db with 95% similarity]
bin/tests/system/addzone/ns1/named.conf.in
bin/tests/system/addzone/ns2/default.nzf.in
bin/tests/system/addzone/ns2/named1.conf.in
bin/tests/system/addzone/ns2/named2.conf.in
bin/tests/system/addzone/ns2/named3.conf.in
bin/tests/system/addzone/ns3/named1.conf.in
bin/tests/system/addzone/tests.sh
bin/tests/system/allow-query/ns1/named.conf.in
bin/tests/system/allow-query/ns2/named01.conf.in
bin/tests/system/allow-query/ns2/named02.conf.in
bin/tests/system/allow-query/ns2/named03.conf.in
bin/tests/system/allow-query/ns2/named04.conf.in
bin/tests/system/allow-query/ns2/named05.conf.in
bin/tests/system/allow-query/ns2/named06.conf.in
bin/tests/system/allow-query/ns2/named07.conf.in
bin/tests/system/allow-query/ns2/named08.conf.in
bin/tests/system/allow-query/ns2/named09.conf.in
bin/tests/system/allow-query/ns2/named10.conf.in
bin/tests/system/allow-query/ns2/named11.conf.in
bin/tests/system/allow-query/ns2/named12.conf.in
bin/tests/system/allow-query/ns2/named21.conf.in
bin/tests/system/allow-query/ns2/named22.conf.in
bin/tests/system/allow-query/ns2/named23.conf.in
bin/tests/system/allow-query/ns2/named24.conf.in
bin/tests/system/allow-query/ns2/named25.conf.in
bin/tests/system/allow-query/ns2/named26.conf.in
bin/tests/system/allow-query/ns2/named27.conf.in
bin/tests/system/allow-query/ns2/named28.conf.in
bin/tests/system/allow-query/ns2/named29.conf.in
bin/tests/system/allow-query/ns2/named30.conf.in
bin/tests/system/allow-query/ns2/named31.conf.in
bin/tests/system/allow-query/ns2/named32.conf.in
bin/tests/system/allow-query/ns2/named33.conf.in
bin/tests/system/allow-query/ns2/named34.conf.in
bin/tests/system/allow-query/ns2/named40.conf.in
bin/tests/system/allow-query/ns2/named53.conf.in
bin/tests/system/allow-query/ns2/named54.conf.in
bin/tests/system/allow-query/ns2/named55.conf.in
bin/tests/system/allow-query/ns2/named56.conf.in
bin/tests/system/allow-query/ns2/named57.conf.in
bin/tests/system/allow-query/tests.sh
bin/tests/system/auth/ns1/named.conf.in
bin/tests/system/auth/ns2/named.conf.in
bin/tests/system/autosign/ns1/named.conf.in
bin/tests/system/autosign/ns2/named.conf.in
bin/tests/system/autosign/ns3/named.conf.in
bin/tests/system/autosign/tests.sh
bin/tests/system/cacheclean/ns1/named.conf.in
bin/tests/system/cacheclean/ns2/named.conf.in
bin/tests/system/cacheclean/tests.sh
bin/tests/system/case/ns1/named.conf.in
bin/tests/system/case/ns2/named.conf.in
bin/tests/system/case/tests.sh
bin/tests/system/catz/ns1/named.conf.in
bin/tests/system/catz/ns2/named.conf.in
bin/tests/system/catz/ns3/named.conf.in
bin/tests/system/catz/tests.sh
bin/tests/system/chain/ns1/named.conf.in
bin/tests/system/chain/ns2/named.conf.in
bin/tests/system/chain/ns5/named.conf.in
bin/tests/system/checkconf/tests.sh
bin/tests/system/checknames/ns1/named.conf.in
bin/tests/system/checknames/ns4/named.conf.in
bin/tests/system/cookie/ns1/named.conf.in
bin/tests/system/cookie/ns2/named.conf.in
bin/tests/system/cookie/ns3/named.conf.in
bin/tests/system/cookie/ns7/named.conf.in
bin/tests/system/cookie/ns8/named.conf.in
bin/tests/system/database/ns1/named1.conf.in
bin/tests/system/database/ns1/named2.conf.in
bin/tests/system/delzone/clean.sh
bin/tests/system/delzone/ns1/inlinesec.db [moved from bin/tests/system/delzone/ns1/inlineslave.db with 95% similarity]
bin/tests/system/delzone/ns1/named.conf
bin/tests/system/digdelv/ns1/named.conf.in
bin/tests/system/digdelv/ns2/named.conf.in
bin/tests/system/dlzexternal/ns1/named.conf.in
bin/tests/system/dns64/ns1/named.conf.in
bin/tests/system/dns64/ns2/named.conf.in
bin/tests/system/dnssec/ns1/named.conf.in
bin/tests/system/dnssec/ns2/named.conf.in
bin/tests/system/dnssec/ns3/named.conf.in
bin/tests/system/dnssec/ns3/siginterval1.conf
bin/tests/system/dnssec/ns3/siginterval2.conf
bin/tests/system/dnssec/ns4/named4.conf.in
bin/tests/system/dnssec/ns5/named2.conf.in
bin/tests/system/dnssec/ns6/named.conf.in
bin/tests/system/dnssec/ns7/named.conf.in
bin/tests/system/dnstap/ns1/named.conf.in
bin/tests/system/dnstap/ns2/named.conf.in
bin/tests/system/dscp/ns1/named.conf.in
bin/tests/system/dscp/ns2/named.conf.in
bin/tests/system/dscp/ns4/named.conf.in
bin/tests/system/dscp/ns5/named.conf.in
bin/tests/system/dscp/ns7/named.conf.in
bin/tests/system/dsdigest/ns1/named.conf.in
bin/tests/system/dsdigest/ns2/named.conf.in
bin/tests/system/dupsigs/ns1/named.conf.in
bin/tests/system/ecdsa/ns1/named.conf.in
bin/tests/system/eddsa/ns1/named.conf.in
bin/tests/system/ednscompliance/ns1/named.conf.in
bin/tests/system/emptyzones/ns1/named2.conf.in
bin/tests/system/emptyzones/ns1/rfc1918.zones
bin/tests/system/fetchlimit/ns1/named.conf.in
bin/tests/system/fetchlimit/ns2/named.conf.in
bin/tests/system/filter-aaaa/ns1/named1.conf.in
bin/tests/system/filter-aaaa/ns1/named2.conf.in
bin/tests/system/filter-aaaa/ns4/named1.conf.in
bin/tests/system/filter-aaaa/ns4/named2.conf.in
bin/tests/system/formerr/ns1/named.conf.in
bin/tests/system/forward/ns1/named.conf.in
bin/tests/system/forward/ns2/named.conf.in
bin/tests/system/forward/ns4/named.conf.in
bin/tests/system/forward/ns5/named.conf.in
bin/tests/system/genzone.sh
bin/tests/system/geoip2/conf/bad-dbname.conf
bin/tests/system/geoip2/conf/bad-regiondb.conf
bin/tests/system/geoip2/conf/bad-threeletter.conf
bin/tests/system/geoip2/ns2/named1.conf.in
bin/tests/system/geoip2/ns2/named10.conf.in
bin/tests/system/geoip2/ns2/named11.conf.in
bin/tests/system/geoip2/ns2/named2.conf.in
bin/tests/system/geoip2/ns2/named3.conf.in
bin/tests/system/geoip2/ns2/named4.conf.in
bin/tests/system/geoip2/ns2/named5.conf.in
bin/tests/system/geoip2/ns2/named6.conf.in
bin/tests/system/geoip2/ns2/named7.conf.in
bin/tests/system/geoip2/ns2/named8.conf.in
bin/tests/system/geoip2/ns2/named9.conf.in
bin/tests/system/glue/ns1/named.conf.in
bin/tests/system/idna/ns1/named.conf.in
bin/tests/system/include-multiplecfg/ns2/mars.conf
bin/tests/system/include-multiplecfg/ns2/zone1.conf
bin/tests/system/include-multiplecfg/ns2/zone2.conf
bin/tests/system/inline/ns1/named.conf.in
bin/tests/system/inline/ns2/named.conf.in
bin/tests/system/inline/ns3/named.conf.in
bin/tests/system/inline/ns4/named.conf.in
bin/tests/system/inline/ns5/named.conf.post
bin/tests/system/inline/ns5/named.conf.pre
bin/tests/system/inline/ns8/named.conf.in
bin/tests/system/inline/tests.sh
bin/tests/system/integrity/ns1/named.conf.in
bin/tests/system/ixfr/ns3/named.conf.in
bin/tests/system/ixfr/ns4/named.conf.in
bin/tests/system/ixfr/ns5/named.conf.in
bin/tests/system/ixfr/tests.sh
bin/tests/system/kasp/ns2/named.conf.in
bin/tests/system/kasp/ns3/named.conf.in
bin/tests/system/kasp/ns4/named.conf.in
bin/tests/system/kasp/ns5/named.conf.in
bin/tests/system/kasp/ns6/named.conf.in
bin/tests/system/kasp/ns6/named2.conf.in
bin/tests/system/keepalive/ns1/named.conf.in
bin/tests/system/keepalive/ns2/named.conf.in
bin/tests/system/legacy/ns1/named1.conf.in
bin/tests/system/legacy/ns1/named2.conf.in
bin/tests/system/legacy/ns10/named.conf.in
bin/tests/system/legacy/ns2/named.conf.in
bin/tests/system/legacy/ns3/named.conf.in
bin/tests/system/legacy/ns4/named.conf.in
bin/tests/system/legacy/ns5/named.conf.in
bin/tests/system/legacy/ns6/named.conf.in
bin/tests/system/legacy/ns7/named.conf.in
bin/tests/system/legacy/ns8/named.conf.in
bin/tests/system/legacy/ns9/named.conf.in
bin/tests/system/limits/ns1/named.conf.in
bin/tests/system/logfileconfig/ns1/named.dirconf
bin/tests/system/logfileconfig/ns1/named.iso8601
bin/tests/system/logfileconfig/ns1/named.iso8601-utc
bin/tests/system/logfileconfig/ns1/named.pipeconf
bin/tests/system/logfileconfig/ns1/named.plain
bin/tests/system/logfileconfig/ns1/named.plainconf
bin/tests/system/logfileconfig/ns1/named.symconf
bin/tests/system/logfileconfig/ns1/named.tsconf
bin/tests/system/logfileconfig/ns1/named.unlimited
bin/tests/system/logfileconfig/ns1/named.versconf
bin/tests/system/masterfile/ns1/named.conf.in
bin/tests/system/masterfile/ns2/named.conf.in
bin/tests/system/masterformat/ns1/named.conf.in
bin/tests/system/masterformat/ns2/named.conf.in
bin/tests/system/masterformat/ns3/named.conf.in
bin/tests/system/masterformat/tests.sh
bin/tests/system/mirror/ns1/named.conf.in
bin/tests/system/mirror/ns2/named.conf.in
bin/tests/system/mirror/tests.sh
bin/tests/system/mkeys/ns1/named1.conf.in
bin/tests/system/mkeys/ns1/named2.conf.in
bin/tests/system/mkeys/ns1/named3.conf.in
bin/tests/system/names/ns1/named.conf.in
bin/tests/system/notify/ns1/named.conf.in
bin/tests/system/notify/ns2/named.conf.in
bin/tests/system/notify/ns3/named.conf.in
bin/tests/system/notify/ns4/named.conf.in
bin/tests/system/notify/ns5/named.conf.in
bin/tests/system/nslookup/ns1/named.conf.in
bin/tests/system/nsupdate/ns1/named.conf.in
bin/tests/system/nsupdate/ns10/named.conf.in
bin/tests/system/nsupdate/ns2/named.conf.in
bin/tests/system/nsupdate/ns3/named.conf.in
bin/tests/system/nsupdate/ns5/named.conf.in
bin/tests/system/nsupdate/ns6/named.conf.in
bin/tests/system/nsupdate/ns7/named.conf.in
bin/tests/system/nsupdate/ns8/named.conf.in
bin/tests/system/nsupdate/ns9/named.conf.in
bin/tests/system/nsupdate/tests.sh
bin/tests/system/padding/ns1/named.conf.in
bin/tests/system/padding/ns2/named.conf.in
bin/tests/system/pending/ns1/named.conf.in
bin/tests/system/pending/ns2/named.conf.in
bin/tests/system/pending/ns3/named.conf.in
bin/tests/system/pipelined/ns1/named.conf.in
bin/tests/system/pipelined/ns2/named.conf.in
bin/tests/system/pipelined/ns3/named.conf.in
bin/tests/system/pkcs11/setup.sh
bin/tests/system/qmin/ns1/named.conf.in
bin/tests/system/reclimit/ns1/named.conf.in
bin/tests/system/redirect/conf/good3.conf
bin/tests/system/redirect/ns1/named.conf.in
bin/tests/system/redirect/ns2/named.conf.in
bin/tests/system/redirect/ns3/named.conf.in
bin/tests/system/redirect/ns4/named.conf.in
bin/tests/system/redirect/ns5/named.conf.in
bin/tests/system/redirect/ns6/named.conf.in
bin/tests/system/resolver/ns1/named.conf.in
bin/tests/system/resolver/ns4/named.conf.in
bin/tests/system/resolver/ns5/named.conf.in
bin/tests/system/resolver/ns6/named.conf.in
bin/tests/system/resolver/ns7/named1.conf.in
bin/tests/system/resolver/ns7/named2.conf.in
bin/tests/system/rndc/ns2/named.conf.in
bin/tests/system/rndc/tests.sh
bin/tests/system/rootkeysentinel/ns1/named.conf.in
bin/tests/system/rootkeysentinel/ns2/named.conf.in
bin/tests/system/rpz/dnsrpzd.conf.in
bin/tests/system/rpz/ns1/named.conf.in
bin/tests/system/rpz/ns2/bl.tld2.db.in
bin/tests/system/rpz/ns2/blv2.tld2.db.in
bin/tests/system/rpz/ns2/blv3.tld2.db.in
bin/tests/system/rpz/ns2/named.conf.in
bin/tests/system/rpz/ns3/named.conf.in
bin/tests/system/rpz/ns4/named.conf.in
bin/tests/system/rpz/ns5/expire.conf.in
bin/tests/system/rpz/ns5/named.conf.in
bin/tests/system/rpz/ns6/named.conf.in
bin/tests/system/rpz/ns7/named.conf.in
bin/tests/system/rpz/ns8/named.conf.in
bin/tests/system/rpz/ns9/named.conf.in
bin/tests/system/rpz/tests.sh
bin/tests/system/rpzextra/ns1/named.conf.in
bin/tests/system/rpzextra/ns2/named.conf.in
bin/tests/system/rrl/ns1/named.conf.in
bin/tests/system/rrl/ns2/named.conf.in
bin/tests/system/rrl/ns3/named.conf.in
bin/tests/system/rrl/ns4/named.conf.in
bin/tests/system/rrsetorder/ns1/named.conf.in
bin/tests/system/rrsetorder/ns2/named.conf.in
bin/tests/system/rrsetorder/tests.sh
bin/tests/system/rsabigexponent/ns1/named.conf.in
bin/tests/system/rsabigexponent/ns2/named.conf.in
bin/tests/system/serve-stale/ns1/named1.conf.in
bin/tests/system/serve-stale/ns1/named2.conf.in
bin/tests/system/serve-stale/ns3/named.conf.in
bin/tests/system/serve-stale/ns4/named.conf.in
bin/tests/system/sfcache/ns1/named.conf.in
bin/tests/system/sfcache/ns2/named.conf.in
bin/tests/system/sortlist/ns1/named.conf.in
bin/tests/system/spf/ns1/named.conf.in
bin/tests/system/staticstub/ns1/named.conf.in
bin/tests/system/staticstub/ns3/named.conf.in
bin/tests/system/staticstub/ns4/named.conf.in
bin/tests/system/statistics/ns1/named.conf.in
bin/tests/system/statistics/ns2/named.conf.in
bin/tests/system/statistics/ns3/named.conf.in
bin/tests/system/statschannel/ns1/named.conf.in
bin/tests/system/statschannel/ns2/named.conf.in
bin/tests/system/stub/ns1/named.conf.in
bin/tests/system/stub/ns2/named.conf.in
bin/tests/system/stub/ns3/named.conf.in
bin/tests/system/synthfromdnssec/ns1/named.conf.in
bin/tests/system/tcp/ns1/named.conf.in
bin/tests/system/tcp/ns2/named.conf.in
bin/tests/system/tkey/ns1/named.conf.in
bin/tests/system/tsig/ns1/named.conf.in
bin/tests/system/tsiggss/ns1/named.conf.in
bin/tests/system/ttl/ns1/named.conf.in
bin/tests/system/unknown/ns1/named.conf.in
bin/tests/system/unknown/ns2/named.conf.in
bin/tests/system/unknown/ns3/named.conf.in
bin/tests/system/unknown/tests.sh
bin/tests/system/upforwd/ns1/named.conf.in
bin/tests/system/upforwd/ns2/named.conf.in
bin/tests/system/upforwd/ns3/named.conf.in
bin/tests/system/upforwd/tests.sh
bin/tests/system/views/ns1/named.conf.in
bin/tests/system/views/ns2/named1.conf.in
bin/tests/system/views/ns2/named2.conf.in
bin/tests/system/views/ns3/named1.conf.in
bin/tests/system/views/ns3/named2.conf.in
bin/tests/system/views/ns5/named.conf.in
bin/tests/system/wildcard/ns1/named.conf.in
bin/tests/system/xfer/clean.sh
bin/tests/system/xfer/ns1/named.conf.in
bin/tests/system/xfer/ns2/named.conf.in
bin/tests/system/xfer/ns2/sec.db.in [moved from bin/tests/system/xfer/ns2/slave.db.in with 100% similarity]
bin/tests/system/xfer/ns3/named.conf.in
bin/tests/system/xfer/ns4/named.conf.base
bin/tests/system/xfer/ns6/named.conf.in
bin/tests/system/xfer/ns7/named.conf.in
bin/tests/system/xfer/ns8/named.conf.in
bin/tests/system/xfer/setup.sh
bin/tests/system/xfer/tests.sh
bin/tests/system/xferquota/ns1/named.conf.in
bin/tests/system/xferquota/ns2/named.conf.in
bin/tests/system/xferquota/setup.pl
bin/tests/system/zero/ns1/named.conf.in
bin/tests/system/zero/ns2/named.conf.in
bin/tests/system/zero/ns4/named.conf.in
bin/tests/system/zonechecks/ns1/named.conf.in
bin/tests/system/zonechecks/ns2/named.conf.in
bin/tests/system/zonechecks/setup.sh
bin/tests/system/zonechecks/tests.sh

index 0ea65027086606399e938fa7e1575b19c1935dde..60f22e1596b81778f7c2629114665bdadb2443f4 100644 (file)
@@ -48,12 +48,12 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "tsigzone" {
-       type master;
+       type primary;
        file "tsigzone.db";
        allow-transfer { !key one; any; };
 };
index b87788055428406ef341c189d5a785c1e5f8a26e..ada97bcf244a3daacf136646b186cc9605707608 100644 (file)
@@ -48,12 +48,12 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "tsigzone" {
-       type master;
+       type primary;
        file "tsigzone.db";
        /*
         * 0a00::/8 and 10/8 are the same bits, but different address
index 0a950622a2bd70fb8ecb1d4c9888b6c66c8248bc..97684e4d9b9ac009253970d477a141d77dfc8850 100644 (file)
@@ -61,12 +61,12 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "tsigzone" {
-       type master;
+       type primary;
        file "tsigzone.db";
        allow-transfer { !reject; accept; };
 };
index 7cdcb6e3415df26db5f35de5dcc252c39e7d071b..462b3fad6fe9dbf78b1971b13e95564de89d27fe 100644 (file)
@@ -60,12 +60,12 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "tsigzone" {
-       type master;
+       type primary;
        file "tsigzone.db";
        allow-transfer { !rejectkeys; !rejectaddrs; !check1; !check2; any; };
 };
index 7e20bac49dc2f4e9b346fb4b97272ce6cf6e7238..728da58d65bf8a5f33e36d5dfdbf1b360bfeeb6b 100644 (file)
@@ -50,12 +50,12 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "tsigzone" {
-       type master;
+       type primary;
        file "tsigzone.db";
        allow-transfer { !key one; any; };
 };
index 17cef4a7ec9826ee22f3eb54da3f050d169f0b09..e4c57463c6fc14d6c14720e191b089de66430207 100644 (file)
@@ -33,6 +33,6 @@ key rndc_key {
 };
 
 zone "existing" {
-       type master;
+       type primary;
        file "existing.db";
 };
index 4d915244ba129b18fc45e90339b26b719f4a6740..bfcd7f3fe8f47144efa82c137d72b1aaa56bd857 100644 (file)
@@ -168,7 +168,7 @@ status=`expr $status + $ret`
 echo_i "testing allow-transfer ACLs against ns3 (no existing zones)"
 
 echo_i "calling addzone example.com on ns3"
-$RNDCCMD 10.53.0.3 addzone 'example.com {type master; file "example.db"; }; '
+$RNDCCMD 10.53.0.3 addzone 'example.com {type primary; file "example.db"; }; '
 sleep 1
 
 t=`expr $t + 1`
@@ -197,7 +197,7 @@ status=`expr $status + $ret`
 echo_i "testing allow-transfer ACLs against ns4 (1 pre-existing zone)"
 
 echo_i "calling addzone example.com on ns4"
-$RNDCCMD 10.53.0.4 addzone 'example.com {type master; file "example.db"; }; '
+$RNDCCMD 10.53.0.4 addzone 'example.com {type primary; file "example.db"; }; '
 sleep 1
 
 t=`expr $t + 1`
index 4c850109d93d29b98fba02140f07413bcc257ec3..306e80fa20e01100088ee2fca2b56e5f68c27185 100644 (file)
@@ -30,31 +30,31 @@ controls {
 };
 
 zone "." {
-        type master;
+        type primary;
         file "root.db";
 };
 
 zone "rt.example" {
-       type master;
+       type primary;
        file "rt.db";
 };
 
 zone "naptr.example" {
-       type master;
+       type primary;
        file "naptr.db";
 };
 
 zone "rt2.example" {
-       type master;
+       type primary;
        file "rt2.db";
 };
 
 zone "naptr2.example" {
-       type master;
+       type primary;
        file "naptr2.db";
 };
 
 zone "nid.example" {
-       type master;
+       type primary;
        file "nid.db";
 };
index b71434892c51037384170941885339b418b047b5..6a341f1b33b1d13905c2a580b443868a8f5cbd77 100644 (file)
@@ -30,31 +30,31 @@ controls {
 };
 
 zone "." {
-        type master;
+        type primary;
         file "root.db";
 };
 
 zone "rt.example" {
-       type master;
+       type primary;
        file "rt.db";
 };
 
 zone "naptr.example" {
-       type master;
+       type primary;
        file "naptr.db";
 };
 
 zone "rt2.example" {
-       type master;
+       type primary;
        file "rt2.db";
 };
 
 zone "naptr2.example" {
-       type master;
+       type primary;
        file "naptr2.db";
 };
 
 zone "nid.example" {
-       type master;
+       type primary;
        file "nid.db";
 };
index 3df718436ab286e3c884e3eb206ebffa2d679458..85d94d5e89a501d86da0707052f226dea79057b2 100644 (file)
@@ -31,31 +31,31 @@ controls {
 };
 
 zone "." {
-        type master;
+        type primary;
         file "root.db";
 };
 
 zone "rt.example" {
-       type master;
+       type primary;
        file "rt.db";
 };
 
 zone "naptr.example" {
-       type master;
+       type primary;
        file "naptr.db";
 };
 
 zone "rt2.example" {
-       type master;
+       type primary;
        file "rt2.db";
 };
 
 zone "naptr2.example" {
-       type master;
+       type primary;
        file "naptr2.db";
 };
 
 zone "nid.example" {
-       type master;
+       type primary;
        file "nid.db";
 };
index f7947c2e2af12207794d948737a85bf5b156a67f..2808c438a3348758c15bb6d9957a4aa0537e4e8d 100644 (file)
@@ -30,41 +30,41 @@ controls {
 };
 
 zone "." {
-        type master;
+        type primary;
         file "root.db";
 };
 
 zone "mx.example" {
-       type master;
+       type primary;
        file "mx.db";
 };
 
 zone "srv.example" {
-       type master;
+       type primary;
        file "srv.db";
 };
 
 zone "rt.example" {
-       type master;
+       type primary;
        file "rt.db";
 };
 
 zone "naptr.example" {
-       type master;
+       type primary;
        file "naptr.db";
 };
 
 zone "rt2.example" {
-       type master;
+       type primary;
        file "rt2.db";
 };
 
 zone "naptr2.example" {
-       type master;
+       type primary;
        file "naptr2.db";
 };
 
 zone "nid.example" {
-       type master;
+       type primary;
        file "nid.db";
 };
index 1437ec444dad05a2431289a20dcc187f4107a477..4c41816bbe437c5a3c9b8f7f10227a733648af7c 100644 (file)
@@ -23,6 +23,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 7dcd0bd0be8be0f2323d60ea0b35f787665f7415..de87de56e4e7800c574937a93060a254e5e9c9bd 100644 (file)
@@ -30,11 +30,11 @@ zone "." {
 };
 
 zone "ex" {
-       type master;
+       type primary;
        file "ex.db";
 };
 
 zone "ex2" {
-       type master;
+       type primary;
        file "ex2.db";
 };
index de727c308e7d61b00d40e28612934d5bb2f546a0..12d879d0c0cf0f13e9c2cc04622aa7f2ca7f184a 100644 (file)
@@ -24,7 +24,7 @@ rm -f ./ns3/*.nzd ./ns3/*.nzd-lock
 rm -f ./ns2/core*
 rm -f ./ns2/inline.db.jbk
 rm -f ./ns2/inline.db.signed
-rm -f ./ns2/inlineslave.bk*
+rm -f ./ns2/inlinesec.bk*
 rm -rf ./ns2/new-zones
 rm -f ./ns*/named.lock
 rm -f ./ns*/named.run ./ns*/named.run.prev
@@ -32,7 +32,7 @@ rm -f ./ns2/nzf-*
 rm -f ./ns3/named.conf
 rm -f ./ns3/*.nzf ./ns3/*.nzf~
 rm -f ./ns3/*.nzd ns3/*.nzd-lock
-rm -f ./ns3/inlineslave.db
+rm -f ./ns3/inlinesec.db
 rm -f ./ns1/redirect.db
 rm -f ./ns2/redirect.db
 rm -f ./ns2/redirect.bk
similarity index 95%
rename from bin/tests/system/addzone/ns1/inlineslave.db
rename to bin/tests/system/addzone/ns1/inlinesec.db
index 625349ec4d95cef6259c7167eb22172b67516043..5db7e024e3f15b56625edf515955e2ccaa28ac75 100644 (file)
@@ -7,7 +7,7 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-$ORIGIN inlineslave.example.
+$ORIGIN inlinesec.example.
 $TTL 300       ; 5 minutes
 @                       IN SOA mname1. . (
                                1          ; serial
index 3939091de8c67023498dfd69734bc494f3d414eb..a3f4256a96d3e1b15000250cf4b508db4aed6c32 100644 (file)
@@ -33,9 +33,9 @@ zone "." {
        file "../../common/root.hint";
 };
 
-zone "inlineslave.example" {
-       type master;
-       file "inlineslave.db";
+zone "inlinesec.example" {
+       type primary;
+       file "inlinesec.db";
 };
 
 zone "." {
index 099f9e4a11dee40e3c364a26bb78cd09f3577c01..614bddeb4368cb7b536c651b5e26c7a67e4e2c2c 100644 (file)
@@ -1 +1 @@
-zone previous.example { type master; file "previous.db"; };
+zone previous.example { type primary; file "previous.db"; };
index 47a3cc99695cca718ab16984bc50bd11980799e2..dc1d26fc5dd9ea034eac02d84444761a4f3172f0 100644 (file)
@@ -31,11 +31,11 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "normal.db";
 };
 
 zone "finaldot.example." {
-       type master;
+       type primary;
        file "normal.db";
 };
index c063d425f0c0cfe76c7b8792433b1be7197d46ed..94724d50d9a17c7e3a1eb97d83b8fea2e008194e 100644 (file)
@@ -37,7 +37,7 @@ view internal {
        };
 
        zone "policy" {
-               type master;
+               type primary;
                file "normal.db";
        };
 };
index 4afb0a783f601f8d5d825124043b3abc63d8d359..f4d948e267a92ec5076879e787b149dd8499fa5b 100644 (file)
@@ -37,7 +37,7 @@ view internal {
        };
 
        zone "policy" {
-               type master;
+               type primary;
                file "normal.db";
        };
 };
index f6f382b5495087547ca9a21c2cfc7a96bbc9b230..2ee5e26091c8a9c31803cf54146a28bf8b35983e 100644 (file)
@@ -26,10 +26,10 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "redirect.db";
 };
 
-primaries "testmaster" {
+primaries "test" {
        192.5.5.241;
 };
index c7fc95f0d9a2977916e2f541b6d87bebe37cb3f4..cec70e823dcd6bfe404564f6ed635c347a7fd0a2 100755 (executable)
@@ -53,7 +53,7 @@ fi
 
 echo_i "adding new zone ($n)"
 ret=0
-$RNDCCMD 10.53.0.2 addzone 'added.example { type master; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
+$RNDCCMD 10.53.0.2 addzone 'added.example { type primary; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
 _check_adding_new_zone () (
        $DIG $DIGOPTS @10.53.0.2 a.added.example a > dig.out.ns2.$n &&
        grep 'status: NOERROR' dig.out.ns2.$n > /dev/null &&
@@ -84,7 +84,8 @@ status=`expr $status + $ret`
 
 echo_i "adding a zone that requires quotes ($n)"
 ret=0
-$RNDCCMD 10.53.0.2 addzone '"32/1.0.0.127-in-addr.added.example" { check-names ignore; type master; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
+$RNDCCMD 10.53.0.2 addzone '"32/1.0.0.127-in-addr.added.example" {
+check-names ignore; type primary; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
 _check_zone_that_requires_quotes() (
        $DIG $DIGOPTS @10.53.0.2 "a.32/1.0.0.127-in-addr.added.example" a > dig.out.ns2.$n &&
        grep 'status: NOERROR' dig.out.ns2.$n > /dev/null &&
@@ -97,7 +98,7 @@ status=`expr $status + $ret`
 
 echo_i "adding a zone with a quote in the name ($n)"
 ret=0
-$RNDCCMD 10.53.0.2 addzone '"foo\"bar.example" { check-names ignore; type master; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
+$RNDCCMD 10.53.0.2 addzone '"foo\"bar.example" { check-names ignore; type primary; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
 _check_zone_with_a_quote() (
        $DIG $DIGOPTS @10.53.0.2 "a.foo\"bar.example" a > dig.out.ns2.$n &&
        grep 'status: NOERROR' dig.out.ns2.$n > /dev/null &&
@@ -108,11 +109,11 @@ n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "adding new zone with missing master file ($n)"
+echo_i "adding new zone with missing file ($n)"
 ret=0
 $DIG $DIGOPTS +all @10.53.0.2 a.missing.example a > dig.out.ns2.pre.$n || ret=1
 grep "status: REFUSED" dig.out.ns2.pre.$n > /dev/null || ret=1
-$RNDCCMD 10.53.0.2 addzone 'missing.example { type master; file "missing.db"; };' 2> rndc.out.ns2.$n
+$RNDCCMD 10.53.0.2 addzone 'missing.example { type primary; file "missing.db"; };' 2> rndc.out.ns2.$n
 grep "file not found" rndc.out.ns2.$n > /dev/null || ret=1
 $DIG $DIGOPTS +all @10.53.0.2 a.missing.example a > dig.out.ns2.post.$n || ret=1
 grep "status: REFUSED" dig.out.ns2.post.$n > /dev/null || ret=1
@@ -134,7 +135,7 @@ fi
 echo_i "checking rndc showzone with previously added zone ($n)"
 ret=0
 $RNDCCMD 10.53.0.2 showzone previous.example > rndc.out.ns2.$n
-expected='zone "previous.example" { type master; file "previous.db"; };'
+expected='zone "previous.example" { type primary; file "previous.db"; };'
 [ "`cat rndc.out.ns2.$n`" = "$expected" ] || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
@@ -212,7 +213,7 @@ status=`expr $status + $ret`
 echo_i "checking rndc showzone with a normally-loaded zone ($n)"
 ret=0
 $RNDCCMD 10.53.0.2 showzone normal.example > rndc.out.ns2.$n
-expected='zone "normal.example" { type master; file "normal.db"; };'
+expected='zone "normal.example" { type primary; file "normal.db"; };'
 [ "`cat rndc.out.ns2.$n`" = "$expected" ] || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
@@ -221,7 +222,7 @@ status=`expr $status + $ret`
 echo_i "checking rndc showzone with a normally-loaded zone with trailing dot ($n)"
 ret=0
 $RNDCCMD 10.53.0.2 showzone finaldot.example > rndc.out.ns2.$n
-expected='zone "finaldot.example." { type master; file "normal.db"; };'
+expected='zone "finaldot.example." { type primary; file "normal.db"; };'
 [ "`cat rndc.out.ns2.$n`" = "$expected" ] || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
@@ -271,79 +272,79 @@ n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "attempting to add master zone with inline signing ($n)"
-$RNDCCMD 10.53.0.2 addzone 'inline.example { type master; file "inline.db"; inline-signing yes; };' 2>&1 | sed 's/^/I:ns2 /'
-_check_add_master_zone_with_inline() (
+echo_i "attempting to add primary zone with inline signing ($n)"
+$RNDCCMD 10.53.0.2 addzone 'inline.example { type primary; file "inline.db"; inline-signing yes; };' 2>&1 | sed 's/^/I:ns2 /'
+_check_add_primary_zone_with_inline() (
        $DIG $DIGOPTS @10.53.0.2 a.inline.example a > dig.out.ns2.$n &&
        grep 'status: NOERROR' dig.out.ns2.$n > /dev/null &&
        grep '^a.inline.example' dig.out.ns2.$n > /dev/null
 )
-retry_quiet 5 _check_add_master_zone_with_inline || ret=1
+retry_quiet 5 _check_add_primary_zone_with_inline || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "attempting to add master zone with inline signing and missing master ($n)"
+echo_i "attempting to add primary zone with inline signing and missing file ($n)"
 ret=0
-$RNDCCMD 10.53.0.2 addzone 'inlinemissing.example { type master; file "missing.db"; inline-signing yes; };' 2> rndc.out.ns2.$n
+$RNDCCMD 10.53.0.2 addzone 'inlinemissing.example { type primary; file "missing.db"; inline-signing yes; };' 2> rndc.out.ns2.$n
 grep "file not found" rndc.out.ns2.$n > /dev/null || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "attempting to add slave zone with inline signing ($n)"
-$RNDCCMD 10.53.0.2 addzone 'inlineslave.example { type slave; masters { 10.53.0.1; }; file "inlineslave.bk"; inline-signing yes; };' 2>&1 | sed 's/^/I:ns2 /'
-_check_add_slave_with_inline() (
-       $DIG $DIGOPTS @10.53.0.2 a.inlineslave.example a > dig.out.ns2.$n &&
+echo_i "attempting to add secondary zone with inline signing ($n)"
+$RNDCCMD 10.53.0.2 addzone 'inlinesec.example { type secondary; primaries { 10.53.0.1; }; file "inlinesec.bk"; inline-signing yes; };' 2>&1 | sed 's/^/I:ns2 /'
+_check_add_secondary_with_inline() (
+       $DIG $DIGOPTS @10.53.0.2 a.inlinesec.example a > dig.out.ns2.$n &&
        grep 'status: NOERROR' dig.out.ns2.$n > /dev/null &&
-       grep '^a.inlineslave.example' dig.out.ns2.$n > /dev/null
+       grep '^a.inlinesec.example' dig.out.ns2.$n > /dev/null
 )
-retry_quiet 5 _check_add_slave_with_inline || ret=1
+retry_quiet 5 _check_add_secondary_with_inline || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "attempting to delete slave zone with inline signing ($n)"
+echo_i "attempting to delete secondary zone with inline signing ($n)"
 ret=0
-retry_quiet 10 test -f ns2/inlineslave.bk.signed -a -f ns2/inlineslave.bk || ret=1
-$RNDCCMD 10.53.0.2 delzone inlineslave.example > rndc.out2.test$n 2>&1 || ret=1
-test -f inlineslave.bk ||
-grep '^inlineslave.bk$' rndc.out2.test$n > /dev/null || {
-       echo_i "failed to report inlineslave.bk"; ret=1;
+retry_quiet 10 test -f ns2/inlinesec.bk.signed -a -f ns2/inlinesec.bk || ret=1
+$RNDCCMD 10.53.0.2 delzone inlinesec.example > rndc.out2.test$n 2>&1 || ret=1
+test -f inlinesec.bk ||
+grep '^inlinesec.bk$' rndc.out2.test$n > /dev/null || {
+       echo_i "failed to report inlinesec.bk"; ret=1;
 }
-test ! -f inlineslave.bk.signed ||
-grep '^inlineslave.bk.signed$' rndc.out2.test$n > /dev/null || {
-       echo_i "failed to report inlineslave.bk.signed"; ret=1;
+test ! -f inlinesec.bk.signed ||
+grep '^inlinesec.bk.signed$' rndc.out2.test$n > /dev/null || {
+       echo_i "failed to report inlinesec.bk.signed"; ret=1;
 }
 n=`expr $n + 1`
 status=`expr $status + $ret`
 
-echo_i "restoring slave zone with inline signing ($n)"
-$RNDCCMD 10.53.0.2 addzone 'inlineslave.example { type slave; masters { 10.53.0.1; }; file "inlineslave.bk"; inline-signing yes; };' 2>&1 | sed 's/^/I:ns2 /'
-_check_restoring_slave_with_inline() (
-       $DIG $DIGOPTS @10.53.0.2 a.inlineslave.example a > dig.out.ns2.$n &&
+echo_i "restoring secondary zone with inline signing ($n)"
+$RNDCCMD 10.53.0.2 addzone 'inlinesec.example { type secondary; primaries { 10.53.0.1; }; file "inlinesec.bk"; inline-signing yes; };' 2>&1 | sed 's/^/I:ns2 /'
+_check_restoring_secondary_with_inline() (
+       $DIG $DIGOPTS @10.53.0.2 a.inlinesec.example a > dig.out.ns2.$n &&
        grep 'status: NOERROR' dig.out.ns2.$n > /dev/null &&
-       grep '^a.inlineslave.example' dig.out.ns2.$n > /dev/null
+       grep '^a.inlinesec.example' dig.out.ns2.$n > /dev/null
 )
-retry_quiet 5 _check_restoring_slave_with_inline || ret=1
+retry_quiet 5 _check_restoring_secondary_with_inline || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "deleting slave zone with automatic zone file removal ($n)"
+echo_i "deleting secondary zone with automatic zone file removal ($n)"
 ret=0
-retry_quiet 10 test -f ns2/inlineslave.bk.signed -a -f ns2/inlineslave.bk || ret=1
-$RNDCCMD 10.53.0.2 delzone -clean inlineslave.example > /dev/null 2>&1
-retry_quiet 10 test ! -f ns2/inlineslave.bk.signed -a ! -f ns2/inlineslave.bk
+retry_quiet 10 test -f ns2/inlinesec.bk.signed -a -f ns2/inlinesec.bk || ret=1
+$RNDCCMD 10.53.0.2 delzone -clean inlinesec.example > /dev/null 2>&1
+retry_quiet 10 test ! -f ns2/inlinesec.bk.signed -a ! -f ns2/inlinesec.bk
 n=`expr $n + 1`
 status=`expr $status + $ret`
 
 echo_i "modifying zone configuration ($n)"
 ret=0
-$RNDCCMD 10.53.0.2 addzone 'mod.example { type master; file "added.db"; };' 2>&1 | sed 's/^/ns2 /' | cat_i
+$RNDCCMD 10.53.0.2 addzone 'mod.example { type primary; file "added.db"; };' 2>&1 | sed 's/^/ns2 /' | cat_i
 $DIG +norec $DIGOPTS @10.53.0.2 mod.example ns > dig.out.ns2.1.$n || ret=1
 grep 'status: NOERROR' dig.out.ns2.1.$n > /dev/null || ret=1
-$RNDCCMD 10.53.0.2 modzone 'mod.example { type master; file "added.db"; allow-query { none; }; };' 2>&1 | sed 's/^/ns2 /' | cat_i
+$RNDCCMD 10.53.0.2 modzone 'mod.example { type primary; file "added.db"; allow-query { none; }; };' 2>&1 | sed 's/^/ns2 /' | cat_i
 $DIG +norec $DIGOPTS @10.53.0.2 mod.example ns > dig.out.ns2.2.$n || ret=1
 $RNDCCMD 10.53.0.2 showzone mod.example | grep 'allow-query { "none"; };' > /dev/null 2>&1 || ret=1
 n=`expr $n + 1`
@@ -352,7 +353,7 @@ status=`expr $status + $ret`
 
 echo_i "check that adding a 'stub' zone works ($n)"
 ret=0
-$RNDCCMD 10.53.0.2 addzone 'stub.example { type stub; masters { 1.2.3.4; }; file "stub.example.bk"; };' > rndc.out.ns2.$n 2>&1 || ret=1
+$RNDCCMD 10.53.0.2 addzone 'stub.example { type stub; primaries { 1.2.3.4; }; file "stub.example.bk"; };' > rndc.out.ns2.$n 2>&1 || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
@@ -364,22 +365,22 @@ n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "check that adding a 'master redirect' zone works ($n)"
+echo_i "check that adding a 'primary redirect' zone works ($n)"
 ret=0
 $RNDCCMD 10.53.0.2 addzone '"." { type redirect; file "redirect.db"; };' > rndc.out.ns2.$n 2>&1 || ret=1
-_check_add_master_redirect() (
+_check_add_primary_redirect() (
        $RNDCCMD 10.53.0.2 showzone -redirect > showzone.out.ns2.$n 2>&1 &&
        grep "type redirect;" showzone.out.ns2.$n > /dev/null &&
        $RNDCCMD 10.53.0.2 zonestatus -redirect > zonestatus.out.ns2.$n 2>&1 &&
        grep "type: redirect" zonestatus.out.ns2.$n > /dev/null &&
        grep "serial: 0" zonestatus.out.ns2.$n > /dev/null
 )
-retry_quiet 10 _check_add_master_redirect || ret=1
+retry_quiet 10 _check_add_primary_redirect || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "check that reloading a added 'master redirect' zone works ($n)"
+echo_i "check that reloading a added 'primary redirect' zone works ($n)"
 ret=0
 sleep 1
 cp -f ns2/redirect.db.2 ns2/redirect.db
@@ -389,63 +390,63 @@ n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "check that retransfer of a added 'master redirect' zone fails ($n)"
+echo_i "check that retransfer of a added 'primary redirect' zone fails ($n)"
 ret=0
 $RNDCCMD 10.53.0.2 retransfer -redirect > rndc.out.ns2.$n 2>&1 && ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "check that deleting a 'master redirect' zone works ($n)"
+echo_i "check that deleting a 'primary redirect' zone works ($n)"
 ret=0
 $RNDCCMD 10.53.0.2 delzone -redirect > rndc.out.ns2.$n 2>&1 || ret=1
-_check_deleting_master_redirect() (
+_check_deleting_primary_redirect() (
        $RNDCCMD 10.53.0.2 showzone -redirect > showzone.out.ns2.$n 2>&1 || true
        grep 'not found' showzone.out.ns2.$n > /dev/null
 )
-retry_quiet 10 _check_deleting_master_redirect || ret=1
+retry_quiet 10 _check_deleting_primary_redirect || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "check that adding a 'slave redirect' zone works ($n)"
+echo_i "check that adding a 'secondary redirect' zone works ($n)"
 ret=0
-$RNDCCMD 10.53.0.2 addzone '"." { type redirect; masters { 10.53.0.3;}; file "redirect.bk"; };' > rndc.out.ns2.$n 2>&1 || ret=1
-_check_adding_slave_redirect() (
+$RNDCCMD 10.53.0.2 addzone '"." { type redirect; primaries { 10.53.0.3;}; file "redirect.bk"; };' > rndc.out.ns2.$n 2>&1 || ret=1
+_check_adding_secondary_redirect() (
        $RNDCCMD 10.53.0.2 showzone -redirect > showzone.out.ns2.$n 2>&1 &&
        grep "type redirect;" showzone.out.ns2.$n > /dev/null &&
        $RNDCCMD 10.53.0.2 zonestatus -redirect > zonestatus.out.ns2.$n 2>&1 &&
        grep "type: redirect" zonestatus.out.ns2.$n > /dev/null &&
        grep "serial: 0" zonestatus.out.ns2.$n > /dev/null
 )
-retry_quiet 10 _check_adding_slave_redirect || ret=1
+retry_quiet 10 _check_adding_secondary_redirect || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "check that retransfering a added 'slave redirect' zone works ($n)"
+echo_i "check that retransfering a added 'secondary redirect' zone works ($n)"
 ret=0
 cp -f ns3/redirect.db.2 ns3/redirect.db
 $RNDCCMD 10.53.0.3 reload . > showzone.out.ns3.$n 2>&1 || ret=1
-_check_retransfering_slave_redirect() (
+_check_retransfering_secondary_redirect() (
        $RNDCCMD 10.53.0.2 retransfer -redirect > rndc.out.ns2.$n 2>&1 &&
        $RNDCCMD 10.53.0.2 zonestatus -redirect > zonestatus.out.ns2.$n 2>&1 &&
        grep "type: redirect" zonestatus.out.ns2.$n > /dev/null &&
        grep "serial: 1" zonestatus.out.ns2.$n > /dev/null
 )
-retry_quiet 10 _check_retransfering_slave_redirect || ret=1
+retry_quiet 10 _check_retransfering_secondary_redirect || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "check that deleting a 'slave redirect' zone works ($n)"
+echo_i "check that deleting a 'secondary redirect' zone works ($n)"
 ret=0
 $RNDCCMD 10.53.0.2 delzone -redirect > rndc.out.ns2.$n 2>&1 || ret=1
-_check_deleting_slave_redirect() (
+_check_deleting_secondary_redirect() (
        $RNDCCMD 10.53.0.2 showzone -redirect > showzone.out.ns2.$n 2>&1 || true
        grep 'not found' showzone.out.ns2.$n > /dev/null
 )
-retry_quiet 10 _check_deleting_slave_redirect || ret=1
+retry_quiet 10 _check_deleting_secondary_redirect || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
@@ -499,7 +500,7 @@ $DIG +norec $DIGOPTS @10.53.0.2 -b 10.53.0.2 a.added.example a > dig.out.ns2.int
 grep 'status: NOERROR' dig.out.ns2.intpre.$n > /dev/null || ret=1
 $DIG +norec $DIGOPTS @10.53.0.4 -b 10.53.0.4 a.added.example a > dig.out.ns2.extpre.$n || ret=1
 grep 'status: REFUSED' dig.out.ns2.extpre.$n > /dev/null || ret=1
-$RNDCCMD 10.53.0.2 addzone 'added.example in external { type master; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
+$RNDCCMD 10.53.0.2 addzone 'added.example in external { type primary; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
 $DIG +norec $DIGOPTS @10.53.0.2 -b 10.53.0.2 a.added.example a > dig.out.ns2.int.$n || ret=1
 grep 'status: NOERROR' dig.out.ns2.int.$n > /dev/null || ret=1
 $DIG +norec $DIGOPTS @10.53.0.4 -b 10.53.0.4 a.added.example a > dig.out.ns2.ext.$n || ret=1
@@ -546,9 +547,9 @@ status=`expr $status + $ret`
 echo_i "checking rndc showzone with newly added zone ($n)"
 _check_rndc_showzone_newly_added() (
        if [ -z "$NZD" ]; then
-               expected='zone "added.example" in external { type master; file "added.db"; };'
+               expected='zone "added.example" in external { type primary; file "added.db"; };'
        else
-               expected='zone "added.example" { type master; file "added.db"; };'
+               expected='zone "added.example" { type primary; file "added.db"; };'
        fi
        $RNDCCMD 10.53.0.2 showzone added.example in external > rndc.out.ns2.$n 2>/dev/null &&
        [ "`cat rndc.out.ns2.$n`" = "$expected" ]
@@ -575,7 +576,7 @@ echo_i "attempting to add zone to internal view ($n)"
 ret=0
 $DIG +norec $DIGOPTS @10.53.0.2 -b 10.53.0.2 a.added.example a > dig.out.ns2.pre.$n || ret=1
 grep 'status: NOERROR' dig.out.ns2.pre.$n > /dev/null || ret=1
-$RNDCCMD 10.53.0.2 addzone 'added.example in internal { type master; file "added.db"; };' 2> rndc.out.ns2.$n
+$RNDCCMD 10.53.0.2 addzone 'added.example in internal { type primary; file "added.db"; };' 2> rndc.out.ns2.$n
 grep "permission denied" rndc.out.ns2.$n > /dev/null || ret=1
 $DIG $DIGOPTS @10.53.0.2 -b 10.53.0.2 a.added.example a > dig.out.ns2.int.$n || ret=1
 grep 'status: NOERROR' dig.out.ns2.int.$n > /dev/null || ret=1
@@ -595,7 +596,7 @@ status=`expr $status + $ret`
 
 echo_i "adding new zone again to external view ($n)"
 ret=0
-$RNDCCMD 10.53.0.2 addzone 'added.example in external { type master; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
+$RNDCCMD 10.53.0.2 addzone 'added.example in external { type primary; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
 _check_adding_new_zone_again_external() (
        $DIG +norec $DIGOPTS @10.53.0.2 -b 10.53.0.2 a.added.example a > dig.out.ns2.int.$n &&
        grep 'status: NOERROR' dig.out.ns2.int.$n > /dev/null &&
@@ -640,7 +641,7 @@ $DIG +norec $DIGOPTS @10.53.0.4 -b 10.53.0.4 a.added.example a > dig.out.ns2.ext
 grep 'status: REFUSED' dig.out.ns2.extpre.$n > /dev/null || ret=1
 $DIG +norec $DIGOPTS @10.53.0.5 -b 10.53.0.5 a.added.example a > dig.out.ns2.dirpre.$n || ret=1
 grep 'status: REFUSED' dig.out.ns2.dirpre.$n > /dev/null || ret=1
-$RNDCCMD 10.53.0.2 addzone 'added.example in directory { type master; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
+$RNDCCMD 10.53.0.2 addzone 'added.example in directory { type primary; file "added.db"; };' 2>&1 | sed 's/^/I:ns2 /'
 $DIG +norec $DIGOPTS @10.53.0.2 -b 10.53.0.2 a.added.example a > dig.out.ns2.int.$n || ret=1
 grep 'status: NOERROR' dig.out.ns2.int.$n > /dev/null || ret=1
 $DIG +norec $DIGOPTS @10.53.0.4 -b 10.53.0.4 a.added.example a > dig.out.ns2.ext.$n || ret=1
@@ -686,10 +687,10 @@ status=`expr $status + $ret`
 
 echo_i "check delzone after reconfig failure ($n)"
 ret=0
-$RNDCCMD 10.53.0.3 addzone 'inlineslave.example. IN { type slave; file "inlineslave.db"; masterfile-format text; primaries { testmaster; }; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone 'inlinesec.example. IN { type secondary; file "inlinesec.db"; masterfile-format text; primaries { test; }; };' > /dev/null 2>&1 || ret=1
 copy_setports ns3/named2.conf.in ns3/named.conf
 rndc_reconfig ns3 10.53.0.3
-$RNDCCMD 10.53.0.3 delzone inlineslave.example > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 delzone inlinesec.example > /dev/null 2>&1 || ret=1
 n=`expr $n + 1`
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
@@ -698,9 +699,9 @@ if ! $FEATURETEST --with-lmdb
 then
     echo_i "check that addzone is fully reversed on failure (--with-lmdb=no) ($n)"
     ret=0
-    $RNDCCMD 10.53.0.3 addzone "test1.baz" '{ type master; file "e.db"; };' > /dev/null 2>&1 || ret=1
-    $RNDCCMD 10.53.0.3 addzone "test2.baz" '{ type master; file "dne.db"; };' > /dev/null 2>&1 && ret=1
-    $RNDCCMD 10.53.0.3 addzone "test3.baz" '{ type master; file "e.db"; };' > /dev/null 2>&1 || ret=1
+    $RNDCCMD 10.53.0.3 addzone "test1.baz" '{ type primary; file "e.db"; };' > /dev/null 2>&1 || ret=1
+    $RNDCCMD 10.53.0.3 addzone "test2.baz" '{ type primary; file "dne.db"; };' > /dev/null 2>&1 && ret=1
+    $RNDCCMD 10.53.0.3 addzone "test3.baz" '{ type primary; file "e.db"; };' > /dev/null 2>&1 || ret=1
     $RNDCCMD 10.53.0.3 delzone "test3.baz" > /dev/null 2>&1 || ret=1
     grep test2.baz ns3/_default.nzf > /dev/null && ret=1
     n=`expr $n + 1`
@@ -715,13 +716,13 @@ _check_version_bind() (
 
 echo_i "check that named restarts with multiple added zones ($n)"
 ret=0
-$RNDCCMD 10.53.0.3 addzone "test4.baz" '{ type master; file "e.db"; };' > /dev/null 2>&1 || ret=1
-$RNDCCMD 10.53.0.3 addzone "test5.baz" '{ type master; file "e.db"; };' > /dev/null 2>&1 || ret=1
-$RNDCCMD 10.53.0.3 addzone '"test/.baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
-$RNDCCMD 10.53.0.3 addzone '"test\".baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
-$RNDCCMD 10.53.0.3 addzone '"test\\.baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
-$RNDCCMD 10.53.0.3 addzone '"test\032.baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
-$RNDCCMD 10.53.0.3 addzone '"test\010.baz"' '{ type master; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone "test4.baz" '{ type primary; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone "test5.baz" '{ type primary; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone '"test/.baz"' '{ type primary; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone '"test\".baz"' '{ type primary; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone '"test\\.baz"' '{ type primary; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone '"test\032.baz"' '{ type primary; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone '"test\010.baz"' '{ type primary; check-names ignore; file "e.db"; };' > /dev/null 2>&1 || ret=1
 stop_server addzone ns3
 start_server --noclean --restart --port ${PORT} addzone ns3 || ret=1
 retry_quiet 10 _check_version_bind || ret=1
index 607925b26e24fc68317a4a8fd976c0739f155d5b..70e4d01cc2e3d726244a2a3243b51b01f0b29394 100644 (file)
@@ -18,6 +18,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 0395d9c9dea77c4528a139511b071790b9173aca..faadc6293685a74ca4d6e6305f09b738162a237b 100644 (file)
@@ -25,6 +25,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index 3b0726ff8999d0ced72548a19f5b5949e298b565..758aa602bb43dbe7164b55e5bed6991f2e1f1e75 100644 (file)
@@ -26,6 +26,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index 9d5fb48bdcca86fb008fb2eae47d37b15888a06a..d7d7d4f0080d668b3f74923adf6e3e06fb4d69f1 100644 (file)
@@ -26,6 +26,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index 88ee8de60d27cd40806fc505f7a02671fad3dab9..67938b5f4ef783aa044bb004012b0ee5c37e1dc0 100644 (file)
@@ -26,6 +26,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index 7fbc72006d5dae659443a4f5f136ec971763a81d..77b16461fbcd15531c437b2f025d71455373a444 100644 (file)
@@ -26,6 +26,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index c4a0b9fe5ddd252ea13befeda4ae69a3f21bb3ee..94f1a3fc054663343215ecd2d719b395107e4847 100644 (file)
@@ -26,6 +26,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index 511e74c5eb9bf030ed99d7bfbc2ca045b11a1bae..2752bab934cc64a5c5c9d55a5977c28cd2bde08d 100644 (file)
@@ -28,6 +28,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index b0c3c6cd1ddad5f76c807eeed7899708fcc17053..316b1bbfbd86df95d17291ccff986ce83759ab5e 100644 (file)
@@ -28,6 +28,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index 4f1d026d07fe47aa6882872bad8c0fdb8862a8c0..211c8bff7b21671500a3be01f2904573d7793de7 100644 (file)
@@ -28,6 +28,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index c5f38c90bb56be31dd3ffe772bac7df53a6711d0..7d43e364bb6034282dccb924f4f51b0dca3fb773 100644 (file)
@@ -31,6 +31,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index 56e5cc4947fcc7d02d428c0d997c0f884938df49..295251880d90a2633530fc3077306d45f803b31e 100644 (file)
@@ -37,6 +37,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index 8381950dfae3ffa21cf0e10e6a8cd7ee817cd5ea..0c01071987762c6381c85fab8e25b0384a4c31c9 100644 (file)
@@ -31,6 +31,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
index c5ba1e8050ee0150d970a4be63a2dc47e7b9957b..5d09497b261f3362e0ee3778dc5a935a4aa06208 100644 (file)
@@ -27,7 +27,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index 03907ffb8bf133a526397d69f046c58a0becc195..8b738992d90f63240c35e0357ed0f0027035ecfa 100644 (file)
@@ -29,7 +29,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 
index 448b46297ac9cd4e5dcb01d9fa77f4eec18de160..46f9013dfaa716e30d4fa35157cfe574c11c4087 100644 (file)
@@ -29,7 +29,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index 401e0f4291ff4ef5935be751a94e6a1a35ab819c..f4309fe797d0f18db11e0a0a770470f840097690 100644 (file)
@@ -29,7 +29,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index 03304028f2f7b192a037245c6ff2a737a7fd674a..5d1418882d8a5a81502e13da2268ed5b677ddb00 100644 (file)
@@ -29,7 +29,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index 15b0b24757999901c8b8e2e318e8513f94243ca7..0bbdc4868ddcd3a3d7541b5d84716f3df40d0444 100644 (file)
@@ -29,7 +29,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index 4519f7b1874e2ad014f7b0331e1143d14fd0b63c..4f6c9c7f5ae4262dd9ce94e863591b773bb6d193 100644 (file)
@@ -31,7 +31,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 
index 4b54a72e805f60248e6f78ce0789a93f6c7f08f5..408d49deecc82e30e76af7fd8904679ed46ed686 100644 (file)
@@ -31,7 +31,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index 93a1e67e62891b7132acb3bbbb6f7ff0e195d64f..8bd63deeb8f39cb7f3a1dc687545aa8f669d4327 100644 (file)
@@ -31,7 +31,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index 0e5ff55b9570e5b7e5ae770b549283f5ea3c7be6..4c172929ca4a3aecf327cb31a2dad93ce3e206b7 100644 (file)
@@ -34,7 +34,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index faadb3f02f00aac4f240e1969f3ac891d0b5385f..a2690a4523b9574a5628dae4d3823efb2bc8300e 100644 (file)
@@ -41,7 +41,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index 9e78dd0387a75d6fb9e63ff720154cfa033ebacd..a0708c8ee34d1d3a38e910d8c98a427c82e03ef0 100644 (file)
@@ -34,7 +34,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index f4ba389a728e6fd797431d2a688578187d2e19ba..d11956db3b0f1704308daf77e5fc1cc66e7e640e 100644 (file)
@@ -30,7 +30,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 
index 5e05e6c8b751f7d7fb0f278f5f93971758e6d46a..ff1642817572b86b927ebe94a0312f329336afd5 100644 (file)
@@ -30,7 +30,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 };
index f4bc3993e9778d16b8e811f42852e91a543921d8..687768ea38bd3937da462120d40a9c225bf08703 100644 (file)
@@ -39,67 +39,67 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
 };
 
 zone "any.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { any; };
 };
 
 zone "none.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { none; };
 };
 
 zone "addrallow.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { 10.53.0.2; };
 };
 
 zone "addrnotallow.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { 10.53.0.1; };
 };
 
 zone "addrdisallow.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { ! 10.53.0.2; };
 };
 
 zone "aclallow.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { accept; };
 };
 
 zone "aclnotallow.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { badaccept; };
 };
 
 zone "acldisallow.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { ! accept; };
 };
 
 /* Also usable for testing key not allowed */
 zone "keyallow.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { key one; };
 };
 
 zone "keydisallow.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { ! key one; };
 };
index 5dac2b993fdfd48a8c9bb907a6aff6ff493dddcd..59e1485343ff2a0c7670a5b10b2b08bdc56f0bba 100644 (file)
@@ -26,7 +26,7 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { any; };
 };
index 7014a75efac524091fdd379bbb5f31419b2da969..d96c24eed9d5407a549c44f425bc0885f3d6d9a2 100644 (file)
@@ -26,7 +26,7 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "generic.db";
        allow-query { none; };
 };
index 058d223f44b9ef8528652f7c18da757699529fe0..8e336b5e7cb3e6feff6e6a64cdf4e543ddac4693 100644 (file)
@@ -29,7 +29,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
                allow-query { any; };
        };
index beeb9cd70e3c895797846200bf4fdacd70b507ae..6c82c360ea08af979a9a811ad4bffdcca57c6157 100644 (file)
@@ -29,7 +29,7 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
                allow-query { none; };
        };
index c1e77cb9bd84ea13d6cf47df30188e5fede40f1a..cce8de7f47028a64946a6479b478b30540af0416 100644 (file)
@@ -28,12 +28,12 @@ view "internal" {
        };
 
        zone "normal.example" {
-               type master;
+               type primary;
                file "generic.db";
        };
 
        zone "aclnotallow.example" {
-               type master;
+               type primary;
                file "generic.db";
                allow-query-on { none; };
        };
index a119220c427ffb8b63201f1f3a0489050c608c9a..0ba574a04eae6d87368d1b54372aa8b2ec725678 100644 (file)
@@ -45,9 +45,9 @@
 # In zone, with view set to none, zone set to any
 # In zone, with view set to any, zone set to none
 #
-# zone types of master, slave and stub can be tested in parallel by using
-# multiple instances (ns2 as master, ns3 as slave, ns4 as stub) and querying
-# as necessary.
+# zone types of primary, secondary and stub can be tested in parallel by
+# using multiple instances (ns2 as primary, ns3 as secondary, ns4 as stub)
+# and querying as necessary.
 #
 
 . $SYSTEMTESTTOP/conf.sh
index 1cddc494034493296c84ce6c4f7be0034df5227d..38dbcd2749d14e3974d673c9bd9f06168f325bdd 100644 (file)
@@ -23,19 +23,19 @@ options {
 
 view main in {
        zone example.net {
-               type master;
+               type primary;
                file "example.net.db";
        };
 
        zone example.com {
-               type master;
+               type primary;
                file "example.com.db";
        };
 };
 
 view alt chaos {
        zone example.chaos chaos {
-               type master;
+               type primary;
                file "chaos.db";
        };
 };
index 89b4d4c5038394e272c9390fa9954fa6aabb4a8e..f2b8b853fb984ae930571be56ae1b5311fefb897 100644 (file)
@@ -22,13 +22,13 @@ options {
 };
 
 zone example.net {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "example.net.bk";
 };
 
 zone example.com {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "example.com.bk";
 };
index 426482d3ba70e14cd0296f82924a61b96e3b5ddd..0c3a4bf6b83152063465c071d8828e57f0b2afdd 100644 (file)
@@ -34,7 +34,7 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
        allow-transfer { any; };
        allow-query { any; };
index b56c294d96c37a0bde1f232ca3ddca62b8740e31..5cdf863a1a233a6ad2dcd524b7b551b57a3d10b1 100644 (file)
@@ -40,7 +40,7 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-query { any; };
        allow-transfer { any; };
@@ -49,7 +49,7 @@ zone "example" {
 };
 
 zone "bar" {
-       type master;
+       type primary;
        file "bar.db";
        allow-query { any; };
        allow-transfer { any; };
@@ -59,7 +59,7 @@ zone "bar" {
 };
 
 zone "private.secure.example" {
-       type master;
+       type primary;
        file "private.secure.example.db";
        allow-query { any; };
        allow-transfer { any; };
@@ -68,7 +68,7 @@ zone "private.secure.example" {
 };
 
 zone "insecure.secure.example" {
-       type master;
+       type primary;
        file "insecure.secure.example.db";
        allow-query { any; };
        allow-transfer { any; };
@@ -77,7 +77,7 @@ zone "insecure.secure.example" {
 };
 
 zone "child.nsec3.example" {
-       type master;
+       type primary;
        file "child.nsec3.example.db";
        allow-query { any; };
        allow-transfer { any; };
@@ -86,7 +86,7 @@ zone "child.nsec3.example" {
 };
 
 zone "child.optout.example" {
-       type master;
+       type primary;
        file "child.optout.example.db";
        allow-query { any; };
        allow-transfer { any; };
index 141a3b8e7a36a60ba55839d0607f5391dea3692b..7c8f74f19a2164a1a856653640711bc4a2ede526 100644 (file)
@@ -44,59 +44,59 @@ zone "." {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "example.bk";
 };
 
 zone "bar" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "bar.bk";
 };
 
 zone "secure.example" {
-       type master;
+       type primary;
        file "secure.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "insecure.example" {
-       type master;
+       type primary;
        file "insecure.example.db";
 };
 
 zone "nsec3.example" {
-       type master;
+       type primary;
        file "nsec3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "autonsec3.example" {
-       type master;
+       type primary;
        file "autonsec3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "optout.nsec3.example" {
-       type master;
+       type primary;
        file "optout.nsec3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "nsec3.nsec3.example" {
-       type master;
+       type primary;
        file "nsec3.nsec3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "jitter.nsec3.example" {
-       type master;
+       type primary;
        file "jitter.nsec3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
@@ -106,77 +106,77 @@ zone "jitter.nsec3.example" {
 };
 
 zone "secure.nsec3.example" {
-       type master;
+       type primary;
        file "secure.nsec3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "optout.example" {
-       type master;
+       type primary;
        file "optout.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "secure.optout.example" {
-       type master;
+       type primary;
        file "secure.optout.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "nsec3.optout.example" {
-       type master;
+       type primary;
        file "nsec3.optout.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "optout.optout.example" {
-       type master;
+       type primary;
        file "optout.optout.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "rsasha256.example" {
-       type master;
+       type primary;
        file "rsasha256.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "rsasha512.example" {
-       type master;
+       type primary;
        file "rsasha512.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "nsec.example" {
-       type master;
+       type primary;
        file "nsec.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "nsec3-to-nsec.example" {
-       type master;
+       type primary;
        file "nsec3-to-nsec.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "secure-to-insecure.example" {
-       type master;
+       type primary;
        file "secure-to-insecure.example.db";
        allow-update { any; };
        dnssec-secure-to-insecure yes;
 };
 
 zone "secure-to-insecure2.example" {
-       type master;
+       type primary;
        file "secure-to-insecure2.example.db";
        allow-update { any; };
        auto-dnssec maintain;
@@ -184,7 +184,7 @@ zone "secure-to-insecure2.example" {
 };
 
 zone "oldsigs.example" {
-       type master;
+       type primary;
        file "oldsigs.example.db";
        allow-update { any; };
        auto-dnssec maintain;
@@ -194,70 +194,70 @@ zone "oldsigs.example" {
 };
 
 zone "prepub.example" {
-       type master;
+       type primary;
        file "prepub.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "ttl1.example" {
-       type master;
+       type primary;
        file "ttl1.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "ttl2.example" {
-       type master;
+       type primary;
        file "ttl2.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "ttl3.example" {
-       type master;
+       type primary;
        file "ttl3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "ttl4.example" {
-       type master;
+       type primary;
        file "ttl4.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "delay.example" {
-       type master;
+       type primary;
        file "delay.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "nozsk.example" {
-       type master;
+       type primary;
        file "nozsk.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "inaczsk.example" {
-       type master;
+       type primary;
        file "inaczsk.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "sync.example" {
-       type master;
+       type primary;
        file "sync.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "kskonly.example" {
-       type master;
+       type primary;
        file "kskonly.example.db";
        allow-update { any; };
        dnssec-dnskey-kskonly yes;
@@ -265,7 +265,7 @@ zone "kskonly.example" {
 };
 
 zone "inacksk2.example" {
-       type master;
+       type primary;
        file "inacksk2.example.db";
        allow-update { any; };
        dnssec-dnskey-kskonly yes;
@@ -273,7 +273,7 @@ zone "inacksk2.example" {
 };
 
 zone "inacksk3.example" {
-       type master;
+       type primary;
        file "inacksk3.example.db";
        allow-update { any; };
        dnssec-dnskey-kskonly yes;
@@ -281,28 +281,28 @@ zone "inacksk3.example" {
 };
 
 zone "inaczsk2.example" {
-       type master;
+       type primary;
        file "inaczsk2.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "inaczsk3.example" {
-       type master;
+       type primary;
        file "inaczsk3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "delzsk.example." {
-       type master;
+       type primary;
        file "delzsk.example.db";
        allow-update { any; };
        auto-dnssec maintain;
 };
 
 zone "dname-at-apex-nsec3.example" {
-       type master;
+       type primary;
        file "dname-at-apex-nsec3.example.db";
        allow-update { any; };
        auto-dnssec maintain;
index 39458fa452a3bcc27b35a54118a58cdba52dae6d..6cd45cb73ffad1eb303c2f62a98fadd5b3c9ad58 100755 (executable)
@@ -1359,11 +1359,11 @@ status=`expr $status + $ret`
 echo_i "test turning on auto-dnssec during reconfig ($n)"
 ret=0
 # first create a zone that doesn't have auto-dnssec
-($RNDCCMD 10.53.0.3 addzone reconf.example '{ type master; file "reconf.example.db"; };' 2>&1 | sed 's/^/ns3 /' | cat_i) || ret=1
+($RNDCCMD 10.53.0.3 addzone reconf.example '{ type primary; file "reconf.example.db"; };' 2>&1 | sed 's/^/ns3 /' | cat_i) || ret=1
 rekey_calls=`grep "zone reconf.example.*next key event" ns3/named.run | wc -l`
 [ "$rekey_calls" -eq 0 ] || ret=1
 # ...then we add auto-dnssec and reconfigure
-($RNDCCMD 10.53.0.3 modzone reconf.example '{ type master; file "reconf.example.db"; allow-update { any; }; auto-dnssec maintain; };' 2>&1 | sed 's/^/ns3 /' | cat_i) || ret=1
+($RNDCCMD 10.53.0.3 modzone reconf.example '{ type primary; file "reconf.example.db"; allow-update { any; }; auto-dnssec maintain; };' 2>&1 | sed 's/^/ns3 /' | cat_i) || ret=1
 rndc_reconfig ns3 10.53.0.3
 for i in 0 1 2 3 4 5 6 7 8 9; do
     lret=0
index c1ce07e0717251f519c422089b9365633876cd83..2f9234cc72ab71fe316131b659f6a1b7ee6e78dd 100644 (file)
@@ -25,16 +25,16 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "flushtest.example" {
-       type master;
+       type primary;
        file "flushtest.db";
 };
 
 zone "expire-test" {
-       type master;
+       type primary;
        file "expire-test.db";
 };
index c608db31cec520b6f07d650cdc046e3272dff541..4979f325d0b7084be2c8cf56c8032d8001ead013 100644 (file)
@@ -44,6 +44,6 @@ zone "flushtest.example" {
 };
 
 zone "expire-test" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
 };
index 302c621eb3813d97badaa478533d6e715e53b136..da3a4dba6a90a17d510e486acf22b8bebb9546c1 100755 (executable)
@@ -246,7 +246,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check expire option returned from master zone ($n)"
+echo_i "check expire option returned from primary zone ($n)"
 ret=0
 $DIG @10.53.0.1 -p ${PORT} +expire soa expire-test > dig.out.expire
 grep EXPIRE: dig.out.expire > /dev/null || ret=1
@@ -254,7 +254,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check expire option returned from slave zone ($n)"
+echo_i "check expire option returned from secondary zone ($n)"
 ret=0
 $DIG @10.53.0.2 -p ${PORT} +expire soa expire-test > dig.out.expire
 grep EXPIRE: dig.out.expire > /dev/null || ret=1
index f2310562bfa953d7f30df45eb16af2862cec241c..c13ac698169857a584af55f2772d09291968dace 100644 (file)
@@ -25,13 +25,13 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        also-notify { 10.53.0.2; };
 };
 
 zone "dynamic" {
-       type master;
+       type primary;
        file "dynamic.db";
        allow-update { any; };
        also-notify { 10.53.0.2; };
index 145f106e448451a021d05508c828bf8971dc722a..00dc52625f14aab80d4d6f4ded72dc723deaf509 100644 (file)
@@ -26,13 +26,13 @@ options {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        file "example.bk";
        primaries { 10.53.0.1; };
 };
 
 zone "dynamic" {
-       type slave;
+       type secondary;
        file "dynamic.bk";
        primaries { 10.53.0.1; };
 };
index 1d75acb88806348690a145ac6c16b7cce7486e86..3669183f7cbff67f9801519f1be335222e8a273c 100644 (file)
@@ -105,7 +105,7 @@ test $ret -eq 0 || echo_i "failed"
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check SOA owner case is transferred to slave ($n)"
+echo_i "check SOA owner case is transferred to secondary ($n)"
 ret=0
 $DIG $DIGOPTS axfr dynamic @10.53.0.2 > dig.ns2.test$n
 digcomp dig.ns2.test$n postupdate.good || ret=1
@@ -137,7 +137,7 @@ test $ret -eq 0 || echo_i "failed"
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check A owner case is transferred to slave ($n)"
+echo_i "check A owner case is transferred to secondary ($n)"
 ret=0
 $DIG $DIGOPTS axfr dynamic @10.53.0.2 > dig.ns2.test$n
 digcomp dig.ns2.test$n postns1.good || ret=1
index 74b7d371b7117540ef05cde283a1992f3ee3fc3b..121866910ae48511b2697fbbd488eb338bc349ad 100644 (file)
@@ -31,7 +31,7 @@ options {
 };
 
 zone "catalog1.example" {
-       type master;
+       type primary;
        file "catalog1.example.db";
        allow-transfer { any; };
        allow-update { any; };
@@ -40,7 +40,7 @@ zone "catalog1.example" {
 };
 
 zone "catalog3.example" {
-       type master;
+       type primary;
        file "catalog3.example.db";
        allow-transfer { any; };
        allow-update { any; };
@@ -49,7 +49,7 @@ zone "catalog3.example" {
 };
 
 zone "catalog4.example" {
-       type master;
+       type primary;
        file "catalog4.example.db";
        allow-transfer { any; };
        allow-update { any; };
index 55a6ae62a436bee4ab39f10f66d8d3833fc2156b..30333e6e1bc19b45b6a4c5c3744cabd1e982b2e3 100644 (file)
@@ -45,25 +45,25 @@ options {
 };
 
 zone "catalog1.example" {
-       type slave;
+       type secondary;
        file "catalog1.example.db";
        primaries { 10.53.0.1; };
 };
 
 zone "catalog2.example" {
-       type slave;
+       type secondary;
        file "catalog2.example.db";
        primaries { 10.53.0.3; };
 };
 
 zone "catalog3.example" {
-       type slave;
+       type secondary;
        file "catalog3.example.db";
        primaries { 10.53.0.1; };
 };
 
 zone "catalog4.example" {
-       type slave;
+       type secondary;
        file "catalog4.example.db";
        primaries { 10.53.0.1; };
 };
index d5ee7c87ad1f6b6b766bfd3ae38c387ab27bd15c..9ec5e0f23fdd8381cb0d47d6fdea7ca987ce7c82 100644 (file)
@@ -30,7 +30,7 @@ options {
 };
 
 zone "catalog2.example" {
-       type master;
+       type primary;
        file "catalog2.example.db";
        allow-transfer { any; };
        allow-update { any; };
@@ -39,7 +39,7 @@ zone "catalog2.example" {
 };
 
 zone "dom5.example" {
-       type master;
+       type primary;
        file "dom5.example.db";
        allow-transfer { any; };
        allow-update { any; };
@@ -47,7 +47,7 @@ zone "dom5.example" {
 };
 
 zone "dom6.example" {
-       type master;
+       type primary;
        file "dom6.example.db";
        allow-transfer { any; };
        allow-update { any; };
index db533fc7a9f134ae9f5df36034d246ea6353ea10..c79540c4cb366c9f2aec5b5abb6ab4f2a0b7db33 100644 (file)
@@ -81,23 +81,23 @@ n=0
 ##########################################################################
 echo_i "Testing adding/removing of domain in catalog zone"
 n=$((n+1))
-echo_i "checking that dom1.example. is not served by master ($n)"
+echo_i "checking that dom1.example. is not served by primary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.1 dom1.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain dom1.example. to master via RNDC ($n)"
+echo_i "Adding a domain dom1.example. to primary via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom1.example.db
 echo "@ IN NS invalid." >> ns1/dom1.example.db
-rndccmd 10.53.0.1 addzone dom1.example. '{type master; file "dom1.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom1.example. '{type primary; file "dom1.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom1.example. is now served by master ($n)"
+echo_i "checking that dom1.example. is now served by primary ($n)"
 ret=0
 wait_for_soa @10.53.0.1 dom1.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -117,7 +117,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run "catz: adding zone 'dom1.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run "transfer of 'dom1.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -125,7 +125,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom1.example. is served by slave ($n)"
+echo_i "checking that dom1.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom1.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -150,14 +150,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run "zone_shutdown: zone dom1.example/IN: shutting down" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom1.example. is not served by slave ($n)"
+echo_i "checking that dom1.example. is not served by secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 dom1.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -173,20 +173,20 @@ status=$((status+ret))
 ##########################################################################
 echo_i "Testing various simple operations on domains, including using multiple catalog zones and garbage in zone"
 n=$((n+1))
-echo_i "adding domain dom2.example. to master via RNDC ($n)"
+echo_i "adding domain dom2.example. to primary via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom2.example.db
 echo "@ IN NS invalid." >> ns1/dom2.example.db
-rndccmd 10.53.0.1 addzone dom2.example. '{type master; file "dom2.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom2.example. '{type primary; file "dom2.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "adding domain dom4.example. to master via RNDC ($n)"
+echo_i "adding domain dom4.example. to primary via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom4.example.db
 echo "@ IN NS invalid." >> ns1/dom4.example.db
-rndccmd 10.53.0.1 addzone dom4.example. '{type master; file "dom4.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom4.example. '{type primary; file "dom4.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
@@ -225,7 +225,7 @@ status=$((status+ret))
 
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run "catz: adding zone 'dom4.example' from catalog 'catalog2.example'" &&
 wait_for_message ns2/named.run "transfer of 'dom4.example/IN' from 10.53.0.1#${EXTRAPORT1}: Transfer status: success" || ret=1
@@ -233,7 +233,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom4.example. is served by slave ($n)"
+echo_i "checking that dom4.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom4.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -241,30 +241,30 @@ status=$((status+ret))
 
 
 n=$((n+1))
-echo_i "checking that dom3.example. is not served by master ($n)"
+echo_i "checking that dom3.example. is not served by primary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.1 dom3.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "adding a domain dom3.example. to master via RNDC ($n)"
+echo_i "adding a domain dom3.example. to primary via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom3.example.db
 echo "@ IN NS invalid." >> ns1/dom3.example.db
-rndccmd 10.53.0.1 addzone dom3.example. '{type master; file "dom3.example.db"; also-notify { 10.53.0.2; }; notify explicit; };' || ret=1
+rndccmd 10.53.0.1 addzone dom3.example. '{type primary; file "dom3.example.db"; also-notify { 10.53.0.2; }; notify explicit; };' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom3.example. is served by master ($n)"
+echo_i "checking that dom3.example. is served by primary ($n)"
 ret=0
 wait_for_soa  @10.53.0.1 dom3.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run "catz: adding zone 'dom2.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run "catz: adding zone 'dom3.example' from catalog 'catalog1.example'" &&
@@ -274,7 +274,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom3.example. is served by slave ($n)"
+echo_i "checking that dom3.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom3.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -328,7 +328,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom5.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run  "transfer of 'dom5.example/IN' from 10.53.0.3#${PORT}: Transfer status: success" || ret=1
@@ -336,7 +336,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom5.example. is served by slave ($n)"
+echo_i "checking that dom5.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom5.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -355,14 +355,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "zone_shutdown: zone dom5.example/IN: shutting down" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom5.example. is no longer served by slave ($n)"
+echo_i "checking that dom5.example. is no longer served by secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 dom5.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -385,7 +385,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom6.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run  "transfer of 'dom6.example/IN' from " > /dev/null || ret=1
@@ -393,7 +393,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom6.example. is served by slave ($n)"
+echo_i "checking that dom6.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom6.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -413,14 +413,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "zone_shutdown: zone dom6.example/IN: shutting down" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom6.example. is no longer served by slave ($n)"
+echo_i "checking that dom6.example. is no longer served by secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 dom6.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -441,7 +441,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom6.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run  "error \"failure\" while trying to generate config for zone \"dom6.example\"" || ret=1
@@ -461,7 +461,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: deleting zone 'dom6.example' from catalog 'catalog1.example' - success" > /dev/null || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -478,21 +478,21 @@ status=$((status+ret))
 ##########################################################################
 echo_i "Testing allow-query and allow-transfer ACLs"
 n=$((n+1))
-echo_i "adding domains dom7.example. and dom8.example. to master via RNDC ($n)"
+echo_i "adding domains dom7.example. and dom8.example. to primary via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom7.example.db
 echo "@ IN NS invalid." >> ns1/dom7.example.db
-rndccmd 10.53.0.1 addzone dom7.example. '{type master; file "dom7.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom7.example. '{type primary; file "dom7.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom8.example.db
 echo "@ IN NS invalid." >> ns1/dom8.example.db
-rndccmd 10.53.0.1 addzone dom8.example. '{type master; file "dom8.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom8.example. '{type primary; file "dom8.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom7.example. is now served by master ($n)"
+echo_i "checking that dom7.example. is now served by primary ($n)"
 ret=0
 wait_for_soa @10.53.0.1 dom7.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -513,7 +513,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom7.example' from catalog 'catalog1.example'" > /dev/null &&
 wait_for_message ns2/named.run  "transfer of 'dom7.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -556,7 +556,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: update_from_db: new zone merged" &&
 wait_for_message ns2/named.run  "transfer of 'dom8.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -644,16 +644,16 @@ status=$((status+ret))
 ##########################################################################
 echo_i "Testing TSIG keys for masters set per-domain"
 n=$((n+1))
-echo_i "adding a domain dom9.example. to master via RNDC, with transfers allowed only with TSIG key ($n)"
+echo_i "adding a domain dom9.example. to primary via RNDC, with transfers allowed only with TSIG key ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom9.example.db
 echo "@ IN NS invalid." >> ns1/dom9.example.db
-rndccmd 10.53.0.1 addzone dom9.example. '{type master; file "dom9.example.db"; allow-transfer { key tsig_key; }; };' || ret=1
+rndccmd 10.53.0.1 addzone dom9.example. '{type primary; file "dom9.example.db"; allow-transfer { key tsig_key; }; };' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom9.example. is now served by master ($n)"
+echo_i "checking that dom9.example. is now served by primary ($n)"
 ret=0
 wait_for_soa @10.53.0.1 dom9.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -675,7 +675,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom9.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run  "transfer of 'dom9.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -683,7 +683,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom9.example. is accessible on slave ($n)"
+echo_i "checking that dom9.example. is accessible on secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom9.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -703,14 +703,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: deleting zone 'dom9.example' from catalog 'catalog1.example' - success" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom9.example. is no longer accessible on slave ($n)"
+echo_i "checking that dom9.example. is no longer accessible on secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 dom9.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -731,7 +731,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom9.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run  "error \"failure\" while trying to generate config for zone \"dom9.example\"" || ret=1
@@ -751,7 +751,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: deleting zone 'dom9.example' from catalog 'catalog1.example'" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -790,23 +790,23 @@ do
     esac
 
     n=$((n+1))
-    echo_i "checking that ${special}. is not served by master ($n)"
+    echo_i "checking that ${special}. is not served by primary ($n)"
     ret=0
     wait_for_no_soa @10.53.0.1 "${special}" dig.out.test$n || ret=1
     if [ $ret -ne 0 ]; then echo_i "failed"; fi
     status=$((status+ret))
 
     n=$((n+1))
-    echo_i "Adding a domain ${special}. to master via RNDC ($n)"
+    echo_i "Adding a domain ${special}. to primary via RNDC ($n)"
     ret=0
     echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom10.example.db
     echo "@ IN NS invalid." >> ns1/dom10.example.db
-    rndccmd 10.53.0.1 addzone '"'"${special}"'"' '{type master; file "dom10.example.db";};' || ret=1
+    rndccmd 10.53.0.1 addzone '"'"${special}"'"' '{type primary; file "dom10.example.db";};' || ret=1
     if [ $ret -ne 0 ]; then echo_i "failed"; fi
     status=$((status+ret))
 
     n=$((n+1))
-    echo_i "checking that ${special}. is now served by master ($n)"
+    echo_i "checking that ${special}. is now served by primary ($n)"
     ret=0
     wait_for_soa @10.53.0.1 "${special}." dig.out.test$n || ret=1
     if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -826,7 +826,7 @@ END
     status=$((status+ret))
 
     n=$((n+1))
-    echo_i "waiting for slave to sync up ($n)"
+    echo_i "waiting for secondary to sync up ($n)"
     ret=0
     wait_for_message ns2/named.run  "catz: adding zone '$special' from catalog 'catalog1.example'" &&
     wait_for_message ns2/named.run  "transfer of '$special/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -834,7 +834,7 @@ END
     status=$((status+ret))
 
     n=$((n+1))
-    echo_i "checking that ${special}. is served by slave ($n)"
+    echo_i "checking that ${special}. is served by secondary ($n)"
     ret=0
     wait_for_soa @10.53.0.2 "${special}." dig.out.test$n || ret=1
     if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -859,14 +859,14 @@ END
     status=$((status+ret))
 
     n=$((n+1))
-    echo_i "waiting for slave to sync up ($n)"
+    echo_i "waiting for secondary to sync up ($n)"
     ret=0
     wait_for_message ns2/named.run  "zone_shutdown: zone ${special}/IN: shutting down" || ret=1
     if [ $ret -ne 0 ]; then echo_i "failed"; fi
     status=$((status+ret))
 
     n=$((n+1))
-    echo_i "checking that ${special}. is not served by slave ($n)"
+    echo_i "checking that ${special}. is not served by secondary ($n)"
     ret=0
     wait_for_no_soa @10.53.0.2 "${special}." dig.out.test$n || ret=1
     if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -883,23 +883,23 @@ done
 ##########################################################################
 echo_i "Testing adding a domain and a subdomain of it"
 n=$((n+1))
-echo_i "checking that dom11.example. is not served by master ($n)"
+echo_i "checking that dom11.example. is not served by primary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.1 dom11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain dom11.example. to master via RNDC ($n)"
+echo_i "Adding a domain dom11.example. to primary via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom11.example.db
 echo "@ IN NS invalid." >> ns1/dom11.example.db
-rndccmd 10.53.0.1 addzone dom11.example. '{type master; file "dom11.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom11.example. '{type primary; file "dom11.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom11.example. is now served by master ($n)"
+echo_i "checking that dom11.example. is now served by primary ($n)"
 ret=0
 wait_for_soa @10.53.0.1 dom11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -919,7 +919,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom11.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run  "transfer of 'dom11.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -927,30 +927,30 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom11.example. is served by slave ($n)"
+echo_i "checking that dom11.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that subdomain.of.dom11.example. is not served by master ($n)"
+echo_i "checking that subdomain.of.dom11.example. is not served by primary ($n)"
 ret=0
 wait_for_rcode NXDOMAIN SOA @10.53.0.1 subdomain.of.dom11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain subdomain.of.dom11.example. to master via RNDC ($n)"
+echo_i "Adding a domain subdomain.of.dom11.example. to primary via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/subdomain.of.dom11.example.db
 echo "@ IN NS invalid." >> ns1/subdomain.of.dom11.example.db
-rndccmd 10.53.0.1 addzone subdomain.of.dom11.example. '{type master; file "subdomain.of.dom11.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone subdomain.of.dom11.example. '{type primary; file "subdomain.of.dom11.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that subdomain.of.dom11.example. is now served by master ($n)"
+echo_i "checking that subdomain.of.dom11.example. is now served by primary ($n)"
 ret=0
 wait_for_soa @10.53.0.1 subdomain.of.dom11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -970,7 +970,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'subdomain.of.dom11.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run  "transfer of 'subdomain.of.dom11.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -978,7 +978,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that subdomain.of.dom11.example. is served by slave ($n)"
+echo_i "checking that subdomain.of.dom11.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 subdomain.of.dom11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -996,21 +996,21 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "zone_shutdown: zone dom11.example/IN: shutting down" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom11.example. is not served by slave ($n)"
+echo_i "checking that dom11.example. is not served by secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 dom11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that subdomain.of.dom11.example. is still served by slave ($n)"
+echo_i "checking that subdomain.of.dom11.example. is still served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 subdomain.of.dom11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1028,14 +1028,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "zone_shutdown: zone subdomain.of.dom11.example/IN: shutting down" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that subdomain.of.dom11.example. is not served by slave ($n)"
+echo_i "checking that subdomain.of.dom11.example. is not served by secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 subdomain.of.d11.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1044,23 +1044,23 @@ status=$((status+ret))
 ##########################################################################
 echo_i "Testing adding a catalog zone at runtime with rndc reconfig"
 n=$((n+1))
-echo_i "checking that dom12.example. is not served by master ($n)"
+echo_i "checking that dom12.example. is not served by primary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.1 dom12.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain dom12.example. to master via RNDC ($n)"
+echo_i "Adding a domain dom12.example. to primary via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom12.example.db
 echo "@ IN NS invalid." >> ns1/dom12.example.db
-rndccmd 10.53.0.1 addzone dom12.example. '{type master; file "dom12.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom12.example. '{type primary; file "dom12.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom12.example. is now served by master ($n)"
+echo_i "checking that dom12.example. is now served by primary ($n)"
 ret=0
 wait_for_soa @10.53.0.1 dom12.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1080,7 +1080,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom12.example. is not served by slave ($n)"
+echo_i "checking that dom12.example. is not served by secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 dom12.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1088,7 +1088,7 @@ status=$((status+ret))
 
 
 n=$((n+1))
-echo_i "reconfiguring slave - adding catalog4 catalog zone ($n)"
+echo_i "reconfiguring secondary - adding catalog4 catalog zone ($n)"
 ret=0
 sed -e "s/^#T1//g" <  ns2/named.conf.in > ns2/named.conf.tmp
 copy_setports ns2/named.conf.tmp ns2/named.conf
@@ -1097,7 +1097,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom12.example' from catalog 'catalog4.example'" &&
 wait_for_message ns2/named.run  "transfer of 'dom12.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -1105,21 +1105,21 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom7.example. is still served by slave after reconfiguration ($n)"
+echo_i "checking that dom7.example. is still served by secondary after reconfiguration ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom7.example. dig.out.test$n -b 10.53.0.1 || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 n=$((n+1))
 
-echo_i "checking that dom12.example. is served by slave ($n)"
+echo_i "checking that dom12.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom12.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "reconfiguring slave - removing catalog4 catalog zone, adding non-existent catalog5 catalog zone ($n)"
+echo_i "reconfiguring secondary - removing catalog4 catalog zone, adding non-existent catalog5 catalog zone ($n)"
 ret=0
 sed -e "s/^#T2//" < ns2/named.conf.in > ns2/named.conf.tmp
 copy_setports ns2/named.conf.tmp ns2/named.conf
@@ -1128,7 +1128,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "reconfiguring slave - removing non-existent catalog5 catalog zone ($n)"
+echo_i "reconfiguring secondary - removing non-existent catalog5 catalog zone ($n)"
 ret=0
 copy_setports ns2/named.conf.in ns2/named.conf
 rndccmd 10.53.0.2 reconfig || ret=1
@@ -1136,7 +1136,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom12.example. is not served by slave ($n)"
+echo_i "checking that dom12.example. is not served by secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 dom12.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1156,41 +1156,41 @@ status=$((status+ret))
 ##########################################################################
 echo_i "Testing having a zone in two different catalogs"
 n=$((n+1))
-echo_i "checking that dom13.example. is not served by master ($n)"
+echo_i "checking that dom13.example. is not served by primary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.1 dom13.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain dom13.example. to master ns1 via RNDC ($n)"
+echo_i "Adding a domain dom13.example. to primary ns1 via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom13.example.db
 echo "@ IN NS invalid." >> ns1/dom13.example.db
 echo "@ IN A 192.0.2.1" >> ns1/dom13.example.db
-rndccmd 10.53.0.1 addzone dom13.example. '{type master; file "dom13.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom13.example. '{type primary; file "dom13.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom13.example. is now served by master ns1 ($n)"
+echo_i "checking that dom13.example. is now served by primary ns1 ($n)"
 ret=0
 wait_for_soa @10.53.0.1 dom13.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain dom13.example. to master ns3 via RNDC ($n)"
+echo_i "Adding a domain dom13.example. to primary ns3 via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns3/dom13.example.db
 echo "@ IN NS invalid." >> ns3/dom13.example.db
 echo "@ IN A 192.0.2.2" >> ns3/dom13.example.db
-rndccmd 10.53.0.3 addzone dom13.example. '{type master; file "dom13.example.db";};' || ret=1
+rndccmd 10.53.0.3 addzone dom13.example. '{type primary; file "dom13.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom13.example. is now served by master ns3 ($n)"
+echo_i "checking that dom13.example. is now served by primary ns3 ($n)"
 ret=0
 wait_for_soa @10.53.0.3 dom13.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1200,7 +1200,7 @@ status=$((status+ret))
 nextpart ns2/named.run >/dev/null
 
 n=$((n+1))
-echo_i "Adding domain dom13.example. to catalog1 zone with ns1 as master ($n)"
+echo_i "Adding domain dom13.example. to catalog1 zone with ns1 as primary ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
@@ -1212,7 +1212,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: adding zone 'dom13.example' from catalog 'catalog1.example'" &&
 wait_for_message ns2/named.run  "transfer of 'dom13.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
@@ -1222,7 +1222,7 @@ status=$((status+ret))
 nextpart ns2/named.run >/dev/null
 
 n=$((n+1))
-echo_i "checking that dom13.example. is served by slave and that it's the one from ns1 ($n)"
+echo_i "checking that dom13.example. is served by secondary and that it's the one from ns1 ($n)"
 ret=0
 wait_for_a @10.53.0.2 dom13.example. dig.out.test$n || ret=1
 grep "192.0.2.1" dig.out.test$n > /dev/null || ret=1
@@ -1230,7 +1230,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding domain dom13.example. to catalog2 zone with ns3 as master ($n)"
+echo_i "Adding domain dom13.example. to catalog2 zone with ns3 as primary ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.3 ${PORT}
@@ -1242,14 +1242,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: update_from_db: new zone merged" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom13.example. is served by slave and that it's still the one from ns1 ($n)"
+echo_i "checking that dom13.example. is served by secondary and that it's still the one from ns1 ($n)"
 ret=0
 wait_for_a @10.53.0.2 dom13.example. dig.out.test$n || ret=1
 grep "192.0.2.1" dig.out.test$n > /dev/null || ret=1
@@ -1271,14 +1271,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: update_from_db: new zone merged" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom13.example. is served by slave and that it's still the one from ns1 ($n)"
+echo_i "checking that dom13.example. is served by secondary and that it's still the one from ns1 ($n)"
 ret=0
 wait_for_a @10.53.0.2 dom13.example. dig.out.test$n || ret=1
 grep "192.0.2.1" dig.out.test$n > /dev/null || ret=1
@@ -1298,14 +1298,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: update_from_db: new zone merged" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom13.example. is no longer served by slave ($n)"
+echo_i "checking that dom13.example. is no longer served by secondary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.2 dom13.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1314,41 +1314,41 @@ status=$((status+ret))
 ##########################################################################
 echo_i "Testing having a regular zone and a zone in catalog zone of the same name"
 n=$((n+1))
-echo_i "checking that dom14.example. is not served by master ($n)"
+echo_i "checking that dom14.example. is not served by primary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.1 dom14.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain dom14.example. to master ns1 via RNDC ($n)"
+echo_i "Adding a domain dom14.example. to primary ns1 via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom14.example.db
 echo "@ IN NS invalid." >> ns1/dom14.example.db
 echo "@ IN A 192.0.2.1" >> ns1/dom14.example.db
-rndccmd 10.53.0.1 addzone dom14.example. '{type master; file "dom14.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom14.example. '{type primary; file "dom14.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom14.example. is now served by master ns1 ($n)"
+echo_i "checking that dom14.example. is now served by primary ns1 ($n)"
 ret=0
 wait_for_soa @10.53.0.1 dom14.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain dom14.example. to master ns3 via RNDC ($n)"
+echo_i "Adding a domain dom14.example. to primary ns3 via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns3/dom14.example.db
 echo "@ IN NS invalid." >> ns3/dom14.example.db
 echo "@ IN A 192.0.2.2" >> ns3/dom14.example.db
-rndccmd 10.53.0.3 addzone dom14.example. '{type master; file "dom14.example.db";};' || ret=1
+rndccmd 10.53.0.3 addzone dom14.example. '{type primary; file "dom14.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom14.example. is now served by master ns3 ($n)"
+echo_i "checking that dom14.example. is now served by primary ns3 ($n)"
 ret=0
 wait_for_soa @10.53.0.3 dom14.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1357,14 +1357,14 @@ status=$((status+ret))
 nextpart ns2/named.run >/dev/null
 
 n=$((n+1))
-echo_i "Adding domain dom14.example. with rndc with ns1 as master ($n)"
+echo_i "Adding domain dom14.example. with rndc with ns1 as primary ($n)"
 ret=0
-rndccmd 10.53.0.2 addzone dom14.example. '{type slave; masters {10.53.0.1;};};' || ret=1
+rndccmd 10.53.0.2 addzone dom14.example. '{type secondary; primaries {10.53.0.1;};};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "transfer of 'dom14.example/IN' from 10.53.0.1#${PORT}: Transfer status: success" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1373,7 +1373,7 @@ status=$((status+ret))
 nextpart ns2/named.run >/dev/null
 
 n=$((n+1))
-echo_i "checking that dom14.example. is served by slave and that it's the one from ns1 ($n)"
+echo_i "checking that dom14.example. is served by secondary and that it's the one from ns1 ($n)"
 ret=0
 wait_for_a @10.53.0.2 dom14.example. dig.out.test$n || ret=1
 grep "192.0.2.1" dig.out.test$n > /dev/null || ret=1
@@ -1381,7 +1381,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding domain dom14.example. to catalog2 zone with ns3 as master ($n)"
+echo_i "Adding domain dom14.example. to catalog2 zone with ns3 as primary ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.3 ${PORT}
@@ -1393,14 +1393,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: update_from_db: new zone merged" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom14.example. is served by slave and that it's still the one from ns1 ($n)"
+echo_i "checking that dom14.example. is served by secondary and that it's still the one from ns1 ($n)"
 ret=0
 wait_for_a @10.53.0.2 dom14.example. dig.out.test$n || ret=1
 grep "192.0.2.1" dig.out.test$n > /dev/null || ret=1
@@ -1422,14 +1422,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: update_from_db: new zone merged" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom14.example. is served by slave and that it's still the one from ns1 ($n)"
+echo_i "checking that dom14.example. is served by secondary and that it's still the one from ns1 ($n)"
 ret=0
 wait_for_a @10.53.0.2 dom14.example. dig.out.test$n || ret=1
 grep "192.0.2.1" dig.out.test$n > /dev/null || ret=1
@@ -1439,23 +1439,23 @@ status=$((status+ret))
 ##########################################################################
 echo_i "Testing changing label for a member zone"
 n=$((n+1))
-echo_i "checking that dom15.example. is not served by master ($n)"
+echo_i "checking that dom15.example. is not served by primary ($n)"
 ret=0
 wait_for_no_soa @10.53.0.1 dom15.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "Adding a domain dom15.example. to master ns1 via RNDC ($n)"
+echo_i "Adding a domain dom15.example. to primary ns1 via RNDC ($n)"
 ret=0
 echo "@ 3600 IN SOA . . 1 3600 3600 3600 3600" > ns1/dom15.example.db
 echo "@ IN NS invalid." >> ns1/dom15.example.db
-rndccmd 10.53.0.1 addzone dom15.example. '{type master; file "dom15.example.db";};' || ret=1
+rndccmd 10.53.0.1 addzone dom15.example. '{type primary; file "dom15.example.db";};' || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom15.example. is now served by master ns1 ($n)"
+echo_i "checking that dom15.example. is now served by primary ns1 ($n)"
 ret=0
 wait_for_soa @10.53.0.1 dom15.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1474,7 +1474,7 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: update_from_db: new zone merged" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1483,7 +1483,7 @@ status=$((status+ret))
 sleep 3
 
 n=$((n+1))
-echo_i "checking that dom15.example. is served by slave ($n)"
+echo_i "checking that dom15.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom15.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1504,14 +1504,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "waiting for slave to sync up ($n)"
+echo_i "waiting for secondary to sync up ($n)"
 ret=0
 wait_for_message ns2/named.run  "catz: update_from_db: new zone merged" || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 n=$((n+1))
-echo_i "checking that dom15.example. is served by slave ($n)"
+echo_i "checking that dom15.example. is served by secondary ($n)"
 ret=0
 wait_for_soa @10.53.0.2 dom15.example. dig.out.test$n || ret=1
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
index d55fb0d2ebfe2ac800f588424a1a1894eca234c8..668af66eebb7de0048dfaf7f77552d695a2d95d9 100644 (file)
@@ -22,4 +22,4 @@ options {
        notify yes;
 };
 
-zone "." { type master; file "root.db"; };
+zone "." { type primary; file "root.db"; };
index 024424fb859b20f58495885f409137a04de92e3b..69dd7dad2745f232a961a98710782dc01828fef9 100644 (file)
@@ -25,28 +25,28 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db.signed";
        allow-update { any; };
 };
 
 zone "sub2.example" {
-       type master;
+       type primary;
        file "sub.db";
 };
 
 zone "signed-sub2.example" {
-       type master;
+       type primary;
        file "sub.db";
 };
 
-zone "domain0.nil" { type master; file "generic.db"; };
-zone "domain1.nil" { type master; file "generic.db"; };
-zone "domain2.nil" { type master; file "generic.db"; };
-zone "domain3.nil" { type master; file "generic.db"; };
-zone "domain4.nil" { type master; file "generic.db"; };
-zone "domain5.nil" { type master; file "generic.db"; };
-zone "domain6.nil" { type master; file "generic.db"; };
-zone "domain7.nil" { type master; file "generic.db"; };
-zone "domain8.nil" { type master; file "generic.db"; };
-zone "domain9.nil" { type master; file "generic.db"; };
+zone "domain0.nil" { type primary; file "generic.db"; };
+zone "domain1.nil" { type primary; file "generic.db"; };
+zone "domain2.nil" { type primary; file "generic.db"; };
+zone "domain3.nil" { type primary; file "generic.db"; };
+zone "domain4.nil" { type primary; file "generic.db"; };
+zone "domain5.nil" { type primary; file "generic.db"; };
+zone "domain6.nil" { type primary; file "generic.db"; };
+zone "domain7.nil" { type primary; file "generic.db"; };
+zone "domain8.nil" { type primary; file "generic.db"; };
+zone "domain9.nil" { type primary; file "generic.db"; };
index 14a05983bc51efc1f6725eff81d58f156f0a8d3e..be34cfd4456da40b6d63486546b83595d1f1e261 100644 (file)
@@ -30,11 +30,11 @@ zone "." {
 };
 
 zone "sub5.example" {
-       type master;
+       type primary;
        file "sub.db";
 };
 
 zone "signed-sub5.example" {
-       type master;
+       type primary;
        file "sub.db";
 };
index b2f5b7b22f1b64166728097374174b29b1b18aec..dc8f4b28a91bc9eed5dfb07ce7c7afb69aa04ea3 100644 (file)
@@ -168,8 +168,8 @@ EOF
     [ $? -eq 1 ] || { echo_i "options + view $field failed" ; ret=1; }
     cat > badzero.conf << EOF
 zone dummy {
-    type slave;
-    masters { 0.0.0.0; };
+    type secondary;
+    primaries { 0.0.0.0; };
     $field 0;
 };
 EOF
@@ -180,7 +180,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking options allowed in inline-signing slaves ($n)"
+echo_i "checking options allowed in inline-signing secondaries ($n)"
 ret=0
 $CHECKCONF bad-dnssec.conf > checkconf.out$n.1 2>&1
 l=`grep "dnssec-dnskey-kskonly.*requires inline" < checkconf.out$n.1 | wc -l`
@@ -195,7 +195,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check file + inline-signing for slave zones ($n)"
+echo_i "check file + inline-signing for secondary zones ($n)"
 $CHECKCONF inline-no.conf > checkconf.out$n.1 2>&1
 l=`grep "missing 'file' entry" < checkconf.out$n.1 | wc -l`
 [ $l -eq 0 ] || ret=1
index 4a557a15a8a31d88ba363faef0923b2d9e38b626..11ddbc2f265882ece102e106905ac2831a91bf18 100644 (file)
@@ -24,44 +24,44 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "ignore.example" {
-       type master;
+       type primary;
        file "ignore.example.db";
        check-names ignore;
 };
 
 zone "warn.example" {
-       type master;
+       type primary;
        file "warn.example.db";
        check-names warn;
 };
 
 zone "fail.example" {
-       type master;
+       type primary;
        file "fail.example.db";
        check-names fail;
 };
 
 zone "ignore.update" {
-       type master;
+       type primary;
        file "ignore.update.db";
        allow-update { any; };
        check-names ignore;
 };
 
 zone "warn.update" {
-       type master;
+       type primary;
        file "warn.update.db";
        allow-update { any; };
        check-names warn;
 };
 
 zone "fail.update" {
-       type master;
+       type primary;
        file "fail.update.db";
        allow-update { any; };
        check-names fail;
index 8ae4a8ecca19dd4ac68ac7bcf4ef73a2cf45f1f2..9043dbd38104489e7525611504f90a1fc2f7c880 100644 (file)
@@ -29,7 +29,7 @@ zone "." {
 };
 
 zone "master-ignore.update" {
-       type master;
+       type primary;
        file "master-ignore.update.db";
        allow-update { any; };
 };
index 4d23c0eaad0e06d2f4bff01f6cddeeb3079e93c8..2c0fa2b2b2aceaea980ee51eb08d757c56e2a351 100644 (file)
@@ -44,6 +44,6 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index 23425ccbdc43c763dd7dbcc861c3dd6a975c404e..e1073f92b6d842431f2722b747dec1f07699089a 100644 (file)
@@ -24,6 +24,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 47fd6bafc276614b02f1684833127e2db08e6ecb..abb688e0e3ce220ad603848938f67dd5c3fb0492 100644 (file)
@@ -45,6 +45,6 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index 9c25220b1965a311e8eae07153d0001fbd29a611..62ced15bb2d8a0f0d8e51e1abf082d9c40960801 100644 (file)
@@ -24,6 +24,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 36bc29d2f3547e30553aa64e19e56a4568097358..c90a2b95dd5d9cec6870c70cc0bdb061498cf8ac 100644 (file)
@@ -32,6 +32,6 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index b6c838ac2dd377c9efc2ea2219f3f5739c3e38ca..4d608603401a9a04a8147e603fa2d62e8e43314b 100644 (file)
@@ -34,6 +34,6 @@ options {
 };
 
 zone "database" {
-       type master;
+       type primary;
        database "_builtin empty localhost. hostmaster.isc.org.";
 };
index 8b0c3f193848e6a8bee4f08d7119a7a6c2c609e7..3393548e81285e4bf2cee1216c2a7603bdf61fdc 100644 (file)
@@ -34,6 +34,6 @@ options {
 };
 
 zone "database" {
-       type master;
+       type primary;
        database "_builtin empty localhost. marka.isc.org.";
 };
index 51b9e3d1441cba7e64f2ef8bafdc8d1dea678fa5..e71481368cadb9878ba2172a4aff65e8c57bcc6d 100644 (file)
@@ -17,7 +17,7 @@ rm -f ns2/*.nzd ns2/*nzd-lock
 rm -f ns2/core*
 rm -f ns2/inline.db.jbk
 rm -f ns2/inline.db.signed
-rm -f ns2/inlineslave.bk*
+rm -f ns2/inlinesec.bk*
 rm -f ns*/named.lock
 rm -f ns2/nzf-*
 rm -f ns*/managed-keys.bind*
similarity index 95%
rename from bin/tests/system/delzone/ns1/inlineslave.db
rename to bin/tests/system/delzone/ns1/inlinesec.db
index 625349ec4d95cef6259c7167eb22172b67516043..5db7e024e3f15b56625edf515955e2ccaa28ac75 100644 (file)
@@ -7,7 +7,7 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-$ORIGIN inlineslave.example.
+$ORIGIN inlinesec.example.
 $TTL 300       ; 5 minutes
 @                       IN SOA mname1. . (
                                1          ; serial
index 71cd514d3a83eb1b52466bad6fa12178960b4360..8cbe61d0b4ac44aed9b06f7e03e189d0dc3dd96b 100644 (file)
@@ -26,7 +26,7 @@ zone "." {
        file "../../common/root.hint";
 };
 
-zone "inlineslave.example" {
-       type master;
-       file "inlineslave.db";
+zone "inlinesec.example" {
+       type primary;
+       file "inlinesec.db";
 };
index 066e453d7677ebb8fbe8be99472a053f09fc96f0..ff1317892e9d7cc4960f3c1a3da40cafd3d7dc81 100644 (file)
@@ -23,6 +23,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 8dafd87b3dbc48e88c2953b3248d536c169ebed5..6a90c358def84765d160ce47435d0b12755bd0bf 100644 (file)
@@ -27,6 +27,6 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index 89b21812fb018aa4a6a6cb51803b91d0bbf2ad33..8eb46cc33f9893042d7758d6f9c7141f31b158a6 100644 (file)
@@ -62,7 +62,7 @@ dlz redzone {
 };
 
 zone zone.nil {
-       type master;
+       type primary;
        dlz unsearched2;
 };
 
@@ -72,6 +72,6 @@ zone "." {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 778c0bc9a53382325620dc84fba03ddfdd53052d..900e9fae178aebb1e87ce0563cdf114ee61e93c9 100644 (file)
@@ -35,17 +35,17 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "signed" {
-       type master;
+       type primary;
        file "signed.db.signed";
 };
 
index 386a9d740b939d16e1206651d9af5d44aff9c44a..47f937f978675aacb4ed6843a6d04dfe366e6aad 100644 (file)
@@ -64,6 +64,6 @@ zone "." {
 };
 
 zone "rpz" {
-       type master;
+       type primary;
        file "rpz.db";
 };
index 68d7993a2b3ca45e333bc0eb6b157d5682ed9951..6f204916893cf8b70eddc7f94fb0c539c9e10b6a 100644 (file)
@@ -27,7 +27,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
index ebef86da9c860bda1de1efa93c5f11a87c042953..12465581cfe4c861559a1de289013bef683950ce 100644 (file)
@@ -41,132 +41,132 @@ zone "." {
 };
 
 zone "trusted" {
-       type master;
+       type primary;
        file "trusted.db.signed";
 };
 
 zone "managed" {
-       type master;
+       type primary;
        file "managed.db.signed";
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db.signed";
        allow-update { any; };
 };
 
 zone "insecure.secure.example" {
-       type master;
+       type primary;
        file "insecure.secure.example.db";
        allow-update { any; };
 };
 
 zone "rfc2335.example" {
-       type master;
+       type primary;
        file "rfc2335.example.db";
 };
 
 zone "child.nsec3.example" {
-       type master;
+       type primary;
        file "child.nsec3.example.db";
        allow-update { none; };
 };
 
 zone "child.optout.example" {
-       type master;
+       type primary;
        file "child.optout.example.db";
        allow-update { none; };
 };
 
 zone "badparam" {
-       type master;
+       type primary;
        file "badparam.db.bad";
 };
 
 zone "single-nsec3" {
-       type master;
+       type primary;
        file "single-nsec3.db.signed";
 };
 
 zone "algroll" {
-       type master;
+       type primary;
        file "algroll.db.signed";
 };
 
 zone "nsec3chain-test" {
-       type master;
+       type primary;
        file "nsec3chain-test.db.signed";
        allow-update {any;};
 };
 
 zone "in-addr.arpa" {
-       type master;
+       type primary;
        file "in-addr.arpa.db.signed";
 };
 
 zone "cds.secure" {
-       type master;
+       type primary;
        file "cds.secure.db.signed";
 };
 
 zone "cds-x.secure" {
-       type master;
+       type primary;
        file "cds-x.secure.db.signed";
 };
 
 zone "cds-update.secure" {
-       type master;
+       type primary;
        file "cds-update.secure.db.signed";
        allow-update { any; };
 };
 
 zone "cds-kskonly.secure" {
-       type master;
+       type primary;
        dnssec-dnskey-kskonly yes;
        file "cds-kskonly.secure.db.signed";
        allow-update { any; };
 };
 
 zone "cds-auto.secure" {
-       type master;
+       type primary;
        file "cds-auto.secure.db.signed";
        auto-dnssec maintain;
        allow-update { any; };
 };
 
 zone "cdnskey.secure" {
-       type master;
+       type primary;
        file "cdnskey.secure.db.signed";
 };
 
 zone "cdnskey-x.secure" {
-       type master;
+       type primary;
        file "cdnskey-x.secure.db.signed";
 };
 
 zone "cdnskey-update.secure" {
-       type master;
+       type primary;
        file "cdnskey-update.secure.db.signed";
        allow-update { any; };
 };
 
 zone "cdnskey-kskonly.secure" {
-       type master;
+       type primary;
        dnssec-dnskey-kskonly yes;
        file "cdnskey-kskonly.secure.db.signed";
        allow-update { any; };
 };
 
 zone "cdnskey-auto.secure" {
-       type master;
+       type primary;
        file "cdnskey-auto.secure.db.signed";
        auto-dnssec maintain;
        allow-update { any; };
 };
 
 zone "updatecheck-kskonly.secure" {
-       type master;
+       type primary;
        auto-dnssec maintain;
        key-directory ".";
        dnssec-dnskey-kskonly yes;
@@ -178,7 +178,7 @@ zone "updatecheck-kskonly.secure" {
 };
 
 zone "corp" {
-       type master;
+       type primary;
        file "corp.db";
 };
 
index c632e7e9cf9b3737347e17d513679a4381da30a2..196a13dd4e764d5b6006028c5272fa1dd49e9147 100644 (file)
@@ -41,325 +41,325 @@ zone "." {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "example.bk";
 };
 
 zone "secure.example" {
-       type master;
+       type primary;
        file "secure.example.db.signed";
        allow-update { any; };
 };
 
 zone "bogus.example" {
-       type master;
+       type primary;
        file "bogus.example.db.signed";
        allow-update { any; };
 };
 
 zone "badds.example" {
-       type master;
+       type primary;
        file "badds.example.db.signed";
        allow-update { any; };
 };
 
 zone "dynamic.example" {
-       type master;
+       type primary;
        file "dynamic.example.db.signed";
        allow-update { any; };
 };
 
 zone "insecure.example" {
-       type master;
+       type primary;
        file "insecure.example.db";
        allow-update { any; };
 };
 
 zone "insecure.nsec3.example" {
-       type master;
+       type primary;
        file "insecure.nsec3.example.db";
        allow-update { any; };
 };
 
 zone "insecure.optout.example" {
-       type master;
+       type primary;
        file "insecure.optout.example.db";
        allow-update { any; };
 };
 
 zone "keyless.example" {
-       type master;
+       type primary;
        file "keyless.example.db.signed";
 };
 
 zone "nsec3.example" {
-       type master;
+       type primary;
        file "nsec3.example.db.signed";
 };
 
 zone "optout.nsec3.example" {
-       type master;
+       type primary;
        file "optout.nsec3.example.db.signed";
 };
 
 zone "nsec3.nsec3.example" {
-       type master;
+       type primary;
        file "nsec3.nsec3.example.db.signed";
 };
 
 zone "secure.nsec3.example" {
-       type master;
+       type primary;
        file "secure.nsec3.example.db.signed";
 };
 
 zone "optout.example" {
-       type master;
+       type primary;
        file "optout.example.db.signed";
 };
 
 zone "secure.optout.example" {
-       type master;
+       type primary;
        file "secure.optout.example.db.signed";
 };
 
 zone "nsec3.optout.example" {
-       type master;
+       type primary;
        file "nsec3.optout.example.db.signed";
 };
 
 zone "optout.optout.example" {
-       type master;
+       type primary;
        file "optout.optout.example.db.signed";
 };
 
 zone "nsec3-unknown.example" {
-       type master;
+       type primary;
        nsec3-test-zone yes;
        file "nsec3-unknown.example.db.signed";
 };
 
 zone "optout-unknown.example" {
-       type master;
+       type primary;
        nsec3-test-zone yes;
        file "optout-unknown.example.db.signed";
 };
 
 zone "dnskey-unknown.example" {
-       type master;
+       type primary;
        file "dnskey-unknown.example.db.signed";
 };
 
 zone "dnskey-unsupported.example" {
-       type master;
+       type primary;
        file "dnskey-unsupported.example.db.signed";
 };
 
 zone "dnskey-unsupported-2.example" {
-       type master;
+       type primary;
        file "dnskey-unsupported-2.example.db.signed";
 };
 
 zone "dnskey-nsec3-unknown.example" {
-       type master;
+       type primary;
        nsec3-test-zone yes;
        file "dnskey-nsec3-unknown.example.db.signed";
 };
 
 zone "multiple.example" {
-       type master;
+       type primary;
        file "multiple.example.db.signed";
        allow-update { any; };
 };
 
 zone "rfc2335.example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "rfc2335.example.bk";
 };
 
 zone "rsasha256.example" {
-       type master;
+       type primary;
        file "rsasha256.example.db.signed";
 };
 
 zone "rsasha512.example" {
-       type master;
+       type primary;
        file "rsasha512.example.db.signed";
 };
 
 zone "kskonly.example" {
-       type master;
+       type primary;
        file "kskonly.example.db.signed";
 };
 
 zone "expired.example" {
-       type master;
+       type primary;
        allow-update { none; };
        file "expired.example.db.signed";
 };
 
 zone "update-nsec3.example" {
-       type master;
+       type primary;
        allow-update { any; };
        file "update-nsec3.example.db.signed";
 };
 
 zone "auto-nsec.example" {
-       type master;
+       type primary;
        auto-dnssec maintain;
        allow-update { !0.0.0.0; };
        file "auto-nsec.example.db.signed";
 };
 
 zone "auto-nsec3.example" {
-       type master;
+       type primary;
        auto-dnssec maintain;
        allow-update { !0.0.0.0; };
        file "auto-nsec3.example.db.signed";
 };
 
 zone "insecure.below-cname.example" {
-       type master;
+       type primary;
        file "insecure.below-cname.example.db";
 };
 
 zone "secure.below-cname.example" {
-       type master;
+       type primary;
        file "secure.below-cname.example.db.signed";
 };
 
 zone "ttlpatch.example" {
-       type master;
+       type primary;
        file "ttlpatch.example.db.patched";
 };
 
 zone "split-dnssec.example" {
-       type master;
+       type primary;
        file "split-dnssec.example.db";
 };
 
 zone "split-smart.example" {
-       type master;
+       type primary;
        file "split-smart.example.db";
 };
 
 zone "nsec3chain-test" {
-       type slave;
+       type secondary;
        file "nsec3chain-test.bk";
        primaries { 10.53.0.2; };
 };
 
 zone "expiring.example" {
-       type master;
+       type primary;
        allow-update { any; };
        file "expiring.example.db.signed";
 };
 
 zone "nosign.example" {
-       type master;
+       type primary;
        allow-update { any; };
        dnssec-update-mode no-resign;
        file "nosign.example.db.signed";
 };
 
 zone "upper.example" {
-       type master;
+       type primary;
        file "upper.example.db.signed";
 };
 
 zone "LOWER.EXAMPLE" {
-       type master;
+       type primary;
        file "lower.example.db.signed";
 };
 
 zone "inline.example" {
-       type master;
+       type primary;
        file "inline.example.db";
        inline-signing yes;
        auto-dnssec maintain;
 };
 
 zone "publish-inactive.example" {
-       type master;
+       type primary;
        file "publish-inactive.example.db";
        auto-dnssec maintain;
        update-policy local;
 };
 
 zone "future.example" {
-       type master;
+       type primary;
        file "future.example.db.signed";
 };
 
 zone "managed-future.example" {
-       type master;
+       type primary;
        file "managed-future.example.db.signed";
        allow-update { any; };
 };
 
 zone "revkey.example" {
-       type master;
+       type primary;
        file "revkey.example.db.signed";
 };
 
 zone "dname-at-apex-nsec3.example" {
-       type master;
+       type primary;
        file "dname-at-apex-nsec3.example.db.signed";
 };
 
 zone "occluded.example" {
-       type master;
+       type primary;
        file "occluded.example.db.signed";
 };
 
 zone "secure.managed" {
-       type master;
+       type primary;
        file "secure.managed.db.signed";
 };
 
 zone "disabled.managed" {
-       type master;
+       type primary;
        file "disabled.managed.db.signed";
 };
 
 zone "enabled.managed" {
-       type master;
+       type primary;
        file "enabled.managed.db.signed";
 };
 
 zone "unsupported.managed" {
-       type master;
+       type primary;
        file "unsupported.managed.db.signed";
 };
 
 zone "revoked.managed" {
-       type master;
+       type primary;
        file "revoked.managed.db.signed";
 };
 
 zone "secure.trusted" {
-       type master;
+       type primary;
        file "secure.trusted.db.signed";
 };
 
 zone "disabled.trusted" {
-       type master;
+       type primary;
        file "disabled.trusted.db.signed";
 };
 
 zone "enabled.trusted" {
-       type master;
+       type primary;
        file "enabled.trusted.db.signed";
 };
 
 zone "unsupported.trusted" {
-       type master;
+       type primary;
        file "unsupported.trusted.db.signed";
 };
 
 zone "revoked.trusted" {
-       type master;
+       type primary;
        file "revoked.trusted.db.signed";
 };
 
index 397fa76b514a8b568222a95f5f39f7292bf28ee2..83753efd601bffef3b4de527dfa28b1546365e16 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "siginterval.example" {
-       type master;
+       type primary;
        allow-update { any; };
        sig-validity-interval 1 23;
        dnskey-sig-validity 90;
index eeeddcc3f30dfe15cfa4514779bde3dd34332125..d2bd0d59c6d3196bd2ab34942c231605ced4ea69 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "siginterval.example" {
-       type master;
+       type primary;
        allow-update { any; };
        sig-validity-interval 35 28;
        dnskey-sig-validity 90;
index 22217f36c41bdebabc751bea237cd436537d9cf6..77590b30f3410164ef5754f678d3d7c4b98d4f8d 100644 (file)
@@ -64,12 +64,12 @@ view auth {
        allow-recursion { none; };
 
        zone secure.example {
-               type slave;
+               type secondary;
                primaries { 10.53.0.3; };
        };
 
        zone insecure.secure.example {
-               type slave;
+               type secondary;
                primaries { 10.53.0.2; };
        };
 };
index 8aa4e6929abb1e14bfb2a7c5626b0b1cb09c4597..de10865599faa3c15bb461b295f40e1d1e5e2ef3 100644 (file)
@@ -35,7 +35,7 @@ view root {
        match-destinations { 127.0.0.1; };
 
        zone "." {
-               type master;
+               type primary;
                file "root.db.signed";
        };
 };
index 29279c2f98ffdbbbd35bbd9988a8a3da90baa574..fa74b6043b3e5c7a8912d0e13974293f0383687d 100644 (file)
@@ -31,7 +31,7 @@ zone "." {
 };
 
 zone "optout-tld" {
-       type master;
+       type primary;
        file "optout-tld.db.signed";
 };
 
index dd4cfd9a3cf5a0719f50be9a19cc0ef3ff1bef96..70d71f6efff9934a53b141600c78337fb34bbc00 100644 (file)
@@ -31,42 +31,42 @@ zone "." {
 };
 
 zone "nsec3.example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.3; };
        file "nsec3.example.bk";
 };
 
 zone "optout.example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.3; };
        file "optout.example.bk";
 };
 
 zone "nsec3-unknown.example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.3; };
        file "nsec3-unknown.example.bk";
 };
 
 zone "optout-unknown.example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.3; };
        file "optout-unknown.example.bk";
 };
 
 zone "multiple.example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.3; };
        file "multiple.example.bk";
 };
 
 zone "nosoa.secure.example" {
-       type master;
+       type primary;
        file "nosoa.secure.example.db";
 };
 
 zone "split-rrsig" {
-       type master;
+       type primary;
        file "split-rrsig.db.signed";
        allow-update { any; };
 };
index 025b694aaca32f997e660daf9f76b6648c790648..4e58a855a446a25c3331662c039f57db4e282169 100644 (file)
@@ -40,6 +40,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 3df15a680bd15db1ce48950576bcd97a9420b36a..9ea4629182707e8926e76c8e5beb0e53c3a64497 100644 (file)
@@ -45,7 +45,7 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-update { any; };
 };
index 39ca4eebfb1a7df7b8f59ecfe6a918999b942f48..0a5245d7ddda3aa11f416826e99d3bcec473bc90 100644 (file)
@@ -24,6 +24,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 0b4fa4b4ab7e0decef221653dda24c3a1365fd12..94a9e3244ab8839bb0177d8f97cf8420993b0c68 100644 (file)
@@ -24,7 +24,7 @@ options {
 };
 
 zone "." {
-       type slave;
+       type secondary;
        file "root.bk";
        primaries { 10.53.0.1; };
 };
index df13caa77bc24385fb8f476cee6b3b75ceb21dbf..63fd7691ec7cfd6df3610035892006a49e2d606f 100644 (file)
@@ -24,6 +24,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 88a7ac1b5aa3b4c53daeac7bccbca10dfd594289..9ffa0a1272412ea2da9fe3e63c8c6403b88f56ca 100644 (file)
@@ -25,7 +25,7 @@ options {
 };
 
 zone "." {
-       type slave;
+       type secondary;
        file "root.bk";
        primaries { 10.53.0.4; };
 };
index 36932a458c1f3bbc7a968cf018a03c3368f1dc6f..a7c8bf2021da8a07a5c57a7a21cd47b4f05ea887 100644 (file)
@@ -25,7 +25,7 @@ options {
 };
 
 zone "." {
-       type slave;
+       type secondary;
        file "root.bk";
        transfer-source 10.53.0.7 dscp 46;
        notify-source 10.53.0.7 dscp 46;
index 88a254793575ff4b7d7cf6b2c73f382075fd8229..a68caf9d96d86b9ac0afbae8215a37490edb72e8 100644 (file)
@@ -27,7 +27,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
index 6510dd5e92a3ed1ef9ed38af5e93aeac104339db..8485ad75ac9d9d4f3019fac71ec39456503b47be 100644 (file)
@@ -32,12 +32,12 @@ zone "." {
 };
 
 zone "good" {
-       type master;
+       type primary;
        file "good.db.signed";
 };
 
 zone "bad" {
-       type master;
+       type primary;
        file "bad.db.signed";
 };
 
index 296ad0ecc1dfa78d32c90541b43b8c9100c9b683..23749bcc6ec19d264a8779765c13bf21edf00cbc 100644 (file)
@@ -19,7 +19,7 @@ options {
 };
 
 zone "signing.test" {
-       type master;
+       type primary;
        masterfile-format text;
        allow-update { any; };
        file "signing.test.db";
index 88a254793575ff4b7d7cf6b2c73f382075fd8229..a68caf9d96d86b9ac0afbae8215a37490edb72e8 100644 (file)
@@ -27,7 +27,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
index 88a254793575ff4b7d7cf6b2c73f382075fd8229..a68caf9d96d86b9ac0afbae8215a37490edb72e8 100644 (file)
@@ -27,7 +27,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
index b24ceaa28ddf22a46c45efb72108cebba4bf95fb..6a8604fd16c346bd7588021a6f971b6de2bee2b2 100644 (file)
@@ -21,6 +21,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index ad4d681ff8751c3b6a42c02e1e60f89f52b40d46..01f8708c2e7fd9c063d94261e779ca9cb2f8533a 100644 (file)
@@ -42,5 +42,5 @@ zone "." {
 };
 
 zone "1.10.in-addr.arpa" {
-       type master; file "empty.db";
+       type primary; file "empty.db";
 };
index 465c14f1977adbc5a7f2647a0fc6101ef1512fe1..d15513bb84fb8d19f1feebf9292d2c8343ab5dcb 100644 (file)
@@ -9,22 +9,22 @@
  * information regarding copyright ownership.
  */
 
-zone "10.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "16.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "17.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "18.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "19.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "20.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "21.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "22.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "23.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "24.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "25.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "26.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "27.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "28.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "29.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "30.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "31.172.IN-ADDR.ARPA" { type master; file "empty.db"; };
-zone "168.192.IN-ADDR.ARPA" { type master; file "empty.db"; };
+zone "10.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "16.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "17.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "18.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "19.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "20.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "21.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "22.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "23.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "24.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "25.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "26.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "27.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "28.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "29.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "30.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "31.172.IN-ADDR.ARPA" { type primary; file "empty.db"; };
+zone "168.192.IN-ADDR.ARPA" { type primary; file "empty.db"; };
 
index c434e8b06a6be57a96b73163d094019c33e46deb..83243e8f48f07910dfa0af0b6dad2157f1be1704 100644 (file)
@@ -23,11 +23,11 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example.info." {
-       type master;
+       type primary;
        file "example-info.db";
 };
index fc578624a7575f7ac2cf3828cb6ec736734fc2c0..2d42aac3a03f7edaec8177ec2205774be64295b7 100644 (file)
@@ -33,7 +33,7 @@ controls {
 
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-update { any; };
 };
index 31ea7a582848d4ed7d7d8bc00f85ef3886a9f422..a72007d76ea332333a79504bdd0e8da3f392df7b 100644 (file)
@@ -40,6 +40,6 @@ controls {
 };
 
 
-zone "." { type master; file "root.db"; };
-zone "signed" { type master; file "signed.db.signed"; };
-zone "unsigned" { type master; file "unsigned.db"; };
+zone "." { type primary; file "root.db"; };
+zone "signed" { type primary; file "signed.db.signed"; };
+zone "unsigned" { type primary; file "unsigned.db"; };
index 72e10c4fb0917b039f41dd0b5e783357f2307550..fbc4b721d54e0795453f5664ce8c98bb2082987c 100644 (file)
@@ -37,6 +37,6 @@ controls {
        inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
-zone "." { type master; file "root.db"; };
-zone "signed" { type master; file "signed.db.signed"; };
-zone "unsigned" { type master; file "unsigned.db"; };
+zone "." { type primary; file "root.db"; };
+zone "signed" { type primary; file "signed.db.signed"; };
+zone "unsigned" { type primary; file "unsigned.db"; };
index 69b7ac47d2085c008288a0a9e9096926707710f6..44fcd7cdbcfb3f57168598e8e2a83e2e94e23838 100644 (file)
@@ -37,6 +37,6 @@ controls {
        inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
-zone "." { type master; file "root.db"; };
-zone "signed" { type master; file "signed.db.signed"; };
-zone "unsigned" { type master; file "unsigned.db"; };
+zone "." { type primary; file "root.db"; };
+zone "signed" { type primary; file "signed.db.signed"; };
+zone "unsigned" { type primary; file "unsigned.db"; };
index 68b43c4cee4902cc36eba366429918bf4db3583a..93af1bae13412e88456906ba5eae93cf4169b2ef 100644 (file)
@@ -37,6 +37,6 @@ controls {
        inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
-zone "." { type master; file "root.db"; };
-zone "signed" { type master; file "signed.db.signed"; };
-zone "unsigned" { type master; file "unsigned.db"; };
+zone "." { type primary; file "root.db"; };
+zone "signed" { type primary; file "signed.db.signed"; };
+zone "unsigned" { type primary; file "unsigned.db"; };
index b24ceaa28ddf22a46c45efb72108cebba4bf95fb..6a8604fd16c346bd7588021a6f971b6de2bee2b2 100644 (file)
@@ -21,6 +21,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 282e76bb64cca2da61e7fd0af5eab6a3e13d5272..ac854fd822c36164ce3b8064b8539fb15c391bb7 100644 (file)
@@ -22,37 +22,37 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example1." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example2." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example3." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example4." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example5." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "sld.tld" {
-       type master;
+       type primary;
        file "sld.tld.db";
 };
 
index 14ae9644c895ef5982743cfcd3d0d39fbdab8c54..f7256abb14b354e1455e6b3a2084929e9399decc 100644 (file)
@@ -27,41 +27,41 @@ zone "." {
 };
 
 zone "example1." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example2." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example3." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example4." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example7." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "grafted." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "1.0.10.in-addr.arpa." {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "tld" {
-       type master;
+       type primary;
        file "tld.db";
 };
index fee76b41e5d46d5bfdb9fc10bd6e914436417a2b..855b4bfb82f26189614c988d1964b7932e889d9e 100644 (file)
@@ -57,6 +57,6 @@ zone "grafted" {
 };
 
 zone "malicious." {
-       type master;
+       type primary;
        file "malicious.db";
 };
index 6742222d4d088807ce1765c1073ef8ba16768d9c..84f0ad089e7dd568f82895a20982b3116d05ddc2 100644 (file)
@@ -29,6 +29,6 @@ zone "." {
 };
 
 zone "rebind" {
-       type master;
+       type primary;
        file "rebind.db";
 };
index b7e1072ab38e8f708f60ff963baf9f70b13d7d57..cd4ac91371ad4f768d730bc3557854f8ef200e23 100644 (file)
 #
 # Set up a test zone
 #
-# Usage: genzone.sh master-server-number slave-server-number...
+# Usage: genzone.sh master-server-number secondary-server-number...
 #
 # e.g., "genzone.sh 2 3 4" means ns2 is the master and ns3, ns4
-# are slaves.
+# are secondaries.
 #
 
 master="$1"
index 31268b050037ce35cb28d4ca6a308a015253bc51..10e6237190db34fc7c9141abe348a80bde2d9b51 100644 (file)
@@ -22,7 +22,7 @@ options {
 view one {
        match-clients { geoip db unknown asnum "WX"; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
index 38b68b029ce6aee42a30d785dc4a2e534b7f6ab9..4f55d3314e603f3221889d3b871779eb528a4739 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip db region region "California"; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
index 06d8b888e44505aa0c78cd774fce9ba81ecaa0f0..bd0f2008093c7c118ff1724537b3f1e52c6cef20 100644 (file)
@@ -27,7 +27,7 @@ options {
 view one {
        match-clients { geoip db country country AUS; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
index 7d8ceb1d11cc75ba40a5e8b3c4c6caabd206d922..2838b28fce54f592e52569cea897af0931748ce1 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip db country country AU; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip db country country US; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip db country country GB; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view four {
        match-clients { geoip db country country CA; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -68,7 +68,7 @@ view four {
 view five {
        match-clients { geoip db country country CL; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -76,7 +76,7 @@ view five {
 view six {
        match-clients { geoip db country country DE; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -84,7 +84,7 @@ view six {
 view seven {
        match-clients { geoip db country country EH; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -92,7 +92,7 @@ view seven {
 view other {
        match-clients { geoip db country country O1; };
        zone "example" {
-               type master;
+               type primary;
                file "exampleother.db";
        };
 };
@@ -100,7 +100,7 @@ view other {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index 9e12fe084c52c38569e7b4c9a38bfe2f2c338f47..f809d04d9998d78ad840a19410fbf5121c35a753 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip asnum 100001; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip asnum 100002; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip asnum 100003; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view four {
        match-clients { geoip asnum 100004; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -68,7 +68,7 @@ view four {
 view five {
        match-clients { geoip asnum 100005; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -76,7 +76,7 @@ view five {
 view six {
        match-clients { geoip asnum 100006; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -84,7 +84,7 @@ view six {
 view seven {
        match-clients { geoip asnum 100007; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -92,7 +92,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index 4ad1ad0bda45e9e643e0288927c34103bf773bb0..0a4892599c374b0b78ac3490984747ecd1072883 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip domain one.de; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip domain two.com; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip domain three.com; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view four {
        match-clients { geoip domain four.edu; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -68,7 +68,7 @@ view four {
 view five {
        match-clients { geoip domain five.es; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -76,7 +76,7 @@ view five {
 view six {
        match-clients { geoip domain six.it; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -84,7 +84,7 @@ view six {
 view seven {
        match-clients { geoip domain seven.org; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -92,7 +92,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index b0c156407969ebb0c02f933572d629b567724042..8794cbbd956cfa803b11ee42d107e30d17d89b77 100644 (file)
@@ -44,7 +44,7 @@ acl gEH { geoip db country country EH; };
 view one {
        match-clients { gAU; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -52,7 +52,7 @@ view one {
 view two {
        match-clients { gUS; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -60,7 +60,7 @@ view two {
 view three {
        match-clients { gGB; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -68,7 +68,7 @@ view three {
 view four {
        match-clients { gCA; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -76,7 +76,7 @@ view four {
 view five {
        match-clients { gCL; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -84,7 +84,7 @@ view five {
 view six {
        match-clients { gDE; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -92,7 +92,7 @@ view six {
 view seven {
        match-clients { gEH; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -100,7 +100,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "examplebogus.db";
        };
 };
index e275fe34241304feea57e697438365f330415b62..ecd758c1a6bb04646e145eb9131c9a696eacb7f7 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip db country country Australia; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip db country country "United States"; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip db country country "United Kingdom"; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view four {
        match-clients { geoip db country country Canada; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -68,7 +68,7 @@ view four {
 view five {
        match-clients { geoip db country country Chile; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -76,7 +76,7 @@ view five {
 view six {
        match-clients { geoip db country country Germany; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -84,7 +84,7 @@ view six {
 view seven {
        match-clients { geoip db country country "Western Sahara"; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -92,7 +92,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index a3015d64f3a18347ecfd3ddb90091a1c218aefc8..e5c88284fd9bf4beab3fb30162455f2617ecc31f 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip db country continent OC; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip db country continent NA; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip db country continent EU; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view five {
        match-clients { geoip db country continent SA; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -68,7 +68,7 @@ view five {
 view seven {
        match-clients { geoip db country continent AF; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -76,7 +76,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index c38e613d2f0b66ce097dd326fed44539021407d1..0b5352001891cbb1822ec9b36fdb5e8020c29200 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip region CA; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view three {
        match-clients { geoip region OK; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -52,7 +52,7 @@ view three {
 view four {
        match-clients { geoip region VA; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -60,7 +60,7 @@ view four {
 view five {
        match-clients { geoip region GA; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -68,7 +68,7 @@ view five {
 view six {
        match-clients { geoip region CO; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -76,7 +76,7 @@ view six {
 view seven {
        match-clients { geoip region AK; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -84,7 +84,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index 3e95e70090a7e9f0ab38b2062c9a7b0233c03e78..56e17b3820c806a746e784107b000da82d77a4bf 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip city "Redwood City"; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip city "Santa Cruz"; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip city "Oklahoma City"; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view four {
        match-clients { geoip city "Ashland"; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -68,7 +68,7 @@ view four {
 view five {
        match-clients { geoip city "Atlanta"; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -76,7 +76,7 @@ view five {
 view six {
        match-clients { geoip city "Morrison"; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -84,7 +84,7 @@ view six {
 view seven {
        match-clients { geoip city "Ketchikan"; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -92,7 +92,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index 0674e75fbf88ecd16336d0e87987632123ff20fd..93e6a2c712ac0541bdc9f4e5377e6fdb409b6b2f 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip isp "One Systems, Inc."; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip isp "Two Technology Ltd."; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip isp "Three Network Labs"; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view four {
        match-clients { geoip isp "Four University"; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -68,7 +68,7 @@ view four {
 view five {
        match-clients { geoip isp "Five Telecom"; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -76,7 +76,7 @@ view five {
 view six {
        match-clients { geoip isp "Six Company"; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -84,7 +84,7 @@ view six {
 view seven {
        match-clients { geoip isp "Seven Communications"; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -92,7 +92,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index a175cb9d25ae522d8a3315a4e97e0879935835c7..ebf17659d6030be2e26c03329e7c92cdf743112a 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip org "One Systems, Inc."; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip org "Two Technology Ltd."; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip org "Three Network Labs"; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view four {
        match-clients { geoip org "Four University"; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -68,7 +68,7 @@ view four {
 view five {
        match-clients { geoip org "Five Telecom"; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -76,7 +76,7 @@ view five {
 view six {
        match-clients { geoip org "Six Company"; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -84,7 +84,7 @@ view six {
 view seven {
        match-clients { geoip org "Seven Communications"; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -92,7 +92,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index 41992e49bf15f9db589248e11ed26c754034b006..a9161c0f75d4c7fa21d8565d6ec421c85140d663 100644 (file)
@@ -36,7 +36,7 @@ controls {
 view one {
        match-clients { geoip asnum "AS100001"; };
        zone "example" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -44,7 +44,7 @@ view one {
 view two {
        match-clients { geoip asnum "AS100002"; };
        zone "example" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
@@ -52,7 +52,7 @@ view two {
 view three {
        match-clients { geoip asnum "AS100003"; };
        zone "example" {
-               type master;
+               type primary;
                file "example3.db";
        };
 };
@@ -60,7 +60,7 @@ view three {
 view four {
        match-clients { geoip asnum "AS100004"; };
        zone "example" {
-               type master;
+               type primary;
                file "example4.db";
        };
 };
@@ -68,7 +68,7 @@ view four {
 view five {
        match-clients { geoip asnum "AS100005"; };
        zone "example" {
-               type master;
+               type primary;
                file "example5.db";
        };
 };
@@ -76,7 +76,7 @@ view five {
 view six {
        match-clients { geoip asnum "AS100006"; };
        zone "example" {
-               type master;
+               type primary;
                file "example6.db";
        };
 };
@@ -84,7 +84,7 @@ view six {
 view seven {
        match-clients { geoip asnum "AS100007"; };
        zone "example" {
-               type master;
+               type primary;
                file "example7.db";
        };
 };
@@ -92,7 +92,7 @@ view seven {
 view none {
        match-clients { any; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db.in";
        };
 };
index 5f8e2fcfe6797f886e2f83b61d6749c3e0a7fd5f..d036060f402ccb3a961b8a61c2ab5ea9465844fa 100644 (file)
@@ -22,15 +22,15 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "root-servers.nil" {
-       type master;
+       type primary;
        file "root-servers.nil.db";
 };
 zone "net" {
-       type master;
+       type primary;
        file "net.db";
 };
index 066e453d7677ebb8fbe8be99472a053f09fc96f0..ff1317892e9d7cc4960f3c1a3da40cafd3d7dc81 100644 (file)
@@ -23,6 +23,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index b7af8784445afcf449458a73b61b783b3b9b518e..9ebeb54bede1a5d42a106bc20f29dc48ee009a05 100644 (file)
@@ -1,6 +1,6 @@
 
 zone "mars.com" {
-        type master;
+        type primary;
         file "mars.com.db";
 };
 
index 8dcae426cf5139c2d16c39c2da6b28204ca5030d..168fff43ecf3ef4dcb82949499220de4effe30f2 100644 (file)
@@ -1,6 +1,6 @@
 
 zone "zone1.com" {
-        type master;
+        type primary;
         file "zone1.com.db";
 };
 
index bb995b64f02b38cc32ed034c17460fd69f8ad0bb..6b2b0bd6c37cb9f7feb460a03bdb241ebd142e3f 100644 (file)
@@ -1,6 +1,6 @@
 
 zone "zone2.com" {
-        type master;
+        type primary;
         file "zone2.com.db";
 };
 
index 88a254793575ff4b7d7cf6b2c73f382075fd8229..a68caf9d96d86b9ac0afbae8215a37490edb72e8 100644 (file)
@@ -27,7 +27,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
index c4da5080cfcc768bcd2039b1dfffc0d32274d457..3b1aa65edf2da905d6c288ae51ca1f153b6ab55e 100644 (file)
@@ -32,20 +32,20 @@ options {
 };
 
 zone "bits" {
-       type master;
+       type primary;
        file "bits.db";
        allow-update { any; };
 };
 
 zone "retransfer" {
-       type master;
+       type primary;
        file "retransfer.db";
        allow-update { any; };
        notify no;
 };
 
 zone "retransfer3" {
-       type master;
+       type primary;
        file "retransfer3.db";
        allow-update { any; };
        allow-transfer { none; };       // changed dynamically by tests.sh
@@ -53,31 +53,31 @@ zone "retransfer3" {
 };
 
 zone "nsec3-loop" {
-       type master;
+       type primary;
        file "nsec3-loop.db";
        notify no;
 };
 
 zone "inactiveksk" {
-       type master;
+       type primary;
        file "inactiveksk.db";
        allow-update { any; };
 };
 
 zone "inactivezsk" {
-       type master;
+       type primary;
        file "inactivezsk.db";
        allow-update { any; };
 };
 
 zone "nokeys" {
-       type master;
+       type primary;
        file "nokeys.db";
        allow-update { any; };
 };
 
 zone "removedkeys-secondary" {
-       type master;
+       type primary;
        file "removedkeys-secondary.db";
        allow-update { any; };
 };
index c5f467f44455c33fe9bb7785562efa5766dc4dab..8ccfaf7d2fe0442a6f2bfc31251c9248444cbdb7 100644 (file)
@@ -33,7 +33,7 @@ options {
 };
 
 zone "bits" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        inline-signing yes;
        auto-dnssec maintain;
@@ -45,7 +45,7 @@ zone "bits" {
 server 10.53.0.4 { request-ixfr no; };
 
 zone "noixfr" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.4; };
        inline-signing yes;
        auto-dnssec maintain;
@@ -54,7 +54,7 @@ zone "noixfr" {
 };
 
 zone "master" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "master.db";
@@ -65,7 +65,7 @@ zone "master" {
 };
 
 zone "dynamic" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        allow-update { any; };
@@ -73,7 +73,7 @@ zone "dynamic" {
 };
 
 zone "updated" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        allow-update { none; };
@@ -81,7 +81,7 @@ zone "updated" {
 };
 
 zone "expired" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        allow-update { any; };
@@ -89,7 +89,7 @@ zone "expired" {
 };
 
 zone "retransfer" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        inline-signing yes;
        auto-dnssec maintain;
@@ -97,7 +97,7 @@ zone "retransfer" {
 };
 
 zone "nsec3" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        allow-update { any; };
@@ -105,7 +105,7 @@ zone "nsec3" {
 };
 
 zone "externalkey" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        allow-update { any; };
@@ -113,7 +113,7 @@ zone "externalkey" {
 };
 
 zone "retransfer3" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        inline-signing yes;
        auto-dnssec maintain;
@@ -121,7 +121,7 @@ zone "retransfer3" {
 };
 
 zone "inactiveksk" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        inline-signing yes;
        auto-dnssec maintain;
@@ -130,7 +130,7 @@ zone "inactiveksk" {
 };
 
 zone "inactivezsk" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        inline-signing yes;
        auto-dnssec maintain;
@@ -138,7 +138,7 @@ zone "inactivezsk" {
 };
 
 zone "nokeys" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        inline-signing yes;
        auto-dnssec maintain;
@@ -146,14 +146,14 @@ zone "nokeys" {
 };
 
 zone "delayedkeys" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "delayedkeys.db";
 };
 
 zone "removedkeys-primary" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        allow-update { any; };
@@ -162,7 +162,7 @@ zone "removedkeys-primary" {
 };
 
 zone "removedkeys-secondary" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        inline-signing yes;
        auto-dnssec maintain;
@@ -170,7 +170,7 @@ zone "removedkeys-secondary" {
 };
 
 zone "unsupported" {
-       type master;
+       type primary;
        file "unsupported.db";
        inline-signing yes;
        auto-dnssec maintain;
index c20c74e6cb5da009c96d9db203eea1932c1f3bd3..ef13b57ea10e2cc0c4f5cda1788da057e707abeb 100644 (file)
@@ -25,7 +25,7 @@ options {
 };
 
 zone "noixfr" {
-       type master;
+       type primary;
        file "noixfr.db";
        allow-update { any; };
 };
index 2a241e57c2f5a2ff981b0e7054de88d222eb527d..f02dc5c34a1765053965d9a06a6840c389043348 100644 (file)
@@ -32,8 +32,8 @@ options {
 };
 
 zone "bits" {
-       type slave;
-       masters { 10.53.0.2; };
+       type secondary;
+       primaries { 10.53.0.2; };
        file "bits.bk";
        auto-dnssec maintain;
        inline-signing yes;
index dd92ebe32fda2919dd6bd716249360f5c8a53dbc..be812e4e514304204fb3798d5c73542d742807ee 100644 (file)
@@ -31,7 +31,7 @@ options {
 };
 
 zone "bits" {
-       type slave;
-       masters { 10.53.0.2; };
+       type secondary;
+       primaries { 10.53.0.2; };
        file "bits.bk";
 };
index ea4876bcf4232c8b0e888e6601c4977dfed3b7fd..8663ee867bc97c91a9eb343457bbdf0a697ee9e2 100644 (file)
@@ -34,112 +34,112 @@ options {
 };
 
 zone "example01.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example01.com.db";
 };
 
 zone "example02.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example02.com.db";
 };
 
 zone "example03.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example03.com.db";
 };
 
 zone "example04.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example04.com.db";
 };
 
 zone "example05.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example05.com.db";
 };
 
 zone "example06.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example06.com.db";
 };
 
 zone "example07.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example07.com.db";
 };
 
 zone "example08.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example08.com.db";
 };
 
 zone "example09.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example09.com.db";
 };
 
 zone "example10.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example10.com.db";
 };
 
 zone "example11.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example11.com.db";
 };
 
 zone "example12.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example12.com.db";
 };
 
 zone "example13.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example13.com.db";
 };
 
 zone "example14.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example14.com.db";
 };
 
 zone "example15.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example15.com.db";
 };
 
 zone "example16.com" {
-       type master;
+       type primary;
        inline-signing yes;
        auto-dnssec maintain;
        file "example16.com.db";
index a53430d5e997c673238ce8f6ddbc7faed69e006e..9cfcb2ba0b578704c795a742d36da63b07f78970 100755 (executable)
@@ -142,7 +142,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking that the record is added on the hidden master ($n)"
+echo_i "checking that the record is added on the hidden primary ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.2 added.bits A > dig.out.ns2.test$n
 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
@@ -173,7 +173,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking YYYYMMDDVV (2011072400) serial on hidden master ($n)"
+echo_i "checking YYYYMMDDVV (2011072400) serial on hidden primary ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.2 bits SOA > dig.out.ns2.test$n
 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
@@ -220,7 +220,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking that the record is added on the hidden master, noixfr ($n)"
+echo_i "checking that the record is added on the hidden primary, noixfr ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.4 added.noixfr A > dig.out.ns4.test$n
 grep "status: NOERROR" dig.out.ns4.test$n > /dev/null || ret=1
@@ -251,7 +251,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking YYYYMMDDVV (2011072400) serial on hidden master, noixfr ($n)"
+echo_i "checking YYYYMMDDVV (2011072400) serial on hidden primary, noixfr ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.4 noixfr SOA > dig.out.ns4.test$n
 grep "status: NOERROR" dig.out.ns4.test$n > /dev/null || ret=1
@@ -276,7 +276,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking that the master zone signed on initial load ($n)"
+echo_i "checking that the primary zone signed on initial load ($n)"
 ret=0
 for i in 1 2 3 4 5 6 7 8 9 10
 do
@@ -291,7 +291,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking removal of private type record via 'rndc signing -clear' (master) ($n)"
+echo_i "checking removal of private type record via 'rndc signing -clear' (primary) ($n)"
 ret=0
 $RNDCCMD 10.53.0.3 signing -list master > signing.out.test$n 2>&1
 keys=`sed -n -e 's/Done signing with key \(.*\)$/\1/p' signing.out.test$n`
@@ -314,7 +314,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking private type was properly signed (master) ($n)"
+echo_i "checking private type was properly signed (primary) ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.6 master TYPE65534 > dig.out.ns6.test$n
 grep "ANSWER: 2," dig.out.ns6.test$n > /dev/null || ret=1
@@ -324,7 +324,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking removal of remaining private type record via 'rndc signing -clear' (master) ($n)"
+echo_i "checking removal of remaining private type record via 'rndc signing -clear' (primary) ($n)"
 ret=0
 $RNDCCMD 10.53.0.3 signing -clear all master > /dev/null || ret=1
 for i in 1 2 3 4 5 6 7 8 9 10
@@ -341,7 +341,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check adding of record to unsigned master ($n)"
+echo_i "check adding of record to unsigned primary ($n)"
 ret=0
 cp ns3/master2.db.in ns3/master.db
 rndc_reload ns3 10.53.0.3 master
@@ -398,7 +398,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking that the dynamic master zone signed on initial load ($n)"
+echo_i "checking that the dynamic primary zone signed on initial load ($n)"
 ret=0
 for i in 1 2 3 4 5 6 7 8 9 10
 do
@@ -413,7 +413,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking master zone that was updated while offline is correct ($n)"
+echo_i "checking primary zone that was updated while offline is correct ($n)"
 ret=0
 $DIG $DIGOPTS +nodnssec +short @10.53.0.3 updated SOA >dig.out.ns2.soa.test$n
 serial=`awk '{print $3}' dig.out.ns2.soa.test$n`
@@ -436,7 +436,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking adding of record to unsigned master using UPDATE ($n)"
+echo_i "checking adding of record to unsigned primary using UPDATE ($n)"
 ret=0
 
 [ -f ns3/dynamic.db.jnl ] && { ret=1 ; echo_i "journal exists (pretest)" ; }
@@ -487,7 +487,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking YYYYMMDDVV (2011072450) serial on hidden master ($n)"
+echo_i "checking YYYYMMDDVV (2011072450) serial on hidden primary ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.2 bits SOA > dig.out.ns2.test$n
 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
@@ -519,7 +519,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking YYYYMMDDVV (2011072450) serial on hidden master, noixfr ($n)"
+echo_i "checking YYYYMMDDVV (2011072450) serial on hidden primary, noixfr ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.4 noixfr SOA > dig.out.ns4.test$n
 grep "status: NOERROR" dig.out.ns4.test$n > /dev/null || ret=1
@@ -551,7 +551,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking forwarded update on hidden master ($n)"
+echo_i "checking forwarded update on hidden primary ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.2 bits SOA > dig.out.ns2.test$n
 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
@@ -583,7 +583,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking forwarded update on hidden master, noixfr ($n)"
+echo_i "checking forwarded update on hidden primary, noixfr ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.4 noixfr SOA > dig.out.ns4.test$n
 grep "status: NOERROR" dig.out.ns4.test$n > /dev/null || ret=1
@@ -609,7 +609,7 @@ status=`expr $status + $ret`
 
 ret=0
 n=`expr $n + 1`
-echo_i "checking turning on of inline signing in a slave zone via reload ($n)"
+echo_i "checking turning on of inline signing in a secondary zone via reload ($n)"
 $DIG $DIGOPTS @10.53.0.5 +dnssec bits SOA > dig.out.ns5.test$n
 grep "status: NOERROR" dig.out.ns5.test$n > /dev/null || ret=1
 grep "ANSWER: 1," dig.out.ns5.test$n > /dev/null || ret=1
@@ -728,7 +728,7 @@ send
 EOF
 
 n=`expr $n + 1`
-echo_i "checking that the retransfer record is added on the hidden master ($n)"
+echo_i "checking that the retransfer record is added on the hidden primary ($n)"
 ret=0
 $DIG $DIGOPTS @10.53.0.2 added.retransfer A > dig.out.ns2.test$n
 grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
@@ -751,7 +751,7 @@ if [ $ans != 1 ]; then echo_i "failed"; ret=1; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check rndc retransfer of a inline slave zone works ($n)"
+echo_i "check rndc retransfer of a inline secondary zone works ($n)"
 ret=0
 $RNDCCMD 10.53.0.3 retransfer retransfer 2>&1 || ret=1
 for i in 0 1 2 3 4 5 6 7 8 9
@@ -806,7 +806,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check rndc retransfer of a inline nsec3 slave retains nsec3 ($n)"
+echo_i "check rndc retransfer of a inline nsec3 secondary retains nsec3 ($n)"
 ret=0
 $RNDCCMD 10.53.0.3 signing -nsec3param 1 0 0 - retransfer3 > /dev/null 2>&1 || ret=1
 for i in 0 1 2 3 4 5 6 7 8 9
@@ -835,13 +835,13 @@ status=`expr $status + $ret`
 # NOTE: The test below should be considered fragile.  More details can be found
 # in the comment inside ns7/named.conf.
 n=`expr $n + 1`
-echo_i "check rndc retransfer of a inline nsec3 slave does not trigger an infinite loop ($n)"
+echo_i "check rndc retransfer of a inline nsec3 secondary does not trigger an infinite loop ($n)"
 ret=0
 zone=nsec3-loop
-# Add slave zone using rndc
+# Add secondary zone using rndc
 $RNDCCMD 10.53.0.7 addzone $zone \
-       '{ type slave; masters { 10.53.0.2; }; file "'$zone'.db"; inline-signing yes; auto-dnssec maintain; };'
-# Wait until slave zone is fully signed using NSEC
+       '{ type secondary; primaries { 10.53.0.2; }; file "'$zone'.db"; inline-signing yes; auto-dnssec maintain; };'
+# Wait until secondary zone is fully signed using NSEC
 for i in 1 2 3 4 5 6 7 8 9 0
 do
        ret=1
@@ -850,9 +850,9 @@ do
        [ $keys -eq 3 ] && ret=0 && break
        sleep 1
 done
-# Switch slave zone to NSEC3
+# Switch secondary zone to NSEC3
 $RNDCCMD 10.53.0.7 signing -nsec3param 1 0 2 12345678 $zone > /dev/null 2>&1
-# Wait until slave zone is fully signed using NSEC3
+# Wait until secondary zone is fully signed using NSEC3
 for i in 1 2 3 4 5 6 7 8 9 0
 do
        ret=1
@@ -860,7 +860,7 @@ do
        test "$nsec3param" = "1 0 2 12345678" && ret=0 && break
        sleep 1
 done
-# Attempt to retransfer the slave zone from master
+# Attempt to retransfer the secondary zone from primary
 $RNDCCMD 10.53.0.7 retransfer $zone
 # Check whether the signer managed to fully sign the retransferred zone by
 # waiting for a specific SOA serial number to appear in the logs; if this
@@ -917,7 +917,7 @@ n=`expr $n + 1`
 echo_i "check that reloading all zones does not cause zone maintenance to cease for inline-signed zones ($n)"
 ret=1
 # Ensure "rndc reload" attempts to load ns3/master.db by waiting 1 second so
-# that the master file modification time has no possibility of being equal to
+# that the file modification time has no possibility of being equal to
 # the one stored during server startup.
 sleep 1
 nextpart ns3/named.run > /dev/null
@@ -931,7 +931,7 @@ do
        fi
        sleep 1
 done
-# Sanity check: master file updates should be reflected in the signed zone,
+# Sanity check: file updates should be reflected in the signed zone,
 # i.e. SOA RNAME should no longer be set to "hostmaster".
 $DIG $DIGOPTS @10.53.0.3 master SOA > dig.out.ns3.test$n || ret=1
 grep "hostmaster" dig.out.ns3.test$n > /dev/null && ret=1
@@ -967,11 +967,11 @@ ret=0
 for zone in a b c d e f g h i j k l m n o p q r s t u v w x y z
 do
 $RNDCCMD 10.53.0.2 addzone test-$zone \
-       '{ type master; file "bits.db.in"; allow-transfer { any; }; };'
+       '{ type primary; file "bits.db.in"; allow-transfer { any; }; };'
 $DIG $DIGOPTS @10.53.0.2 test-$zone SOA > dig.out.ns2.$zone.test$n
 grep "status: NOERROR," dig.out.ns2.$zone.test$n  > /dev/null || { ret=1; cat dig.out.ns2.$zone.test$n; }
 $RNDCCMD 10.53.0.3 addzone test-$zone \
-       '{ type slave; masters { 10.53.0.2; }; file "'test-$zone.bk'"; inline-signing yes; auto-dnssec maintain; allow-transfer { any; }; };'
+       '{ type secondary; primaries { 10.53.0.2; }; file "'test-$zone.bk'"; inline-signing yes; auto-dnssec maintain; allow-transfer { any; }; };'
 $RNDCCMD 10.53.0.3 delzone test-$zone > /dev/null 2>&1
 done
 if [ $ret != 0 ]; then echo_i "failed"; fi
@@ -1183,7 +1183,7 @@ grep "RRSIG" dig.out.ns3.pre.test$n > /dev/null && ret=1
 # Ensure the wait_until_raw_zone_update_is_processed() call below will ignore
 # log messages generated before the raw zone is updated.
 nextpart ns3/named.run > /dev/null
-# Add a record to the raw zone on the master.
+# Add a record to the raw zone on the primary.
 $NSUPDATE << EOF || ret=1
 zone nokeys.
 server 10.53.0.2 ${PORT}
@@ -1212,7 +1212,7 @@ mv -f ns3/Kremovedkeys-primary* ns3/removedkeys
 # Ensure the wait_until_raw_zone_update_is_processed() call below will ignore
 # log messages generated before the raw zone is updated.
 nextpart ns3/named.run > /dev/null
-# Add a record to the raw zone on the master.
+# Add a record to the raw zone on the primary.
 $NSUPDATE << EOF || ret=1
 zone removedkeys-primary.
 server 10.53.0.3 ${PORT}
@@ -1269,7 +1269,7 @@ mv -f ns3/Kremovedkeys-secondary* ns3/removedkeys
 # Ensure the wait_until_raw_zone_update_is_processed() call below will ignore
 # log messages generated before the raw zone is updated.
 nextpart ns3/named.run > /dev/null
-# Add a record to the raw zone on the master.
+# Add a record to the raw zone on the primary.
 $NSUPDATE << EOF || ret=1
 zone removedkeys-secondary.
 server 10.53.0.2 ${PORT}
@@ -1296,7 +1296,7 @@ BUMPED_SOA=`sed -n 's/.*\(add removedkeys-secondary.*IN.*SOA\)/\1/p;' ns2/named.
 # Ensure the wait_until_raw_zone_update_is_processed() call below will ignore
 # log messages generated before the raw zone is updated.
 nextpart ns3/named.run > /dev/null
-# Bump the SOA serial number of the raw zone on the master.
+# Bump the SOA serial number of the raw zone on the primary.
 $NSUPDATE << EOF || ret=1
 zone removedkeys-secondary.
 server 10.53.0.2 ${PORT}
@@ -1313,7 +1313,7 @@ grep "RRSIG" dig.out.ns3.test$n > /dev/null || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-# Check that the master file $2 for zone $1 does not contain RRSIG records
+# Check that the file $2 for zone $1 does not contain RRSIG records
 # while the journal file for that zone does contain them.
 ensure_sigs_only_in_journal() {
        origin="$1"
@@ -1338,7 +1338,7 @@ check_done_signing () (
     [ $num -eq 2 ]
 )
 retry_quiet 10 check_done_signing || ret=1
-# Halt rather than stopping the server to prevent the master file from being
+# Halt rather than stopping the server to prevent the file from being
 # flushed upon shutdown since we specifically want to avoid it.
 $PERL $SYSTEMTESTTOP/stop.pl --use-rndc --halt --port ${CONTROLPORT} inline ns3
 ensure_sigs_only_in_journal delayedkeys ns3/delayedkeys.db.signed
@@ -1355,7 +1355,7 @@ nextpart ns3/named.run > /dev/null
 start_server --noclean --restart --port ${PORT} inline ns3
 # We can now test whether the secure zone journal was correctly processed:
 # unless the records contained in it were scheduled for resigning, no resigning
-# event will be scheduled at all since the secure zone master file contains no
+# event will be scheduled at all since the secure zone file contains no
 # DNSSEC records.
 wait_for_log 20 "all zones loaded" ns3/named.run || ret=1
 $RNDCCMD 10.53.0.3 zonestatus delayedkeys > rndc.out.ns3.post.test$n 2>&1 || ret=1
@@ -1364,18 +1364,18 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 n=`expr $n + 1`
 
-echo_i "check that zonestatus reports 'type: master' for a inline master zone ($n)"
+echo_i "check that zonestatus reports 'type: primary' for an inline primary zone ($n)"
 ret=0
 $RNDCCMD 10.53.0.3 zonestatus master > rndc.out.ns3.test$n
-grep "type: master" rndc.out.ns3.test$n > /dev/null || ret=1
+grep "type: primary" rndc.out.ns3.test$n > /dev/null || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "check that zonestatus reports 'type: slave' for a inline slave zone ($n)"
+echo_i "check that zonestatus reports 'type: secondary' for an inline secondary zone ($n)"
 ret=0
 $RNDCCMD 10.53.0.3 zonestatus bits > rndc.out.ns3.test$n
-grep "type: slave" rndc.out.ns3.test$n > /dev/null || ret=1
+grep "type: secondary" rndc.out.ns3.test$n > /dev/null || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
index bc043326eef64cc82ea490e7598b51ac8a93cea5..1f60cf35b0435ecf9b720d14c22ab5477aa101af 100644 (file)
@@ -29,83 +29,83 @@ zone "." {
 };
 
 zone "mx-cname-fail" {
-       type master;
+       type primary;
        check-integrity yes;
        check-mx-cname fail;
        file "mx-cname.db";
 };
 
 zone "mx-cname-warn" {
-       type master;
+       type primary;
        check-integrity yes;
        check-mx-cname warn;
        file "mx-cname.db";
 };
 
 zone "mx-cname-ignore" {
-       type master;
+       type primary;
        check-integrity yes;
        check-mx-cname ignore;
        file "mx-cname.db";
 };
 
 zone "no-mx-cname-fail" {
-       type master;
+       type primary;
        check-integrity no;
        check-mx-cname fail;
        file "mx-cname.db";
 };
 
 zone "no-mx-cname-warn" {
-       type master;
+       type primary;
        check-integrity no;
        check-mx-cname warn;
        file "mx-cname.db";
 };
 
 zone "no-mx-cname-ignore" {
-       type master;
+       type primary;
        check-integrity no;
        check-mx-cname ignore;
        file "mx-cname.db";
 };
 
 zone "srv-cname-fail" {
-       type master;
+       type primary;
        check-integrity yes;
        check-srv-cname fail;
        file "srv-cname.db";
 };
 
 zone "srv-cname-warn" {
-       type master;
+       type primary;
        check-integrity yes;
        check-srv-cname warn;
        file "srv-cname.db";
 };
 
 zone "srv-cname-ignore" {
-       type master;
+       type primary;
        check-integrity yes;
        check-srv-cname ignore;
        file "srv-cname.db";
 };
 zone "no-srv-cname-fail" {
-       type master;
+       type primary;
        check-integrity no;
        check-srv-cname fail;
        file "srv-cname.db";
 };
 
 zone "no-srv-cname-warn" {
-       type master;
+       type primary;
        check-integrity no;
        check-srv-cname warn;
        file "srv-cname.db";
 };
 
 zone "no-srv-cname-ignore" {
-       type master;
+       type primary;
        check-integrity no;
        check-srv-cname ignore;
        file "srv-cname.db";
index fe1f7567f63e32e2c1cf5f0fed707be8c68e7c47..96d5ab027af15e6ddd44e268b00cf35c306a1436 100644 (file)
@@ -35,16 +35,16 @@ view "primary" {
        ixfr-from-differences yes;
        request-ixfr yes;
        zone "test" IN {
-               type master;
+               type primary;
                file "mytest.db";
                max-ixfr-ratio 75%;
        };
        zone "sub.test" IN {
-               type master;
+               type primary;
                file "subtest.db";
        };
        zone "large" IN {
-               type master;
+               type primary;
                file "large.db";
        };
 };
index 601aed88a5bf8efe9dbed8d1fcf40eceac43ddc2..ef70229ad94f7d61461e5c8f6a2ada058ca16f87 100644 (file)
@@ -34,13 +34,13 @@ view "primary" {
        ixfr-from-differences yes;
        request-ixfr yes;
        zone "test" IN {
-               type slave;
+               type secondary;
                file "mytest.db";
                primaries { 10.53.0.3; };
                max-ixfr-ratio unlimited;
        };
        zone "sub.test" IN {
-               type slave;
+               type secondary;
                file "subtest.db";
                request-ixfr no;
                primaries { 10.53.0.3; };
index 71129f6a0bcb24aa1bccd3f7b2aa7d07e8db594a..a511d5b359fb61406b0cc6f65790fe143ed98d23 100644 (file)
@@ -35,12 +35,12 @@ view "primary" {
        ixfr-from-differences yes;
        request-ixfr yes;
        zone "test" IN {
-               type slave;
+               type secondary;
                file "mytest.db";
                primaries { 10.53.0.3; };
        };
        zone "sub.test" IN {
-               type slave;
+               type secondary;
                file "subtest.db";
                request-ixfr no;
                primaries { 10.53.0.3; };
index 775e5f2e121adb96efbc26f26f1c09431baab37a..60d77a97af73cf715aea0c757eb8f82c994c46a7 100644 (file)
@@ -56,13 +56,13 @@ sleep 1
 
 # Initially, ns1 is not authoritative for anything (see setup.sh).
 # Now that ans is up and running with the right data, we make it
-# a slave for nil.
+# a secondary for nil.
 
 cat <<EOF >>ns1/named.conf
 zone "nil" {
-       type slave;
+       type secondary;
        file "myftp.db";
-       masters { 10.53.0.2; };
+       primaries { 10.53.0.2; };
 };
 EOF
 
@@ -144,7 +144,7 @@ status=$((status+ret))
 
 n=$((n+1))
 echo_i "testing ixfr-from-differences option ($n)"
-# ns3 is master; ns4 is slave
+# ns3 is primary; ns4 is secondary
 $CHECKZONE test. ns3/mytest.db > /dev/null 2>&1
 if [ $? -ne 0 ]
 then
@@ -155,14 +155,14 @@ retry_quiet 10 wait_for_serial 10.53.0.4 test. 1 dig.out.test$n || ret=1
 
 nextpart ns4/named.run > /dev/null
 
-# modify the master
+# modify the primary
 cp ns3/mytest1.db ns3/mytest.db
 $RNDCCMD 10.53.0.3 reload | sed 's/^/ns3 /' | cat_i
 
-# wait for master to reload
+# wait for primary to reload
 retry_quiet 10 wait_for_serial 10.53.0.3 test. 2 dig.out.test$n || ret=1
 
-# wait for slave to reload
+# wait for secondary to reload
 tret=0
 retry_quiet 5 wait_for_serial 10.53.0.4 test. 2 dig.out.test$n || tret=1
 if [ $tret -eq 1 ]; then
@@ -187,10 +187,10 @@ cp ns3/subtest1.db ns3/subtest.db # change to sub.test zone, should be AXFR
 nextpart ns4/named.run > /dev/null
 $RNDCCMD 10.53.0.3 reload | sed 's/^/ns3 /' | cat_i
 
-# wait for master to reload
+# wait for primary to reload
 retry_quiet 10 wait_for_serial 10.53.0.3 sub.test. 3 dig.out.test$n || ret=1
 
-# wait for slave to reload
+# wait for secondary to reload
 tret=0
 retry_quiet 5 wait_for_serial 10.53.0.4 sub.test. 3 dig.out.test$n || tret=1
 if [ $tret -eq 1 ]; then
@@ -210,10 +210,10 @@ cp ns3/mytest2.db ns3/mytest.db # change to test zone, should be IXFR
 nextpart ns4/named.run > /dev/null
 $RNDCCMD 10.53.0.3 reload | sed 's/^/ns3 /' | cat_i
 
-# wait for master to reload
+# wait for primary to reload
 retry_quiet 10 wait_for_serial 10.53.0.3 test. 3 dig.out.test$n || ret=1
 
-# wait for slave to reload
+# wait for secondary to reload
 tret=0
 retry_quiet 5 wait_for_serial 10.53.0.4 test. 3 dig.out.test$n || tret=1
 if [ $tret -eq 1 ]; then
@@ -258,7 +258,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 # make sure ns5 has transfered the zone
-# wait for slave to reload
+# wait for secondary to reload
 tret=0
 retry_quiet 5 wait_for_serial 10.53.0.5 test. 4 dig.out.test$n || tret=1
 if [ $tret -eq 1 ]; then
@@ -346,7 +346,7 @@ nextpart ns4/named.run > /dev/null
 cp ns3/mytest3.db ns3/mytest.db # change to test zone, too big for IXFR
 $RNDCCMD 10.53.0.3 reload | sed 's/^/ns3 /' | cat_i
 
-# wait for slave to reload
+# wait for secondary to reload
 tret=0
 retry_quiet 5 wait_for_serial 10.53.0.4 test. 4 dig.out.test$n || tret=1
 if [ $tret -eq 1 ]; then
index cad71da5b4a96ee20adf3bcfc5e4c2f8d891ed1e..3168745d56b3897a50df9e8ecd70da6d91bc7be2 100644 (file)
@@ -36,14 +36,14 @@ controls {
 /* Inherit dnssec-policy (which is none) */
 
 zone "unsigned.tld" {
-       type master;
+       type primary;
        file "unsigned.tld.db";
 };
 
 /* Override dnssec-policy */
 
 zone "signed.tld" {
-       type master;
+       type primary;
        dnssec-policy "default";
        file "signed.tld.db";
 };
@@ -51,7 +51,7 @@ zone "signed.tld" {
 /* Primary service for ns3 */
 
 zone "secondary.kasp" {
-       type master;
+       type primary;
        file "secondary.kasp.db";
        allow-transfer { 10.53.0.3; };
        notify yes;
index 39460d5f1b7d4a094cdefd2c1ad10397885b997c..8a7f3ebd487ef54e6eb674441c9e58efef482b71 100644 (file)
@@ -40,41 +40,41 @@ controls {
 
 /* The default case: No keys created, using default policy. */
 zone "default.kasp" {
-       type master;
+       type primary;
        file "default.kasp.db";
        dnssec-policy "default";
 };
 
 /* Key lifetime unlimited. */
 zone "unlimited.kasp" {
-       type master;
+       type primary;
        file "unlimited.kasp.db";
        dnssec-policy "unlimited";
 };
 
 /* A master zone with dnssec-policy, no keys created. */
 zone "rsasha1.kasp" {
-       type master;
+       type primary;
        file "rsasha1.kasp.db";
        dnssec-policy "rsasha1";
 };
 
 /* A zone that inherits dnssec-policy. */
 zone "inherit.kasp" {
-       type master;
+       type primary;
        file "inherit.kasp.db";
 };
 
 /* A zone that overrides dnssec-policy. */
 zone "unsigned.kasp" {
-       type master;
+       type primary;
        file "unsigned.kasp.db";
        dnssec-policy "none";
 };
 
 /* A master zone with dnssec-policy but keys already created. */
 zone "dnssec-keygen.kasp" {
-       type master;
+       type primary;
        file "dnssec-keygen.kasp.db";
        dnssec-policy "rsasha1";
 };
@@ -89,7 +89,7 @@ zone "secondary.kasp" {
 
 /* A dynamic zone with dnssec-policy. */
 zone "dynamic.kasp" {
-       type master;
+       type primary;
        file "dynamic.kasp.db";
        dnssec-policy "default";
        allow-update { any; };
@@ -97,7 +97,7 @@ zone "dynamic.kasp" {
 
 /* A dynamic inline-signed zone with dnssec-policy. */
 zone "dynamic-inline-signing.kasp" {
-       type master;
+       type primary;
        file "dynamic-inline-signing.kasp.db";
        dnssec-policy "default";
        allow-update { any; };
@@ -106,7 +106,7 @@ zone "dynamic-inline-signing.kasp" {
 
 /* An inline-signed zone with dnssec-policy. */
 zone "inline-signing.kasp" {
-       type master;
+       type primary;
        file "inline-signing.kasp.db";
        dnssec-policy "default";
        inline-signing yes;
@@ -116,7 +116,7 @@ zone "inline-signing.kasp" {
  * A configured dnssec-policy but some keys already created.
  */
 zone "some-keys.kasp" {
-       type master;
+       type primary;
        file "some-keys.kasp.db";
        dnssec-policy "rsasha1";
 };
@@ -125,7 +125,7 @@ zone "some-keys.kasp" {
  * A configured dnssec-policy but some keys already in use.
  */
 zone "legacy-keys.kasp" {
-       type master;
+       type primary;
        file "legacy-keys.kasp.db";
        dnssec-policy "rsasha1";
 };
@@ -134,7 +134,7 @@ zone "legacy-keys.kasp" {
  * A configured dnssec-policy with (too) many keys pregenerated.
  */
 zone "pregenerated.kasp" {
-       type master;
+       type primary;
        file "pregenerated.kasp.db";
        dnssec-policy "rsasha1";
 };
@@ -144,7 +144,7 @@ zone "pregenerated.kasp" {
  * Bugfix case for GL #1593.
  */
 zone "rumoured.kasp" {
-       type master;
+       type primary;
        file "rumoured.kasp.db";
        dnssec-policy "rsasha1";
 };
@@ -153,27 +153,27 @@ zone "rumoured.kasp" {
  * Different algorithms.
  */
 zone "rsasha1-nsec3.kasp" {
-       type master;
+       type primary;
        file "rsasha1-nsec3.kasp.db";
        dnssec-policy "rsasha1-nsec3";
 };
 zone "rsasha256.kasp" {
-       type master;
+       type primary;
        file "rsasha256.kasp.db";
        dnssec-policy "rsasha256";
 };
 zone "rsasha512.kasp" {
-       type master;
+       type primary;
        file "rsasha512.kasp.db";
        dnssec-policy "rsasha512";
 };
 zone "ecdsa256.kasp" {
-       type master;
+       type primary;
        file "ecdsa256.kasp.db";
        dnssec-policy "ecdsa256";
 };
 zone "ecdsa384.kasp" {
-       type master;
+       type primary;
        file "ecdsa384.kasp.db";
        dnssec-policy "ecdsa384";
 };
@@ -186,7 +186,7 @@ zone "ecdsa384.kasp" {
  * Zone that has expired signatures.
  */
 zone "expired-sigs.autosign" {
-       type master;
+       type primary;
        file "expired-sigs.autosign.db";
        dnssec-policy "autosign";
 };
@@ -195,7 +195,7 @@ zone "expired-sigs.autosign" {
  * Zone that has valid, fresh signatures.
  */
 zone "fresh-sigs.autosign" {
-       type master;
+       type primary;
        file "fresh-sigs.autosign.db";
        dnssec-policy "autosign";
 };
@@ -204,7 +204,7 @@ zone "fresh-sigs.autosign" {
  * Zone that has unfresh signatures.
  */
 zone "unfresh-sigs.autosign" {
-       type master;
+       type primary;
        file "unfresh-sigs.autosign.db";
        dnssec-policy "autosign";
 };
@@ -213,7 +213,7 @@ zone "unfresh-sigs.autosign" {
  * Zone that has missing private ZSK.
  */
 zone "zsk-missing.autosign" {
-       type master;
+       type primary;
        file "zsk-missing.autosign.db";
        dnssec-policy "autosign";
 };
@@ -222,7 +222,7 @@ zone "zsk-missing.autosign" {
  * Zone that has inactive ZSK.
  */
 zone "zsk-retired.autosign" {
-       type master;
+       type primary;
        file "zsk-retired.autosign.db";
        dnssec-policy "autosign";
 };
@@ -231,22 +231,22 @@ zone "zsk-retired.autosign" {
  * Zones for testing enabling DNSSEC.
  */
 zone "step1.enable-dnssec.autosign" {
-       type master;
+       type primary;
        file "step1.enable-dnssec.autosign.db";
        dnssec-policy "enable-dnssec";
 };
 zone "step2.enable-dnssec.autosign" {
-       type master;
+       type primary;
        file "step2.enable-dnssec.autosign.db";
        dnssec-policy "enable-dnssec";
 };
 zone "step3.enable-dnssec.autosign" {
-       type master;
+       type primary;
        file "step3.enable-dnssec.autosign.db";
        dnssec-policy "enable-dnssec";
 };
 zone "step4.enable-dnssec.autosign" {
-       type master;
+       type primary;
        file "step4.enable-dnssec.autosign.db";
        dnssec-policy "enable-dnssec";
 };
@@ -255,27 +255,27 @@ zone "step4.enable-dnssec.autosign" {
  * Zones for testing ZSK Pre-Publication steps.
  */
 zone "step1.zsk-prepub.autosign" {
-       type master;
+       type primary;
        file "step1.zsk-prepub.autosign.db";
        dnssec-policy "zsk-prepub";
 };
 zone "step2.zsk-prepub.autosign" {
-       type master;
+       type primary;
        file "step2.zsk-prepub.autosign.db";
        dnssec-policy "zsk-prepub";
 };
 zone "step3.zsk-prepub.autosign" {
-       type master;
+       type primary;
        file "step3.zsk-prepub.autosign.db";
        dnssec-policy "zsk-prepub";
 };
 zone "step4.zsk-prepub.autosign" {
-       type master;
+       type primary;
        file "step4.zsk-prepub.autosign.db";
        dnssec-policy "zsk-prepub";
 };
 zone "step5.zsk-prepub.autosign" {
-       type master;
+       type primary;
        file "step5.zsk-prepub.autosign.db";
        dnssec-policy "zsk-prepub";
 };
@@ -284,27 +284,27 @@ zone "step5.zsk-prepub.autosign" {
  * Zones for testing KSK Double-KSK steps.
  */
 zone "step1.ksk-doubleksk.autosign" {
-       type master;
+       type primary;
        file "step1.ksk-doubleksk.autosign.db";
        dnssec-policy "ksk-doubleksk";
 };
 zone "step2.ksk-doubleksk.autosign" {
-       type master;
+       type primary;
        file "step2.ksk-doubleksk.autosign.db";
        dnssec-policy "ksk-doubleksk";
 };
 zone "step3.ksk-doubleksk.autosign" {
-       type master;
+       type primary;
        file "step3.ksk-doubleksk.autosign.db";
        dnssec-policy "ksk-doubleksk";
 };
 zone "step4.ksk-doubleksk.autosign" {
-       type master;
+       type primary;
        file "step4.ksk-doubleksk.autosign.db";
        dnssec-policy "ksk-doubleksk";
 };
 zone "step5.ksk-doubleksk.autosign" {
-       type master;
+       type primary;
        file "step5.ksk-doubleksk.autosign.db";
        dnssec-policy "ksk-doubleksk";
 };
@@ -313,68 +313,68 @@ zone "step5.ksk-doubleksk.autosign" {
  * Zones for testing CSK rollover steps.
  */
 zone "step1.csk-roll.autosign" {
-       type master;
+       type primary;
        file "step1.csk-roll.autosign.db";
        dnssec-policy "csk-roll";
 };
 zone "step2.csk-roll.autosign" {
-       type master;
+       type primary;
        file "step2.csk-roll.autosign.db";
        dnssec-policy "csk-roll";
 };
 zone "step3.csk-roll.autosign" {
-       type master;
+       type primary;
        file "step3.csk-roll.autosign.db";
        dnssec-policy "csk-roll";
 };
 zone "step4.csk-roll.autosign" {
-       type master;
+       type primary;
        file "step4.csk-roll.autosign.db";
        dnssec-policy "csk-roll";
 };
 zone "step5.csk-roll.autosign" {
-       type master;
+       type primary;
        file "step5.csk-roll.autosign.db";
        dnssec-policy "csk-roll";
 };
 zone "step6.csk-roll.autosign" {
-       type master;
+       type primary;
        file "step6.csk-roll.autosign.db";
        dnssec-policy "csk-roll";
 };
 zone "step7.csk-roll.autosign" {
-       type master;
+       type primary;
        file "step7.csk-roll.autosign.db";
        dnssec-policy "csk-roll";
 };
 
 zone "step1.csk-roll2.autosign" {
-       type master;
+       type primary;
        file "step1.csk-roll2.autosign.db";
        dnssec-policy "csk-roll2";
 };
 zone "step2.csk-roll2.autosign" {
-       type master;
+       type primary;
        file "step2.csk-roll2.autosign.db";
        dnssec-policy "csk-roll2";
 };
 zone "step3.csk-roll2.autosign" {
-       type master;
+       type primary;
        file "step3.csk-roll2.autosign.db";
        dnssec-policy "csk-roll2";
 };
 zone "step4.csk-roll2.autosign" {
-       type master;
+       type primary;
        file "step4.csk-roll2.autosign.db";
        dnssec-policy "csk-roll2";
 };
 zone "step5.csk-roll2.autosign" {
-       type master;
+       type primary;
        file "step5.csk-roll2.autosign.db";
        dnssec-policy "csk-roll2";
 };
 zone "step6.csk-roll2.autosign" {
-       type master;
+       type primary;
        file "step6.csk-roll2.autosign.db";
        dnssec-policy "csk-roll2";
 };
index 5f9b8c9fae70b52f2c9fd41ce2014ea0945e8781..5743d71ac180f2af15b64ab60b09d70ac0f23f9d 100644 (file)
@@ -66,20 +66,20 @@ view "inherit" {
 
        /* Inherit dnssec-policy 'test' */
        zone "inherit.inherit.signed" {
-               type master;
+               type primary;
                file "inherit.inherit.signed.db";
        };
 
        /* Override dnssec-policy */
        zone "override.inherit.signed" {
-               type master;
+               type primary;
                dnssec-policy "default";
                file "override.inherit.signed.db";
        };
 
        /* Unset dnssec-policy */
        zone "none.inherit.signed" {
-               type master;
+               type primary;
                dnssec-policy "none";
                file "none.inherit.signed.db";
        };
@@ -91,20 +91,20 @@ view "override" {
 
        /* Inherit dnssec-policy 'test' */
        zone "inherit.override.signed" {
-               type master;
+               type primary;
                file "inherit.override.signed.db";
        };
 
        /* Override dnssec-policy */
        zone "override.override.signed" {
-               type master;
+               type primary;
                dnssec-policy "test";
                file "override.override.signed.db";
        };
 
        /* Unset dnssec-policy */
        zone "none.override.signed" {
-               type master;
+               type primary;
                dnssec-policy "none";
                file "none.override.signed.db";
        };
@@ -116,20 +116,20 @@ view "none" {
 
        /* Inherit dnssec-policy 'none' */
        zone "inherit.none.signed" {
-               type master;
+               type primary;
                file "inherit.none.signed.db";
        };
 
        /* Override dnssec-policy */
        zone "override.none.signed" {
-               type master;
+               type primary;
                dnssec-policy "test";
                file "override.none.signed.db";
        };
 
        /* Unset dnssec-policy */
        zone "none.none.signed" {
-               type master;
+               type primary;
                dnssec-policy "none";
                file "none.none.signed.db";
        };
@@ -139,7 +139,7 @@ view "example1" {
        match-clients { key "keyforview1"; };
 
        zone "example.net" {
-               type master;
+               type primary;
                file "example1.db";
        };
 };
@@ -148,7 +148,7 @@ view "example2" {
        match-clients { key "keyforview2"; };
 
        zone "example.net" {
-               type master;
+               type primary;
                file "example2.db";
        };
 };
index 3601c7b16f4d4d6e454b6bdc005b68171719fd7d..a2f2fd19ef362798a5fc666366feb6fac629d080 100644 (file)
@@ -56,20 +56,20 @@ view "inherit" {
 
        /* Inherit dnssec-policy 'none' */
        zone "inherit.inherit.unsigned" {
-               type master;
+               type primary;
                file "inherit.inherit.unsigned.db";
        };
 
        /* Override dnssec-policy */
        zone "override.inherit.unsigned" {
-               type master;
+               type primary;
                dnssec-policy "default";
                file "override.inherit.unsigned.db";
        };
 
        /* Unset dnssec-policy */
        zone "none.inherit.unsigned" {
-               type master;
+               type primary;
                dnssec-policy "none";
                file "none.inherit.unsigned.db";
        };
@@ -81,20 +81,20 @@ view "override" {
 
        /* Inherit dnssec-policy 'default' */
        zone "inherit.override.unsigned" {
-               type master;
+               type primary;
                file "inherit.override.unsigned.db";
        };
 
        /* Override dnssec-policy */
        zone "override.override.unsigned" {
-               type master;
+               type primary;
                dnssec-policy "test";
                file "override.override.unsigned.db";
        };
 
        /* Unset dnssec-policy */
        zone "none.override.unsigned" {
-               type master;
+               type primary;
                dnssec-policy "none";
                file "none.override.unsigned.db";
        };
@@ -106,20 +106,20 @@ view "none" {
 
        /* Inherit dnssec-policy 'none' */
        zone "inherit.none.unsigned" {
-               type master;
+               type primary;
                file "inherit.none.unsigned.db";
        };
 
        /* Override dnssec-policy */
        zone "override.none.unsigned" {
-               type master;
+               type primary;
                dnssec-policy "test";
                file "override.none.unsigned.db";
        };
 
        /* Unset dnssec-policy */
        zone "none.none.unsigned" {
-               type master;
+               type primary;
                dnssec-policy "none";
                file "none.none.unsigned.db";
        };
index 943c95f12061de285a432125bc81bc223a16dc2e..5053329e4e49e5a157f0536569d863a8a774c29d 100644 (file)
@@ -38,7 +38,7 @@ controls {
 
 /* These are zones that migrate to dnssec-policy. */
 zone "migrate.kasp" {
-       type master;
+       type primary;
        file "migrate.kasp.db";
        auto-dnssec maintain;
        allow-update { any; };
@@ -47,7 +47,7 @@ zone "migrate.kasp" {
 };
 
 zone "migrate-nomatch-algnum.kasp" {
-       type master;
+       type primary;
        file "migrate-nomatch-algnum.kasp.db";
        auto-dnssec maintain;
        allow-update { any; };
@@ -56,7 +56,7 @@ zone "migrate-nomatch-algnum.kasp" {
 };
 
 zone "migrate-nomatch-alglen.kasp" {
-       type master;
+       type primary;
        file "migrate-nomatch-alglen.kasp.db";
        auto-dnssec maintain;
        allow-update { any; };
@@ -66,13 +66,13 @@ zone "migrate-nomatch-alglen.kasp" {
 
 /* These are alorithm rollover test zones. */
 zone "step1.algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step1.algorithm-roll.kasp.db";
        dnssec-policy "rsasha1";
 };
 
 zone "step1.csk-algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step1.csk-algorithm-roll.kasp.db";
        dnssec-policy "csk-algoroll";
 };
index 44059393218316cf30c749b7add179c84d8e7a77..d07ee9eb6ed359aa15bb221b556a860e9199ee75 100644 (file)
@@ -37,21 +37,21 @@ controls {
 
 /* These are zones that migrate to dnssec-policy. */
 zone "migrate.kasp" {
-       type master;
+       type primary;
        file "migrate.kasp.db";
        allow-update { any; };
        dnssec-policy "migrate";
 };
 
 zone "migrate-nomatch-algnum.kasp" {
-       type master;
+       type primary;
        file "migrate-nomatch-algnum.kasp.db";
        allow-update { any; };
        dnssec-policy "migrate-nomatch-algnum";
 };
 
 zone "migrate-nomatch-alglen.kasp" {
-       type master;
+       type primary;
        file "migrate-nomatch-alglen.kasp.db";
        allow-update { any; };
        dnssec-policy "migrate-nomatch-alglen";
@@ -61,37 +61,37 @@ zone "migrate-nomatch-alglen.kasp" {
  * Zones for testing KSK/ZSK algorithm roll.
  */
 zone "step1.algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step1.algorithm-roll.kasp.db";
        dnssec-policy "ecdsa256";
 };
 
 zone "step2.algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step2.algorithm-roll.kasp.db";
        dnssec-policy "ecdsa256";
 };
 
 zone "step3.algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step3.algorithm-roll.kasp.db";
        dnssec-policy "ecdsa256";
 };
 
 zone "step4.algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step4.algorithm-roll.kasp.db";
        dnssec-policy "ecdsa256";
 };
 
 zone "step5.algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step5.algorithm-roll.kasp.db";
        dnssec-policy "ecdsa256";
 };
 
 zone "step6.algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step6.algorithm-roll.kasp.db";
        dnssec-policy "ecdsa256";
 };
@@ -100,37 +100,37 @@ zone "step6.algorithm-roll.kasp" {
  * Zones for testing CSK algorithm roll.
  */
 zone "step1.csk-algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step1.csk-algorithm-roll.kasp.db";
        dnssec-policy "csk-algoroll";
 };
 
 zone "step2.csk-algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step2.csk-algorithm-roll.kasp.db";
        dnssec-policy "csk-algoroll";
 };
 
 zone "step3.csk-algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step3.csk-algorithm-roll.kasp.db";
        dnssec-policy "csk-algoroll";
 };
 
 zone "step4.csk-algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step4.csk-algorithm-roll.kasp.db";
        dnssec-policy "csk-algoroll";
 };
 
 zone "step5.csk-algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step5.csk-algorithm-roll.kasp.db";
        dnssec-policy "csk-algoroll";
 };
 
 zone "step6.csk-algorithm-roll.kasp" {
-       type master;
+       type primary;
        file "step6.csk-algorithm-roll.kasp.db";
        dnssec-policy "csk-algoroll";
 };
index 828bc40b7b44b0f018184f6a46265a1ce8d12d2c..88e0781ee8e5b51e0d0c30b5fdcaaece3ec6e948 100644 (file)
@@ -31,6 +31,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 4406a45e47ea9b6e4c9f662b4bf138646ce91098..c24fbdcabdd9c87d873064b73addf206ce352dd8 100644 (file)
@@ -38,6 +38,6 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index 06881906da30839f88241336c77c4d7e24275e22..67cac6684a749ae1452f2b23aa4cbea0a5ec8be0 100644 (file)
@@ -31,6 +31,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 9a5581786fa576b56f0145e693d9695f1ae3b713..f918dedec4b71e8439b89065f2314866f96adf3f 100644 (file)
@@ -22,7 +22,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
index e7bf8b256a5d3b03e15374aca38c4e45420f0be4..486ac7fea9fa75fc59561ca3d5f0b7d309ce12fb 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "ednsrefused" {
-       type master;
+       type primary;
        file "ednsrefused.db";
 };
index 1e0a55a889dfe55af10889145fe70338db256beb..740f1877529a1c5b5af7111ad949ba878891cfd9 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "dropedns" {
-       type master;
+       type primary;
        file "dropedns.db";
 };
index e4c2c1bab5cc9338381d8141731e340bd0094d4c..0fef64e300c3d3dc1d13d4f548a2b231699b8c17 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "dropedns-notcp" {
-       type master;
+       type primary;
        file "dropedns-notcp.db";
 };
index 068c99ec8b9bcba05b65103ca71ec9c889833e9c..17f8d4c7ad16c1992624c5a0e4c66144776ad8dd 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "plain" {
-       type master;
+       type primary;
        file "plain.db";
 };
index 283b174762919a742e674262164429a7f45797bc..bff6f2d04796e90a02a9867a612e9da7a00c1cb6 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "plain-notcp" {
-       type master;
+       type primary;
        file "plain-notcp.db";
 };
index a62ccf1db3991388bb4c759896a461f69d2cf8e4..4849ded2a5b4973f1327c948ddfdef68d7856de4 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "edns512" {
-       type master;
+       type primary;
        file "edns512.db.signed";
 };
index 6aa47013f70fb41d96ed0d20ee5cd93becd48a00..68bf98ce6bea8b269092d8f51020e3176c6470c2 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "edns512-notcp" {
-       type master;
+       type primary;
        file "edns512-notcp.db.signed";
 };
index dc4ce6b37b6bb02903e5a51bde2af17c9472e1c9..b743c7d278cb720567f49da7f1d04f5a5c755440 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "ednsformerr" {
-       type master;
+       type primary;
        file "ednsformerr.db";
 };
index 34ac3af85eb256a37b28a9065163a0821e756dba..4571dec4c109459e643568c812b1cacca4c8d838 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "ednsnotimp" {
-       type master;
+       type primary;
        file "ednsnotimp.db";
 };
index 2395de25d3c4cd66f2601854624b4350a18d31c1..a2724a4d3099765a6b8aa600adbd89a57217a9fd 100644 (file)
@@ -23,11 +23,11 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index dcc02d323e8dcb2f06042c7b721233dbfd8e5048..e64ca456f30b1c9c6c1deb03bd7257119cdd7099 100644 (file)
@@ -38,6 +38,6 @@ key "rndc-key" {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 0444b476c32968bb50ffd631b79293aae2852096..b8ad96c9bf1b95c75280aec8feb195676bd7764d 100644 (file)
@@ -38,6 +38,6 @@ key "rndc-key" {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 44e91984bc62775e8febb4137d9ff068a848df3a..186abd1b0b5680ac34480b156cf117ac2732cbce 100644 (file)
@@ -38,6 +38,6 @@ key "rndc-key" {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index cc8fe36bb8275637c56f233c9fc076c181e01bf5..ba48fa9b8e6f8f93eb371ecbb59d9acc2e44449b 100644 (file)
@@ -38,6 +38,6 @@ key "rndc-key" {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 0ef783254ab7d610561cf7edb39ef8764c445555..fff82940bfcaddc51decd3afdbc3d54a2cb30cb1 100644 (file)
@@ -46,6 +46,6 @@ key "rndc-key" {
 
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 75e0c793ed675f4aae72e8fefc0a695aba98ef53..3b6054a3daea812b46a7804b8649b98c6b83798a 100644 (file)
@@ -29,6 +29,6 @@ key "rndc-key" {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 34a0e1214c8b5a1ae8e4e9e7838bb1f28fe4d76e..32b0d1507db000563f5e7b778a74887e6ed546e8 100644 (file)
@@ -38,6 +38,6 @@ key "rndc-key" {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index a1d95c49253a91be19efc1f903ad398ef027dd0a..55df326abbb69975ae0ce2e4087bb71df4897749 100644 (file)
@@ -48,6 +48,6 @@ key "rndc-key" {
 
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index cca3982731acae265ae8a123b6d7641b785cc0a0..61080538f1b8f508a5d71647ee072ab77cbc9ad3 100644 (file)
@@ -48,6 +48,6 @@ key "rndc-key" {
 
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 6e293c7c7fba7786de1573fda4de89ec9dc61a4e..1310ba09b8931e6dcad2fa0c1d03083d2adb7322 100644 (file)
@@ -48,6 +48,6 @@ key "rndc-key" {
 
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 13a813d14f30fdab713b26cc24dc3c6a2832b818..38b18b7b4adbb5473eb50f8db4dea4cc21a163f2 100644 (file)
@@ -22,16 +22,16 @@ options {
 };
 
 zone "include" {
-       type master;
+       type primary;
        file "include.db";
 };
 
 zone "ttl1" {
-       type master;
+       type primary;
        file "ttl1.db";
 };
 
 zone "ttl2" {
-       type master;
+       type primary;
        file "ttl2.db";
 };
index 33201e4e38ed9c65a04c0a2c858af01ce911678a..ae41ffed87ce184e3e190684f37af296e988b9f1 100644 (file)
@@ -30,11 +30,11 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "missing" {
-       type master;
+       type primary;
        file "missing.db";
 };
index c1d92b7ffbce43c7286e9010aac5fe871133bb77..2b7c11c991e2e005d6b5bc8549ddb0f6fb9ff0ef 100644 (file)
@@ -32,51 +32,51 @@ controls {
 };
 
 zone "example" {
-       type master;
+       type primary;
        masterfile-format raw;
        file "example.db.raw";
 };
 
 zone "compat-example" {
-       type master;
+       type primary;
        masterfile-format raw;
        file "example.db.compat";
 };
 
 zone "transfer1" {
-       type master;
+       type primary;
        file "example.db";
        allow-transfer { any; };
 };
 
 zone "transfer2" {
-       type master;
+       type primary;
        file "example.db";
        allow-transfer { any; };
 };
 
 zone "transfer3" {
-       type master;
+       type primary;
        file "example.db";
        allow-transfer { any; };
 };
 
 zone "transfer4" {
-       type master;
+       type primary;
        file "example.db";
        allow-transfer { any; };
 };
 
 
 zone "large" {
-       type master;
+       type primary;
        file "large.db.raw";
        masterfile-format raw;
        allow-transfer { any; };
 };
 
 zone "signed" {
-       type master;
+       type primary;
        file "signed.db.map";
        masterfile-format map;
        allow-transfer { any; };
index d4ce9713217325fdeb663bccb735a72fb44f1b66..4df1d37990efe06d9f15c13ba4a7a1cc95f32659 100644 (file)
@@ -22,31 +22,31 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "transfer1" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "transfer.db.raw";
 };
 
 zone "transfer2" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        masterfile-format text;
        file "transfer.db.txt";
 };
 
 zone "transfer3" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "formerly-text.db";
 };
 
 zone "transfer4" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        masterfile-format text;
        masterfile-style full;
@@ -54,7 +54,7 @@ zone "transfer4" {
 };
 
 zone "large" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        masterfile-format raw;
        file "large.bk";
index 032505a3002a5abbdd52a1234dd75cfb7834c5d7..075e4c1b14ec237bcfaf40548df712eb08bbc6f5 100644 (file)
@@ -30,13 +30,13 @@ controls {
 };
 
 zone "example" {
-       type master;
+       type primary;
        masterfile-format map;
        file "example.db.map";
 };
 
 zone "dynamic" {
-       type master;
+       type primary;
        masterfile-format map;
        file "dynamic.db.map";
        allow-update { any; };
index 1dbd212d22d97d702bd598a7ac1a21ae2e0e8b3a..05ff3e659b09588484d6498d8b19ddf2a8c6d0ad 100755 (executable)
@@ -93,7 +93,7 @@ rndccmd() {
 
 status=0
 
-echo_i "checking that master files in raw format loaded ($n)"
+echo_i "checking that files in raw format loaded ($n)"
 ret=0
 set -- 1 2 3
 for zone in example example-explicit example-compat; do
@@ -148,14 +148,14 @@ do
        sleep 1
 done
 
-echo_i "checking that slave was saved in raw format by default ($n)"
+echo_i "checking that secondary was saved in raw format by default ($n)"
 ret=0
 israw ns2/transfer.db.raw || ret=1
 n=$((n+1))
 [ $ret -eq 0 ] || echo_i "failed"
 status=$((status+ret))
 
-echo_i "checking that slave was saved in text format when configured ($n)"
+echo_i "checking that secondary was saved in text format when configured ($n)"
 ret=0
 israw ns2/transfer.db.txt && ret=1
 isfull ns2/transfer.db.txt && ret=1
@@ -163,14 +163,14 @@ n=$((n+1))
 [ $ret -eq 0 ] || echo_i "failed"
 status=$((status+ret))
 
-echo_i "checking that slave was saved in 'full' style when configured ($n)"
+echo_i "checking that secondary was saved in 'full' style when configured ($n)"
 ret=0
 isfull ns2/transfer.db.full > /dev/null 2>&1 || ret=1
 n=$((n+1))
 [ $ret -eq 0 ] || echo_i "failed"
 status=$((status+ret))
 
-echo_i "checking that slave formerly in text format is now raw ($n)"
+echo_i "checking that secondary formerly in text format is now raw ($n)"
 for i in 0 1 2 3 4 5 6 7 8 9
 do
     ret=0
index 3f12a2f4f0cccf6502abb7c22c6442a0ffeaa1ec..fda17f1c7abef6184b2cffe0b0ff66189f3efd4e 100644 (file)
@@ -21,6 +21,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
index f3e78c456974b11793ef164ed17b613fc531b800..b915904efcae957a2a588612345fa529d0595add 100644 (file)
@@ -30,54 +30,54 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db.signed";
 };
 
 zone "sub.example" {
-       type master;
+       type primary;
        file "sub.example.db.signed";
 };
 
 zone "initially-unavailable" {
-       type master;
+       type primary;
        file "initially-unavailable.db.signed";
        allow-transfer { 10.53.0.254; };
 };
 
 zone "verify-addzone" {
-       type master;
+       type primary;
        file "verify-addzone.db.original.signed";
 };
 
 zone "verify-axfr" {
-       type master;
+       type primary;
        file "verify-axfr.db.signed";
 };
 
 zone "verify-csk" {
-       type master;
+       type primary;
        file "verify-csk.db.signed";
 };
 
 zone "verify-ixfr" {
-       type master;
+       type primary;
        file "verify-ixfr.db.signed";
        ixfr-from-differences yes;
        allow-transfer { 10.53.0.3; };
 };
 
 zone "verify-reconfig" {
-       type master;
+       type primary;
        file "verify-reconfig.db.signed";
 };
 
 zone "verify-unsigned" {
-       type master;
+       type primary;
        file "verify.db.in";
 };
 
 zone "verify-untrusted" {
-       type master;
+       type primary;
        file "verify-untrusted.db.signed";
 };
index 1dc6819037571cbcba5fae246b7bd35ea5be1176..a62767b07977d61d0a759932194265138b772823 100644 (file)
 DIGOPTS="-p ${PORT} -b 10.53.0.1 +dnssec +time=2 +tries=1 +multi"
 RNDCCMD="$RNDC -c $SYSTEMTESTTOP/common/rndc.conf -p ${CONTROLPORT} -s"
 
-# Wait until the transfer of the given zone to ns3 either completes successfully
-# or is aborted by a verification failure or a REFUSED response from the master.
-# Note that matching on any transfer status is deliberately avoided because some
-# checks performed by this test cause transfer attempts to end with the "IXFR
-# failed" status, which is followed by an AXFR retry and this test needs to
-# check what the result of the latter transfer attempt is.
+# Wait until the transfer of the given zone to ns3 either completes
+# successfully or is aborted by a verification failure or a REFUSED response
+# from the primary.  Note that matching on any transfer status is deliberately
+# avoided because some checks performed by this test cause transfer attempts to
+# end with the "IXFR failed" status, which is followed by an AXFR retry and
+# this test needs to check what the result of the latter transfer attempt is.
 wait_for_transfer() {
        zone=$1
        for i in 1 2 3 4 5 6 7 8 9 10; do
@@ -375,7 +375,7 @@ echo_i "checking that resolution succeeds with unavailable mirror zone data ($n)
 ret=0
 wait_for_transfer initially-unavailable
 # Query for a record in a zone that is set up to be mirrored, but
-# untransferrable from the configured master.  Resolution should still succeed.
+# untransferrable from the configured primary.  Resolution should still succeed.
 $DIG $DIGOPTS @10.53.0.3 foo.initially-unavailable. A > dig.out.ns3.test$n.1 2>&1 || ret=1
 # Check response code and flags in the answer.
 grep "NOERROR" dig.out.ns3.test$n.1 > /dev/null || ret=1
@@ -468,7 +468,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking that \"rndc reconfig\" properly handles a mirror -> slave zone type change ($n)"
+echo_i "checking that \"rndc reconfig\" properly handles a mirror -> secondary zone type change ($n)"
 ret=0
 # Sanity check before we start.
 $DIG $DIGOPTS @10.53.0.3 +norec verify-reconfig SOA > dig.out.ns3.test$n.1 2>&1 || ret=1
@@ -478,7 +478,7 @@ grep "flags:.* ad" dig.out.ns3.test$n.1 > /dev/null || ret=1
 # Reconfigure the zone so that it is no longer a mirror zone.
 # (NOTE: Keep the embedded newline in the sed function list below.)
 sed '/^zone "verify-reconfig" {$/,/^};$/ {
-       s/type mirror;/type slave;/
+       s/type mirror;/type secondary;/
 }' ns3/named.conf > ns3/named.conf.modified
 mv ns3/named.conf.modified ns3/named.conf
 nextpart ns3/named.run > /dev/null
@@ -495,7 +495,7 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 n=`expr $n + 1`
-echo_i "checking that \"rndc reconfig\" properly handles a slave -> mirror zone type change ($n)"
+echo_i "checking that \"rndc reconfig\" properly handles a secondary -> mirror zone type change ($n)"
 ret=0
 # Put an incorrectly signed version of the zone in the zone file used by ns3.
 nextpart ns3/named.run > /dev/null
@@ -503,7 +503,7 @@ cat ns2/verify-reconfig.db.bad.signed > ns3/verify-reconfig.db.mirror
 # Reconfigure the zone so that it is a mirror zone again.
 # (NOTE: Keep the embedded newline in the sed function list below.)
 sed '/^zone "verify-reconfig" {$/,/^};$/ {
-       s/type slave;/type mirror;/
+       s/type secondary;/type mirror;/
 }' ns3/named.conf > ns3/named.conf.modified
 mv ns3/named.conf.modified ns3/named.conf
 rndc_reconfig ns3 10.53.0.3
@@ -525,7 +525,7 @@ grep "flags:.* aa" dig.out.ns3.test$n.1 > /dev/null && ret=1
 grep "flags:.* ad" dig.out.ns3.test$n.1 > /dev/null || ret=1
 # Mirror a zone which does not exist in the root zone.
 nextpart ns3/named.run > /dev/null
-$RNDCCMD 10.53.0.3 addzone verify-addzone '{ type mirror; masters { 10.53.0.2; }; };' > rndc.out.ns3.test$n 2>&1 || ret=1
+$RNDCCMD 10.53.0.3 addzone verify-addzone '{ type mirror; primaries { 10.53.0.2; }; };' > rndc.out.ns3.test$n 2>&1 || ret=1
 wait_for_transfer verify-addzone
 # Check whether the mirror zone was added and whether it behaves as expected.
 $DIG $DIGOPTS @10.53.0.3 +norec verify-addzone SOA > dig.out.ns3.test$n.2 2>&1 || ret=1
index 807cd00e9075b76525f9934d751c6d70a6e573d2..9033a2a22642bb5f9e952ed9381c92a29df3f2b3 100644 (file)
@@ -40,7 +40,7 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
        allow-update { any; };
        auto-dnssec maintain;
index b9aae000e205d8789f1eac220bff4f6f5d778530..5b71d11e195b39817c302c355717e9fed3610223 100644 (file)
@@ -40,6 +40,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
index 9f563ad6a330060eef93ebc37549b83a12f83603..8944c7717119ad91244ada4faaee02951947a321 100644 (file)
@@ -34,6 +34,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
index f885cc9a97aea8c5129817a94564d4637a989e7e..9b88e099e6b7e43e650f0fb016932e85867e6c7c 100644 (file)
@@ -27,7 +27,7 @@ options {
 view compress {
        match-clients { 10.53.0.1/32; };
        zone "example" {
-               type master;
+               type primary;
                file "example.db";
        };
 };
@@ -36,7 +36,7 @@ view nocompress {
        match-clients { 10.53.0.2/32; };
        message-compression no;
        zone "example" {
-               type master;
+               type primary;
                file "example.db";
        };
 };
index b4a2fa8c05fb522689580594c56025d36a142323..6bbbe90ea1ff55bd576d9768c1fc1167d348fae7 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 464503d2871a322b10d2936fd80230a186f9d6b9..d29abe32049b218972e91023f8f096904db6e313 100644 (file)
@@ -37,34 +37,46 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        // Check that named can handle a empty also-notify.
        also-notify { /* empty */ };
 };
 
+# use both 'primaries' and 'masters' to test that they
+# can work correctly together.
 primaries noport { 10.53.0.4; };
+masters x21 port @EXTRAPORT1@ { noport; };
 
-primaries x21 port @EXTRAPORT1@ { noport; };
+zone x1 {
+    type primary;
+       file "generic.db";
+       also-notify { 10.53.0.3; };
+    notify primary-only;
+};
+zone x2 {
+    type primary;
+       file "generic.db";
+       also-notify { 10.53.0.3; };
+    notify master-only; # test old syntax
+};
 
-zone x1 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x2 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x3 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x4 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x5 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x6 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x7 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x8 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x9 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x10 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x11 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x12 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x13 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x14 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x15 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x16 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x17 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x18 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x19 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x20 { type master; file "generic.db"; also-notify { 10.53.0.3; }; };
-zone x21 { type master; file "x21.db"; allow-update { any; }; also-notify { x21; }; };
+zone x3 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x4 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x5 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x6 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x7 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x8 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x9 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x10 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x11 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x12 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x13 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x14 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x15 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x16 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x17 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x18 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x19 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x20 { type primary; file "generic.db"; also-notify { 10.53.0.3; }; };
+zone x21 { type primary; file "x21.db"; allow-update { any; }; also-notify { x21; }; };
index f0e47c116a59d0899ef2348ec51b7eb3f8dfa37d..2f8e1eec19f92a7f6807cabcd421af316db47079 100644 (file)
@@ -27,7 +27,7 @@ zone "." {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "example.bk";
 };
index 72a737f97b0d0eac8d5d3c394f6e49cef6cb1515..d1fdae8ea6f23c647abf6c1bdf5dac0472917333 100644 (file)
@@ -27,7 +27,7 @@ zone "." {
 };
 
 zone "x21" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2 port @PORT@; };
        file "x21.bk";
 };
index 7fe80f50e2e460633cea623faada64b0d2e79d0f..1ee8df4d3fa7315ffccfa5a0cfb8e43548e8fc57 100644 (file)
@@ -39,7 +39,7 @@ options {
 view "a" {
        match-clients { key "a"; };
        zone "x21" {
-               type master;
+               type primary;
                also-notify { 10.53.0.5 key "b"; 10.53.0.5 key "c"; };
                file "x21.db";
                allow-update { any; };
@@ -49,7 +49,7 @@ view "a" {
 view "b" {
        match-clients { key "b"; };
        zone "x21" {
-               type slave;
+               type secondary;
                primaries { 10.53.0.5 key "a"; };
                file "x21.bk-b";
                notify no;
@@ -59,7 +59,7 @@ view "b" {
 view "c" {
        match-clients { key "c"; };
        zone "x21" {
-               type slave;
+               type secondary;
                primaries { 10.53.0.5 key "a"; };
                file "x21.bk-c";
                notify no;
index 2be830f3405b85bf50b96a7b69c21c445a62805b..bc44f5788f9e7cc036b7ab8036fa4337ce86195f 100644 (file)
@@ -21,11 +21,11 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.net.db";
 };
index 7ed8e14429fda3558e812936fa89bed5d8ce2e02..b20912e86c974ed0e9cb2c1dff051f2518146606 100644 (file)
@@ -40,7 +40,7 @@ key altkey {
 include "ddns.key";
 
 zone "example.nil" {
-       type master;
+       type primary;
        file "example.db";
        check-integrity no;
        check-mx ignore;
@@ -51,7 +51,7 @@ zone "example.nil" {
 };
 
 zone "max-ttl.nil" {
-       type master;
+       type primary;
        file "max-ttl.db";
        max-zone-ttl 300;
        check-integrity no;
@@ -60,7 +60,7 @@ zone "max-ttl.nil" {
 };
 
 zone "other.nil" {
-       type master;
+       type primary;
        file "other.db";
        check-integrity no;
        check-mx warn;
@@ -75,7 +75,7 @@ primaries others {
 };
 
 zone "update.nil" {
-       type master;
+       type primary;
        file "update.db";
        check-integrity no;
        check-mx fail;
@@ -85,7 +85,7 @@ zone "update.nil" {
 };
 
 zone "unixtime.nil" {
-       type master;
+       type primary;
        file "unixtime.db";
        check-integrity no;
        allow-update { any; };
@@ -94,7 +94,7 @@ zone "unixtime.nil" {
 };
 
 zone "yyyymmddvv.nil" {
-       type master;
+       type primary;
        file "yyyymmddvv.db";
        check-integrity no;
        allow-update { any; };
@@ -110,7 +110,7 @@ include "sha384.key";
 include "sha512.key";
 
 zone "keytests.nil" {
-       type master;
+       type primary;
        file "keytests.db";
        update-policy {
            grant md5-key name md5.keytests.nil. ANY;
@@ -123,19 +123,19 @@ zone "keytests.nil" {
 };
 
 zone "many.test" {
-       type master;
+       type primary;
        allow-update { any; };
        file "many.test.db";
 };
 
 zone "sample" {
-       type master;
+       type primary;
        allow-update { any; };
        file "sample.db";
 };
 
 zone "maxjournal.test" {
-       type master;
+       type primary;
        allow-update { any; };
        file "maxjournal.db";
        max-journal-size default;
index 44b207a077b7a58e41986c6dcab06d4ff5a7fbd1..457d96b4f89b663fb993567c1a862caf068e9a32 100644 (file)
@@ -33,13 +33,13 @@ controls {
 };
 
 zone "in-addr.arpa" {
-       type master;
+       type primary;
        file "in-addr.db";
        update-policy { grant EXAMPLE.COM ms-subdomain . PTR; };
 };
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant EXAMPLE.COM ms-selfsub . ANY;
index 16a4a8583deae7e12726947da36afaa0c9e521f0..da6b3b4e30e2841a811ca74679ea30b28cc109e2 100644 (file)
@@ -40,7 +40,7 @@ view alternate {
        match-clients { key altkey; };
 
        zone "update.nil" {
-               type slave;
+               type secondary;
                primaries { 10.53.0.1; };
                file "update.alt.bk";
                allow-transfer { any; };
@@ -51,21 +51,21 @@ view primary {
        match-clients { any; };
 
        zone "example.nil" {
-               type slave;
+               type secondary;
                primaries { 10.53.0.1; };
                file "example.bk";
                allow-transfer { any; };
        };
 
        zone "update.nil" {
-               type slave;
+               type secondary;
                primaries { 10.53.0.1; };
                file "update.bk";
                allow-transfer { any; };
        };
 
        zone "sample" {
-               type master;
+               type primary;
                allow-update { any; };
                file "sample.db";
        };
index c9ca9c2e9c2ebb85fd32799ff6ec618cb55807a2..f658a19b1bec739c9bbdb4e7c3d1959764e495eb 100644 (file)
@@ -25,38 +25,38 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        allow-update { any; };
        file "example.db";
 };
 
 zone "nsec3param.test" {
-       type master;
+       type primary;
        allow-update { any; };
        file "nsec3param.test.db.signed";
 };
 
 zone "dnskey.test" {
-       type master;
+       type primary;
        allow-update { any; };
        file "dnskey.test.db.signed";
 };
 
 zone "many.test" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        allow-update-forwarding { any; };
        file "many.test.bk";
 };
 
 zone "delegation.test" {
-       type master;
+       type primary;
        allow-update { any; };
        file "delegation.test.db.signed";
 };
 
 zone "too-big.test" {
-       type master;
+       type primary;
        allow-update { any; };
        max-records 3;
        file "too-big.test.db";
index 2ffacb1e65fb0012d9aa921e85878aa67285c9fa..78411898c77e3c840afc4f96d8524a3b1766e35e 100644 (file)
@@ -32,7 +32,7 @@ controls {
 };
 
 zone "local.nil" {
-       type master;
+       type primary;
        file "local.db";
        update-policy local;
 };
index b4ec11a326293adea0c6f5cfa2751c7a46b164ee..adb2627b865dbb062cffae29b638f5d491bc6fa5 100644 (file)
@@ -32,7 +32,7 @@ controls {
 };
 
 zone "in-addr.arpa" {
-       type master;
+       type primary;
        file "in-addr.db";
        update-policy { grant * tcp-self . PTR(1) ANY(2) A; };
 };
index f0ef6d365579d8774745a1cdcac270d290ee6e0a..49a3e3b08b5f13f9e29a598c55c9a20f688bd770 100644 (file)
@@ -33,13 +33,13 @@ controls {
 };
 
 zone "in-addr.arpa" {
-       type master;
+       type primary;
        file "in-addr.db";
        update-policy { grant EXAMPLE.COM krb5-subdomain . PTR; };
 };
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant EXAMPLE.COM krb5-self . ANY;
index 56195cd2d48b9c0f719800d63a5fb560c4629bc3..92792db68042b26ee3c48d5d9dfe0d6fd771b232 100644 (file)
@@ -33,13 +33,13 @@ controls {
 };
 
 zone "in-addr.arpa" {
-       type master;
+       type primary;
        file "in-addr.db";
        update-policy { grant EXAMPLE.COM krb5-subdomain . PTR; };
 };
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant EXAMPLE.COM krb5-selfsub . ANY;
index 1b41cc6421544f456536d41479229ffd9a57f4bd..88c0d7a70957c6af9493b744aa34502599cdbfe2 100644 (file)
@@ -33,13 +33,13 @@ controls {
 };
 
 zone "in-addr.arpa" {
-       type master;
+       type primary;
        file "in-addr.db";
        update-policy { grant EXAMPLE.COM ms-subdomain . PTR; };
 };
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant EXAMPLE.COM ms-self . ANY;
index 055161b4b740505475884280365c5e711cc06a83..8afa71cd9036871295b78a2973e186db90d74695 100755 (executable)
@@ -362,7 +362,7 @@ digcomp dig.out.ns1 dig.out.ns1.after || ret=1
 echo_i "begin RT #482 regression test"
 
 ret=0
-echo_i "update master"
+echo_i "update primary"
 $NSUPDATE -k ns1/ddns.key <<END > /dev/null || ret=1
 server 10.53.0.1 ${PORT}
 update add updated2.example.nil. 600 A 10.10.10.2
@@ -375,17 +375,17 @@ END
 sleep 5
 
 if [ ! "$CYGWIN" ]; then
-    echo_i "SIGHUP slave"
+    echo_i "SIGHUP secondary"
     $KILL -HUP `cat ns2/named.pid`
 else
-    echo_i "reload slave"
+    echo_i "reload secondary"
     rndc_reload ns2 10.53.0.2
 fi
 
 sleep 5
 
 ret=0
-echo_i "update master again"
+echo_i "update primary again"
 $NSUPDATE -k ns1/ddns.key <<END > /dev/null || ret=1
 server 10.53.0.1 ${PORT}
 update add updated3.example.nil. 600 A 10.10.10.3
@@ -398,10 +398,10 @@ END
 sleep 5
 
 if [ ! "$CYGWIN" ]; then
-    echo_i "SIGHUP slave again"
+    echo_i "SIGHUP secondary again"
     $KILL -HUP `cat ns2/named.pid`
 else
-    echo_i "reload slave again"
+    echo_i "reload secondary again"
     rndc_reload ns2 10.53.0.2
 fi
 
@@ -508,7 +508,7 @@ if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $ret + $status`; fi
 
 
 ret=0
-echo_i "testing that rndc stop updates the master file"
+echo_i "testing that rndc stop updates the file"
 $NSUPDATE -k ns1/ddns.key <<END > /dev/null || ret=1
 server 10.53.0.1 ${PORT}
 update add updated4.example.nil. 600 A 10.10.10.3
@@ -519,7 +519,7 @@ $PERL $SYSTEMTESTTOP/stop.pl --use-rndc --port ${CONTROLPORT} nsupdate ns1
 sleep 3
 # Removing the journal file and restarting the server means
 # that the data served by the new server process are exactly
-# those dumped to the master file by "rndc stop".
+# those dumped to the file by "rndc stop".
 rm -f ns1/*jnl
 start_server --noclean --restart --port ${PORT} nsupdate ns1
 for try in 0 1 2 3 4 5 6 7 8 9; do
@@ -924,7 +924,7 @@ grep "records in zone (4) exceeds max-records (3)" ns3/named.run > /dev/null ||
 
 n=`expr $n + 1`
 ret=0
-echo_i "check whether valid addresses are used for master failover ($n)"
+echo_i "check whether valid addresses are used for primary failover ($n)"
 $NSUPDATE -t 1 <<END > nsupdate.out-$n 2>&1 && ret=1
 server 10.53.0.4 ${PORT}
 zone unreachable.
index 828bc40b7b44b0f018184f6a46265a1ce8d12d2c..88e0781ee8e5b51e0d0c30b5fdcaaece3ec6e948 100644 (file)
@@ -31,6 +31,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 4263cafd84b17a43f2639d6f4d87a318c2b2a92a..89fa9536515c112096a594adc86b34bea4b4e763 100644 (file)
@@ -38,6 +38,6 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index e36b0b1135d628f00e91af7b6a7cd339c48c7f59..09e5d85d0b24ccebae92f6578607b55f1874b976 100644 (file)
@@ -23,6 +23,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
index ef066e3289437587cd73dd31517fad2b2ca3e03c..1930ae338787636c19768b804dde578838d1f88c 100644 (file)
@@ -32,18 +32,18 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db.signed";
 };
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db.signed";
        allow-update { 10.53.0.0/16; };
 };
 
 zone "good" {
-       type master;
+       type primary;
        file "forgery.db";
        allow-query { any; };
 };
index a701e8d2e3961dcc73fdaad5cbbce9a9cfe0a64f..6385aa10a092304d5769a2ea3aa95c4e0414b3b0 100644 (file)
@@ -32,11 +32,11 @@ zone "." {
 };
 
 zone "mail.example" {
-       type master;
+       type primary;
        file "mail.example.db";
 };
 
 zone "hostile" {
-       type master;
+       type primary;
        file "hostile.db";
 };
index 1a6ec06b4d4f9df7f2440ce953d1d398bf90ac58..bf8ed04fc17104e6baaad36895b05154ce0cb855 100644 (file)
@@ -32,6 +32,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 291e66ab06cfb200bbd3abb6b1201ae91a620dbb..9727ca90520a3484ed868dda16ee88807a4c77a4 100644 (file)
@@ -37,7 +37,7 @@ zone "." {
 };
 
 zone "examplea" {
-       type master;
+       type primary;
        file "examplea.db";
        allow-update { any; };
 };
index 25614d865f6cee091e72591127e0e235e376142b..0bee9dc576ba764d6219015df8ee6f1b81eeaa8d 100644 (file)
@@ -37,7 +37,7 @@ zone "." {
 };
 
 zone "exampleb" {
-       type master;
+       type primary;
        file "exampleb.db";
        allow-update { any; };
 };
index 2787ad1a80576a743e1a332cc41e88349e110652..bc85fc75d0680fb7ecfd2b6ea80215d79f636ac3 100644 (file)
@@ -80,7 +80,7 @@ for algbits in rsasha256:2048 rsasha512:2048 ecdsap256sha256:256 ecdsap384sha384
 
        cat >> ns1/named.conf <<EOF
 zone "$alg.example." {
-       type master;
+       type primary;
        file "$alg.example.db.signed";
        allow-update { any; };
 };
index d1ab47dbdb63e9e66ba8a258ccd339c7f7650580..13e10aca487f4f3bb821e86c1483360138050d5d 100644 (file)
@@ -25,6 +25,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 00fa44b3baa189ae0b598ffdbf13b4ff30927101..3eb07b7fd3050cef65a9ae9eca786be4eb304708 100644 (file)
@@ -22,4 +22,4 @@ options {
        dnssec-validation no;
 };
 
-zone "." { type master; file "root.db"; };
+zone "." { type primary; file "root.db"; };
index 3d91ba3b0a823a8ff75a3e4480f764371ba4cabd..bd70d6dbe1151f35e972a0ed52e30ef720abbf24 100644 (file)
@@ -10,9 +10,9 @@
  */
 
 zone "." {
-       type slave;
-       file "slave.db";
-       masters { 1.2.3.4; };
+       type secondary;
+       file "sec.db";
+       primaries { 1.2.3.4; };
 };
 
 zone "." {
index 8a61776b077e334b1c119445ffc432af878a9bd7..6afaa6bb971653cd9737e363802e89eb222346c4 100644 (file)
@@ -27,22 +27,22 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "signed" {
-       type master;
+       type primary;
        file "signed.db.signed";
 };
 
 zone "nsec3" {
-       type master;
+       type primary;
        file "nsec3.db.signed";
 };
 
index 0ab3bab559f6e8d45f943263c2cd277fc548d849..e2d74e7ef0a6d68fc38fdee3ad30660cb4c7247d 100644 (file)
@@ -50,6 +50,6 @@ zone "." {
 };
 
 zone "example.nil" {
-       type master;
+       type primary;
        file "example.db";
 };
index feab73cb12c4cd8757e3c9a4502b3aa37c976020..53e6a7f67c2334e2e9219897ceda78dfa8b34314 100644 (file)
@@ -25,27 +25,27 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "signed" {
-       type master;
+       type primary;
        file "signed.db.signed";
 };
 
 zone "nsec3" {
-       type master;
+       type primary;
        file "nsec3.db.signed";
 };
 
 zone "redirect" {
-       type master;
+       type primary;
        file "redirect.db";
 };
 
index c6003441fa6c1ac80963d8ad1bf73076e0d25c6e..104619fb616a5928048eb13a27bb606c328f6e3a 100644 (file)
@@ -44,6 +44,6 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index e06deb02a945aa9ee6a143a72edfdafad6b2c9ce..6987f7e656de774e5c5c409e6d6975abdc8239f2 100644 (file)
@@ -19,12 +19,12 @@ options {
 };
 
 zone "." {
-        type master;
+        type primary;
         file "root.db.signed";
 };
 
 // An unsigned zone that ns6 has a delegation for.
 zone "unsigned." {
-        type master;
+        type primary;
         file "unsigned.db";
 };
index bca355c3ea2806311dd8c89b27f5e882faa22f6c..71aa56df6801b4ec8224ae4caef445f340098751 100644 (file)
@@ -19,12 +19,12 @@ options {
 };
 
 zone "." {
-        type master;
+        type primary;
         file "root.db";
 };
 
 // A signed zone that ns5 has a delegation for.
 zone "signed." {
-        type master;
+        type primary;
         file "signed.db.signed";
 };
index b26a1566013a2913c224a76844f6fd2b337569af..717caaeecac7e86f3e9d903be122cfbadb360126 100644 (file)
@@ -47,7 +47,7 @@ server fd92:7065:b8e:ffff::1000 {
  */
 view "class" chaos {
        zone "chaostest" CHAOS {
-                type master;
+                type primary;
                 file "chaostest.db";
         };
 };
index 7095346ed2476e418971adaf439fecddfe6baeeb..ec74ec8d6a699294820b92659b11b29c4a83a3c8 100644 (file)
@@ -26,32 +26,32 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "moves" {
-       type master;
+       type primary;
        file "moves.db";
 };
 
 zone "child.server" {
-       type master;
+       type primary;
        file "child.server.db";
 };
 
 zone "tld" {
-       type master;
+       type primary;
        file "tld.db";
 };
 
 zone "broken" {
-       type master;
+       type primary;
        file "broken.db";
 };
 
 zone "sourcens" {
-    type master;
+    type primary;
     file "sourcens.db";
 };
 
index b8fdd5e50881590df853ac462736e3c006215fca..a3e59023d709b581d33cb06c403e4c7a7c625986 100644 (file)
@@ -35,12 +35,12 @@ zone "." {
 };
 
 zone "moves" {
-       type master;
+       type primary;
        file "moves.db";
 };
 
 zone "child.server" {
-       type master;
+       type primary;
        file "child.server.db";
 };
 
index 3046e62965755af5ab66eb454bc0b2c5e9b856ee..1726d5fa5b94c7c2a2fe31a1d1aeb1a3a2bca33c 100644 (file)
@@ -31,51 +31,51 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.net.db.signed";
        allow-update { any; };
 };
 
 zone "ds.example.net" {
-       type master;
+       type primary;
        file "ds.example.net.db.signed";
        allow-update { any; };
 };
 
 zone "to-be-removed.tld" {
-       type master;
+       type primary;
        file "to-be-removed.tld.db";
        allow-update { any; };
 };
 
 zone "broken" {
-       type master;
+       type primary;
        file "broken.db";
        allow-update { any; };
 };
 
 zone "no-edns-version.tld" {
-       type master;
+       type primary;
        file "no-edns-version.tld.db";
 };
 
 zone "delegation-only" {
-       type master;
+       type primary;
        file "delegation-only.db";
 };
 
 zone "fetch.tld" {
-       type master;
+       type primary;
        file "fetch.tld.db";
 };
 
 zone "targetns" {
-       type master;
+       type primary;
        file "targetns.db";
 };
 
index 787705984d16eefd45afe304040d70f9f823e522..47ce301e860f0f7cc7df76a65fdeda78fac6dd45 100644 (file)
@@ -46,17 +46,17 @@ zone "." {
 };
 
 zone "server" {
-       type master;
+       type primary;
        file "server.db";
        allow-update { any; };
 };
 
 zone "edns-version.tld" {
-       type master;
+       type primary;
        file "edns-version.tld.db";
 };
 
 zone "all-cnames" {
-       type master;
+       type primary;
        file "all-cnames.db";
 };
index 787705984d16eefd45afe304040d70f9f823e522..47ce301e860f0f7cc7df76a65fdeda78fac6dd45 100644 (file)
@@ -46,17 +46,17 @@ zone "." {
 };
 
 zone "server" {
-       type master;
+       type primary;
        file "server.db";
        allow-update { any; };
 };
 
 zone "edns-version.tld" {
-       type master;
+       type primary;
        file "edns-version.tld.db";
 };
 
 zone "all-cnames" {
-       type master;
+       type primary;
        file "all-cnames.db";
 };
index e4dfe3fddba26c7f11a14913a98943063a486654..6afd5fec13152cfb4991e3875192203439c493db 100644 (file)
@@ -39,24 +39,24 @@ zone "." {
 };
 
 zone "nil" {
-       type master;
+       type primary;
        update-policy local;
        file "nil.db";
        ixfr-from-differences yes;
 };
 
 zone "other" {
-       type master;
+       type primary;
        update-policy local;
        file "other.db";
 };
 
 zone "static" {
-       type master;
+       type primary;
        file "static.db";
 };
 
 zone "incl" {
-       type master;
+       type primary;
        file "incl.db";
 };
index 8b1534b623c2839e13d537a2be91c1ef2a7e374b..d3fc9bef30d4e1f27f7ef742175783217bd86f2d 100644 (file)
@@ -587,7 +587,7 @@ echo_i "test 'rndc reconfig' with loading of a large zone ($n)"
 ret=0
 cur=`awk 'BEGIN {l=0} /^/ {l++} END { print l }' ns6/named.run`
 cp ns6/named.conf ns6/named.conf.save
-echo "zone \"huge.zone\" { type master; file \"huge.zone.db\"; };" >> ns6/named.conf
+echo "zone \"huge.zone\" { type primary; file \"huge.zone.db\"; };" >> ns6/named.conf
 echo_i "reloading config"
 $RNDCCMD 10.53.0.6 reconfig > rndc.out.1.test$n 2>&1 || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
index 1cdab00a4b9abca9b40dadbe157dfb7d19364200..b17c4ca6a5ac48cd5aaf340ca35e5eda847e30d3 100644 (file)
@@ -23,7 +23,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
index 4ab4edaec5cff5ae01421f8847ee54a9c6b34460..f0b44e938c922925d600f1461a03e3a2dcb29b85 100644 (file)
@@ -23,7 +23,7 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db.signed";
 };
 
index bc45808ebb7e3b1762b7cb40f950c5ec48600245..667f782d439beada753d0d990a1d7b066f69483c 100644 (file)
@@ -20,41 +20,41 @@ port @EXTRAPORT1@;
 listen-on port @EXTRAPORT1@ { 10.53.0.3; };
 allow-notify { 10.53.0.0/24; };
 
-zone "bl0"             {type master; file "../ns5/bl.db"; };
-zone "bl1"             {type master; file "../ns5/bl.db"; };
-zone "bl2"             {type master; file "../ns5/bl.db"; };
-zone "bl3"             {type master; file "../ns5/bl.db"; };
-zone "bl4"             {type master; file "../ns5/bl.db"; };
-zone "bl5"             {type master; file "../ns5/bl.db"; };
-zone "bl6"             {type master; file "../ns5/bl.db"; };
-zone "bl7"             {type master; file "../ns5/bl.db"; };
-zone "bl8"             {type master; file "../ns5/bl.db"; };
-zone "bl9"             {type master; file "../ns5/bl.db"; };
-zone "bl10"            {type master; file "../ns5/bl.db"; };
-zone "bl11"            {type master; file "../ns5/bl.db"; };
-zone "bl12"            {type master; file "../ns5/bl.db"; };
-zone "bl13"            {type master; file "../ns5/bl.db"; };
-zone "bl14"            {type master; file "../ns5/bl.db"; };
-zone "bl15"            {type master; file "../ns5/bl.db"; };
-zone "bl16"            {type master; file "../ns5/bl.db"; };
-zone "bl17"            {type master; file "../ns5/bl.db"; };
-zone "bl18"            {type master; file "../ns5/bl.db"; };
-zone "bl19"            {type master; file "../ns5/bl.db"; };
+zone "bl0"             {type primary; file "../ns5/bl.db"; };
+zone "bl1"             {type primary; file "../ns5/bl.db"; };
+zone "bl2"             {type primary; file "../ns5/bl.db"; };
+zone "bl3"             {type primary; file "../ns5/bl.db"; };
+zone "bl4"             {type primary; file "../ns5/bl.db"; };
+zone "bl5"             {type primary; file "../ns5/bl.db"; };
+zone "bl6"             {type primary; file "../ns5/bl.db"; };
+zone "bl7"             {type primary; file "../ns5/bl.db"; };
+zone "bl8"             {type primary; file "../ns5/bl.db"; };
+zone "bl9"             {type primary; file "../ns5/bl.db"; };
+zone "bl10"            {type primary; file "../ns5/bl.db"; };
+zone "bl11"            {type primary; file "../ns5/bl.db"; };
+zone "bl12"            {type primary; file "../ns5/bl.db"; };
+zone "bl13"            {type primary; file "../ns5/bl.db"; };
+zone "bl14"            {type primary; file "../ns5/bl.db"; };
+zone "bl15"            {type primary; file "../ns5/bl.db"; };
+zone "bl16"            {type primary; file "../ns5/bl.db"; };
+zone "bl17"            {type primary; file "../ns5/bl.db"; };
+zone "bl18"            {type primary; file "../ns5/bl.db"; };
+zone "bl19"            {type primary; file "../ns5/bl.db"; };
 
-zone "bl"              {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-2"            {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-given"                {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-passthru"     {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-no-op"                {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-disabled"     {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-nodata"       {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-nxdomain"     {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-cname"                {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-wildcname"    {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-garden"       {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-drop"         {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl-tcp-only"     {type slave; primaries port @PORT@ { 10.53.0.3; }; };
-zone "bl.tld2"         {type slave; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl"              {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-2"            {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-given"                {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-passthru"     {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-no-op"                {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-disabled"     {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-nodata"       {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-nxdomain"     {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-cname"                {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-wildcname"    {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-garden"       {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-drop"         {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl-tcp-only"     {type slave; masters port @PORT@ { 10.53.0.3; }; };
+zone "bl.tld2"         {type slave; masters port @PORT@ { 10.53.0.3; }; };
 
-zone "policy1"         {type slave; primaries port @PORT@ { 10.53.0.6; }; };
-zone "policy2"         {type slave; primaries port @PORT@ { 10.53.0.7; }; };
+zone "policy1"         {type slave; masters port @PORT@ { 10.53.0.6; }; };
+zone "policy2"         {type slave; masters port @PORT@ { 10.53.0.7; }; };
index 59528f88193dca72ed988354747b793e9bebec4b..32bf1ecdd5c8d3ae824536e38d81f947903d04e2 100644 (file)
@@ -31,4 +31,4 @@ controls {
        inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
-zone "." {type master; file "root.db";};
+zone "." {type primary; file "root.db";};
index 98b9e578e31333ff0d4c242ffc9249dad5ab1ebc..b68a9f1b6f8ec228f2b62882fed458eecf9ab513 100644 (file)
@@ -7,7 +7,7 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; master for slave RPZ zone
+; primary for secondary RPZ zone
 
 $TTL   3600
 @              SOA     rpz.tld2.  hostmaster.ns.tld2. ( 1 3600 1200 604800 60 )
index e30db4b2007a0cb46246b298e5b170aa748668d7..9c41e3ce98221ad72bfde99734e471e90823eb50 100644 (file)
@@ -7,7 +7,7 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; master for slave RPZ zone
+; primary for secondary RPZ zone
 
 $TTL   3600
 @              SOA     rpz.tld2.  hostmaster.ns.tld2. ( 2 3600 1200 604800 60 )
index 8a3d547fdd7304371343414c7eccc7c0e1b3e430..e61653ec326d6ec91017dcf73deb45a13f9d8561 100644 (file)
@@ -7,7 +7,7 @@
 ; See the COPYRIGHT file distributed with this work for additional
 ; information regarding copyright ownership.
 
-; master for slave RPZ zone
+; primary for secondary RPZ zone
 
 $TTL   3600
 @              SOA     rpz.tld2.  hostmaster.ns.tld2. ( 3 3600 1200 604800 60 )
index 15226401e9bc7d25ed9d262c027ef3e3ab54ff27..8148b8ac25d01bb8abd51698c804c46e63a64d5f 100644 (file)
@@ -35,15 +35,15 @@ controls {
 include "../trusted.conf";
 zone "." { type hint; file "hints"; };
 
-zone "tld2."               {type master; file "tld2.db";};
-zone "sub1.tld2."          {type master; file "tld2.db";};
-zone "subsub.sub1.tld2."    {type master; file "tld2.db";};
-zone "sub2.tld2."          {type master; file "tld2.db";};
-zone "subsub.sub2.tld2."    {type master; file "tld2.db";};
-zone "sub3.tld2."          {type master; file "tld2.db";};
-zone "subsub.sub3.tld2."    {type master; file "tld2.db";};
+zone "tld2."               {type primary; file "tld2.db";};
+zone "sub1.tld2."          {type primary; file "tld2.db";};
+zone "subsub.sub1.tld2."    {type primary; file "tld2.db";};
+zone "sub2.tld2."          {type primary; file "tld2.db";};
+zone "subsub.sub2.tld2."    {type primary; file "tld2.db";};
+zone "sub3.tld2."          {type primary; file "tld2.db";};
+zone "subsub.sub3.tld2."    {type primary; file "tld2.db";};
 
-zone "tld2s."              {type master; file "tld2s.db";};
+zone "tld2s."              {type primary; file "tld2s.db";};
 
-zone "bl.tld2."                    {type master; file "bl.tld2.db";
+zone "bl.tld2."                    {type primary; file "bl.tld2.db";
                                notify yes; notify-delay 0;};
index 2c6c4a0335468aac481daad78e5c1349acea5cc6..f9d1b5498030894d239563c1066c6381fd4c3c35 100644 (file)
@@ -75,41 +75,41 @@ controls {
 
 zone "." { type hint; file "hints"; };
 
-zone "bl."             {type master; file "bl.db";
+zone "bl."             {type primary; file "bl.db";
                                allow-update {any;};};
-zone "bl-2."           {type master; file "bl-2.db";
+zone "bl-2."           {type primary; file "bl-2.db";
                                allow-update {any;};};
-zone "bl-given."       {type master; file "bl-given.db";
+zone "bl-given."       {type primary; file "bl-given.db";
                                allow-update {any;};};
-zone "bl-passthru."    {type master; file "bl-passthru.db";
+zone "bl-passthru."    {type primary; file "bl-passthru.db";
                                allow-update {any;};};
-zone "bl-no-op."       {type master; file "bl-no-op.db";
+zone "bl-no-op."       {type primary; file "bl-no-op.db";
                                allow-update {any;};};
-zone "bl-disabled."    {type master; file "bl-disabled.db";
+zone "bl-disabled."    {type primary; file "bl-disabled.db";
                                allow-update {any;};};
-zone "bl-nodata."      {type master; file "bl-nodata.db";
+zone "bl-nodata."      {type primary; file "bl-nodata.db";
                                allow-update {any;};};
-zone "bl-nxdomain."    {type master; file "bl-nxdomain.db";
+zone "bl-nxdomain."    {type primary; file "bl-nxdomain.db";
                                allow-update {any;};};
-zone "bl-cname."       {type master; file "bl-cname.db";
+zone "bl-cname."       {type primary; file "bl-cname.db";
                                allow-update {any;};};
-zone "bl-wildcname."   {type master; file "bl-wildcname.db";
+zone "bl-wildcname."   {type primary; file "bl-wildcname.db";
                                allow-update {any;};};
-zone "bl-garden."      {type master; file "bl-garden.db";
+zone "bl-garden."      {type primary; file "bl-garden.db";
                                allow-update {any;};};
-zone "bl-drop."                {type master; file "bl-drop.db";
+zone "bl-drop."                {type primary; file "bl-drop.db";
                                allow-update {any;};};
-zone "bl-tcp-only."    {type master; file "bl-tcp-only.db";
+zone "bl-tcp-only."    {type primary; file "bl-tcp-only.db";
                                allow-update {any;};};
 
-zone "bl.tld2."                {type slave; file "bl.tld2.db"; primaries {10.53.0.2;};
+zone "bl.tld2."                {type secondary; file "bl.tld2.db"; primaries {10.53.0.2;};
                                request-ixfr no; masterfile-format text;};
 
-zone "crash1.tld2"     {type master; file "crash1"; notify no;};
-zone "crash2.tld3."    {type master; file "crash2"; notify no;};
+zone "crash1.tld2"     {type primary; file "crash1"; notify no;};
+zone "crash2.tld3."    {type primary; file "crash2"; notify no;};
 
 zone "manual-update-rpz." {
-       type master;
+       type primary;
        file "manual-update-rpz.db";
        notify no;
 };
index 6189b627fb908b965a7287126dc5dbdad202ea38..62cac72ba09e9e9b0ccce26a7781c26a4d30e8ce 100644 (file)
@@ -36,8 +36,8 @@ controls {
 include "../trusted.conf";
 zone "." { type hint; file "hints"; };
 
-zone "tld4."               {type master; file "tld4.db";};
-zone "sub1.tld4."          {type master; file "tld4.db";};
-zone "subsub.sub1.tld4."    {type master; file "tld4.db";};
-zone "sub2.tld4."          {type master; file "tld4.db";};
-zone "subsub.sub2.tld4."    {type master; file "tld4.db";};
+zone "tld4."               {type primary; file "tld4.db";};
+zone "sub1.tld4."          {type primary; file "tld4.db";};
+zone "subsub.sub1.tld4."    {type primary; file "tld4.db";};
+zone "sub2.tld4."          {type primary; file "tld4.db";};
+zone "subsub.sub2.tld4."    {type primary; file "tld4.db";};
index 305d46e27ca845b0083e9564a7a42287c7cf0846..f0a1b3c68e613b485b6d18a28e4cb51ead3cbf5d 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "fast-expire." {
-       type master;
+       type primary;
        file "fast-expire.db";
        allow-transfer { any; };
        notify no;
index 5bc624acf1679b33c6a71a699c7174aba3efec76..a72dc14fe86cd4680f6de7291caac234dc1c1c99 100644 (file)
@@ -48,32 +48,32 @@ controls {
 include "../trusted.conf";
 zone "."               {type hint; file "hints"; };
 
-zone "tld5."           {type master; file "tld5.db"; };
-zone "example.tld5."   {type master; file "example.db"; };
+zone "tld5."           {type primary; file "tld5.db"; };
+zone "example.tld5."   {type primary; file "example.db"; };
 
-zone "bl0."            {type master; file "bl.db"; };
-zone "bl1."            {type master; file "bl.db"; };
-zone "bl2."            {type master; file "bl.db"; };
-zone "bl3."            {type master; file "bl.db"; };
-zone "bl4."            {type master; file "bl.db"; };
-zone "bl5."            {type master; file "bl.db"; };
-zone "bl6."            {type master; file "bl.db"; };
-zone "bl7."            {type master; file "bl.db"; };
-zone "bl8."            {type master; file "bl.db"; };
-zone "bl9."            {type master; file "bl.db"; };
-zone "bl10."           {type master; file "bl.db"; };
-zone "bl11."           {type master; file "bl.db"; };
-zone "bl12."           {type master; file "bl.db"; };
-zone "bl13."           {type master; file "bl.db"; };
-zone "bl14."           {type master; file "bl.db"; };
-zone "bl15."           {type master; file "bl.db"; };
-zone "bl16."           {type master; file "bl.db"; };
-zone "bl17."           {type master; file "bl.db"; };
-zone "bl18."           {type master; file "bl.db"; };
-zone "bl19."           {type master; file "bl.db"; };
+zone "bl0."            {type primary; file "bl.db"; };
+zone "bl1."            {type primary; file "bl.db"; };
+zone "bl2."            {type primary; file "bl.db"; };
+zone "bl3."            {type primary; file "bl.db"; };
+zone "bl4."            {type primary; file "bl.db"; };
+zone "bl5."            {type primary; file "bl.db"; };
+zone "bl6."            {type primary; file "bl.db"; };
+zone "bl7."            {type primary; file "bl.db"; };
+zone "bl8."            {type primary; file "bl.db"; };
+zone "bl9."            {type primary; file "bl.db"; };
+zone "bl10."           {type primary; file "bl.db"; };
+zone "bl11."           {type primary; file "bl.db"; };
+zone "bl12."           {type primary; file "bl.db"; };
+zone "bl13."           {type primary; file "bl.db"; };
+zone "bl14."           {type primary; file "bl.db"; };
+zone "bl15."           {type primary; file "bl.db"; };
+zone "bl16."           {type primary; file "bl.db"; };
+zone "bl17."           {type primary; file "bl.db"; };
+zone "bl18."           {type primary; file "bl.db"; };
+zone "bl19."           {type primary; file "bl.db"; };
 
 zone "policy1" {
-       type master;
+       type primary;
        file "empty.db";
        also-notify { 10.53.0.6; };
        allow-update { any; };
@@ -81,7 +81,7 @@ zone "policy1" {
 };
 
 zone "policy2" {
-       type master;
+       type primary;
        file "policy2.db";
        allow-update { any; };
        allow-transfer { any; };
index d5bf866a31348196c40484c9841d6f95af40e88b..e036480bf9bb900da308762e0097ba85e087ed95 100644 (file)
@@ -50,7 +50,7 @@ controls {
 include "../trusted.conf";
 
 zone "policy1" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.5; };
        file "empty.db";
        also-notify { 10.53.0.3 port @EXTRAPORT1@; };
index 2d135058a300826f510e5bb6655285176ab1b3fc..8fa0951012e5a083a71fa5c4d1d04bde7be7ac96 100644 (file)
@@ -47,7 +47,7 @@ controls {
 include "../trusted.conf";
 
 zone "policy2" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.5; };
        file "policy2.db";
        also-notify { 10.53.0.3 port @EXTRAPORT1@; };
index 430ca1419842020850e6670eee933ba034d1d806..7f241c115ac7cb4948b7884fcef9ff468b60ac37 100644 (file)
@@ -59,7 +59,7 @@ controls {
 zone "." { type hint; file "hints"; };
 
 zone "manual-update-rpz." {
-       type master;
+       type primary;
        file "manual-update-rpz.db";
        notify no;
 };
index 123ab95b03e60054e6b19672be1f97ccb534a5a4..1b15071b8250ef21fd6c481301f32794c05d984e 100644 (file)
@@ -53,7 +53,7 @@ controls {
 zone "." { type hint; file "hints"; };
 
 zone "rpz." {
-       type master;
+       type primary;
        file "rpz.db";
        notify no;
 };
index f1bdc12a7fee03a9c75e982974b9ea3e3aaf117c..4edd5f513710e6b898f6d5214f483f2e40a3a9e3 100644 (file)
@@ -579,7 +579,7 @@ EOF
   nochange a4-4.tld2                           # 15 PASSTHRU
   nxdomain c2.crash2.tld3                      # 16 assert in rbtdb.c
   addr 127.0.0.17 "a4-4.tld2 -b $ns1"          # 17 client-IP address trigger
-  nxdomain a7-1.tld2                           # 18 slave policy zone (RT34450)
+  nxdomain a7-1.tld2                           # 18 secondary policy zone (RT34450)
   # updating an response zone policy
   cp ns2/blv2.tld2.db.in ns2/bl.tld2.db
   rndc_reload ns2 $ns2 bl.tld2
@@ -590,7 +590,7 @@ EOF
   cp ns2/blv3.tld2.db.in ns2/bl.tld2.db
   rndc_reload ns2 $ns2 bl.tld2
   ck_soa 3 bl.tld2 $ns3
-  nxdomain a7-1.tld2                           # 20 slave policy zone (RT34450)
+  nxdomain a7-1.tld2                           # 20 secondary policy zone (RT34450)
   end_group
   ckstats $ns3 test2 ns3 12
 
@@ -778,7 +778,7 @@ EOF
     done
   fi
 
-  # reconfigure the ns5 master server without the fast-exire zone, so
+  # reconfigure the ns5 primary server without the fast-exire zone, so
   # it can't be refreshed on ns3, and will expire in 5 seconds.
   cat /dev/null > ns5/expire.conf
   rndc_reconfig ns5 10.53.0.5
@@ -834,7 +834,7 @@ EOF
   t=`expr $t + 1`
   echo_i "checking rpz updates/transfers with parent nodes added after children (${t})"
   # regression test for RT #36272: the success condition
-  # is the slave server not crashing.
+  # is the secondary server not crashing.
   for i in 1 2 3 4 5; do
     nsd $ns5 add example.com.policy1. '*.example.com.policy1.'
     nsd $ns5 delete example.com.policy1. '*.example.com.policy1.'
index 23cbad05a8e510068b97375ab8022e40add53f1f..d7ffbf3d402fda2bc3b3de4b5270be0b3982c0ee 100644 (file)
@@ -47,7 +47,7 @@ logging {
 };
 
 zone "rpz.local" {
-    type master;
+    type primary;
     file "rpz.local.db";
     allow-transfer { none; };
     allow-query { localhost; };
index 7af2f69b5af7a6040514a2c0661f89e625dff73d..39e110316c87df271a4a63406d1f0ee28e499dfb 100644 (file)
@@ -20,13 +20,13 @@ options {
 };
 
 zone "allowed" {
-    type master;
+    type primary;
        file "allowed.db";
        allow-transfer { none; };
 };
 
 zone "baddomain" {
-    type master;
+    type primary;
     file "baddomain.db";
     allow-transfer { none; };
 };
index 2faa95c8be6395cfc9dc4530afcda67637849276..177c67fcc5673976bf490688c9618a0c94760bef 100644 (file)
@@ -23,4 +23,4 @@ options {
        dnssec-validation yes;
 };
 
-zone "." {type master; file "root.db";};
+zone "." {type primary; file "root.db";};
index 66ab0ed7700b2b8fc7cc5c8a6a47929910232250..4ce1477494a32f21b6be85b7783b825f50cdb0d0 100644 (file)
@@ -60,4 +60,4 @@ logging {
 
 zone "." { type hint; file "hints"; };
 
-zone "tld2."{ type master; file "tld2.db"; };
+zone "tld2."{ type primary; file "tld2.db"; };
index 1bacc6bf88dab5c015efd612ac0d67b6ea358224..d8156d8b8cf1cb7b0110e2972809015575dec7d9 100644 (file)
@@ -43,4 +43,4 @@ options {
 
 zone "." { type hint; file "hints"; };
 
-zone "tld3."{ type master; file "tld3.db"; };
+zone "tld3."{ type primary; file "tld3.db"; };
index a3949397768f4de1f9c49d6b48fa9ec591132fb2..028281fe7417e978eb37ee2ca997d3c4c5bacf81 100644 (file)
@@ -61,4 +61,4 @@ logging {
 
 zone "." { type hint; file "hints"; };
 
-zone "tld4."{ type master; file "tld4.db"; };
+zone "tld4."{ type primary; file "tld4.db"; };
index 6e009f48353286710aaf4efa2a922482cad726ed..bccd32a4f87ca99f4f55d767d7bf4b9460b28543 100644 (file)
@@ -30,7 +30,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
        notify explicit;
        also-notify { 10.53.0.2; };
index 3ebbf76783e14dbee476a2686b60b588a98487a9..7d0ecfbf0ac526f43445c6f1559a42ce5c305d02 100644 (file)
@@ -30,7 +30,7 @@ options {
 };
 
 zone "." {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "root.bk";
 };
index 72bface88df41839224b531e88828cba8e6dccbe..a3450f1a38572d1e643265be6e1609782f529dc8 100644 (file)
@@ -30,7 +30,7 @@ fi
 #
 #
 if $test_fixed; then
-    echo_i "Checking order fixed (master)"
+    echo_i "Checking order fixed (primary)"
     ret=0
     for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
     do
@@ -40,7 +40,7 @@ if $test_fixed; then
     if [ $ret != 0 ]; then echo_i "failed"; fi
     status=`expr $status + $ret`
 else
-    echo_i "Checking order fixed behaves as cyclic when disabled (master)"
+    echo_i "Checking order fixed behaves as cyclic when disabled (primary)"
     ret=0
     matches=0
     for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@@ -67,7 +67,7 @@ fi
 #
 #
 #
-echo_i "Checking order cyclic (master + additional)"
+echo_i "Checking order cyclic (primary + additional)"
 ret=0
 matches=0
 for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@@ -93,7 +93,7 @@ status=`expr $status + $ret`
 #
 #
 #
-echo_i "Checking order cyclic (master)"
+echo_i "Checking order cyclic (primary)"
 ret=0
 matches=0
 for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@@ -115,7 +115,7 @@ $DIFF dig.out.2 dig.out.3 >/dev/null && ret=1
 if [ $matches -ne 16 ]; then ret=1; fi
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
-echo_i "Checking order random (master)"
+echo_i "Checking order random (primary)"
 ret=0
 for i in $GOOD_RANDOM
 do
@@ -146,7 +146,7 @@ status=`expr $status + $ret`
 #
 #
 if $test_fixed; then
-    echo_i "Checking order fixed (slave)"
+    echo_i "Checking order fixed (secondary)"
     ret=0
     for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
     do
@@ -160,7 +160,7 @@ fi
 #
 #
 #
-echo_i "Checking order cyclic (slave + additional)"
+echo_i "Checking order cyclic (secondary + additional)"
 ret=0
 matches=0
 for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@@ -186,7 +186,7 @@ status=`expr $status + $ret`
 #
 #
 #
-echo_i "Checking order cyclic (slave)"
+echo_i "Checking order cyclic (secondary)"
 ret=0
 matches=0
 for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@@ -209,7 +209,7 @@ if [ $matches -ne 16 ]; then ret=1; fi
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "Checking order random (slave)"
+echo_i "Checking order random (secondary)"
 ret=0
 for i in $GOOD_RANDOM
 do
@@ -236,11 +236,11 @@ if [ $match -lt `expr ${GOOD_RANDOM_NO} / 3` ]; then ret=1; fi
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "Shutting down slave"
+echo_i "Shutting down secondary"
 
 (cd ..; $SHELL stop.sh rrsetorder ns2 )
 
-echo_i "Checking for slave's on disk copy of zone"
+echo_i "Checking for secondary's on disk copy of zone"
 
 if [ ! -f ns2/root.bk ]
 then
@@ -248,7 +248,7 @@ then
        status=`expr $status + 1`
 fi
 
-echo_i "Re-starting slave"
+echo_i "Re-starting secondary"
 
 start_server --noclean --port ${PORT} rrsetorder ns2
 
@@ -256,7 +256,7 @@ start_server --noclean --port ${PORT} rrsetorder ns2
 #
 #
 if $test_fixed; then
-    echo_i "Checking order fixed (slave loaded from disk)"
+    echo_i "Checking order fixed (secondary loaded from disk)"
     ret=0
     for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
     do
@@ -270,7 +270,7 @@ fi
 #
 #
 #
-echo_i "Checking order cyclic (slave + additional, loaded from disk)"
+echo_i "Checking order cyclic (secondary + additional, loaded from disk)"
 ret=0
 matches=0
 for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@@ -296,7 +296,7 @@ status=`expr $status + $ret`
 #
 #
 #
-echo_i "Checking order cyclic (slave loaded from disk)"
+echo_i "Checking order cyclic (secondary loaded from disk)"
 ret=0
 matches=0
 for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
@@ -319,7 +319,7 @@ if [ $matches -ne 16 ]; then ret=1; fi
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
-echo_i "Checking order random (slave loaded from disk)"
+echo_i "Checking order random (secondary loaded from disk)"
 ret=0
 for i in $GOOD_RANDOM
 do
index 95e7bd631218dae497daf5ee121086ddf602f727..6122dc1a515d661bd51f68ea282dff2f9912ca47 100644 (file)
@@ -25,7 +25,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
index b7963e50a71fa26045619f8f50dbf983f549663e..7f30c66cd666a0d2deaa480382dd08c16a1defb6 100644 (file)
@@ -29,7 +29,7 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db.bad";
 };
 
index c29bcd7a44f48cd6f4523a7468df47eaa7f80094..04fe0ce3bd1851e50b87becba32e166e647194e7 100644 (file)
@@ -34,6 +34,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index a41f07b140ff4cbbbc64d6d1aec8098da88458fe..6361f591a6269ef4ad700831a123cbba15fb3b19 100644 (file)
@@ -34,6 +34,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index c37aa9c25657ad1f4b63eb17f0fd599fd0bc5245..451cfd47ae0e86fe29687bb159ede96120928a57 100644 (file)
@@ -32,7 +32,7 @@ options {
 };
 
 zone "." {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "root.bk";
 };
index 4cd8bc4b64a4ed356878e72d6a642bb8cffc8f62..c2b05e1ec33fbe80f9de251507fa80bfb657fe13 100644 (file)
@@ -32,7 +32,7 @@ options {
 };
 
 zone "." {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "root.bk";
 };
index 95e7bd631218dae497daf5ee121086ddf602f727..6122dc1a515d661bd51f68ea282dff2f9912ca47 100644 (file)
@@ -25,7 +25,7 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
index 12eabe39cf05f759d8dfa363bdec1feef6a6f831..09c9d1c70c331d2224542eca003859ea2e48a835 100644 (file)
@@ -39,7 +39,7 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db.signed";
        allow-update { any; };
 };
index 90156811ff50b28a8977e58f13476bbef805e971..a3df0e35ac6ee65e2fde5cbd2bf103db67f855bb 100644 (file)
@@ -33,11 +33,11 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index 255da60e213692271ccc8699f6867fe2ad29396b..d376ab00f8ef3e5e2c9e0a965677203779a8b292 100644 (file)
@@ -23,18 +23,18 @@ options {
 };
 
 zone "spf" {
-       type master;
+       type primary;
        file "spf.db";
 };
 
 zone "warn" {
-       type master;
+       type primary;
        file "spf.db";
        check-spf warn;
 };
 
 zone "nowarn" {
-       type master;
+       type primary;
        file "spf.db";
        check-spf ignore;
 };
index f251b17b0b8fc4ee52129451f8a0156bee47ac1e..f80374b5a27b6ecbab0a6a5f130e6f4c03aada18 100644 (file)
@@ -20,4 +20,4 @@ options {
        notify no;
 };
 
-zone "." { type master; file "root.db"; };
+zone "." { type primary; file "root.db"; };
index 8f76cedce50fdb33b04b71841a414db2ab97bf78..7391896937ac6b8ccf843416278c7b39c1ae6404 100644 (file)
@@ -34,11 +34,11 @@ options {
 EXAMPLE_ZONE_PLACEHOLDER
 
 zone "example.org" {
-       type master;
+       type primary;
        file "example.org.db";
 };
 
 zone "undelegated" {
-       type master;
+       type primary;
        file "undelegated.db.signed";
 };
index 6ad8b20407ba705cbc18fa6928b90dbb584ab56c..dc6006df3da33b493914d8abb9d532e32aa0f03d 100644 (file)
@@ -23,21 +23,21 @@ options {
 };
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
 };
 
 zone "example.org" {
-       type master;
+       type primary;
        file "example.org.db";
 };
 
 zone "sub.example" {
-       type master;
+       type primary;
        file "sub.example.db.signed";
 };
 
 zone "example.info" {
-       type master;
+       type primary;
        file "example.info.db";
 };
index 9bccd3c0639554c34b53e2bdd15a8ea2568bed3f..b0e66bb0aba252323750d4ac3c16edb927c7959b 100644 (file)
@@ -27,16 +27,16 @@ statistics-channels {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example.info." {
-       type master;
+       type primary;
        file "example-info.db";
 };
 
 zone "32/1.0.0.127-in-addr.example." {
-       type master;
+       type primary;
        file "zone.db";
 };
index be8b1e3e53bf0707c9e14838af1a9aed17daa665..2e503d1d88d70d0d624f22edcf20aa037a80f57e 100644 (file)
@@ -42,7 +42,7 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-update { any; };
 };
index 504ad540e63d51f69b8445c8b575b592d0d71657..543110de2289c84e248c3e021a56d1e312c475e7 100644 (file)
@@ -45,13 +45,13 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        allow-update { any; };
        file "internal.db";
 };
 
-zone "a-slave" {
-       type slave;
-       file "slave.bk";
+zone "a-secondary" {
+       type secondary;
+       file "sec.bk";
        primaries { 10.53.0.1; };
 };
index fa1cd57a6c021f5c870ae9c5636f97cb89957006..de3c420a1c472041c421a68505277129f9ba158d 100644 (file)
@@ -35,7 +35,7 @@ controls {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-transfer { any; };
 };
index 9eebe560d38b1215746454c224995ea7edce2ae8..68367989cc01b0ea0859da3c251844c6035a47b0 100644 (file)
@@ -46,13 +46,13 @@ dnssec-policy "manykeys" {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-transfer { any; };
 };
 
 zone "dnssec" {
-       type master;
+       type primary;
        file "dnssec.db.signed";
        auto-dnssec maintain;
        allow-update { any; };
@@ -62,7 +62,7 @@ zone "dnssec" {
 };
 
 zone "manykeys" {
-        type master;
+        type primary;
         file "manykeys.db.signed";
        zone-statistics full;
        dnssec-policy "manykeys";
index b4ad1523fad892ac5cc03110a9718f657e8e1da5..eb072be0558f962ec9311d1b8eda7852f5cd49d2 100644 (file)
@@ -23,6 +23,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 37e38c573560829e1cbe23fde19f1e3c4121ee35..a357c314150c7e865659bf3324186b663c5e0626 100644 (file)
@@ -28,6 +28,6 @@ zone "." {
 };
 
 zone "child.example" {
-       type master;
+       type primary;
        file "child.example.db";
 };
index b21509ae046c77247dc1c0bacf347b931aca3d79..4e29f2a343433d6101a9025ea9f93e31b5592df8 100644 (file)
@@ -28,7 +28,7 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
index cb0c0c372bb80144c7b695b5004e3a4ebda53e72..3f75553d934cb55e430d6aae05104c991c1e5ee6 100644 (file)
@@ -25,17 +25,17 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db.signed";
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db.signed";
 };
 
 zone "dnamed" {
-       type master;
+       type primary;
        file "dnamed.db.signed";
 };
 
index b188783a0555fe3a4fda780c5ca1959e56677efc..0a614cae790fe3825efd2d3af0181ceb10e6bc04 100644 (file)
@@ -32,6 +32,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 684b881050ff6a22cc9caf53bc2cf8a0e243dfd3..7751f7e095aa2e8b1845637f9f1ce1945643062c 100644 (file)
@@ -38,7 +38,7 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-update { any; };
 };
index 4496d323722ff502361427799a9b52a6ed34c5e3..198953ad67649088e6dd23eeee91ea93ed79d3c8 100644 (file)
@@ -41,7 +41,7 @@ key "tkeytest." {
 };
 
 zone example {
-       type master;
+       type primary;
        file "example.db";
        allow-query { key tkeytest.; none; };
 };
index fbf30c6dc4eb7dc27bdf93389c9f4f80f0766fff..cc8caf8367ceb870c74448e96c7a01331f8551c6 100644 (file)
@@ -82,6 +82,6 @@ key "sha512-trunc" {
 };
 
 zone "example.nil" {
-       type master;
+       type primary;
        file "example.db";
 };
index 583cb379d91f441720a134085e5564e0ad21622c..9a6b329ca7aef1b0ba8915118f68e0843fe4405f 100644 (file)
@@ -33,7 +33,7 @@ controls {
 };
 
 zone "example.nil." IN {
-       type master;
+       type primary;
        file "example.nil.db";
 
        update-policy {
index 211d9591bb0b5e397dc9778227ac07280a371ec8..8a3bca36d75c590098a97845c4a2655a6e376d0c 100644 (file)
@@ -36,11 +36,11 @@ zone "." {
 };
 
 zone "min-example" {
-       type master;
+       type primary;
        file "min-example.db";
 };
 
 zone "max-example" {
-       type master;
+       type primary;
        file "max-example.db";
 };
index e92b9c4eff260a66c4aa12d8cea88b42c68990cc..644045fb5b0a8ad5b1f8390e3e96674272604d83 100644 (file)
@@ -23,32 +23,32 @@ options {
 
 view "in" {
        zone "example." {
-               type master;
+               type primary;
                file "example-in.db";
        };
 
        zone "broken1." {
-               type master;
+               type primary;
                file "broken1.db";
        };
 
        zone "broken2." {
-               type master;
+               type primary;
                file "broken2.db";
        };
 
        zone "broken3." {
-               type master;
+               type primary;
                file "broken3.db";
        };
 
        zone "broken4." {
-               type master;
+               type primary;
                file "broken4.db";
        };
 
        zone "broken5." {
-               type master;
+               type primary;
                file "broken5.db";
        };
 };
@@ -60,7 +60,7 @@ view "class10" class10 {
        };
 
        zone "example." class10 {
-               type master;
+               type primary;
                file "example-class10.db";
        };
 };
index 0be791ea4fe31e916d2f15c4713ba9bb8cf7c617..bdae36ae175f7df8dcb651be88afe8a6e8e3a435 100644 (file)
@@ -23,7 +23,7 @@ options {
 
 view "in" {
        zone "example." {
-               type slave;
+               type secondary;
                primaries { 10.53.0.1; };
                file "example-in.bk";
        };
index 056e3ac4b30c104400279ae4fe83b3279e46ac2c..b665d17f54a5cee50c08673a3bc8d2b7f0af5385 100644 (file)
@@ -23,7 +23,7 @@ options {
 
 view "in" {
        zone "example." {
-               type slave;
+               type secondary;
                primaries { 10.53.0.1; };
                inline-signing yes;
                auto-dnssec maintain;
index 6b6f853d288e96521c07265613268d7a57271fdc..b87b0ef33810acd5211c8070bb76d1c95ec6e8cb 100644 (file)
@@ -120,7 +120,7 @@ do
        status=`expr $status + $ret`
 done
 
-echo_i "checking large unknown record loading on master"
+echo_i "checking large unknown record loading on primary"
 for try in 0 1 2 3 4 5 6 7 8 9; do
     ret=0
     $DIG $DIGOPTS @10.53.0.1 +tcp +short large.example TYPE45234 > dig.out || { ret=1 ; echo_i "dig failed" ; }
@@ -131,7 +131,7 @@ done
 [ $ret = 0 ] || echo_i "failed"
 status=`expr $status + $ret`
 
-echo_i "checking large unknown record loading on slave"
+echo_i "checking large unknown record loading on secondary"
 for try in 0 1 2 3 4 5 6 7 8 9; do
     ret=0
     $DIG $DIGOPTS @10.53.0.2 +tcp +short large.example TYPE45234 > dig.out || { ret=1 ; echo_i "dig failed" ; }
@@ -142,13 +142,13 @@ done
 [ $ret = 0 ] || echo_i "failed"
 status=`expr $status + $ret`
 
-echo_i "stop and restart slave"
+echo_i "stop and restart secondary"
 $PERL $SYSTEMTESTTOP/stop.pl unknown ns2
 start_server --noclean --restart --port ${PORT} unknown ns2
 
 # server may be answering queries before zones are loaded,
 # so retry a few times if this query fails
-echo_i "checking large unknown record loading on slave"
+echo_i "checking large unknown record loading on secondary"
 for try in 0 1 2 3 4 5 6 7 8 9; do
     ret=0
     $DIG $DIGOPTS @10.53.0.2 +tcp +short large.example TYPE45234 > dig.out || { ret=1 ; echo_i "dig failed" ; }
@@ -159,20 +159,20 @@ done
 [ $ret = 0 ] || echo_i "failed"
 status=`expr $status + $ret`
 
-echo_i "checking large unknown record loading on inline slave"
+echo_i "checking large unknown record loading on inline secondary"
 ret=0
 $DIG $DIGOPTS @10.53.0.3 +tcp +short large.example TYPE45234 > dig.out || { ret=1 ; echo_i "dig failed" ; }
 $DIFF large.out dig.out > /dev/null || { ret=1 ; echo_i "$DIFF failed"; }
 [ $ret = 0 ] || echo_i "failed"
 status=`expr $status + $ret`
 
-echo_i "stop and restart inline slave"
+echo_i "stop and restart inline secondary"
 $PERL $SYSTEMTESTTOP/stop.pl unknown ns3
 start_server --noclean --restart --port ${PORT} unknown ns3
 
 # server may be answering queries before zones are loaded,
 # so retry a few times if this query fails
-echo_i "checking large unknown record loading on inline slave"
+echo_i "checking large unknown record loading on inline secondary"
 for try in 0 1 2 3 4 5 6 7 8 9; do
     ret=0
     $DIG $DIGOPTS @10.53.0.3 +tcp +short large.example TYPE45234 > dig.out || { ret=1 ; echo_i "dig failed" ; }
index ea42b4d4735cb6d0dd44def0b87aeb9fb4ed8c60..3873c7c7339743a1e17db24f67699be388f651a2 100644 (file)
@@ -27,13 +27,13 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-update { key update.example.; 10.53.0.3; };
 };
 
 zone "example2" {
-       type master;
+       type primary;
        file "example2.db";
        allow-update { key sig0.example2.; };
 };
index 2a609e4c206d5141fe7305d1608640a1b102052b..3310f1fe06e471f3b0c0ff372348bc0a7ba1c6c1 100644 (file)
@@ -22,13 +22,13 @@ options {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        file "example.bk";
        primaries { 10.53.0.1; };
 };
 
 zone "example2" {
-       type slave;
+       type secondary;
        file "example2.bk";
        primaries { 10.53.0.1; };
 };
index ded5d7348badf583ed1382238eaa32664da052ef..e9f97698af9b64327b007a288f37d8068e4e31d5 100644 (file)
@@ -22,21 +22,21 @@ options {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        file "example.bk";
        allow-update-forwarding { any; };
        primaries { 10.53.0.1; };
 };
 
 zone "example2" {
-       type slave;
+       type secondary;
        file "example2.bk";
        allow-update-forwarding { any; };
        primaries { 10.53.0.1; };
 };
 
 zone "nomaster" {
-       type slave;
+       type secondary;
        file "nomaster1.db";
        allow-update-forwarding { any; };
        masterfile-format text;
index 234fe536374e60f841f3ff294f2c43cc0eb0de32..a07cceeab1f59155d2b998de2a6fb37784abd1ca 100644 (file)
@@ -9,9 +9,9 @@
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
-# ns1 = stealth master
-# ns2 = slave with update forwarding disabled; not currently used
-# ns3 = slave with update forwarding enabled
+# ns1 = stealth primary
+# ns2 = secondary with update forwarding disabled; not currently used
+# ns3 = secondary with update forwarding enabled
 
 . $SYSTEMTESTTOP/conf.sh
 
@@ -36,20 +36,20 @@ done
 if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
 n=`expr $n + 1`
 
-echo_i "fetching master copy of zone before update ($n)"
+echo_i "fetching primary copy of zone before update ($n)"
 ret=0
 $DIG $DIGOPTS example.\
        @10.53.0.1 axfr > dig.out.ns1 || ret=1
 if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
 n=`expr $n + 1`
 
-echo_i "fetching slave 1 copy of zone before update ($n)"
+echo_i "fetching secondary 1 copy of zone before update ($n)"
 $DIG $DIGOPTS example.\
        @10.53.0.2 axfr > dig.out.ns2 || ret=1
 if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
 n=`expr $n + 1`
 
-echo_i "fetching slave 2 copy of zone before update ($n)"
+echo_i "fetching secondary 2 copy of zone before update ($n)"
 ret=0
 $DIG $DIGOPTS example.\
        @10.53.0.3 axfr > dig.out.ns3 || ret=1
@@ -77,20 +77,20 @@ n=`expr $n + 1`
 echo_i "sleeping 15 seconds for server to incorporate changes"
 sleep 15
 
-echo_i "fetching master copy of zone after update ($n)"
+echo_i "fetching primary copy of zone after update ($n)"
 ret=0
 $DIG $DIGOPTS example.\
        @10.53.0.1 axfr > dig.out.ns1 || ret=1
 if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
 n=`expr $n + 1`
 
-echo_i "fetching slave 1 copy of zone after update ($n)"
+echo_i "fetching secondary 1 copy of zone after update ($n)"
 ret=0
 $DIG $DIGOPTS example.\
        @10.53.0.2 axfr > dig.out.ns2 || ret=1
 if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
 
-echo_i "fetching slave 2 copy of zone after update ($n)"
+echo_i "fetching secondary 2 copy of zone after update ($n)"
 ret=0
 $DIG $DIGOPTS example.\
        @10.53.0.3 axfr > dig.out.ns3 || ret=1
@@ -124,20 +124,20 @@ n=`expr $n + 1`
 echo_i "sleeping 15 seconds for server to incorporate changes"
 sleep 15
 
-echo_i "fetching master copy of zone after update ($n)"
+echo_i "fetching primary copy of zone after update ($n)"
 ret=0
 $DIG $DIGOPTS example.\
        @10.53.0.1 axfr > dig.out.ns1 || ret=1
 if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
 
-echo_i "fetching slave 1 copy of zone after update ($n)"
+echo_i "fetching secondary 1 copy of zone after update ($n)"
 ret=0
 $DIG $DIGOPTS example.\
        @10.53.0.2 axfr > dig.out.ns2 || ret=1
 if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
 n=`expr $n + 1`
 
-echo_i "fetching slave 2 copy of zone after update ($n)"
+echo_i "fetching secondary 2 copy of zone after update ($n)"
 ret=0
 $DIG $DIGOPTS example.\
        @10.53.0.3 axfr > dig.out.ns3 || ret=1
@@ -151,7 +151,7 @@ digcomp knowngood.after2 dig.out.ns3 || ret=1
 if [ $ret != 0 ] ; then echo_i "failed"; status=`expr $status + $ret`; fi
 n=`expr $n + 1`
 
-echo_i "checking update forwarding to dead master ($n)"
+echo_i "checking update forwarding to dead primary ($n)"
 count=0
 ret=0
 while [ $count -lt 5 -a $ret -eq 0 ]
index b4a2fa8c05fb522689580594c56025d36a142323..6bbbe90ea1ff55bd576d9768c1fc1167d348fae7 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index b91f95b043cf757d5c4297a0f068307e72c9df0e..4ad0e557e3f90d1c6b619150eee33aa4f303bbbc 100644 (file)
@@ -37,7 +37,7 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
        allow-update { any; };
 };
index b9456e0b48404988f6b0465c981a7bc1d23376e1..66713fcf8a2b5fd1994f8796e8a7c668a0e5c2bd 100644 (file)
@@ -40,24 +40,24 @@ view "internal" {
        };
 
        zone "example" {
-               type master;
+               type primary;
                file "internal.db";
                allow-update { any; };
        };
 
        zone "clone" {
-               type master;
+               type primary;
                file "clone.db";
                allow-update { any; };
        };
 
        zone "1.10.in-addr.arpa" {
-               type master;
+               type primary;
                file "1.10.in-addr.arpa.db";
        };
 
        zone "inline" {
-               type master;
+               type primary;
                file "internal/inline.db";
                key-directory "internal";
                auto-dnssec maintain;
@@ -74,7 +74,7 @@ view "external" {
        };
 
        zone "example" {
-               type master;
+               type primary;
                file "example.db";
        };
 
@@ -89,7 +89,7 @@ view "external" {
        };
 
        zone "inline" {
-               type master;
+               type primary;
                file "external/inline.db";
                key-directory "external";
                auto-dnssec maintain;
index 617df48b483eeead0010efc62e78ebff13334d1e..b1cc55dbec2907ab1694871b33fed50ccad9ea37 100644 (file)
@@ -37,12 +37,12 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        allow-update { any; };
        file "internal.db";
 };
 
 zone "child.clone" {
-       type master;
+       type primary;
        file "child.clone.db";
 };
index 63d861082db8ae8eaf6fc8a92a5ddfcb906bee57..ce9607996cfb84335817fa26218dd32208ec203f 100644 (file)
@@ -37,12 +37,12 @@ zone "." {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "internal.bk";
 };
 
 zone "child.clone" {
-       type master;
+       type primary;
        file "child.clone.db";
 };
index d30998787aa68ac0c70e10976973aba6e46b2ba6..9be2036341b00c2b6483aee1fe55acfe0e0b69a7 100644 (file)
@@ -37,6 +37,6 @@ zone "." {
 };
 
 zone "child.clone" {
-       type master;
+       type primary;
        file "child.clone.db";
 };
index 8a66b1b811caae6b47be758f35f4745d7d26a786..3135a5dc4f542b94b89b858fdfdfe5ad5f18f352 100644 (file)
@@ -22,19 +22,19 @@ options {
        notify yes;
 };
 
-zone "." { type master; file "root.db.signed"; };
+zone "." { type primary; file "root.db.signed"; };
 
 /*
  * RFC 4592 example zone.
  */
-zone "example" { type master; file "example.db"; };
-zone "nsec" { type master; file "nsec.db.signed"; };
-zone "private.nsec" { type master; file "private.nsec.db.signed"; };
+zone "example" { type primary; file "example.db"; };
+zone "nsec" { type primary; file "nsec.db.signed"; };
+zone "private.nsec" { type primary; file "private.nsec.db.signed"; };
 
 /*
  * The contents of nsec3 and private.nsec3 are specially chosen to
  * have separate NSEC3 records for the "no qname proof" and the
  * "closest encloser proof".
  */
-zone "nsec3" { type master; file "nsec3.db.signed"; };
-zone "private.nsec3" { type master; file "private.nsec3.db.signed"; };
+zone "nsec3" { type primary; file "nsec3.db.signed"; };
+zone "private.nsec3" { type primary; file "private.nsec3.db.signed"; };
index f6de806024be619f723a05b62036de65c790213f..222ba6b48f77ec0580bc61121683ba310f2152c9 100644 (file)
@@ -24,12 +24,12 @@ rm -f ns*/managed-keys.bind*
 rm -f ns*/named.lock
 rm -f ns1/edns-expire.db
 rm -f ns1/ixfr-too-big.db ns1/ixfr-too-big.db.jnl
-rm -f ns1/slave.db ns2/slave.db
+rm -f ns1/sec.db ns2/sec.db
 rm -f ns2/example.db ns2/tsigzone.db ns2/example.db.jnl
 rm -f ns2/mapped.db
 rm -f ns3/example.bk ns3/xfer-stats.bk ns3/tsigzone.bk ns3/example.bk.jnl
 rm -f ns3/mapped.bk
-rm -f ns3/master.bk ns3/master.bk.jnl
+rm -f ns3/primary.bk ns3/primary.bk.jnl
 rm -f ns4/*.db ns4/*.jnl
 rm -f ns6/*.db ns6/*.bk ns6/*.jnl
 rm -f ns7/*.db ns7/*.bk ns7/*.jnl
index f665f728e5743f41ead7e5c67389812d036e29a3..4b3156ca95b7ee8380f7110a78a031745137e326 100644 (file)
@@ -28,32 +28,32 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
-zone "slave" {
-       type master;
-       file "slave.db";
+zone "secondary" {
+       type primary;
+       file "sec.db";
 };
 
 zone "edns-expire" {
-       type master;
+       type primary;
        file "edns-expire.db";
 };
 
 zone "axfr-too-big" {
-       type master;
+       type primary;
        file "axfr-too-big.db";
 };
 
 zone "ixfr-too-big" {
-       type master;
+       type primary;
        allow-update { any; };
        file "ixfr-too-big.db";
 };
 
 zone "xfer-stats" {
-       type master;
+       type primary;
        file "xfer-stats.db";
 };
index d4021fad3c97c1f68b290f4da3d6a9b3badf153f..4573ff0d6a8fd8f032100430feecca629e81bc4c 100644 (file)
@@ -47,25 +47,25 @@ zone "." {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "tsigzone" {
-       type master;
+       type primary;
        file "tsigzone.db";
        allow-transfer { tzkey; };
 };
 
-zone "slave" {
-       type slave;
-       file "slave.db";
+zone "secondary" {
+       type secondary;
+       file "sec.db";
        primaries { 10.53.0.1; };
        masterfile-format text;
 };
 
 zone "mapped" {
-       type slave;
+       type secondary;
        file "mapped.db";
        masterfile-format text;
        primaries { 10.53.0.100; };
index 49110b73c5730231373e411729b9cbfecb33b19f..bc58e99803ba95f026d2d5c1d83699d9b51cb68d 100644 (file)
@@ -41,15 +41,15 @@ zone "." {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "example.bk";
 };
 
-zone "master" {
-       type slave;
+zone "primary" {
+       type secondary;
        primaries { 10.53.0.6; };
-       file "master.bk";
+       file "primary.bk";
 };
 
 server 10.53.0.2 {
@@ -57,21 +57,21 @@ server 10.53.0.2 {
 };
 
 zone "tsigzone" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "tsigzone.bk";
        allow-transfer { key tsigzone.; };
 };
 
 zone "mapped" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        masterfile-format map;
        file "mapped.bk";
 };
 
 zone "xfer-stats" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "xfer-stats.bk";
 };
index 14a5e0577aa9986566e2d02ecf34207ed396d552..cd00ccff59f63493467be88b34c355323089303f 100644 (file)
@@ -41,6 +41,6 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 761e96ee64a4885cf483a088c1037ee84f496e83..d5079f11fe3ce4c0c4d9aaf3eb6fbcc6af8584bf 100644 (file)
@@ -25,7 +25,7 @@ options {
        listen-on-v6 { none; };
        recursion no;
        notify yes;
-       ixfr-from-differences master;
+       ixfr-from-differences primary;
        check-integrity no;
 };
 
@@ -34,33 +34,33 @@ zone "." {
        file "../../common/root.hint";
 };
 
-zone "master" {
-       type master;
-       file "master.db";
+zone "primary" {
+       type primary;
+       file "primary.db";
 };
 
-zone "slave" {
-       type slave;
+zone "secondary" {
+       type secondary;
        notify no;
        primaries { 10.53.0.1; };
-       file "slave.bk";
+       file "sec.bk";
 };
 
 zone "edns-expire" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "edns-expire.bk";
 };
 
 zone "axfr-too-big" {
-       type slave;
+       type secondary;
        max-records 30;
        primaries { 10.53.0.1; };
        file "axfr-too-big.bk";
 };
 
 zone "ixfr-too-big" {
-       type slave;
+       type secondary;
        max-records 30;
        primaries { 10.53.0.1; };
        file "ixfr-too-big.bk";
index 9b2652cfdbc6c4b0da2d5a6e98a47b3b21ad0afb..93c70b08a043fc9a807a7cf74657ca47283d7211 100644 (file)
@@ -34,15 +34,15 @@ zone "." {
        file "../../common/root.hint";
 };
 
-zone "master2" {
+zone "primary2" {
        type primary;
-       file "master2.db";
+       file "primary2.db";
 };
 
-zone "slave" {
+zone "secondary" {
        type secondary;
        primaries { 10.53.0.1; };
-       file "slave.bk";
+       file "sec.bk";
 };
 
 zone "edns-expire" {
index ab6e0c9878e327865763618767bcabe0abdc8efb..76f20962211ef53450065902d8733f1339146b8a 100644 (file)
@@ -38,7 +38,7 @@ acl tzkey {
 };
 
 zone "example." {
-       type master;
+       type primary;
        file "example.db";
        allow-transfer { tzkey; };
 };
index a2661f359bc2d40e8b85ab502f15e5aedab77597..c4b6c3a48a804c848984a63a3a3e3a31a4a0e8b0 100644 (file)
 
 . $SYSTEMTESTTOP/conf.sh
 
-$SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 1 6 7 >ns1/slave.db
+$SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 1 6 7 >ns1/sec.db
 $SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 1 6 7 >ns1/edns-expire.db
 $SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 2 3 >ns2/example.db
 $SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 2 3 >ns2/tsigzone.db
-$SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 6 3 >ns6/master.db
-$SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 7 >ns7/master2.db
+$SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 6 3 >ns6/primary.db
+$SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 7 >ns7/primary2.db
 
 cp -f ns4/root.db.in ns4/root.db
 $PERL -e 'for ($i=0;$i<10000;$i++){ printf("x%u 0 in a 10.53.0.1\n", $i);}' >> ns4/root.db
@@ -30,8 +30,8 @@ copy_setports ns8/named.conf.in ns8/named.conf
 
 copy_setports ns4/named.conf.base ns4/named.conf
 
-cp ns2/slave.db.in ns2/slave.db
-touch -t 200101010000 ns2/slave.db
+cp ns2/sec.db.in ns2/sec.db
+touch -t 200101010000 ns2/sec.db
 
 cp ns2/mapped.db.in ns2/mapped.db
 
index 38acf8f1d75978e2862e625f23dea1a846790d3a..d648050fba9b7f1fcd00b8ab015e5b6942021ee1 100755 (executable)
@@ -73,12 +73,12 @@ rndc_reload ns7 10.53.0.7
 
 sleep 2
 
-echo_i "updating master zones for ixfr-from-differences tests"
+echo_i "updating primary zones for ixfr-from-differences tests"
 
 $PERL -i -p -e '
        s/0\.0\.0\.0/0.0.0.1/;
        s/1397051952/1397051953/
-' ns1/slave.db
+' ns1/sec.db
 
 rndc_reload ns1 10.53.0.1
 
@@ -92,14 +92,14 @@ rndc_reload ns2 10.53.0.2
 $PERL -i -p -e '
        s/0\.0\.0\.0/0.0.0.1/;
        s/1397051952/1397051953/
-' ns6/master.db
+' ns6/primary.db
 
 rndc_reload ns6 10.53.0.6
 
 $PERL -i -p -e '
        s/0\.0\.0\.0/0.0.0.1/;
        s/1397051952/1397051953/
-' ns7/master2.db
+' ns7/primary2.db
 
 rndc_reload ns7 10.53.0.7
 
@@ -109,9 +109,9 @@ n=$((n+1))
 echo_i "testing zone is dumped after successful transfer ($n)"
 tmp=0
 $DIG $DIGOPTS +noall +answer +multi @10.53.0.2 \
-       slave. soa > dig.out.ns2.test$n || tmp=1
+       secondary. soa > dig.out.ns2.test$n || tmp=1
 grep "1397051952 ; serial" dig.out.ns2.test$n > /dev/null 2>&1 || tmp=1
-grep "1397051952 ; serial" ns2/slave.db > /dev/null 2>&1 || tmp=1
+grep "1397051952 ; serial" ns2/sec.db > /dev/null 2>&1 || tmp=1
 if test $tmp != 0 ; then echo_i "failed"; fi
 status=$((status+tmp))
 
@@ -121,9 +121,9 @@ tmp=0
 
 echo_i "wait for reloads..."
 wait_for_reloads() (
-       $DIG $DIGOPTS @10.53.0.6 +noall +answer soa master > dig.out.soa1.ns6.test$n
+       $DIG $DIGOPTS @10.53.0.6 +noall +answer soa primary > dig.out.soa1.ns6.test$n
        grep "1397051953" dig.out.soa1.ns6.test$n > /dev/null || return 1
-       $DIG $DIGOPTS @10.53.0.1 +noall +answer soa slave  > dig.out.soa2.ns1.test$n
+       $DIG $DIGOPTS @10.53.0.1 +noall +answer soa secondary  > dig.out.soa2.ns1.test$n
        grep "1397051953" dig.out.soa2.ns1.test$n > /dev/null || return 1
        $DIG $DIGOPTS @10.53.0.2 +noall +answer soa example > dig.out.soa3.ns2.test$n
        grep "1397051953" dig.out.soa3.ns2.test$n > /dev/null || return 1
@@ -136,15 +136,15 @@ wait_for_transfers() (
        a=0 b=0 c=0 d=0
        $DIG $DIGOPTS @10.53.0.3 +noall +answer soa example > dig.out.soa1.ns3.test$n
        grep "1397051953" dig.out.soa1.ns3.test$n > /dev/null && a=1
-       $DIG $DIGOPTS @10.53.0.3 +noall +answer soa master > dig.out.soa2.ns3.test$n
+       $DIG $DIGOPTS @10.53.0.3 +noall +answer soa primary > dig.out.soa2.ns3.test$n
        grep "1397051953" dig.out.soa2.ns3.test$n > /dev/null && b=1
-       $DIG $DIGOPTS @10.53.0.6 +noall +answer soa slave  > dig.out.soa3.ns6.test$n
+       $DIG $DIGOPTS @10.53.0.6 +noall +answer soa secondary > dig.out.soa3.ns6.test$n
        grep "1397051953" dig.out.soa3.ns6.test$n > /dev/null && c=1
        [ $a -eq 1 -a $b -eq 1 -a $c -eq 1 ] && return 0
 
        # re-notify if necessary
-       $RNDCCMD 10.53.0.6 notify master 2>&1 | sed 's/^/ns6 /' | cat_i
-       $RNDCCMD 10.53.0.1 notify slave 2>&1 | sed 's/^/ns1 /' | cat_i
+       $RNDCCMD 10.53.0.6 notify primary 2>&1 | sed 's/^/ns6 /' | cat_i
+       $RNDCCMD 10.53.0.1 notify secondary 2>&1 | sed 's/^/ns1 /' | cat_i
        $RNDCCMD 10.53.0.2 notify example 2>&1 | sed 's/^/ns2 /' | cat_i
        return 1
 )
@@ -164,43 +164,43 @@ if test $tmp != 0 ; then echo_i "failed"; fi
 status=$((status+tmp))
 
 n=$((n+1))
-echo_i "testing ixfr-from-differences master; (master zone) ($n)"
+echo_i "testing ixfr-from-differences primary; (primary zone) ($n)"
 tmp=0
 
-$DIG $DIGOPTS master. \
+$DIG $DIGOPTS primary. \
        @10.53.0.6 axfr > dig.out.ns6.test$n || tmp=1
 grep "^;" dig.out.ns6.test$n | cat_i
 
-$DIG $DIGOPTS master. \
+$DIG $DIGOPTS primary. \
        @10.53.0.3 axfr > dig.out.ns3.test$n || tmp=1
 grep "^;" dig.out.ns3.test$n > /dev/null && cat_i dig.out.ns3.test$n
 
 digcomp dig.out.ns6.test$n dig.out.ns3.test$n || tmp=1
 
 # ns3 has a journal iff it received an IXFR.
-test -f ns3/master.bk || tmp=1
-test -f ns3/master.bk.jnl || tmp=1
+test -f ns3/primary.bk || tmp=1
+test -f ns3/primary.bk.jnl || tmp=1
 
 if test $tmp != 0 ; then echo_i "failed"; fi
 status=$((status+tmp))
 
 n=$((n+1))
-echo_i "testing ixfr-from-differences master; (secondary zone) ($n)"
+echo_i "testing ixfr-from-differences primary; (secondary zone) ($n)"
 tmp=0
 
-$DIG $DIGOPTS slave. \
+$DIG $DIGOPTS secondary. \
        @10.53.0.6 axfr > dig.out.ns6.test$n || tmp=1
 grep "^;" dig.out.ns6.test$n | cat_i
 
-$DIG $DIGOPTS slave. \
+$DIG $DIGOPTS secondary. \
        @10.53.0.1 axfr > dig.out.ns1.test$n || tmp=1
 grep "^;" dig.out.ns1.test$n | cat_i
 
 digcomp dig.out.ns6.test$n dig.out.ns1.test$n || tmp=1
 
 # ns6 has a journal iff it received an IXFR.
-test -f ns6/slave.bk || tmp=1
-test -f ns6/slave.bk.jnl && tmp=1
+test -f ns6/sec.bk || tmp=1
+test -f ns6/sec.bk.jnl && tmp=1
 
 if test $tmp != 0 ; then echo_i "failed"; fi
 status=$((status+tmp))
@@ -210,8 +210,8 @@ echo_i "testing ixfr-from-differences secondary; (secondary zone) ($n)"
 tmp=0
 
 # ns7 has a journal iff it generates an IXFR.
-test -f ns7/master2.db || tmp=1
-test -f ns7/master2.db.jnl && tmp=1
+test -f ns7/primary2.db || tmp=1
+test -f ns7/primary2.db.jnl && tmp=1
 
 if test $tmp != 0 ; then echo_i "failed"; fi
 status=$((status+tmp))
@@ -220,19 +220,19 @@ n=$((n+1))
 echo_i "testing ixfr-from-differences secondary; (secondary zone) ($n)"
 tmp=0
 
-$DIG $DIGOPTS slave. \
+$DIG $DIGOPTS secondary. \
        @10.53.0.1 axfr > dig.out.ns1.test$n || tmp=1
 grep "^;" dig.out.ns1.test$n | cat_i
 
-$DIG $DIGOPTS slave. \
+$DIG $DIGOPTS secondary. \
        @10.53.0.7 axfr > dig.out.ns7.test$n || tmp=1
 grep "^;" dig.out.ns7.test$n | cat_i
 
 digcomp dig.out.ns7.test$n dig.out.ns1.test$n || tmp=1
 
 # ns7 has a journal iff it generates an IXFR.
-test -f ns7/slave.bk || tmp=1
-test -f ns7/slave.bk.jnl || tmp=1
+test -f ns7/sec.bk || tmp=1
+test -f ns7/sec.bk.jnl || tmp=1
 
 if test $tmp != 0 ; then echo_i "failed"; fi
 status=$((status+tmp))
@@ -267,7 +267,7 @@ cat <<EOF >>ns4/named.conf
 zone "nil" {
        type secondary;
        file "nil.db";
-       masters { 10.53.0.5 key tsig_key; };
+       primaries { 10.53.0.5 key tsig_key; };
 };
 EOF
 
index 290778e0b3e38d65af2e4f1f0d7a55789423d418..e42a821f62bc3b9dd0dd606cf4e3f39fb6346ae0 100644 (file)
@@ -31,12 +31,12 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "changing." {
-       type master;
+       type primary;
        file "changing.db";
 };
 
index 5c1efdc710e0a415babff61d068d1c35d3622a81..99a6a0d5f181205db888de047c62b87c04899db3 100644 (file)
@@ -30,7 +30,7 @@ zone "." {
 };
 
 zone "changing." {
-       type slave;
+       type secondary;
        primaries { 10.53.0.1; };
        file "changing.bk";
 };
index 6acbb7365738af1519a0b13f1975a3041f14b638..38d331e5bfd9851bc5552a799f755dcdd3a0c3bd 100644 (file)
 #
 use FileHandle;
 
-my $masterconf = new FileHandle("ns1/zones.conf", "w") or die;
-my $slaveconf  = new FileHandle("ns2/zones.conf", "w") or die;
+my $priconf = new FileHandle("ns1/zones.conf", "w") or die;
+my $secconf  = new FileHandle("ns2/zones.conf", "w") or die;
 
 for ($z = 0; $z < 300; $z++) {
     my $zn = sprintf("zone%06d.example", $z);
-    print $masterconf "zone \"$zn\" { type master; file \"$zn.db\"; };\n";
-    print $slaveconf  "zone \"$zn\" { type slave; file \"$zn.bk\"; masterfile-format text; masters { 10.53.0.1; }; };\n";
+    print $priconf "zone \"$zn\" { type primary; file \"$zn.db\"; };\n";
+    print $secconf  "zone \"$zn\" { type secondary; file \"$zn.bk\"; masterfile-format text; primaries { 10.53.0.1; }; };\n";
     my $fn = "ns1/$zn.db";
     my $f = new FileHandle($fn, "w") or die "open: $fn: $!";
     print $f "\$TTL 300
index f5ae6ee4fdc443c9554a5bd1608b4e253d965f70..e32d149c34a01a96465741c505441946a4cb952e 100644 (file)
@@ -22,6 +22,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 671efcc6fe7055d960a77b78ee728b50bfc270fa..ad0e62b3e087b6f04390f1d1fffa5280dbfde435 100644 (file)
@@ -22,11 +22,11 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "tld" {
-       type master;
+       type primary;
        file "tld.db";
 };
index 0b81bca415f0a32d2bf466318806eb3267215c65..39574abff00ef0244e0da8935903602d88d6645c 100644 (file)
@@ -22,12 +22,12 @@ options {
 };
 
 zone "example" {
-       type slave;
+       type secondary;
        primaries { 10.53.0.2; };
        file "example.bk";
 };
 
 zone "one.tld" {
-       type master;
+       type primary;
        file "one.tld.db";
 };
index 719535d786cf9f7c2de57f984da3c96c973d2526..29dcbf4787ffff937d8e55ebc0d3ce964051e82c 100644 (file)
@@ -37,7 +37,7 @@ view unused {
        match-clients { none; };
 
        zone "duplicate.example" {
-               type master;
+               type primary;
                file "duplicate.db";
        };
 };
@@ -45,26 +45,26 @@ view unused {
 view primary {
        match-clients { any; };
 
-       zone "master.example" {
+       zone "primary.example" {
                type primary;
-               file "master.db";
+               file "primary.db";
                allow-update { any; };
                allow-transfer { any; };
                auto-dnssec maintain;
        };
 
        zone "bigserial.example" {
-               type master;
+               type primary;
                file "bigserial.db";
        };
 
        zone "reload.example" {
-               type master;
+               type primary;
                file "reload.db";
        };
 
        zone "duplicate.example" {
-               type master;
+               type primary;
                file "duplicate.db";
        };
 };
index ef878a6002adcd5fa3e69e9b3250b95df8554596..97176f8b8a119705e8e9bfc9f30b942390773b41 100644 (file)
@@ -33,8 +33,8 @@ controls {
        inet 10.53.0.2 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
-zone "master.example" {
+zone "primary.example" {
        type secondary;
        primaries { 10.53.0.1; };
-       file "slave.db";
+       file "sec.db";
 };
index d704d7db75f7a1d1060e6373c53929ef19a0b70e..732e95d00fcb5097aada1675b73ea6a3c479c0ea 100644 (file)
@@ -16,15 +16,15 @@ $SHELL clean.sh
 copy_setports ns1/named.conf.in ns1/named.conf
 copy_setports ns2/named.conf.in ns2/named.conf
 
-$SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 1 > ns1/master.db
+$SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 1 > ns1/primary.db
 $SHELL ${TOP_SRCDIR}/bin/tests/system/genzone.sh 1 > ns1/duplicate.db
 cp bigserial.db ns1/
 cd ns1
-touch master.db.signed
-echo '$INCLUDE "master.db.signed"' >> master.db
-$KEYGEN -a rsasha256 -q master.example > /dev/null 2>&1
-$KEYGEN -a rsasha256 -qfk master.example > /dev/null 2>&1
-$SIGNER -SD -o master.example master.db > /dev/null \
+touch primary.db.signed
+echo '$INCLUDE "primary.db.signed"' >> primary.db
+$KEYGEN -a rsasha256 -q primary.example > /dev/null 2>&1
+$KEYGEN -a rsasha256 -qfk primary.example > /dev/null 2>&1
+$SIGNER -SD -o primary.example primary.db > /dev/null \
     2> signer.err || cat signer.err
 echo '$INCLUDE "soa.db"' > reload.db
 echo '@ 0 NS .' >> reload.db
index b8fcb08ddd01c6e90199f7ba405837954df31836..20261f273e55417193a5fa31b3c7963f27c76180 100644 (file)
@@ -161,8 +161,8 @@ echo_i "checking 'rdnc zonestatus' output"
 ret=0 
 for i in 0 1 2 3 4 5 6 7 8 9
 do
-       $RNDCCMD 10.53.0.1 zonestatus master.example > rndc.out.master 2>&1
-       grep "zone not loaded" rndc.out.master > /dev/null || break
+       $RNDCCMD 10.53.0.1 zonestatus primary.example > rndc.out.pri 2>&1
+       grep "zone not loaded" rndc.out.pri > /dev/null || break
        sleep 1
 done
 checkfor() {
@@ -171,34 +171,34 @@ checkfor() {
                echo_i "missing string '$1' from '$2'"
        }
 }
-checkfor "name: master.example" rndc.out.master
-checkfor "type: master" rndc.out.master
-checkfor "files: master.db, master.db.signed" rndc.out.master
-checkfor "serial: " rndc.out.master
-checkfor "nodes: " rndc.out.master
-checkfor "last loaded: " rndc.out.master
-checkfor "secure: yes" rndc.out.master
-checkfor "inline signing: no" rndc.out.master
-checkfor "key maintenance: automatic" rndc.out.master
-checkfor "next key event: " rndc.out.master
-checkfor "next resign node: " rndc.out.master
-checkfor "next resign time: " rndc.out.master
-checkfor "dynamic: yes" rndc.out.master
-checkfor "frozen: no" rndc.out.master
+checkfor "name: primary.example" rndc.out.pri
+checkfor "type: primary" rndc.out.pri
+checkfor "files: primary.db, primary.db.signed" rndc.out.pri
+checkfor "serial: " rndc.out.pri
+checkfor "nodes: " rndc.out.pri
+checkfor "last loaded: " rndc.out.pri
+checkfor "secure: yes" rndc.out.pri
+checkfor "inline signing: no" rndc.out.pri
+checkfor "key maintenance: automatic" rndc.out.pri
+checkfor "next key event: " rndc.out.pri
+checkfor "next resign node: " rndc.out.pri
+checkfor "next resign time: " rndc.out.pri
+checkfor "dynamic: yes" rndc.out.pri
+checkfor "frozen: no" rndc.out.pri
 for i in 0 1 2 3 4 5 6 7 8 9
 do
-       $RNDCCMD 10.53.0.2 zonestatus master.example > rndc.out.slave 2>&1
-       grep "zone not loaded" rndc.out.slave > /dev/null || break
+       $RNDCCMD 10.53.0.2 zonestatus primary.example > rndc.out.sec 2>&1
+       grep "zone not loaded" rndc.out.sec > /dev/null || break
        sleep 1
 done
-checkfor "name: master.example" rndc.out.slave
-checkfor "type: slave" rndc.out.slave
-checkfor "files: slave.db" rndc.out.slave
-checkfor "serial: " rndc.out.slave
-checkfor "nodes: " rndc.out.slave
-checkfor "next refresh: " rndc.out.slave
-checkfor "expires: " rndc.out.slave
-checkfor "secure: yes" rndc.out.slave
+checkfor "name: primary.example" rndc.out.sec
+checkfor "type: secondary" rndc.out.sec
+checkfor "files: sec.db" rndc.out.sec
+checkfor "serial: " rndc.out.sec
+checkfor "nodes: " rndc.out.sec
+checkfor "next refresh: " rndc.out.sec
+checkfor "expires: " rndc.out.sec
+checkfor "secure: yes" rndc.out.sec
 for i in 0 1 2 3 4 5 6 7 8 9
 do
        $RNDCCMD 10.53.0.1 zonestatus reload.example > rndc.out.prereload 2>&1