]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Replace "master/slave" terminology in tests
authorMatthijs Mekking <matthijs@isc.org>
Tue, 5 Oct 2021 08:41:27 +0000 (10:41 +0200)
committerEvan Hunt <each@isc.org>
Tue, 12 Oct 2021 20:04:00 +0000 (13:04 -0700)
Replace most "master/slave" terminology in tests with the preferred
"primary/secondary", with the following exceptions:

- When testing the old syntax
- When master is used in master file and master file format terms
- When master is used in hostmaster or postmaster terms
- When master used in legacy domain names (for example in dig.batch)
- When there is no replacement (for example default-masters)

182 files changed:
bin/tests/named.conf
bin/tests/startperf/setup.sh
bin/tests/system/README
bin/tests/system/addzone/tests_rndc_deadlock.py
bin/tests/system/catz/tests.sh
bin/tests/system/checkconf/altdb.conf
bin/tests/system/checkconf/altdlz.conf
bin/tests/system/checkconf/bad-also-notify.conf
bin/tests/system/checkconf/bad-dnssec.conf
bin/tests/system/checkconf/bad-in-view-dup.conf
bin/tests/system/checkconf/bad-inline-secondary.conf [moved from bin/tests/system/checkconf/bad-inline-slave.conf with 77% similarity]
bin/tests/system/checkconf/bad-kasp-define-default.conf
bin/tests/system/checkconf/bad-kasp-define-insecure.conf
bin/tests/system/checkconf/bad-kasp-define-none.conf
bin/tests/system/checkconf/bad-kasp-key1.conf
bin/tests/system/checkconf/bad-kasp-key2.conf
bin/tests/system/checkconf/bad-kasp-key3.conf
bin/tests/system/checkconf/bad-kasp-key4.conf
bin/tests/system/checkconf/bad-kasp10.conf
bin/tests/system/checkconf/bad-kasp11.conf
bin/tests/system/checkconf/bad-kasp12.conf
bin/tests/system/checkconf/bad-kasp13.conf
bin/tests/system/checkconf/bad-kasp2.conf
bin/tests/system/checkconf/bad-kasp3.conf
bin/tests/system/checkconf/bad-kasp4.conf
bin/tests/system/checkconf/bad-kasp6.conf
bin/tests/system/checkconf/bad-kasp7.conf
bin/tests/system/checkconf/bad-kasp8.conf
bin/tests/system/checkconf/bad-kasp9.conf
bin/tests/system/checkconf/bad-master-request-ixfr.conf
bin/tests/system/checkconf/bad-maxratio1.conf
bin/tests/system/checkconf/bad-maxratio2.conf
bin/tests/system/checkconf/bad-mirror-allow-recursion-none.conf
bin/tests/system/checkconf/bad-noddns.conf
bin/tests/system/checkconf/bad-options-also-notify.conf
bin/tests/system/checkconf/bad-primaries-dup.conf [moved from bin/tests/system/checkconf/bad-masters-dup.conf with 100% similarity]
bin/tests/system/checkconf/bad-rpz-too-many-zones.conf
bin/tests/system/checkconf/bad-rpz-ttl.conf
bin/tests/system/checkconf/bad-rpz-update.conf
bin/tests/system/checkconf/bad-sharedwritable1.conf
bin/tests/system/checkconf/bad-sharedwritable2.conf
bin/tests/system/checkconf/bad-sharedzone1.conf
bin/tests/system/checkconf/bad-sharedzone2.conf
bin/tests/system/checkconf/bad-sharedzone3.conf
bin/tests/system/checkconf/bad-stub-masters-dialup.conf
bin/tests/system/checkconf/bad-update-policy1.conf
bin/tests/system/checkconf/bad-update-policy10.conf
bin/tests/system/checkconf/bad-update-policy11.conf
bin/tests/system/checkconf/bad-update-policy12.conf
bin/tests/system/checkconf/bad-update-policy13.conf
bin/tests/system/checkconf/bad-update-policy14.conf
bin/tests/system/checkconf/bad-update-policy15.conf
bin/tests/system/checkconf/bad-update-policy16.conf
bin/tests/system/checkconf/bad-update-policy2.conf
bin/tests/system/checkconf/bad-update-policy3.conf
bin/tests/system/checkconf/bad-update-policy4.conf
bin/tests/system/checkconf/bad-update-policy5.conf
bin/tests/system/checkconf/bad-update-policy6.conf
bin/tests/system/checkconf/bad-update-policy7.conf
bin/tests/system/checkconf/bad-update-policy8.conf
bin/tests/system/checkconf/bad-update-policy9.conf
bin/tests/system/checkconf/bad-view-also-notify.conf
bin/tests/system/checkconf/check-dup-records-fail.conf
bin/tests/system/checkconf/check-missing-zone.conf
bin/tests/system/checkconf/check-mx-cname-fail.conf
bin/tests/system/checkconf/check-mx-fail.conf
bin/tests/system/checkconf/check-names-fail.conf
bin/tests/system/checkconf/check-srv-cname-fail.conf
bin/tests/system/checkconf/dlz-bad.conf
bin/tests/system/checkconf/good-kasp.conf
bin/tests/system/checkconf/good-maxratio1.conf
bin/tests/system/checkconf/good-maxratio2.conf
bin/tests/system/checkconf/good-options-also-notify.conf
bin/tests/system/checkconf/good-response-dot.conf
bin/tests/system/checkconf/good-rpz-ttl.conf
bin/tests/system/checkconf/good-rpz-update.conf
bin/tests/system/checkconf/good-sig-signing-type.conf
bin/tests/system/checkconf/good-update-policy1.conf
bin/tests/system/checkconf/good-update-policy10.conf
bin/tests/system/checkconf/good-update-policy11.conf
bin/tests/system/checkconf/good-update-policy12.conf
bin/tests/system/checkconf/good-update-policy13.conf
bin/tests/system/checkconf/good-update-policy2.conf
bin/tests/system/checkconf/good-update-policy3.conf
bin/tests/system/checkconf/good-update-policy4.conf
bin/tests/system/checkconf/good-update-policy5.conf
bin/tests/system/checkconf/good-update-policy6.conf
bin/tests/system/checkconf/good-update-policy7.conf
bin/tests/system/checkconf/good-update-policy8.conf
bin/tests/system/checkconf/good-update-policy9.conf
bin/tests/system/checkconf/good-view-also-notify.conf
bin/tests/system/checkconf/good.conf
bin/tests/system/checkconf/good.zonelist
bin/tests/system/checkconf/in-view-good.conf
bin/tests/system/checkconf/inline-bad.conf
bin/tests/system/checkconf/inline-good.conf
bin/tests/system/checkconf/inline-no.conf
bin/tests/system/checkconf/kasp-and-other-dnssec-options.conf
bin/tests/system/checkconf/kasp-bad-keylen.conf
bin/tests/system/checkconf/kasp-bad-nsec3-alg.conf
bin/tests/system/checkconf/kasp-bad-nsec3-iter.conf
bin/tests/system/checkconf/kasp-bad-nsec3-salt.conf
bin/tests/system/checkconf/kasp-ignore-keylen.conf
bin/tests/system/checkconf/max-ttl.conf
bin/tests/system/checkconf/maxttl-bad.conf
bin/tests/system/checkconf/notify.conf
bin/tests/system/checkconf/range.conf
bin/tests/system/checkconf/warn-keydir.conf
bin/tests/system/checkconf/warn-maxratio1.conf
bin/tests/system/ckdnsrps.sh
bin/tests/system/delzone/ns2/named.conf
bin/tests/system/delzone/tests.sh
bin/tests/system/dialup/ns1/named.conf
bin/tests/system/dialup/ns2/named.conf
bin/tests/system/dialup/ns3/named.conf
bin/tests/system/dns64/ns1/named.conf1.in
bin/tests/system/dns64/ns1/named.conf2.in
bin/tests/system/dns64/ns1/named.conf3.in
bin/tests/system/dnssec/ns2/named.conf.in
bin/tests/system/genzone.sh
bin/tests/system/inline/ns1/root.db.in
bin/tests/system/inline/ns3/named.conf.in
bin/tests/system/inline/ns3/primary.db.in [moved from bin/tests/system/inline/ns3/master.db.in with 100% similarity]
bin/tests/system/inline/ns3/primary2.db.in [moved from bin/tests/system/inline/ns3/master2.db.in with 100% similarity]
bin/tests/system/inline/ns3/primary3.db.in [moved from bin/tests/system/inline/ns3/master3.db.in with 100% similarity]
bin/tests/system/inline/ns3/primary4.db.in [moved from bin/tests/system/inline/ns3/master4.db.in with 100% similarity]
bin/tests/system/inline/ns3/primary5.db.in [moved from bin/tests/system/inline/ns3/master5.db.in with 100% similarity]
bin/tests/system/inline/ns3/primary6.db.in [moved from bin/tests/system/inline/ns3/master6.db.in with 100% similarity]
bin/tests/system/inline/ns3/primary7.db.in [moved from bin/tests/system/inline/ns3/master7.db.in with 100% similarity]
bin/tests/system/inline/ns3/sign.sh
bin/tests/system/inline/setup.sh
bin/tests/system/inline/tests.sh
bin/tests/system/kasp/ns3/named.conf.in
bin/tests/system/kasp/ns6/named.conf.in
bin/tests/system/kasp/ns6/named2.conf.in
bin/tests/system/keymgr2kasp/ns4/named.conf.in
bin/tests/system/keymgr2kasp/ns4/named2.conf.in
bin/tests/system/notify/tests.sh
bin/tests/system/nsupdate/ns9/named.conf.in
bin/tests/system/nzd2nzf/tests.sh
bin/tests/system/redirect/conf/good2.conf
bin/tests/system/rpz/dnsrpzd-license.conf
bin/tests/system/rpz/dnsrpzd.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/setup.sh
bin/tests/system/rpzrecurse/.gitignore
bin/tests/system/rpzrecurse/ns1/named.conf.in
bin/tests/system/rpzrecurse/ns2/named.clientip.conf
bin/tests/system/rpzrecurse/ns2/named.clientip2.conf
bin/tests/system/rpzrecurse/ns2/named.conf.header.in
bin/tests/system/rpzrecurse/ns2/named.invalidprefixlength.conf
bin/tests/system/rpzrecurse/ns2/named.log.conf
bin/tests/system/rpzrecurse/ns2/named.max.conf
bin/tests/system/rpzrecurse/ns2/named.wildcard1.conf
bin/tests/system/rpzrecurse/ns2/named.wildcard2.conf
bin/tests/system/rpzrecurse/ns2/named.wildcard3.conf
bin/tests/system/rpzrecurse/ns2/named.wildcard4.conf
bin/tests/system/rpzrecurse/ns3/named1.conf.in
bin/tests/system/rpzrecurse/ns3/named2.conf.in
bin/tests/system/rpzrecurse/ns3/named3.conf.in
bin/tests/system/rpzrecurse/ns4/named.conf.in
bin/tests/system/rpzrecurse/setup.sh
bin/tests/system/rpzrecurse/testgen.pl
bin/tests/system/shutdown/ns1/named.conf.in
bin/tests/system/shutdown/ns2/named.conf.in
bin/tests/system/staticstub/conf/bad09.conf
bin/tests/system/staticstub/setup.sh
bin/tests/system/staticstub/tests.sh
bin/tests/system/stress/ns1/named.conf
bin/tests/system/stress/setup.pl
bin/tests/system/stub/ns5/named.conf.in
bin/tests/system/stub/tests.sh
bin/tests/system/upforwd/clean.sh
bin/tests/system/upforwd/ns3/named.conf.in
bin/tests/system/upforwd/ns3/noprimary.db [moved from bin/tests/system/upforwd/ns3/nomaster.db with 100% similarity]
bin/tests/system/upforwd/setup.sh
bin/tests/system/upforwd/tests.sh
bin/tests/system/views/tests.sh
fuzz/isc_lex_gettoken.in/named.conf
lib/isccfg/tests/parser_test.c

index 6a5f6543ff7eeb0720a269fb9fa68f7c6f243546..cb77397ecd3e682d66e2e08441b8e70e736a500f 100644 (file)
@@ -90,7 +90,7 @@ options {
        // forwarding behavior, i.e. ask the forwarders first, and if that
        // doesn't work then do the full lookup.  You can also say
        // "forward only;" which is what used to be specified with
-       // "slave" or "options forward-only".  "only" will never attempt
+       // "secondary" or "options forward-only".  "only" will never attempt
        // a full lookup; only the forwarders will be used.
        forward first;
        forwarders {
@@ -98,8 +98,8 @@ options {
                5.6.7.8;
        };
 
-       check-names master fail;
-       check-names slave warn;
+       check-names primary fail;
+       check-names secondary warn;
        check-names response ignore;
 
        allow-query { any; };
@@ -209,10 +209,10 @@ controls {
        inet 10.0.0.2 allow { none; };
 };
 
-zone "master.demo.zone" {
-       type master;                    // what used to be called "primary"
+zone "primary.demo.zone" {
+       type primary;                   // what used to be called "primary"
        database "somedb -option1 -option2 arg1 arg2 arg3";
-       file "master.demo.zone";
+       file "primary.demo.zone";
        check-names fail;
        allow-update { none; };
        allow-update-forwarding { 10.0.0.5; !any; };
@@ -227,11 +227,11 @@ zone "master.demo.zone" {
        forwarders { 10.0.0.3; 1:2:3:4:5:6:7:8; };
 };
 
-zone "slave.demo.zone" {
-       type slave;                     // what used to be called "secondary"
-       file "slave.demo.zone";
-       ixfr-base  "slave.demo.zone.ixfr";  // File name for IXFR transaction log file
-       masters {
+zone "secondary.demo.zone" {
+       type secondary;                 // what used to be called "secondary"
+       file "secondary.demo.zone";
+       ixfr-base  "secondary.demo.zone.ixfr";  // File name for IXFR transaction log file
+       primaries {
                1.2.3.4 port 10 key "foo"; // where to zone transfer from
                5.6.7.8;
                6.7.8.9 key "zippo";
@@ -263,8 +263,8 @@ view "test-view" in {
        max-cache-size 100000;
        allow-query { 10.0.0.30;};
        match-clients { 10.0.0.1 ; };
-       check-names master warn;
-       check-names slave ignore;
+       check-names primary warn;
+       check-names secondary ignore;
        check-names response fail;
        auth-nxdomain false;
        recursion true;
@@ -290,9 +290,9 @@ view "test-view" in {
        min-refresh-time 111;
 
        zone "view-zone.com" {
-               type master;
+               type primary;
                allow-update-forwarding { 10.0.0.34;};
-               file "view-zone-master";
+               file "view-zone-primary";
        };
 
        server 5.6.7.8 {
@@ -307,12 +307,12 @@ view "test-view" in {
 
 
 zone "stub.demo.zone" {
-       type stub;                      // stub zones are like slave zones,
+       type stub;                      // stub zones are like secondary zones,
                                        // except that only the NS records
                                        // are transferred.
        dialup yes;
        file "stub.demo.zone";
-       masters {
+       primaries {
                1.2.3.4 ;               // where to zone transfer from
                5.6.7.8 port 999;
        };
@@ -348,7 +348,7 @@ acl can_axfr { 1.2.3.4; can_query; };       // host 1.2.3.4 and any host allowed
                                        // by can_query are OK
 
 zone "disabled-zone.com" {
-       type master;
+       type primary;
        file "bar";
 
        max-retry-time 100;
@@ -358,7 +358,7 @@ zone "disabled-zone.com" {
 };
 
 zone "non-default-acl.demo.zone" {
-       type master;
+       type primary;
        file "foo";
        allow-query { can_query; };
        allow-transfer { can_axfr; };
index ff93d7942d109a781d9cab3cdbc6d566b62bb4a9..95fd0fa64fff0cf8d1839c23611fac133f1ad12f 100644 (file)
@@ -71,10 +71,10 @@ EOF
 
 $PERL makenames.pl $nzones | while read zonename; do
     if [ $single_file ]; then
-        echo "zone $zonename { type master; file \"smallzone.db\"; };"
+        echo "zone $zonename { type primary; file \"smallzone.db\"; };"
     else
         [ -d zones ] || mkdir zones
         $PERL mkzonefile.pl $zonename $nrecords > zones/$zonename.db
-        echo "zone $zonename { type master; file \"zones/$zonename.db\"; };"
+        echo "zone $zonename { type primary; file \"zones/$zonename.db\"; };"
     fi
 done
index f24bd0365ec897d06c5ac6c5bd1bb036bafef79a..2353438e96e7004f3fbc3cbed33e897749ed1b69 100644 (file)
@@ -187,7 +187,7 @@ structure:
 
 e.g.
 
-    I:catz:checking that dom1.example is not served by master (1)
+    I:catz:checking that dom1.example is not served by primary (1)
 
 The meanings of the fields are as follows:
 
index 43318d38bb0e5492398e919afdfe64a49eace121..ae9fb1cace06b4a43dcf8398435dc344ebb2ec7c 100755 (executable)
@@ -35,9 +35,9 @@ def rndc_loop(test_state, domain):
     '''
     rndc_commands = [
         ['addzone', domain,
-         '{ type master; file "example.db"; };'],
+         '{ type primary; file "example.db"; };'],
         ['modzone', domain,
-         '{ type master; file "example.db"; allow-transfer { any; }; };'],
+         '{ type primary; file "example.db"; allow-transfer { any; }; };'],
         ['delzone', domain],
     ]
 
index d3f6fd9f36eba55c1a12c449c6b49fa0de8b01c3..ffb1abd1534d9b85308413fcd5862e6121458cf0 100644 (file)
@@ -351,14 +351,14 @@ if [ $ret -ne 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
 ##########################################################################
-echo_i "Testing masters suboption and random labels"
+echo_i "Testing primaries suboption and random labels"
 n=$((n+1))
-echo_i "adding dom5.example. with a valid masters suboption (IP without TSIG) and a random label ($n)"
+echo_i "adding dom5.example. with a valid primaries suboption (IP without TSIG) and a random label ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
     update add somerandomlabel.zones.catalog1.example. 3600 IN PTR dom5.example.
-    update add masters.somerandomlabel.zones.catalog1.example. 3600 IN A 10.53.0.3
+    update add primaries.somerandomlabel.zones.catalog1.example. 3600 IN A 10.53.0.3
     send
 END
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -385,7 +385,7 @@ ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
     update delete somerandomlabel.zones.catalog1.example. 3600 IN PTR dom5.example.
-    update delete masters.somerandomlabel.zones.catalog1.example. 3600 IN A 10.53.0.3
+    update delete primaries.somerandomlabel.zones.catalog1.example. 3600 IN A 10.53.0.3
     send
 END
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -407,14 +407,14 @@ status=$((status+ret))
 
 
 ##########################################################################
-echo_i "Testing masters global option"
+echo_i "Testing primaries global option"
 n=$((n+1))
-echo_i "adding dom6.example. and a valid global masters option (IP without TSIG) ($n)"
+echo_i "adding dom6.example. and a valid global primaries option (IP without TSIG) ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
-    update add masters.catalog1.example. 3600 IN A 10.53.0.3
-    update add masters.catalog1.example. 3600 IN AAAA fd92:7065:b8e:ffff::3
+    update add primaries.catalog1.example. 3600 IN A 10.53.0.3
+    update add primaries.catalog1.example. 3600 IN AAAA fd92:7065:b8e:ffff::3
     update add 4346f565b4d63ddb99e5d2497ff22d04e878e8f8.zones.catalog1.example. 3600 IN PTR dom6.example.
     send
 END
@@ -441,8 +441,8 @@ echo_i "removing dom6.example. ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
-    update delete masters.catalog1.example. 3600 IN A 10.53.0.3
-    update delete masters.catalog1.example. 3600 IN AAAA  fd92:7065:b8e:ffff::3
+    update delete primaries.catalog1.example. 3600 IN A 10.53.0.3
+    update delete primaries.catalog1.example. 3600 IN AAAA  fd92:7065:b8e:ffff::3
     update delete 4346f565b4d63ddb99e5d2497ff22d04e878e8f8.zones.catalog1.example. 3600 IN PTR dom6.example.
     send
 END
@@ -466,7 +466,7 @@ status=$((status+ret))
 nextpart ns2/named.run >/dev/null
 
 n=$((n+1))
-echo_i "adding dom6.example. and an invalid global masters option (TSIG without IP) ($n)"
+echo_i "adding dom6.example. and an invalid global primaries option (TSIG without IP) ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
@@ -679,7 +679,7 @@ status=$((status+ret))
 
 
 ##########################################################################
-echo_i "Testing TSIG keys for masters set per-domain"
+echo_i "Testing TSIG keys for primaries set per-domain"
 n=$((n+1))
 echo_i "adding a domain dom9.example. to primary via RNDC, with transfers allowed only with TSIG key ($n)"
 ret=0
@@ -699,7 +699,7 @@ status=$((status+ret))
 nextpart ns2/named.run >/dev/null
 
 n=$((n+1))
-echo_i "adding domain dom9.example. to catalog1 zone with a valid masters suboption (IP with TSIG) ($n)"
+echo_i "adding domain dom9.example. to catalog1 zone with a valid primaries suboption (IP with TSIG) ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
@@ -756,7 +756,7 @@ status=$((status+ret))
 nextpart ns2/named.run >/dev/null
 
 n=$((n+1))
-echo_i "adding domain dom9.example. to catalog1 zone with an invalid masters suboption (TSIG without IP) ($n)"
+echo_i "adding domain dom9.example. to catalog1 zone with an invalid primaries suboption (TSIG without IP) ($n)"
 ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
@@ -1243,7 +1243,7 @@ ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
     update add 8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog1.example. 3600 IN PTR dom13.example.
-    update add masters.8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog1.example. 3600 IN A 10.53.0.1
+    update add primaries.8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog1.example. 3600 IN A 10.53.0.1
     send
 END
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1273,7 +1273,7 @@ ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.3 ${PORT}
     update add 8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog2.example. 3600 IN PTR dom13.example.
-    update add masters.8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog2.example. 3600 IN A 10.53.0.3
+    update add primaries.8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog2.example. 3600 IN A 10.53.0.3
     send
 END
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1302,7 +1302,7 @@ ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.3 ${PORT}
     update delete 8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog2.example. 3600 IN PTR dom13.example.
-    update delete masters.8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog2.example. 3600 IN A 10.53.0.3
+    update delete primaries.8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog2.example. 3600 IN A 10.53.0.3
     send
 END
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1329,7 +1329,7 @@ ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.1 ${PORT}
     update delete 8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog1.example. 3600 IN PTR dom13.example.
-    update delete masters.8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog1.example. 3600 IN A 10.53.0.2
+    update delete primaries.8d7989c746b3f92b3bba2479e72afd977198363f.zones.catalog1.example. 3600 IN A 10.53.0.2
     send
 END
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1424,7 +1424,7 @@ ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.3 ${PORT}
     update add 45e3d45ea5f7bd01c395ccbde6ae2e750a3ee8ab.zones.catalog2.example. 3600 IN PTR dom14.example.
-    update add masters.45e3d45ea5f7bd01c395ccbde6ae2e750a3ee8ab.zones.catalog2.example. 3600 IN A 10.53.0.3
+    update add primaries.45e3d45ea5f7bd01c395ccbde6ae2e750a3ee8ab.zones.catalog2.example. 3600 IN A 10.53.0.3
     send
 END
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
@@ -1453,7 +1453,7 @@ ret=0
 $NSUPDATE -d <<END >> nsupdate.out.test$n 2>&1 || ret=1
     server 10.53.0.3 ${PORT}
     update delete 45e3d45ea5f7bd01c395ccbde6ae2e750a3ee8ab.zones.catalog2.example. 3600 IN PTR dom14.example.
-    update delete masters.45e3d45ea5f7bd01c395ccbde6ae2e750a3ee8ab.zones.catalog2.example. 3600 IN A 10.53.0.3
+    update delete primaries.45e3d45ea5f7bd01c395ccbde6ae2e750a3ee8ab.zones.catalog2.example. 3600 IN A 10.53.0.3
     send
 END
 if [ $ret -ne 0 ]; then echo_i "failed"; fi
index 0ee9680dcbb9be1ebd89c67896f06d4217de89bd..e99607676ac371687061856d530681f3ea8b272c 100644 (file)
@@ -11,7 +11,7 @@
 
 view override_bind chaos {
        zone "version.bind" chaos {
-               type master;
+               type primary;
                database "_builtin version";
        };
 };
index 86331971663d6815b94fe165f7cf3c37d0b60622..bdd3faee9d2d19ed037e8ce91380faae8cf39d7d 100644 (file)
@@ -15,7 +15,7 @@ dlz external {
 };
 
 zone "example.com" {
-       type master;
+       type primary;
        dlz external;
 };
 
index bf27dab0a62ea119823506021b72a6eaff42e10a..030030f1da6021f3c9ee65c0ac2d058262c9cf63 100644 (file)
  */
 
 /*
- * Missing master in also-notify clause.
+ * Missing primary in also-notify clause.
  */
 
 zone dummy {
-       type master;
+       type primary;
        file "xxxx";
        also-notify { xxxx; };
 };
index 9db164ed285c2c664946acf808019922cc92710f..852adec2cc934c1cf32f586052ba9a09c881f7a5 100644 (file)
@@ -10,8 +10,8 @@
  */
 
 zone not-inline {
-       type slave;
-       masters { 127.0.0.1; };
+       type secondary;
+       primaries { 127.0.0.1; };
        inline-signing no;
        dnssec-dnskey-kskonly yes;
        update-check-ksk yes;
@@ -20,8 +20,8 @@ zone not-inline {
 };
 
 zone inline {
-       type slave;
-       masters { 127.0.0.1; };
+       type secondary;
+       primaries { 127.0.0.1; };
        inline-signing yes;
        dnssec-dnskey-kskonly yes;
        update-check-ksk yes;
index dfde12401cb08309d7f600fb36f732e09fd1412f..3e308f2f284e6f8763838adae628d4a3eec99eba 100644 (file)
  */
 
 view a {
-       zone x { type master; file "x"; };
+       zone x { type primary; file "x"; };
 };
 
 view b {
-       zone x { type master; file "x"; };
+       zone x { type primary; file "x"; };
        zone x { in-view a; };
 };
similarity index 77%
rename from bin/tests/system/checkconf/bad-inline-slave.conf
rename to bin/tests/system/checkconf/bad-inline-secondary.conf
index ff283b62cd7a13899eec0e55ed6137cede8bb309..880d103d21680d1d4ff0e327e7079cb6bc52d6bc 100644 (file)
  */
 
  /*
-  * An inline-signing slave should be forced to have a file option
+  * An inline-signing secondary should be forced to have a file option
   */
 
   zone "." {
-         type slave;
+         type secondary;
          inline-signing yes;
-         masters { 10.53.0.1; };
-  };
\ No newline at end of file
+         primaries { 10.53.0.1; };
+  };
index 65095c4f8eca983b8c0687c32254462bd4e3c34a..f36d99776f689d1f07f67adbd4f5f2488e0427f1 100644 (file)
@@ -15,7 +15,7 @@ dnssec-policy "default" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "default";
 };
index 19ae2d56ddc2b1d29e5561af4295f0f5d396aee7..57be164af184050a6018cd87ffa7a453cbc1d0f4 100644 (file)
@@ -15,7 +15,7 @@ dnssec-policy "insecure" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "insecure";
 };
index 4fc3781699ad68c3448719b87d9a6b8acfba7af8..31e7941591a3f6506163aefb1d59e0b46155f57f 100644 (file)
@@ -15,7 +15,7 @@ dnssec-policy "none" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "none";
 };
index 628788c349522dd3897f60d1c8fe47e1fe7ccc67..43571d01c46c0118d5e08daafe8a4f2c1320550a 100644 (file)
@@ -16,7 +16,7 @@ dnssec-policy "badalg" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "badalg";
 };
index b6f513f18d4ff0fa1fb8c572ad23189c58a875a1..597b4b0918b0f3ef913154b76127d15d877a00d5 100644 (file)
@@ -16,7 +16,7 @@ dnssec-policy "badalg" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "badalg";
 };
index 5a93301e458131e85aa4437a994069c64bef658e..a5f524598444a7c48a091c302ee0358a1d4714a3 100644 (file)
@@ -16,7 +16,7 @@ dnssec-policy "badalg" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "badalg";
 };
index 785b3ca831e04a240c7c2b953c359cb10c217e9b..4a72d35626e430218e44cdc4d2e5cf43a2186b2c 100644 (file)
@@ -16,7 +16,7 @@ dnssec-policy "badalg" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "badalg";
 };
index 026fb52aaa13d9b1307dbf89d4d7e191ed1fb17c..6205075b891b127a4d5bed203654ce6593dfa6da 100644 (file)
 // both using the same zone file.
 
 zone "example1.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "none";
 };
 
 zone "example2.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "insecure";
 };
index 6d5f51813e94c6531b759e02bc33c2a19a140f49..a5ec15821180f3b7cd0392fa67b251382a5b3ee4 100644 (file)
 // with the same zone file.
 
 zone "example1.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "default";
 };
 
 zone "example2.net" {
-       type master;
+       type primary;
        file "example.db";
        allow-update { any; };
 };
index 3251f61874cccd3edcca766163d977aa3de9bf69..3b899a5364fba548b7db6b80681c289952011465 100644 (file)
 // with the same zone file.
 
 zone "example1.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "default";
 };
 
 zone "example2.net" {
-       type master;
+       type primary;
        file "example.db";
        update-policy {
                grant * self * TXT;
index 503859ba44a925a4a13e2eb2826cbc5c48ecaf7c..0ac16727c9ffd4d9b0b8dad8719d7a436a62fb31 100644 (file)
 // with the same zone file.
 
 zone "example1.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "insecure";
 };
 
 zone "example2.net" {
-       type master;
+       type primary;
        file "example.db";
        allow-update { any; };
 };
index a7b44ab6d0da62cb009d929c81a5ba4a590d27d8..7bfda9e2a3907506b67c9366204b41be02b15e54 100644 (file)
@@ -14,7 +14,7 @@ include "good-kasp.conf";
 // Bad zone configuration because this has dnssec-policy and other DNSSEC sign
 // configuration options (auto-dnssec).
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "test";
        auto-dnssec maintain;
index 104100dc5903d672da1da8c6c325fe59f6455e7b..b28c5a64995cf953a6abe844ad2649d59c200139 100644 (file)
@@ -15,7 +15,7 @@ include "good-kasp.conf";
 // dnssec-policy configuration (good-kasp.conf has "test", zone refers to
 // "nosuchpolicy".
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "nosuchpolicy";
 };
index efb2cbefa85680736fe544b8126c831be7584ce5..fc6ea10f965a9677d5a5de188ee3fd5af986e555 100644 (file)
@@ -16,7 +16,7 @@ dnssec-policy "badduration" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "badduration";
 };
index 672f4df868bdd668a32f2b1ba3a0c2893d8fe9de..2dd6a8e5085d3ba2c535b73a5636179c4d17b8c9 100644 (file)
 // Two zones with dnssec-policy with the same zone file.
 
 zone "example1.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "default";
 };
 
 zone "example2.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "default";
 };
index b7ba4a9b2e51d42569ac63a049df604e9746e502..9370bf646e1fc24800fcafeea87c5ee65be3ef29 100644 (file)
 // with the same zone file.
 
 zone "example1.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "insecure";
 };
 
 zone "example2.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "insecure";
 };
index af4f1a3d5aeec50ce74e2617a71920474d9ae2b4..8c199bfe1682bf5e2ef3d98e8b2f7449e2e5ad5a 100644 (file)
 // both with the same zone file.
 
 zone "example1.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "default";
 };
 
 zone "example2.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "none";
 };
index 7fc5370afc248deef178b41228bd47be1099efae..a557127007fe727652e438891920a82462a37399 100644 (file)
 // (transitioning to inseure), both with the same zone file.
 
 zone "example1.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "default";
 };
 
 zone "example2.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "insecure";
 };
index 2d3913f71cdeffbba713c9123960a2f7e226956b..4d28d033ebe5a84751a19b87370848bbc9f210d3 100644 (file)
  */
 
 /*
- * request-ixfr clause is not allowed in zone of type master.
+ * request-ixfr clause is not allowed in zone of type primary.
  */
 
 zone dummy {
-       type master;
+       type primary;
        request-ixfr no;
        file "xxxx";
 };
index 1f612e3edf614c54cf49eac73be9dfad3906c9be..4bf5612600e95342042202cf5335b5b25b9cc78b 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone example {
-       type master;
+       type primary;
        masterfile-format raw;
        file "example.db";
        max-ixfr-ratio 0.9;
index 2fab381c0464504ef2fb9863876fecd1d49982d9..9090fa9e00682f99e77c98256a7195aca5fd4c0a 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone example {
-       type master;
+       type primary;
        masterfile-format raw;
        file "example.db";
        max-ixfr-ratio 0%;
index 9dabf8897ee4062b74e58d1ba57eb2539fc2b0ab..e872d02c7c57ff8924776ca6192d223204df9d38 100644 (file)
@@ -16,5 +16,5 @@ options {
 
 zone "." {
        type mirror;
-       masters { 127.0.0.1; };
+       primaries { 127.0.0.1; };
 };
index d4e93dcbf64fa7cd321c3089c0cebe505b0f42e5..729558966d46f1e2faa9135664786be28c04e288 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone example {
-       type master;
+       type primary;
        file "example.db";
        auto-dnssec maintain;
        allow-update { none; };
index d5a28c0e3a356033a13af7a3b4c2a98bbf776098..028b0ef63d37e895e297dec633a285054a3ca7fb 100644 (file)
@@ -14,6 +14,6 @@ options {
 };
 
 zone "example.net" {
-       type slave;
-       masters { 192.168.1.1; };
+       type secondary;
+       primaries { 192.168.1.1; };
 };
index 92a13bed390294a1b76ac3e410d51c38851cd853..959a25967c8d2edb60b48b1d4365f5cf60bfa6e2 100644 (file)
@@ -79,68 +79,68 @@ options {
        };
 };
 
-zone "max1" { type master; file "rpz.db"; };
-zone "max2" { type master; file "rpz.db"; };
-zone "max3" { type master; file "rpz.db"; };
-zone "max4" { type master; file "rpz.db"; };
-zone "max5" { type master; file "rpz.db"; };
-zone "max6" { type master; file "rpz.db"; };
-zone "max7" { type master; file "rpz.db"; };
-zone "max8" { type master; file "rpz.db"; };
-zone "max9" { type master; file "rpz.db"; };
-zone "max10" { type master; file "rpz.db"; };
-zone "max11" { type master; file "rpz.db"; };
-zone "max12" { type master; file "rpz.db"; };
-zone "max13" { type master; file "rpz.db"; };
-zone "max14" { type master; file "rpz.db"; };
-zone "max15" { type master; file "rpz.db"; };
-zone "max16" { type master; file "rpz.db"; };
-zone "max17" { type master; file "rpz.db"; };
-zone "max18" { type master; file "rpz.db"; };
-zone "max19" { type master; file "rpz.db"; };
-zone "max20" { type master; file "rpz.db"; };
-zone "max21" { type master; file "rpz.db"; };
-zone "max22" { type master; file "rpz.db"; };
-zone "max23" { type master; file "rpz.db"; };
-zone "max24" { type master; file "rpz.db"; };
-zone "max25" { type master; file "rpz.db"; };
-zone "max26" { type master; file "rpz.db"; };
-zone "max27" { type master; file "rpz.db"; };
-zone "max28" { type master; file "rpz.db"; };
-zone "max29" { type master; file "rpz.db"; };
-zone "max30" { type master; file "rpz.db"; };
-zone "max31" { type master; file "rpz.db"; };
-zone "max32" { type master; file "rpz.db"; };
-zone "max33" { type master; file "rpz.db"; };
-zone "max34" { type master; file "rpz.db"; };
-zone "max35" { type master; file "rpz.db"; };
-zone "max36" { type master; file "rpz.db"; };
-zone "max37" { type master; file "rpz.db"; };
-zone "max38" { type master; file "rpz.db"; };
-zone "max39" { type master; file "rpz.db"; };
-zone "max40" { type master; file "rpz.db"; };
-zone "max41" { type master; file "rpz.db"; };
-zone "max42" { type master; file "rpz.db"; };
-zone "max43" { type master; file "rpz.db"; };
-zone "max44" { type master; file "rpz.db"; };
-zone "max45" { type master; file "rpz.db"; };
-zone "max46" { type master; file "rpz.db"; };
-zone "max47" { type master; file "rpz.db"; };
-zone "max48" { type master; file "rpz.db"; };
-zone "max49" { type master; file "rpz.db"; };
-zone "max50" { type master; file "rpz.db"; };
-zone "max51" { type master; file "rpz.db"; };
-zone "max52" { type master; file "rpz.db"; };
-zone "max53" { type master; file "rpz.db"; };
-zone "max54" { type master; file "rpz.db"; };
-zone "max55" { type master; file "rpz.db"; };
-zone "max56" { type master; file "rpz.db"; };
-zone "max57" { type master; file "rpz.db"; };
-zone "max58" { type master; file "rpz.db"; };
-zone "max59" { type master; file "rpz.db"; };
-zone "max60" { type master; file "rpz.db"; };
-zone "max61" { type master; file "rpz.db"; };
-zone "max62" { type master; file "rpz.db"; };
-zone "max63" { type master; file "rpz.db"; };
-zone "max64" { type master; file "rpz.db"; };
-zone "max65" { type master; file "rpz.db"; };
+zone "max1" { type primary; file "rpz.db"; };
+zone "max2" { type primary; file "rpz.db"; };
+zone "max3" { type primary; file "rpz.db"; };
+zone "max4" { type primary; file "rpz.db"; };
+zone "max5" { type primary; file "rpz.db"; };
+zone "max6" { type primary; file "rpz.db"; };
+zone "max7" { type primary; file "rpz.db"; };
+zone "max8" { type primary; file "rpz.db"; };
+zone "max9" { type primary; file "rpz.db"; };
+zone "max10" { type primary; file "rpz.db"; };
+zone "max11" { type primary; file "rpz.db"; };
+zone "max12" { type primary; file "rpz.db"; };
+zone "max13" { type primary; file "rpz.db"; };
+zone "max14" { type primary; file "rpz.db"; };
+zone "max15" { type primary; file "rpz.db"; };
+zone "max16" { type primary; file "rpz.db"; };
+zone "max17" { type primary; file "rpz.db"; };
+zone "max18" { type primary; file "rpz.db"; };
+zone "max19" { type primary; file "rpz.db"; };
+zone "max20" { type primary; file "rpz.db"; };
+zone "max21" { type primary; file "rpz.db"; };
+zone "max22" { type primary; file "rpz.db"; };
+zone "max23" { type primary; file "rpz.db"; };
+zone "max24" { type primary; file "rpz.db"; };
+zone "max25" { type primary; file "rpz.db"; };
+zone "max26" { type primary; file "rpz.db"; };
+zone "max27" { type primary; file "rpz.db"; };
+zone "max28" { type primary; file "rpz.db"; };
+zone "max29" { type primary; file "rpz.db"; };
+zone "max30" { type primary; file "rpz.db"; };
+zone "max31" { type primary; file "rpz.db"; };
+zone "max32" { type primary; file "rpz.db"; };
+zone "max33" { type primary; file "rpz.db"; };
+zone "max34" { type primary; file "rpz.db"; };
+zone "max35" { type primary; file "rpz.db"; };
+zone "max36" { type primary; file "rpz.db"; };
+zone "max37" { type primary; file "rpz.db"; };
+zone "max38" { type primary; file "rpz.db"; };
+zone "max39" { type primary; file "rpz.db"; };
+zone "max40" { type primary; file "rpz.db"; };
+zone "max41" { type primary; file "rpz.db"; };
+zone "max42" { type primary; file "rpz.db"; };
+zone "max43" { type primary; file "rpz.db"; };
+zone "max44" { type primary; file "rpz.db"; };
+zone "max45" { type primary; file "rpz.db"; };
+zone "max46" { type primary; file "rpz.db"; };
+zone "max47" { type primary; file "rpz.db"; };
+zone "max48" { type primary; file "rpz.db"; };
+zone "max49" { type primary; file "rpz.db"; };
+zone "max50" { type primary; file "rpz.db"; };
+zone "max51" { type primary; file "rpz.db"; };
+zone "max52" { type primary; file "rpz.db"; };
+zone "max53" { type primary; file "rpz.db"; };
+zone "max54" { type primary; file "rpz.db"; };
+zone "max55" { type primary; file "rpz.db"; };
+zone "max56" { type primary; file "rpz.db"; };
+zone "max57" { type primary; file "rpz.db"; };
+zone "max58" { type primary; file "rpz.db"; };
+zone "max59" { type primary; file "rpz.db"; };
+zone "max60" { type primary; file "rpz.db"; };
+zone "max61" { type primary; file "rpz.db"; };
+zone "max62" { type primary; file "rpz.db"; };
+zone "max63" { type primary; file "rpz.db"; };
+zone "max64" { type primary; file "rpz.db"; };
+zone "max65" { type primary; file "rpz.db"; };
index af35952982a982a55793e0107131c200e016eef6..9539938eb7769b8adf30f9d73897ea3fa6dfb368 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com." {
-       type master;
+       type primary;
        file "example.com.zone";
 };
 
index 1c06bfd5086faea838a50f36fefe35f7f4986f9b..8805b7c5a64a96297de7690be5fba84866c75c5e 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com." {
-       type master;
+       type primary;
        file "example.com.zone";
 };
 
index 38d244a696868f2e790b585f53a3796603e6a5bc..b10fb520e5281767aa896b5b04b7c348dd79d640 100644 (file)
  */
 
 zone a {
-       type master;
+       type primary;
        file "shared.db";
 };
 zone b {
-       type slave;
+       type secondary;
        file "shared.db";
-       masters { 1.2.3.4; };
+       primaries { 1.2.3.4; };
 };
index 31c77c417c964536f143ff4d1ac33a0576b60f67..7f68e9c4da1c21353264b511192443356f66f3a2 100644 (file)
  */
 
 zone a {
-       type slave;
+       type secondary;
        file "shared.db";
-       masters { 1.2.3.4; };
+       primaries { 1.2.3.4; };
 };
 zone b {
-       type slave;
+       type secondary;
        file "shared.db";
-       masters { 1.2.3.4; };
+       primaries { 1.2.3.4; };
 };
index 3782991fa548901a36a20f0c61fab0499ebea2b4..12c4f6a4f6f492857cb1d538ce1a10078d1672ee 100644 (file)
@@ -14,7 +14,7 @@ view "first" {
                "none";
        };
        zone "clone" {
-               type master;
+               type primary;
                file "xxx";
        };
 };
@@ -24,6 +24,6 @@ view "second" {
        };
        zone "clone" {
                in-view "first";
-               type slave;
+               type secondary;
        };
 };
index 91b0472d9a9efb5c389d9e3ab33ad8093b6ce262..50159584a8fd34a3a76d4a5900f605fde6d1417d 100644 (file)
@@ -14,7 +14,7 @@ view "first" {
                "none";
        };
        zone "clone" {
-               type master;
+               type primary;
                file "xxx";
        };
 };
@@ -26,6 +26,6 @@ view "second" {
                in-view "first";
                forward only;
                forwarders { 10.0.0.100; };
-               type slave;
+               type secondary;
        };
 };
index e174ab11653efef5d5ac6a242587d98b5acb98e5..d4b12d66f2707f70c3f6fddb24c3310d964c70b5 100644 (file)
@@ -17,7 +17,7 @@ view first {
 
 view second {
        zone shared.example {
-               type master;
+               type primary;
                file "shared.example.db";
        };
 };
index 750daf886fbf135047ba938588bd7bd116b804a5..868aab761fc1b6c037cd9bb32b5aa43674a5f51d 100644 (file)
@@ -19,5 +19,5 @@ zone "example." {
        dialup notify;
        notify no;
        file "example.bk";
-       // masters { 10.53.0.1; };
+       // primaries { 10.53.0.1; };
 };
index 13e21db605cf06be1cd7e280cfb9c23e45c4eb45..30289bcd538c43e25bd0959c119083151a2058b9 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * self TXT;
index 8c9a4adebf98c1eb79d23ba1d360aae9ef3e133d..f3604078d312bc8226cf0451164367129869db42 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * krb5-selfsub TXT;
index 6f81c31017ffd4bb1c4cc1b545b19b923f51df9f..5d958b683b282442c7494b1e70ddc990f2e44ecc 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * ms-selfsub TXT;
index c636f1bf650f7453a190f99ebf48c6fa536961ab..899996c03fd7f7cff97713ba3aef0d7311213932 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * external TXT;
index 4fb16f204add29431650a1fd45970401ea859d77..6234e23fb7ca967b43544a9c6d42ec86e4087005 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant a-key-name name TXT;
index 1498180d45aaaf9557657b1d8fa75c59019eba5e..8615278ba8451f91a71f4e4797cbeac57cba81a0 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant a-key-name subdomain TXT;
index 7591b0b36c8cb9ee7ee542237f2bdd1c409eb9f9..bbc0430528e8eb375fb4cf12ac4130c0af7fda9f 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant a-key-name wildcard TXT;
index 6870e65e628e99aa506efa31d59bb0f55c8a0e2f..51aba35a1d18d13c1c4f8f4687afd04670f12f0c 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * tcp-self . "ptr(10 )";
index 987e0967c3ad584ba6213177828430227b5a049d..d94d4980259b7ecf8fb5664e6d0cf24abc5f41eb 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * selfsub TXT;
index ff0811f9477ee417509d43a7bdd6542b3a541031..c07c7ba4d7f6bd6c8847f9e22d16c857656783ee 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * selfwild TXT;
index 396f69b81e24264f810a8f01de26aed5d11970dc..b0abfc1cc6fdbced32f8f157c4c970718fdc1720 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * ms-self TXT;
index 718dad5346e0b975b0297656ee02a6bc90001590..0e84043db39ebc5c4932e059b10242c7a81b2b0d 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * krb5-self TXT;
index 992e384a50dd10c73e1c98804183f9da42801fd5..16c7dd21f191482c052990acc534f67708340463 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * ms-subdomain TXT;
index 3bd2185aebf6770a908490a651cb1d08f1938d8f..cf2c4ee1ab8303dc8f157857a3cd12f58be18020 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * krb5-subdomain TXT;
index c88b0e25190717dc10c035bbc194a564b198b8b6..392b742e4e943b40cc490a5c74888aa1cc0c0d00 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * tcp-self TXT;
index 382f899fec514e61a1b3ebccf6967ab1f4657bad..e167e9a5c95b2a698a39a9ece273e64cbf4a5f24 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * 6to4-self TXT;
index 418fa47a8fb3937173e3c562f1df4b7bc6816151..25d6460a94019ded436e3ac2af1fbab931fd7f42 100644 (file)
@@ -12,7 +12,7 @@
 view example {
        also-notify { missing; };
        zone "example.net" {
-               type slave;
-               masters { 192.168.1.1; };
+               type secondary;
+               primaries { 192.168.1.1; };
        };
 };
index 684e8c6ee02ce633f22c50a06f551f1a587bec40..154bd29dfbfd809fe1afefee1d0cdfffb565309f 100644 (file)
@@ -14,7 +14,7 @@ options {
 };
 
 zone "check-dup-records" {
-  type master;
+  type primary;
   file "check-dup-records.db";
   check-dup-records fail;
 };
index f43d3e2575f2577cee177167238a25a02dd234e9..2d4aba39cbc37bb8811ad77bc1182298413d4bd4 100644 (file)
 
 view missing {
        zone missing.example {
-               type master;
+               type primary;
                file "missing.example.db";
        };
 };
 
 view good {
        zone shared.example {
-               type master;
+               type primary;
                file "shared.example.db";
        };
 };
index 71292c8881bec795bd69e1ca453074bf1840a181..b0c20279c99622d9fdeb603be6a1f22ed844fd04 100644 (file)
@@ -14,7 +14,7 @@ options {
 };
 
 zone "check-mx-cname" {
-  type master;
+  type primary;
   file "check-mx-cname.db";
   check-mx-cname fail;
 };
index 2eb8ad676bdad1545a923b6f00f91aa11826bdd8..17a4e96ecafa89e7cdc7e50715f7374135a06b4a 100644 (file)
@@ -14,7 +14,7 @@ options {
 };
 
 zone "check-mx" {
-  type master;
+  type primary;
   file "check-mx.db";
   check-mx fail;
 };
index 9c0ac26eae83e71a939540f83aafaf0c7a6e8164..27ade2dc13bc5b0cafbad1d0b9daea806e1310fa 100644 (file)
@@ -14,7 +14,7 @@ options {
 };
 
 zone "check-names" {
-  type master;
+  type primary;
   file "check-names.db";
   check-names fail;
 };
index e84630729a03ae7ffef4628c5d600e4498ef7eb3..840b7096dab8ed06d75e15c2c48e881007ffb261 100644 (file)
@@ -14,7 +14,7 @@ options {
 };
 
 zone "check-srv-cname" {
-  type master;
+  type primary;
   file "check-srv-cname.db";
   check-srv-cname fail;
 };
index 2ba89b19d3f1c5e9e1122fbb8eb7242dba8a374e..3d703231cf6a1708090dfd3e1b0cb62863591d61 100644 (file)
@@ -18,8 +18,8 @@ dlz two {
        search no;
 };
 
-zone master {
-       type master;
+zone primary {
+       type primary;
        database "none";
        dlz two;
 };
index 2aa3091a8a04d3705a1e5b4b8c638323d4e3060c..d74b5d217ed640a8e473940c1af7e68898d5ddb5 100644 (file)
@@ -36,26 +36,26 @@ options {
        dnssec-policy "default";
 };
 zone "example1" {
-       type master;
+       type primary;
        file "example1.db";
 };
 zone "example2" {
-       type master;
+       type primary;
        file "example2.db";
        dnssec-policy "test";
 };
 zone "example3" {
-       type master;
+       type primary;
        file "example3.db";
        dnssec-policy "default";
 };
 zone "dnssec-policy-none-shared-zonefile1" {
-       type master;
+       type primary;
        file "shared.db";
        dnssec-policy "none";
 };
 zone "dnssec-policy-none-shared-zonefile2" {
-       type master;
+       type primary;
        file "shared.db";
        dnssec-policy "none";
 };
index d2225fefd680e77d552e8cd576e7c5dc48c99fc7..b9d3a0fab68a74a17d80a6bb9f20178972a72d7a 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone example {
-       type master;
+       type primary;
        masterfile-format raw;
        file "example.db";
        max-ixfr-ratio 50%;
index ed55995eac44b67cc78e4913f840d96d68c42946..30f35666c2fcd4bd37f66d3715f42e718076109a 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone example {
-       type master;
+       type primary;
        masterfile-format raw;
        file "example.db";
        max-ixfr-ratio unlimited;
index fcb01638d962ed17d12ba326ad5484399b9a7ec9..7f933fe42f144ecd86f3f1d0eaa6eef329ad2e97 100644 (file)
@@ -14,7 +14,7 @@ options {
 };
 
 zone "example.net" {
-       type slave;
+       type secondary;
        notify no;
-       masters { 192.168.1.1; };
+       primaries { 192.168.1.1; };
 };
index 68e511f9be225bbcfef0deba092e1f55c9408318..23e6a43c7c1702c513af7ee392182210f57ad787 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com." {
-       type master;
+       type primary;
        file "example.com.zone";
 };
 
index 96d09a9b858530bcb84ea74e5da4fa7d345a4835..15c826d79aa503f593a23d6c8ecb7e69fee72c9d 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com." {
-       type master;
+       type primary;
        file "example.com.zone";
 };
 
index 188b559f487789caf9cffaa7909fd4e2485a19cb..23c6475ba3d112b379a0539c6a55af0a2815c08f 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com." {
-       type master;
+       type primary;
        file "example.com.zone";
 };
 
index 51ecc93bc7e1e175fa1275bb058b8cd8a02d1546..0cee6a7f683312edb12888cb2167600f45724501 100644 (file)
@@ -1,5 +1,5 @@
 zone example {
-       type master;
+       type primary;
        file "example.db";
        sig-signing-type 65280;
 };
index 8d345186bccec1dd17fe57074de84b2729599f5f..98990d5b3b0190d3d8971dc9dd2cdcf8ad43dbb5 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * self * TXT;
index 60bea6b56fec47dc800c504188a0cc006d231a2f..2ee3e5f2062f9742ad504e49f619693d0129e188 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * krb5-subdomain . TXT;
index ba6f396f5ba4d84afedc7411d5b6b970c46be3fe..72dd66824aeadb3fb40510ead1309e83ed158c2b 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * tcp-self . TXT;
index 09bd926a4c678596acb75fe06acf71f7a3345ef3..b1ec61181f9c9521ddba712c6c405be7b6ecb00e 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * 6to4-self . TXT;
index e67e01f31902870449281c43801603298e2d713f..5c0a8c9f76d1639ca6cf94831ee33ac22197466a 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * tcp-self . ptr(1);
index 5b453e73072d64c1650803584056a719cc07ad6e..b0f8716d379b0b24e202f49a27659f8f2d50548a 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * self . TXT;
index 3f4cef24ab2e4652874355ebd95f3a095351c791..b5110cf423e7b2b0bd3945f0038ecff099023050 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * selfsub . TXT;
index a3ef5343a32a9322650681155f54726404c7a44d..204f9a4d182b608fd9fb5e21ac1795f2c46d8432 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * selfsub * TXT;
index 1f70f0c2f641901ba934a11397a0c20078bbc1c6..fcbf609134d47a11db11887450d5a6afdcb0557e 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * selfwild * TXT;
index ac43c48ddae36ed84ea943b9470043566c240e0c..e51c0a04844b5c86b60aa5599e64fdaf445eb3ff 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * selfwild . TXT;
index 96431a3e49b78d223092677501c350228ecb3705..af7acfc636baabdf3faffe0d2f1b912e030f7042 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * krb5-self . TXT;
index cd33559dda141d28bde01f621e16633be23a2dfb..4ee42388d126b469e8862fef057b073a16ca2c0f 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * ms-self . TXT;
index dcb5b461d914a0089aade6212c7205ea6832718a..cce3fc3888d64f2b48b8b326e53bd08f55df5ca1 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
        update-policy {
                grant * ms-subdomain . TXT;
index b8a46e98577271df4ffdb590896279219a180304..0998da0ee7654c762516246513d26c4600574a76 100644 (file)
@@ -12,8 +12,8 @@
 view example {
        also-notify { missing; };
        zone "example.net" {
-               type slave;
+               type secondary;
                notify no;
-               masters { 192.168.1.1; };
+               primaries { 192.168.1.1; };
        };
 };
index 616a5441d4fc66c3126513136c9732c47ef95238..2373425ad7db2c3e42bee3f0e2d56dda7a497ad7 100644 (file)
@@ -95,14 +95,14 @@ view "first" {
                "none";
        };
        zone "example1" {
-               type master;
+               type primary;
                file "xxx";
                update-policy local;
                max-ixfr-ratio 20%;
                notify-source 10.10.10.10 port 53 dscp 55;
        };
        zone "clone" {
-               type master;
+               type primary;
                file "yyy";
                max-ixfr-ratio unlimited;
        };
@@ -114,7 +114,7 @@ view "second" {
                "any";
        };
        zone "example1" {
-               type master;
+               type primary;
                file "zzz";
                update-policy local;
                zone-statistics yes;
@@ -138,7 +138,7 @@ view "second" {
        };
        zone "." {
                type redirect;
-               masters {
+               primaries {
                        1.2.3.4;
                };
        };
@@ -157,7 +157,7 @@ view "third" {
                };
        };
        zone "dnssec" {
-               type master;
+               type primary;
                file "file";
                allow-update {
                        "any";
@@ -170,7 +170,7 @@ view "third" {
        };
        zone "s" {
                type secondary;
-               masters {
+               primaries {
                        1.2.3.4;
                };
                notify primary-only;
@@ -178,7 +178,7 @@ view "third" {
 };
 view "fourth" {
        zone "dnssec-test" {
-               type master;
+               type primary;
                file "dnssec-test.db";
                parental-agents {
                        1.2.3.4;
@@ -188,7 +188,7 @@ view "fourth" {
                parental-source 10.10.10.10 port 53 dscp 55;
        };
        zone "dnssec-default" {
-               type master;
+               type primary;
                file "dnssec-default.db";
                parental-agents {
                        "parents";
@@ -196,31 +196,31 @@ view "fourth" {
                dnssec-policy "default";
        };
        zone "dnssec-inherit" {
-               type master;
+               type primary;
                file "dnssec-inherit.db";
        };
        zone "dnssec-none" {
-               type master;
+               type primary;
                file "dnssec-none.db";
                dnssec-policy "none";
        };
        zone "dnssec-view1" {
-               type master;
+               type primary;
                file "dnssec-view41.db";
                dnssec-policy "test";
        };
        zone "dnssec-view2" {
-               type master;
+               type primary;
                file "dnssec-view42.db";
        };
        zone "dnssec-view3" {
-               type master;
+               type primary;
                file "dnssec-view43.db";
                dnssec-policy "none";
                key-directory "keys";
        };
        zone "dnssec-view4" {
-               type master;
+               type primary;
                file "dnssec-view44.db";
                dnssec-policy "none";
        };
@@ -229,24 +229,24 @@ view "fourth" {
 };
 view "fifth" {
        zone "dnssec-view1" {
-               type master;
+               type primary;
                file "dnssec-view51.db";
                dnssec-policy "test";
        };
        zone "dnssec-view2" {
-               type master;
+               type primary;
                file "dnssec-view52.db";
                dnssec-policy "test";
                key-directory "keys";
        };
        zone "dnssec-view3" {
-               type master;
+               type primary;
                file "dnssec-view53.db";
                dnssec-policy "default";
                key-directory "keys";
        };
        zone "dnssec-view4" {
-               type master;
+               type primary;
                file "dnssec-view54.db";
                dnssec-policy "none";
        };
@@ -254,7 +254,7 @@ view "fifth" {
 };
 view "chaos" chaos {
        zone "hostname.bind" chaos {
-               type master;
+               type primary;
                database "_builtin hostname";
        };
 };
index 08a5665afdf22f9d8fb882979e6a195c88885830..a5fbfdae18394872a0b5aa2c752925d1460a079c 100644 (file)
@@ -1,24 +1,24 @@
-example1 IN first master
-clone IN first master
-example1 IN second master
+example1 IN first primary
+clone IN first primary
+example1 IN second primary
 example2 IN second static-stub
 example3 IN second static-stub
 clone IN second in-view first
 . IN second redirect
 clone IN third in-view first
-dnssec IN third master
+dnssec IN third primary
 p IN third primary
 s IN third secondary
-dnssec-test IN fourth master
-dnssec-default IN fourth master
-dnssec-inherit IN fourth master
-dnssec-none IN fourth master
-dnssec-view1 IN fourth master
-dnssec-view2 IN fourth master
-dnssec-view3 IN fourth master
-dnssec-view4 IN fourth master
-dnssec-view1 IN fifth master
-dnssec-view2 IN fifth master
-dnssec-view3 IN fifth master
-dnssec-view4 IN fifth master
-hostname.bind chaos chaos master
+dnssec-test IN fourth primary
+dnssec-default IN fourth primary
+dnssec-inherit IN fourth primary
+dnssec-none IN fourth primary
+dnssec-view1 IN fourth primary
+dnssec-view2 IN fourth primary
+dnssec-view3 IN fourth primary
+dnssec-view4 IN fourth primary
+dnssec-view1 IN fifth primary
+dnssec-view2 IN fifth primary
+dnssec-view3 IN fifth primary
+dnssec-view4 IN fifth primary
+hostname.bind chaos chaos primary
index 3161c38131c6ef5ebde4fd6eba00959fee124519..7ee67539b6a5abc22db36453f7a2022c3b071594 100644 (file)
@@ -11,7 +11,7 @@
 
 view internal {
        zone shared.example {
-               type master;
+               type primary;
                file "shared.example.db";
        };
 };
index 011bea91bec38e3aeafc64639f18a74e04188d48..21a0eef06cd94fcc089ac5d2f94659b5e09aabec 100644 (file)
  */
 
 acl "transferees" {};
-masters "stealthMasters" {127.0.0.1;};
-masters "publicSlaves" {127.0.0.1;};
+primaries "stealthPrimaries" {127.0.0.1;};
+primaries "publicSecondaries" {127.0.0.1;};
 zone "example.net" {
-       type slave;
+       type secondary;
        key-directory "/var/lib/bind/example.net";
        auto-dnssec maintain;
        inline-signing yes;
-       masters { stealthMasters; };
+       primaries { stealthPrimaries; };
        notify explicit;
-       also-notify { publicSlaves; };
+       also-notify { publicSecondaries; };
        allow-transfer { localhost; transferees; };
 };
 
index 8e3115b19ca850bb182eaff77c9ab8ed7c0dd73f..fff69e1ab8d57377273d16e53f66bb2cb156b508 100644 (file)
  */
 
 acl "transferees" {};
-masters "stealthMasters" {127.0.0.1;};
-masters "publicSlaves" {127.0.0.1;};
+primaries "stealthPrimaries" {127.0.0.1;};
+primaries "publicSecondaries" {127.0.0.1;};
 zone "example.net" {
-       type slave;
+       type secondary;
        file "/var/cache/bind/example.net.db";
        key-directory "/var/lib/bind/example.net";
        auto-dnssec maintain;
        inline-signing yes;
-       masters { stealthMasters; };
+       primaries { stealthPrimaries; };
        notify explicit;
-       also-notify { publicSlaves; };
+       also-notify { publicSecondaries; };
        allow-transfer { localhost; transferees; };
 };
 
index c441fa9c9a8dc04a1eaf6491f48ca53339dad0bf..3fc3581d5a06f6805f58b27d0cafe19d4931d143 100644 (file)
  */
 
 acl "transferees" {};
-masters "stealthMasters" {127.0.0.1;};
-masters "publicSlaves" {127.0.0.1;};
+primaries "stealthPrimaries" {127.0.0.1;};
+primaries "publicSecondaries" {127.0.0.1;};
 zone "example.net" {
-       type slave;
+       type secondary;
        key-directory "/var/lib/bind/example.net";
        auto-dnssec maintain;
        inline-signing no;
-       masters { stealthMasters; };
+       primaries { stealthPrimaries; };
        notify explicit;
-       also-notify { publicSlaves; };
+       also-notify { publicSecondaries; };
        allow-transfer { localhost; transferees; };
 };
 
index a3eae44f7382768cb2cd243fa8247540800ad772..83e2ce5d8ce3ddf1ed420f9140166628fafa17a5 100644 (file)
@@ -12,7 +12,7 @@
 include "good-kasp.conf";
 
 zone "nsec3.net" {
-       type master;
+       type primary;
        file "nsec3.db";
        dnssec-policy "test";
        auto-dnssec maintain;
index ec52436fe8b24363ff9118654edffb5883275bd5..ae539df50360134ed6bbfcb20f4d8e580f51bd4a 100644 (file)
@@ -16,7 +16,7 @@ dnssec-policy "bad-keylen" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "badkeylen";
 };
index 515d79f2bdad897609cdcc31b65727a777d6c4d4..c6e9ffa4a6df3190a7a22e8b6a157da1b1d0305a 100644 (file)
@@ -17,7 +17,7 @@ dnssec-policy "bad-salt" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "bad-salt";
 };
index 5d6e72695c48dfa290025662a42354c4f7ab74a7..d97598c446910d3d7dd6c8be3bb43d8f663f08c6 100644 (file)
@@ -52,7 +52,7 @@ dnssec-policy "rsasha512-bad" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "default";
 };
index 7701d3b4dd314e565dadaa79f0083cb431a2597e..d75bdfdb0b49ca6183fb83344741f8b269e3a79e 100644 (file)
@@ -14,7 +14,7 @@ dnssec-policy "bad-salt" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "bad-salt";
 };
index b2680bd74df5d1de82452efe026ab29847518211..141b4d4831076e8c3f8ffc2f10904be41f40347d 100644 (file)
@@ -17,7 +17,7 @@ dnssec-policy "warn-length" {
 };
 
 zone "example.net" {
-       type master;
+       type primary;
        file "example.db";
        dnssec-policy "warn-length";
 };
index 074bc2cbbd4431cf88b1e33ce722479be5f95578..b0a6b131bc7694aa0a307853a3dde3e930080ba5 100644 (file)
@@ -15,18 +15,18 @@ options {
 };
 
 zone "maxttl1.example" {
-       type master;
+       type primary;
        file "maxttl-bad.db";
 };
 
 zone "maxttl2.example" {
-       type master;
+       type primary;
        file "maxttl-bad.db";
        max-zone-ttl 300;
 };
 
 zone "maxttl3.example" {
-       type master;
+       type primary;
        file "maxttl-bad.db";
        max-zone-ttl 120;
 };
index ac4ca6548b74f429825c08e72ded5c6b9c2dd22b..b5ac4b934068331aec3182eeae84b1a2d3acc75b 100644 (file)
@@ -15,7 +15,7 @@ options {
 };
 
 zone "maxttl.example" {
-       type master;
+       type primary;
        file "maxttl-bad.db";
 };
 
index 60c4f15dda734b48dedb0afc660a80cfc444c0b6..1b562a2d365ccbd1d7b5130bbc8d673cb15aaafe 100644 (file)
  */
 
 view one {
-       notify master-only;
+       notify primary-only;
 
-       # also-notify inconsistent with master-only notify option
-       zone "slave" {
-               type slave;
-               masters { 1.2.3.4; };
+       # also-notify inconsistent with primary-only notify option
+       zone "secondary" {
+               type secondary;
+               primaries { 1.2.3.4; };
                also-notify { 5.6.7.8; };
        };
 
        # OK
-       zone "master" {
-               type master;
+       zone "primary" {
+               type primary;
                file "filename";
                also-notify { 5.6.7.8; };
        };
@@ -31,15 +31,15 @@ view two {
        notify no;
 
        # also-notify inconsistent with notify option at the view level
-       zone "slave" {
-               type slave;
-               masters { 1.2.3.4; };
+       zone "secondary" {
+               type secondary;
+               primaries { 1.2.3.4; };
                also-notify { 5.6.7.8; };
        };
 
        # OK
-       zone "master" {
-               type master;
+       zone "primary" {
+               type primary;
                file "filename";
                notify yes;
                also-notify { 5.6.7.8; };
@@ -48,16 +48,16 @@ view two {
 
 view three {
        # also-notify inconsistent with notify option at the zone level
-       zone "slave" {
-               type slave;
-               masters { 1.2.3.4; };
+       zone "secondary" {
+               type secondary;
+               primaries { 1.2.3.4; };
                notify no;
                also-notify { 5.6.7.8; };
        };
 
        # OK
-       zone "master" {
-               type master;
+       zone "primary" {
+               type primary;
                file "filename";
                also-notify { 5.6.7.8; };
        };
@@ -67,15 +67,15 @@ view four {
        also-notify { 5.6.7.8; };
 
        # OK
-       zone "slave" {
-               type slave;
-               masters { 1.2.3.4; };
-               notify master-only;
+       zone "secondary" {
+               type secondary;
+               primaries { 1.2.3.4; };
+               notify primary-only;
        };
 
        # OK
-       zone "master" {
-               type master;
+       zone "primary" {
+               type primary;
                file "filename";
                notify no;
        };
index a7f94d9f50b841a26507141454ae24124a0e47df..8a4fe76c8210922364ac9674aa492d8b8deab92e 100644 (file)
@@ -18,6 +18,6 @@ options {
 };
 
 zone "example" {
-       type master;
+       type primary;
        file "example.db";
 };
index 502a4f3d30a4b168f89195d20588b3f435173d24..1833932d26abc99f6a66805056d1587338ceedbf 100644 (file)
@@ -17,7 +17,7 @@ options {
 };
 
 zone dummy {
-       type master;
+       type primary;
        file "xxxx";
        key-directory "test.keydir";
 };
index 5a6ed5aa1fb20d9dd02201a954d036ed7db46e8f..d01f355a342102eb95abe29f6c42e7b1c6fcc632 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 zone example {
-       type master;
+       type primary;
        masterfile-format raw;
        file "example.db";
        max-ixfr-ratio 101%;
index 755a65075be829ee5077a1e6f6197e808173377c..5ba2dea1d8cf2ce3e88f05895afc6f338f8163c2 100644 (file)
@@ -12,8 +12,8 @@
 set -e
 
 # Say on stdout whether to test DNSRPS
-#      and create dnsrps.conf and dnsrps-slave.conf
-# Note that dnsrps.conf and dnsrps-slave.conf are included in named.conf
+#      and create dnsrps.conf and dnsrps-secondary.conf
+# Note that dnsrps.conf and dnsrps-secondary.conf are included in named.conf
 #      and differ from dnsrpz.conf which is used by dnsrpzd.
 
 
@@ -24,8 +24,8 @@ DNSRPS_CMD=../rpz/dnsrps
 AS_NS=
 TEST_DNSRPS=
 MCONF=dnsrps.conf
-SCONF=dnsrps-slave.conf
-USAGE="$0: [-xAD] [-M dnsrps.conf] [-S dnsrps-slave.conf]"
+SCONF=dnsrps-secondary.conf
+USAGE="$0: [-xAD] [-M dnsrps.conf] [-S dnsrps-secondary.conf]"
 while getopts "xADM:S:" c; do
     case $c in
        x) set -x; DEBUG=-x;;
@@ -86,16 +86,16 @@ CMN="       dnsrps-options { dnsrpzd-conf ../dnsrpzd.conf
                         dnsrpzd-args '-dddd -L stdout'
                         log-level 3"
 
-MASTER="$CMN"
+PRIMARY="$CMN"
 if [ -n "$AS_NS" ]; then
-    MASTER="$MASTER
+    PRIMARY="$PRIMARY
                        qname-as-ns yes
                        ip-as-ns yes"
 fi
 
-# write dnsrps settings for master resolver
+# write dnsrps settings for primary resolver
 cat <<EOF >>$MCONF
-$MASTER };
+$PRIMARY };
 EOF
 
 # write dnsrps settings for resolvers that should not start dnsrpzd
@@ -123,7 +123,7 @@ else
 fi
 cp $SRC_L $CUR_L
 
-# parse $CUR_L for the license zone name, master IP addresses, and optional
+# parse $CUR_L for the license zone name, primary IP addresses, and optional
 #   transfer-source IP addresses
 eval `sed -n -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'\
     -e 's/.*zone *\([-a-z0-9]*.license.fastrpz.com\).*/NAME=\1/p'      \
index 708754c3844a1ebc28eff59407ca9fdb8c669c3b..5e7369c6af7ac37571aaaf7b45dabcc53555a4fe 100644 (file)
@@ -28,6 +28,6 @@ zone "." {
 };
 
 zone "normal.example" {
-       type master;
+       type primary;
        file "normal.db";
 };
index 73b098ca337f8bbc2c770e49ce2ceac7e25023d8..b5534ef337bd314a973ab7062cdd58ebafc43242 100755 (executable)
@@ -35,7 +35,7 @@ sys.path.insert(0, '../../../../bin/python')
 from isc import rndc
 r = rndc(('10.53.0.2', 9953), 'hmac-sha256', '1234abcd8765')
 for i in range(20000):
-    res = r.call('addzone z%d.example { type master; file "added.db"; };' % i)
+    res = r.call('addzone z%d.example { type primary; file "added.db"; };' % i)
     if 'text' in res:
         print ('I:n2:' + res['text'])
 EOF
index 9811b7f432296844214172897f05b9d2cd99d95c..0d08e4db08163ab1abcd34ae5c635742a2c2c52d 100644 (file)
@@ -25,12 +25,12 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "example." {
-       type master;
+       type primary;
        notify explicit;
        also-notify { 10.53.0.2; };
        dialup yes;
index fdf06029e7d1f46dca942cf772350bd91e5f7a34..71c9b9269c06b8c6256d03d8f3f8e7b57e0d2c27 100644 (file)
@@ -30,9 +30,9 @@ zone "." {
 };
 
 zone "example." {
-       type slave;
+       type secondary;
        dialup passive;
        notify no;
        file "example.bk";
-       masters { 10.53.0.1; };
+       primaries { 10.53.0.1; };
 };
index 864b026b0cca2562eb3326e4beedfc77bee7c27b..5835d35d6ad1103d6a10ca049281e27cccafe009 100644 (file)
@@ -30,9 +30,9 @@ zone "." {
 };
 
 zone "example." {
-       type slave;
+       type secondary;
        dialup refresh;
        notify no;
        file "example.bk";
-       masters { 10.53.0.2; };
+       primaries { 10.53.0.2; };
 };
index f2c3a2c473d948d6116f306db925f7a6cd9cb623..5ea47a227d7778bfd87bc7faa46713543dd75e1e 100644 (file)
@@ -56,6 +56,6 @@ zone "signed" {
 };
 
 zone "ipv4only.arpa" {
-       type master;
+       type primary;
        file "ipv4only.arpa.db";
 };
index 5b5b0b455c272f8decf726caefec24af42d0d8d2..cff13ff42269b2bddd3ea23d228460fd57b5c3bb 100644 (file)
@@ -59,6 +59,6 @@ zone "signed" {
 };
 
 zone "ipv4only.arpa" {
-       type master;
+       type primary;
        file "ipv4only.arpa.db";
 };
index 2b4212cd0d54cc92b55ae7e622c0d2d49c69de0e..74e9163468b63072dd6f787b40d8dff813ff4ecd 100644 (file)
@@ -48,6 +48,6 @@ zone "signed" {
 };
 
 zone "ipv4only.arpa" {
-       type master;
+       type primary;
        file "ipv4only.arpa.db";
 };
index ebfd69d69a6be56527e43b33299b9132e877a8ea..1709b467384fbc461b6873ca0ec30704e3acebb7 100644 (file)
@@ -187,7 +187,7 @@ zone "corp" {
 };
 
 zone "hours-vs-days" {
-       type master;
+       type primary;
        file "hours-vs-days.db.signed";
        auto-dnssec maintain;
        /* validity 500 days, resign in 499 days */
@@ -196,7 +196,7 @@ zone "hours-vs-days" {
 };
 
 zone "too-many-iterations" {
-       type master;
+       type primary;
        file "too-many-iterations.db.signed";
 };
 
index 88ae7f04e9136e965378fbabf1320c6afba5071a..2178faccac1e1337698d06a78900f141fbe82810 100644 (file)
 #
 # Set up a test zone
 #
-# Usage: genzone.sh master-server-number secondary-server-number...
+# Usage: genzone.sh primary-server-number secondary-server-number...
 #
-# e.g., "genzone.sh 2 3 4" means ns2 is the master and ns3, ns4
+# e.g., "genzone.sh 2 3 4" means ns2 is the primary and ns3, ns4
 # are secondaries.
 #
 
-master="$1"
+primary="$1"
 
 cat <<EOF
 \$TTL 3600
 
-@              86400   IN SOA  ns${master} hostmaster (
+@              86400   IN SOA  ns${primary} hostmaster (
                                        1397051952 ; "SER0"
                                        5
                                        5
index 5f8640f55db39172f40215c87fb62d3d9d52aefa..ff1ffb3facb321751564b6de42ae3085dd1e0067 100644 (file)
@@ -26,8 +26,8 @@ ns4.bits.             A       10.53.0.4
 noixfr.                        NS      ns3.noixfr.
 ns3.noixfr.            A       10.53.0.3
 
-master.                        NS      ns3.master.
-ns3.master.            A       10.53.0.3
+primary.                       NS      ns3.primary.
+ns3.primary.           A       10.53.0.3
 
 dynamic.                       NS      ns3.dynamic.
 ns3.dynamic.           A       10.53.0.3
index 433e9fae169a7df8bdeb9baa184e931cbaf3245c..63781dc64eb8c4e02b4dafd69b3ae703233e9f13 100644 (file)
@@ -53,11 +53,11 @@ zone "noixfr" {
        file "noixfr.bk";
 };
 
-zone "master" {
+zone "primary" {
        type primary;
        inline-signing yes;
        auto-dnssec maintain;
-       file "master.db";
+       file "primary.db";
        notify explicit;
        also-notify {
                10.53.0.3;
index ea8bc18340e21abee9afeadb479e04b25259309b..c571d2a19f7ff2b95f11c61a2581a653b3fd494f 100755 (executable)
@@ -30,7 +30,7 @@ keyname=`$KEYGEN -q -a RSASHA1 -b 1024 -n zone $zone`
 keyname=`$KEYGEN -q -a RSASHA1 -b 1024 -n zone -f KSK $zone`
 $DSFROMKEY -T 1200 $keyname >> ../ns1/root.db
 
-zone=master
+zone=primary
 rm -f K${zone}.+*+*.key
 rm -f K${zone}.+*+*.private
 keyname=`$KEYGEN -q -a RSASHA1 -b 1024 -n zone $zone`
@@ -51,7 +51,7 @@ keyname=`$KEYGEN -q -a RSASHA1 -b 1024 -n zone $zone`
 keyname=`$KEYGEN -q -a RSASHA1 -b 1024 -n zone -f KSK $zone`
 $DSFROMKEY -T 1200 $keyname >> ../ns1/root.db
 $SIGNER -S -O raw -L 2000042407 -o ${zone} ${zone}.db > /dev/null
-cp master2.db.in updated.db
+cp primary2.db.in updated.db
 
 # signatures are expired and should be regenerated on startup
 zone=expired
index 61bcd4ab02d46c1de5328ece0db79f0766f14264..d5bc93172b350e64dfbeb8c5873fbc5b96aa61b0 100644 (file)
@@ -21,15 +21,15 @@ cp ns2/bits.db.in ns2/removedkeys-secondary.db
 cp ns2/bits.db.in ns2/retransfer.db
 cp ns2/bits.db.in ns2/retransfer3.db
 
-cp ns3/master.db.in ns3/master.db
-cp ns3/master.db.in ns3/dynamic.db
-cp ns3/master.db.in ns3/updated.db
-cp ns3/master.db.in ns3/unsupported.db
-cp ns3/master.db.in ns3/expired.db
-cp ns3/master.db.in ns3/nsec3.db
-cp ns3/master.db.in ns3/externalkey.db
-cp ns3/master.db.in ns3/delayedkeys.db
-cp ns3/master.db.in ns3/removedkeys-primary.db
+cp ns3/primary.db.in ns3/primary.db
+cp ns3/primary.db.in ns3/dynamic.db
+cp ns3/primary.db.in ns3/updated.db
+cp ns3/primary.db.in ns3/unsupported.db
+cp ns3/primary.db.in ns3/expired.db
+cp ns3/primary.db.in ns3/nsec3.db
+cp ns3/primary.db.in ns3/externalkey.db
+cp ns3/primary.db.in ns3/delayedkeys.db
+cp ns3/primary.db.in ns3/removedkeys-primary.db
 cp ns3/include.db.in ns3/include.db
 
 mkdir ns3/removedkeys
index 3bfac90f0de8e1014dfcbfbf916df03a6cb076f4..9a880cd73f64bb01f9e7df34c13dd9b1b149f353 100755 (executable)
@@ -289,7 +289,7 @@ ret=0
 for i in 1 2 3 4 5 6 7 8 9 10
 do
        ret=0
-       $RNDCCMD 10.53.0.3 signing -list master  > signing.out.test$n 2>&1
+       $RNDCCMD 10.53.0.3 signing -list primary  > signing.out.test$n 2>&1
        keys=`grep '^Done signing' signing.out.test$n | wc -l`
        [ $keys = 2 ] || ret=1
        if [ $ret = 0 ]; then break; fi
@@ -301,17 +301,17 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 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
+$RNDCCMD 10.53.0.3 signing -list primary > signing.out.test$n 2>&1
 keys=`sed -n -e 's/Done signing with key \(.*\)$/\1/p' signing.out.test$n`
 for key in $keys; do
-       $RNDCCMD 10.53.0.3 signing -clear ${key} master > /dev/null || ret=1
+       $RNDCCMD 10.53.0.3 signing -clear ${key} primary > /dev/null || ret=1
        break;  # We only want to remove 1 record for now.
 done 2>&1 |sed 's/^/ns3 /' | cat_i
 
 for i in 1 2 3 4 5 6 7 8 9
 do
        ans=0
-       $RNDCCMD 10.53.0.3 signing -list master > signing.out.test$n 2>&1
+       $RNDCCMD 10.53.0.3 signing -list primary > signing.out.test$n 2>&1
         num=`grep "Done signing with" signing.out.test$n | wc -l`
        [ $num = 1 ] && break
        sleep 1
@@ -324,7 +324,7 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 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
+$DIG $DIGOPTS @10.53.0.6 primary TYPE65534 > dig.out.ns6.test$n
 grep "ANSWER: 2," dig.out.ns6.test$n > /dev/null || ret=1
 grep "flags:.* ad[ ;]" dig.out.ns6.test$n > /dev/null || ret=1
 
@@ -334,11 +334,11 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 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
+$RNDCCMD 10.53.0.3 signing -clear all primary > /dev/null || ret=1
 for i in 1 2 3 4 5 6 7 8 9 10
 do
        ans=0
-       $RNDCCMD 10.53.0.3 signing -list master > signing.out.test$n 2>&1
+       $RNDCCMD 10.53.0.3 signing -list primary > signing.out.test$n 2>&1
        grep "No signing records found" signing.out.test$n > /dev/null || ans=1
        [ $ans = 1 ] || break
        sleep 1
@@ -351,12 +351,12 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 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
+cp ns3/primary2.db.in ns3/primary.db
+rndc_reload ns3 10.53.0.3 primary
 for i in 1 2 3 4 5 6 7 8 9
 do
        ans=0
-       $DIG $DIGOPTS @10.53.0.3 e.master A > dig.out.ns3.test$n
+       $DIG $DIGOPTS @10.53.0.3 e.primary A > dig.out.ns3.test$n
        grep "10.0.0.5" dig.out.ns3.test$n > /dev/null || ans=1
        grep "ANSWER: 2," dig.out.ns3.test$n > /dev/null || ans=1
        [ $ans = 1 ] || break
@@ -369,10 +369,10 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 echo_i "check adding record fails when SOA serial not changed ($n)"
 ret=0
-echo "c A 10.0.0.3" >> ns3/master.db
+echo "c A 10.0.0.3" >> ns3/primary.db
 rndc_reload ns3 10.53.0.3
 sleep 1
-$DIG $DIGOPTS @10.53.0.3 c.master A > dig.out.ns3.test$n
+$DIG $DIGOPTS @10.53.0.3 c.primary A > dig.out.ns3.test$n
 grep "NXDOMAIN" dig.out.ns3.test$n > /dev/null || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
@@ -380,12 +380,12 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 echo_i "check adding record works after updating SOA serial ($n)"
 ret=0
-cp ns3/master3.db.in ns3/master.db
-$RNDCCMD 10.53.0.3 reload master 2>&1 | sed 's/^/ns3 /' | cat_i
+cp ns3/primary3.db.in ns3/primary.db
+$RNDCCMD 10.53.0.3 reload primary 2>&1 | sed 's/^/ns3 /' | cat_i
 for i in 1 2 3 4 5 6 7 8 9
 do
        ans=0
-       $DIG $DIGOPTS @10.53.0.3 c.master A > dig.out.ns3.test$n
+       $DIG $DIGOPTS @10.53.0.3 c.primary A > dig.out.ns3.test$n
        grep "10.0.0.3" dig.out.ns3.test$n > /dev/null || ans=1
        grep "ANSWER: 2," dig.out.ns3.test$n > /dev/null || ans=1
        [ $ans = 1 ] || break
@@ -398,7 +398,7 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 echo_i "check the added record was properly signed ($n)"
 ret=0
-$DIG $DIGOPTS @10.53.0.3 e.master A > dig.out.ns6.test$n
+$DIG $DIGOPTS @10.53.0.3 e.primary A > dig.out.ns6.test$n
 grep "10.0.0.5" dig.out.ns6.test$n > /dev/null || ans=1
 grep "ANSWER: 2," dig.out.ns6.test$n > /dev/null || ans=1
 grep "flags:.* ad[ ;]" dig.out.ns6.test$n > /dev/null || ans=1
@@ -432,7 +432,7 @@ $DIG $DIGOPTS @10.53.0.3 e.updated A > dig.out.ns3.test$n
 grep "status: NOERROR" dig.out.ns3.test$n > /dev/null || ret=1
 grep "ANSWER: 2," dig.out.ns3.test$n > /dev/null || ret=1
 # updated.db.signed.jnl should exist, should have the source serial
-# of master2.db, and should show a minimal diff: no more than 8 added
+# of primary2.db, and should show a minimal diff: no more than 8 added
 # records (SOA/RRSIG, 2 x NSEC/RRSIG, A/RRSIG), and 4 removed records
 # (SOA/RRSIG, NSEC/RRSIG).
 $JOURNALPRINT ns3/updated.db.signed.jnl >journalprint.out.test$n
@@ -895,8 +895,8 @@ if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 
 echo_i "update SOA record while stopped"
-cp ns3/master4.db.in ns3/master.db
-rm ns3/master.db.jnl
+cp ns3/primary4.db.in ns3/primary.db
+rm ns3/primary.db.jnl
 
 n=`expr $n + 1`
 echo_i "restart bump in the wire signer server ($n)"
@@ -911,7 +911,7 @@ ret=0
 for i in 1 2 3 4 5 6 7 8 9
 do
        ans=0
-       $DIG $DIGOPTS @10.53.0.3 master SOA > dig.out.ns3.test$n
+       $DIG $DIGOPTS @10.53.0.3 primary SOA > dig.out.ns3.test$n
        grep "hostmaster" dig.out.ns3.test$n > /dev/null || ans=1
        grep "ANSWER: 2," dig.out.ns3.test$n > /dev/null || ans=1
        [ $ans = 1 ] || break
@@ -924,16 +924,16 @@ status=`expr $status + $ret`
 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
+# Ensure "rndc reload" attempts to load ns3/primary.db by waiting 1 second so
 # 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
-cp ns3/master5.db.in ns3/master.db
+cp ns3/primary5.db.in ns3/primary.db
 rndc_reload ns3 10.53.0.3
 for i in 1 2 3 4 5 6 7 8 9 10
 do
-       if nextpart ns3/named.run | grep "zone master.*sending notifies" > /dev/null; then
+       if nextpart ns3/named.run | grep "zone primary.*sending notifies" > /dev/null; then
                ret=0
                break
        fi
@@ -941,7 +941,7 @@ do
 done
 # 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
+$DIG $DIGOPTS @10.53.0.3 primary SOA > dig.out.ns3.test$n || ret=1
 grep "hostmaster" dig.out.ns3.test$n > /dev/null && ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
@@ -949,10 +949,10 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 echo_i "check that reloading errors prevent synchronization ($n)"
 ret=1
-$DIG $DIGOPTS +short @10.53.0.3 master SOA > dig.out.ns3.test$n.1 || ret=1
+$DIG $DIGOPTS +short @10.53.0.3 primary SOA > dig.out.ns3.test$n.1 || ret=1
 sleep 1
 nextpart ns3/named.run > /dev/null
-cp ns3/master6.db.in ns3/master.db
+cp ns3/primary6.db.in ns3/primary.db
 rndc_reload ns3 10.53.0.3
 for i in 1 2 3 4 5 6 7 8 9 10
 do
@@ -964,7 +964,7 @@ do
        sleep 1
 done
 # Sanity check: the SOA record should be unchanged
-$DIG $DIGOPTS +short @10.53.0.3 master SOA > dig.out.ns3.test$n.2 || ret=1
+$DIG $DIGOPTS +short @10.53.0.3 primary SOA > dig.out.ns3.test$n.2 || ret=1
 $DIFF dig.out.ns3.test$n.1  dig.out.ns3.test$n.2 > /dev/null || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
@@ -972,15 +972,15 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 echo_i "check inline-signing with an include file ($n)"
 ret=0
-$DIG $DIGOPTS +short @10.53.0.3 master SOA > dig.out.ns3.test$n.1 || ret=1
+$DIG $DIGOPTS +short @10.53.0.3 primary SOA > dig.out.ns3.test$n.1 || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
 sleep 1
 nextpart ns3/named.run > /dev/null
-cp ns3/master7.db.in ns3/master.db
+cp ns3/primary7.db.in ns3/primary.db
 rndc_reload ns3 10.53.0.3
 _includefile_loaded() {
-       $DIG $DIGOPTS @10.53.0.3 f.master A > dig.out.ns3.test$n
+       $DIG $DIGOPTS @10.53.0.3 f.primary A > dig.out.ns3.test$n
        grep "status: NOERROR" dig.out.ns3.test$n > /dev/null || return 1
        grep "ANSWER: 2," dig.out.ns3.test$n > /dev/null || return 1
        grep "10\.0\.0\.7" dig.out.ns3.test$n > /dev/null || return 1
@@ -988,7 +988,7 @@ _includefile_loaded() {
 }
 retry_quiet 10 _includefile_loaded
 # Sanity check: the SOA record should be changed
-$DIG $DIGOPTS +short @10.53.0.3 master SOA > dig.out.ns3.test$n.2 || ret=1
+$DIG $DIGOPTS +short @10.53.0.3 primary SOA > dig.out.ns3.test$n.2 || ret=1
 $DIFF dig.out.ns3.test$n.1  dig.out.ns3.test$n.2 > /dev/null && ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
@@ -1398,7 +1398,7 @@ status=`expr $status + $ret`
 n=`expr $n + 1`
 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
+$RNDCCMD 10.53.0.3 zonestatus primary > rndc.out.ns3.test$n
 grep "type: primary" rndc.out.ns3.test$n > /dev/null || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
index a2731099e9c0f3c5cebaadda7b77b3f81442a33b..7e2c1dd92516ee0c0446a3ba101a91354de7f44e 100644 (file)
@@ -80,7 +80,7 @@ zone "manual-rollover.kasp" {
        dnssec-policy "manual-rollover";
 };
 
-/* A master zone with dnssec-policy, no keys created. */
+/* A primary zone with dnssec-policy, no keys created. */
 zone "rsasha1.kasp" {
        type primary;
        file "rsasha1.kasp.db";
@@ -107,7 +107,7 @@ zone "insecure.kasp" {
        dnssec-policy "insecure";
 };
 
-/* A master zone with dnssec-policy but keys already created. */
+/* A primary zone with dnssec-policy but keys already created. */
 zone "dnssec-keygen.kasp" {
        type primary;
        file "dnssec-keygen.kasp.db";
index 29cc010d140365e93bc3d799221324d6329606af..f8f903c6cf6bd725b9473ab347b9ebb73170159d 100644 (file)
@@ -38,20 +38,20 @@ controls {
 
 /* These zones are going insecure. */
 zone "step1.going-insecure.kasp" {
-       type master;
+       type primary;
        file "step1.going-insecure.kasp.db";
        dnssec-policy "unsigning";
 };
 
 zone "step1.going-insecure-dynamic.kasp" {
-       type master;
+       type primary;
        file "step1.going-insecure-dynamic.kasp.db";
        dnssec-policy "unsigning";
        allow-update { any; };
 };
 
 zone "step1.going-straight-to-none.kasp" {
-       type master;
+       type primary;
        file "step1.going-straight-to-none.kasp.db";
        dnssec-policy "default";
 };
index 91af68325b00d7d4fc20bb7c094aa02a1269346a..f2403565c4bce9acffc4090da0f2c40a07e5b6b6 100644 (file)
@@ -37,33 +37,33 @@ controls {
 
 /* Zones for testing going insecure. */
 zone "step1.going-insecure.kasp" {
-        type master;
+        type primary;
         file "step1.going-insecure.kasp.db";
         dnssec-policy "insecure";
 };
 
 zone "step2.going-insecure.kasp" {
-        type master;
+        type primary;
         file "step2.going-insecure.kasp.db";
         dnssec-policy "insecure";
 };
 
 zone "step1.going-insecure-dynamic.kasp" {
-        type master;
+        type primary;
         file "step1.going-insecure-dynamic.kasp.db";
         dnssec-policy "insecure";
        allow-update { any; };
 };
 
 zone "step2.going-insecure-dynamic.kasp" {
-        type master;
+        type primary;
         file "step2.going-insecure-dynamic.kasp.db";
         dnssec-policy "insecure";
        allow-update { any; };
 };
 
 zone "step1.going-straight-to-none.kasp" {
-        type master;
+        type primary;
         file "step1.going-straight-to-none.kasp.db";
         dnssec-policy "none";
 };
index a74f3851cc12eaf043ff9173f1487ffdcf44607b..031ec80976f6c45847c9293f973abb6b6d1b7f63 100644 (file)
@@ -47,7 +47,7 @@ view "ext" {
         match-clients { key "external"; };
 
        zone "view-rsasha256.kasp" {
-               type master;
+               type primary;
                file "view-rsasha256.kasp.ext.db";
                auto-dnssec maintain;
                inline-signing yes;
@@ -60,7 +60,7 @@ view "int" {
         match-clients { key "internal"; };
 
        zone "view-rsasha256.kasp" {
-               type master;
+               type primary;
                file "view-rsasha256.kasp.int.db";
                auto-dnssec maintain;
                inline-signing yes;
index d9a23f865715778089d06c884ab770dc3cc6fe6c..bcfef239a9482928623cd3b476c3926871c643ca 100644 (file)
@@ -68,7 +68,7 @@ view "ext" {
         match-clients { key "external"; };
 
        zone "view-rsasha256.kasp" {
-               type master;
+               type primary;
                file "view-rsasha256.kasp.ext.db";
                dnssec-policy "rsasha256";
        };
@@ -78,7 +78,7 @@ view "int" {
         match-clients { key "internal"; };
 
        zone "view-rsasha256.kasp" {
-               type master;
+               type primary;
                file "view-rsasha256.kasp.int.db";
                dnssec-policy "rsasha256";
        };
index 69289e884454b79081821da18c41c294c50c1542..e8a00eaeb77763b96891c152163e232f17ada21b 100644 (file)
@@ -139,7 +139,7 @@ digcomp dig.out.ns2.test$n dig.out.ns3.test$n || ret=1
 [ $ret = 0 ] || echo_i "failed"
 status=`expr $ret + $status`
 
-echo_i "stopping master and restarting with example4 then waiting up to 45 seconds"
+echo_i "stopping primary and restarting with example4 then waiting up to 45 seconds"
 stop_server notify ns2
 
 rm -f ns2/example.db
@@ -187,7 +187,7 @@ digcomp dig.out.ns2.test$n dig.out.ns3.test$n || ret=1
 status=`expr $ret + $status`
 
 n=`expr $n + 1`
-echo_i "checking notify to alternate port with master inheritance ($n)"
+echo_i "checking notify to alternate port with primary server inheritance ($n)"
 $NSUPDATE << EOF
 server 10.53.0.2 ${PORT}
 zone x21
index e80f6775afd25da42b7d6d58c056a574c421c4bb..93671cffec17a900c27bc294e06618ea46fa5693 100644 (file)
@@ -53,7 +53,7 @@ zone "example.com" {
 };
 
 zone "denyname.example" {
-       type master;
+       type primary;
        file "denyname.example.db";
        update-policy {
                deny subkey name denyname.example;
index 58a4eece4b111a6c527125b427e15c8540cff3f5..6e0d91c897be5cf639c3c237d20208d0b8165878 100644 (file)
@@ -30,7 +30,7 @@ status=$((status+ret))
 
 n=$((n+1))
 echo_i "adding a new zone into default NZD using rndc addzone ($n)"
-rndccmd 10.53.0.1 addzone "added.example { type master; file \"added.db\";
+rndccmd 10.53.0.1 addzone "added.example { type primary; file \"added.db\";
 };" 2>&1 | sed 's/^/I:ns1 /' | cat_i
 sleep 2
 
@@ -53,7 +53,7 @@ status=$((status+ret))
 
 n=$((n+1))
 echo_i "checking that _default.nzf contains the expected content ($n)"
-grep 'zone "added.example" { type master; file "added.db"; };' ns1/_default.nzf > /dev/null || ret=1
+grep 'zone "added.example" { type primary; file "added.db"; };' ns1/_default.nzf > /dev/null || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=$((status+ret))
 
index a01d645673fdecd797b2d7ff5eda776ab89e01b4..92f564dc23241cf8c5ac2da97cf4cce8a7afa23e 100644 (file)
@@ -10,8 +10,8 @@
  */
 
 zone "." {
-       type master;
-       file "master.db";
+       type primary;
+       file "primary.db";
 };
 
 zone "." {
index 745c7c9757f577de4f543a788efe0d96cf0ca454..2891fe6e2cbb7924531b26897b728bba6055c590 100644 (file)
@@ -1,5 +1,5 @@
 zone isc.license.fastrpz.com {
-    masters port 53 {
+    primaries port 53 {
         KEY farsight_fastrpz_license 104.244.14.176;
         KEY farsight_fastrpz_license 2620:11c:f008::176;
     };
index 667f782d439beada753d0d990a1d7b066f69483c..3187f483eee1fe521c71b4516f29a0c8e98c35f7 100644 (file)
@@ -41,20 +41,20 @@ 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; 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 "bl"              {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-2"            {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-given"                {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-passthru"     {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-no-op"                {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-disabled"     {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-nodata"       {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-nxdomain"     {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-cname"                {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-wildcname"    {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-garden"       {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-drop"         {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl-tcp-only"     {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
+zone "bl.tld2"         {type secondary; primaries port @PORT@ { 10.53.0.3; }; };
 
-zone "policy1"         {type slave; masters port @PORT@ { 10.53.0.6; }; };
-zone "policy2"         {type slave; masters port @PORT@ { 10.53.0.7; }; };
+zone "policy1"         {type secondary; primaries port @PORT@ { 10.53.0.6; }; };
+zone "policy2"         {type secondary; primaries port @PORT@ { 10.53.0.7; }; };
index a72dc14fe86cd4680f6de7291caac234dc1c1c99..1e1859aa1933b15b719078d33d961a17fecc463d 100644 (file)
@@ -34,7 +34,7 @@ options {
        # turn rpz on or off
        include "rpz-switch";
 
-       include "../dnsrps-slave.conf";
+       include "../dnsrps-secondary.conf";
 };
 
 key rndc_key {
index e036480bf9bb900da308762e0097ba85e087ed95..de159c22c341d4dc4e3cb590c2c73da307326351 100644 (file)
@@ -33,7 +33,7 @@ options {
        nsip-enable yes
        nsdname-enable yes;
 
-       include "../dnsrps-slave.conf";
+       include "../dnsrps-secondary.conf";
 };
 
 logging { category rpz { default_debug; }; };
index 8fa0951012e5a083a71fa5c4d1d04bde7be7ac96..8162cf75ea3244953ba5faf2c1baf1ab64a2cf9f 100644 (file)
@@ -30,7 +30,7 @@ options {
        nsdname-enable yes
        min-update-interval 0;
 
-       include "../dnsrps-slave.conf";
+       include "../dnsrps-secondary.conf";
 };
 
 logging { category rpz { default_debug; }; };
index 93cb3ecb738689f629e5a299e1ec30f2077ea8e5..42b360c433c893b49d6c7b7ffe36531c0901829d 100644 (file)
@@ -55,7 +55,7 @@ copy_setports ns9/named.conf.in ns9/named.conf
 copy_setports dnsrpzd.conf.in dnsrpzd.conf
 
 # decide whether to test DNSRPS
-# Note that dnsrps.conf and dnsrps-slave.conf are included in named.conf
+# Note that dnsrps.conf and dnsrps-secondary.conf are included in named.conf
 # and differ from dnsrpz.conf which is used by dnsrpzd.
 $SHELL ../ckdnsrps.sh -A $TEST_DNSRPS $DEBUG
 test -z "`grep 'dnsrps-enable yes' dnsrps.conf`" && TEST_DNSRPS=
index ab57b958626eed7e486ac9d3d1e850b9aa0a5d4b..3132239b3c62be088ec5849f6875c14b3bcd171c 100644 (file)
@@ -6,7 +6,7 @@
 /ns4/named.conf
 /ans5/ans.pl
 /ans5/ans.pid
-/dnsrps-slave.conf
+/dnsrps-secondary.conf
 /dnsrps.conf
 /dnsrpzd.conf
 session.key
index 65406a12ae3168b18825f2f164cd5c338fe338d8..a0a3a3c680352a859fc1d914b2fb71dcafa15920 100644 (file)
@@ -33,41 +33,41 @@ controls {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
 
 zone "test.example.org" {
-       type master;
+       type primary;
        file "example.db";
 };
 
 zone "l0" {
-       type master;
+       type primary;
        file "db.l0";
 };
 
 zone "l1.l0" {
-       type master;
+       type primary;
        file "db.l1.l0";
 };
 
 zone "l2.l1.l0" {
-       type master;
+       type primary;
        file "does-not-exist";
 };
 
 zone "test1.example.net" {
-       type master;
+       type primary;
        file "test1.example.net.db";
 };
 
 zone "test2.example.net" {
-       type master;
+       type primary;
        file "test2.example.net.db";
 };
 
 zone "example.com" {
-       type master;
+       type primary;
        file "example.com.db";
 };
index c8ef0aee43e41efbf7ed21c97b1fc9c8ef3b607c..a520b9fbc7eef0cda8d3095e2dcf1a1c2d9cb4f7 100644 (file)
@@ -27,8 +27,8 @@ view "recursive" {
        nsip-enable yes;
 
     # policy zones to be tested
-    zone "clientip1" { type master; file "db.clientip1"; };
-    zone "clientip2" { type master; file "db.clientip2"; };
+    zone "clientip1" { type primary; file "db.clientip1"; };
+    zone "clientip2" { type primary; file "db.clientip2"; };
 
     recursion yes;
     dnssec-validation yes;
index c3c61643264141d9cf48609305b2ef2c6c7a9920..6e8edb3786bc64b717de652bdd9fc8a33cecba67 100644 (file)
@@ -28,7 +28,7 @@ view "recursive" {
        nsip-enable yes;
 
     # policy zones to be tested
-    zone "clientip21" { type master; file "db.clientip21"; };
+    zone "clientip21" { type primary; file "db.clientip21"; };
 
     recursion yes;
     dnssec-validation yes;
index 682082085894672e8f64f8c44e9a9a5eaba5bbb3..dbac13d3cc2d5c0bbf6b1cdd61655c0efd3b718c 100644 (file)
@@ -25,7 +25,7 @@ options {
        querylog yes;
 
        # let ns3 start dnsrpzd
-       include "../dnsrps-slave.conf";
+       include "../dnsrps-secondary.conf";
 };
 
 key rndc_key {
index fe5935517c909c1053159af18cf5fd53ee1c71e6..41a800ec61d0eca2e1e50ed74f75932fcd0b3dde 100644 (file)
@@ -24,5 +24,5 @@ view "recursive" {
     };
 
     # policy zones to be tested
-    zone "invalidprefixlength" { type master; file "db.invalidprefixlength"; };
+    zone "invalidprefixlength" { type primary; file "db.invalidprefixlength"; };
 };
index 10c66a3e6c5548c7f9f9bca843b067407fb633ea..999a4075bca1a7690860baf86f3ffe4f69103d1c 100644 (file)
@@ -28,9 +28,9 @@ view "recursive" {
        nsip-enable yes;
 
     # policy zones to be tested
-    zone "log1" { type master; file "db.log1"; };
-    zone "log2" { type master; file "db.log2"; };
-    zone "log3" { type master; file "db.log3"; };
+    zone "log1" { type primary; file "db.log1"; };
+    zone "log2" { type primary; file "db.log2"; };
+    zone "log3" { type primary; file "db.log3"; };
 
     recursion yes;
     dnssec-validation yes;
index a710793e231c2a28b1c6be1182dc264c42fb7830..ab4433518afc0b3f39a66f8d7cc9516a7cba4a4f 100644 (file)
@@ -89,70 +89,70 @@ view "recursive" {
        nsip-enable yes;
 
     # policy zones to be tested
-    zone "max1" { type master; file "db.max1.local"; };
-    zone "max2" { type master; file "db.max2.local"; };
-    zone "max3" { type master; file "db.max3.local"; };
-    zone "max4" { type master; file "db.max4.local"; };
-    zone "max5" { type master; file "db.max5.local"; };
-    zone "max6" { type master; file "db.max6.local"; };
-    zone "max7" { type master; file "db.max7.local"; };
-    zone "max8" { type master; file "db.max8.local"; };
-    zone "max9" { type master; file "db.max9.local"; };
-    zone "max10" { type master; file "db.max10.local"; };
-    zone "max11" { type master; file "db.max11.local"; };
-    zone "max12" { type master; file "db.max12.local"; };
-    zone "max13" { type master; file "db.max13.local"; };
-    zone "max14" { type master; file "db.max14.local"; };
-    zone "max15" { type master; file "db.max15.local"; };
-    zone "max16" { type master; file "db.max16.local"; };
-    zone "max17" { type master; file "db.max17.local"; };
-    zone "max18" { type master; file "db.max18.local"; };
-    zone "max19" { type master; file "db.max19.local"; };
-    zone "max20" { type master; file "db.max20.local"; };
-    zone "max21" { type master; file "db.max21.local"; };
-    zone "max22" { type master; file "db.max22.local"; };
-    zone "max23" { type master; file "db.max23.local"; };
-    zone "max24" { type master; file "db.max24.local"; };
-    zone "max25" { type master; file "db.max25.local"; };
-    zone "max26" { type master; file "db.max26.local"; };
-    zone "max27" { type master; file "db.max27.local"; };
-    zone "max28" { type master; file "db.max28.local"; };
-    zone "max29" { type master; file "db.max29.local"; };
-    zone "max30" { type master; file "db.max30.local"; };
-    zone "max31" { type master; file "db.max31.local"; };
-    zone "max32" { type master; file "db.max32.local"; };
-    zone "max33" { type master; file "db.max33.local"; };
-    zone "max34" { type master; file "db.max34.local"; };
-    zone "max35" { type master; file "db.max35.local"; };
-    zone "max36" { type master; file "db.max36.local"; };
-    zone "max37" { type master; file "db.max37.local"; };
-    zone "max38" { type master; file "db.max38.local"; };
-    zone "max39" { type master; file "db.max39.local"; };
-    zone "max40" { type master; file "db.max40.local"; };
-    zone "max41" { type master; file "db.max41.local"; };
-    zone "max42" { type master; file "db.max42.local"; };
-    zone "max43" { type master; file "db.max43.local"; };
-    zone "max44" { type master; file "db.max44.local"; };
-    zone "max45" { type master; file "db.max45.local"; };
-    zone "max46" { type master; file "db.max46.local"; };
-    zone "max47" { type master; file "db.max47.local"; };
-    zone "max48" { type master; file "db.max48.local"; };
-    zone "max49" { type master; file "db.max49.local"; };
-    zone "max50" { type master; file "db.max50.local"; };
-    zone "max51" { type master; file "db.max51.local"; };
-    zone "max52" { type master; file "db.max52.local"; };
-    zone "max53" { type master; file "db.max53.local"; };
-    zone "max54" { type master; file "db.max54.local"; };
-    zone "max55" { type master; file "db.max55.local"; };
-    zone "max56" { type master; file "db.max56.local"; };
-    zone "max57" { type master; file "db.max57.local"; };
-    zone "max58" { type master; file "db.max58.local"; };
-    zone "max59" { type master; file "db.max59.local"; };
-    zone "max60" { type master; file "db.max60.local"; };
-    zone "max61" { type master; file "db.max61.local"; };
-    zone "max62" { type master; file "db.max62.local"; };
-    zone "max63" { type master; file "db.max63.local"; };
-    zone "max64" { type master; file "db.max64.local"; };
+    zone "max1" { type primary; file "db.max1.local"; };
+    zone "max2" { type primary; file "db.max2.local"; };
+    zone "max3" { type primary; file "db.max3.local"; };
+    zone "max4" { type primary; file "db.max4.local"; };
+    zone "max5" { type primary; file "db.max5.local"; };
+    zone "max6" { type primary; file "db.max6.local"; };
+    zone "max7" { type primary; file "db.max7.local"; };
+    zone "max8" { type primary; file "db.max8.local"; };
+    zone "max9" { type primary; file "db.max9.local"; };
+    zone "max10" { type primary; file "db.max10.local"; };
+    zone "max11" { type primary; file "db.max11.local"; };
+    zone "max12" { type primary; file "db.max12.local"; };
+    zone "max13" { type primary; file "db.max13.local"; };
+    zone "max14" { type primary; file "db.max14.local"; };
+    zone "max15" { type primary; file "db.max15.local"; };
+    zone "max16" { type primary; file "db.max16.local"; };
+    zone "max17" { type primary; file "db.max17.local"; };
+    zone "max18" { type primary; file "db.max18.local"; };
+    zone "max19" { type primary; file "db.max19.local"; };
+    zone "max20" { type primary; file "db.max20.local"; };
+    zone "max21" { type primary; file "db.max21.local"; };
+    zone "max22" { type primary; file "db.max22.local"; };
+    zone "max23" { type primary; file "db.max23.local"; };
+    zone "max24" { type primary; file "db.max24.local"; };
+    zone "max25" { type primary; file "db.max25.local"; };
+    zone "max26" { type primary; file "db.max26.local"; };
+    zone "max27" { type primary; file "db.max27.local"; };
+    zone "max28" { type primary; file "db.max28.local"; };
+    zone "max29" { type primary; file "db.max29.local"; };
+    zone "max30" { type primary; file "db.max30.local"; };
+    zone "max31" { type primary; file "db.max31.local"; };
+    zone "max32" { type primary; file "db.max32.local"; };
+    zone "max33" { type primary; file "db.max33.local"; };
+    zone "max34" { type primary; file "db.max34.local"; };
+    zone "max35" { type primary; file "db.max35.local"; };
+    zone "max36" { type primary; file "db.max36.local"; };
+    zone "max37" { type primary; file "db.max37.local"; };
+    zone "max38" { type primary; file "db.max38.local"; };
+    zone "max39" { type primary; file "db.max39.local"; };
+    zone "max40" { type primary; file "db.max40.local"; };
+    zone "max41" { type primary; file "db.max41.local"; };
+    zone "max42" { type primary; file "db.max42.local"; };
+    zone "max43" { type primary; file "db.max43.local"; };
+    zone "max44" { type primary; file "db.max44.local"; };
+    zone "max45" { type primary; file "db.max45.local"; };
+    zone "max46" { type primary; file "db.max46.local"; };
+    zone "max47" { type primary; file "db.max47.local"; };
+    zone "max48" { type primary; file "db.max48.local"; };
+    zone "max49" { type primary; file "db.max49.local"; };
+    zone "max50" { type primary; file "db.max50.local"; };
+    zone "max51" { type primary; file "db.max51.local"; };
+    zone "max52" { type primary; file "db.max52.local"; };
+    zone "max53" { type primary; file "db.max53.local"; };
+    zone "max54" { type primary; file "db.max54.local"; };
+    zone "max55" { type primary; file "db.max55.local"; };
+    zone "max56" { type primary; file "db.max56.local"; };
+    zone "max57" { type primary; file "db.max57.local"; };
+    zone "max58" { type primary; file "db.max58.local"; };
+    zone "max59" { type primary; file "db.max59.local"; };
+    zone "max60" { type primary; file "db.max60.local"; };
+    zone "max61" { type primary; file "db.max61.local"; };
+    zone "max62" { type primary; file "db.max62.local"; };
+    zone "max63" { type primary; file "db.max63.local"; };
+    zone "max64" { type primary; file "db.max64.local"; };
 
     recursion yes;
     dnssec-validation yes;
index 963e3b0e8a5b7c67270da5ca0eb5067e417544c5..1da85df5d91f8b0eda3ba6fc5435f776c112c522 100644 (file)
@@ -26,7 +26,7 @@ view "recursive" {
        nsip-enable yes;
 
     # policy zones to be tested
-    zone "wildcard1" { type master; file "db.wildcard1"; };
+    zone "wildcard1" { type primary; file "db.wildcard1"; };
 
     recursion yes;
     dnssec-validation yes;
index f758b3a012fd0161cf942a3285f793c74a68ebc4..b0f51de0c5787ca8280dadaf59e08d5e267c4a88 100644 (file)
@@ -27,8 +27,8 @@ view "recursive" {
        nsip-enable yes;
 
     # policy zones to be tested
-    zone "wildcard2a" { type master; file "db.wildcard2a"; };
-    zone "wildcard2b" { type master; file "db.wildcard2b"; };
+    zone "wildcard2a" { type primary; file "db.wildcard2a"; };
+    zone "wildcard2b" { type primary; file "db.wildcard2b"; };
 
     recursion yes;
     dnssec-validation yes;
index bb8555cd0477aa7723307a90140210785e7bd79e..c0b3f0ccf0d7fc3b1943b5b911c7cac0288e56c6 100644 (file)
@@ -26,7 +26,7 @@ view "recursive" {
        nsip-enable yes;
 
     # policy zones to be tested
-    zone "wildcard3" { type master; file "db.wildcard3"; };
+    zone "wildcard3" { type primary; file "db.wildcard3"; };
 
     recursion yes;
     dnssec-validation yes;
index 266d074d70db6bec288cdeddcdc096ae794738bb..41dec42e932d4b00a9e81503135fca759f130070 100644 (file)
@@ -22,8 +22,8 @@ view "recursive" {
        nsip-enable yes;
 
        # policy zones to be tested
-       zone "passthru.zone" { type master; file "db.passthru"; };
-       zone "given.zone" { type master; file "db.given"; };
+       zone "passthru.zone" { type primary; file "db.passthru"; };
+       zone "given.zone" { type primary; file "db.given"; };
 
        zone "." {
                type hint;
index 957d911c8f73691c7afdae0d59714bb1bf1d9609..ff0a8ce43e587155a3786fc2a60b79873b126525 100644 (file)
@@ -34,8 +34,8 @@ options {
        include "../dnsrps.conf";
 };
 
-zone "policy" { type master; file "policy.db"; };
+zone "policy" { type primary; file "policy.db"; };
 
-zone "example.tld" { type master; file "example.db"; };
+zone "example.tld" { type primary; file "example.db"; };
 
-zone "." { type master; file "root.db"; };
+zone "." { type primary; file "root.db"; };
index 961d2d2fb2fab1c7e71449c352a0843835a06875..e0140e27f535cf245a02093474cf5f2c40b90d34 100644 (file)
@@ -33,8 +33,8 @@ options {
        include "../dnsrps.conf";
 };
 
-zone "policy" { type master; file "policy.db"; };
+zone "policy" { type primary; file "policy.db"; };
 
-zone "example.tld" { type master; file "example.db"; };
+zone "example.tld" { type primary; file "example.db"; };
 
-zone "." { type master; file "root.db"; };
+zone "." { type primary; file "root.db"; };
index 73470fafbd8567c65933a783240a796c4b938b7e..d1df4f42456fc9f19c677cd79ed3d2b65966d8c8 100644 (file)
@@ -31,8 +31,8 @@ options {
        include "../dnsrps.conf";
 };
 
-zone "policy" { type master; file "policy.db"; };
+zone "policy" { type primary; file "policy.db"; };
 
-zone "example.tld" { type master; file "example.db"; };
+zone "example.tld" { type primary; file "example.db"; };
 
-zone "." { type master; file "root.db"; };
+zone "." { type primary; file "root.db"; };
index 47b4fd55ec770e532157ffb6578064a96f7f87b4..c3543a79e1fea983661d89010185b571a27f16a2 100644 (file)
@@ -33,4 +33,4 @@ controls {
        inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
 };
 
-zone "child.example.tld" { type master; file "child.example.db"; };
+zone "child.example.tld" { type primary; file "child.example.db"; };
index 3a3dfa7f7f7ef8d9f10315c5bcdc7c4a46361213..65b504f86d586e1a77a7d3b8f25c39a6201cd39e 100644 (file)
@@ -72,9 +72,9 @@ PID-FILE $CWD/dnsrpzd.pid;
 
 include $CWD/dnsrpzd-license-cur.conf
 
-zone "policy" { type master; file "`pwd`/ns3/policy.db"; };
+zone "policy" { type primary; file "`pwd`/ns3/policy.db"; };
 EOF
-sed -n -e 's/^ *//' -e "/zone.*.*master/s@file \"@&$CWD/ns2/@p" ns2/*.conf \
+sed -n -e 's/^ *//' -e "/zone.*.*primary/s@file \"@&$CWD/ns2/@p" ns2/*.conf \
     >>dnsrpzd.conf
 
 # Run dnsrpzd to get the license and prime the static policy zones
index 4637e282fd0635acadf9b5f636c036f061905a33..7237ba896bcc5c0c0948785ceeccfe58806f9537 100755 (executable)
@@ -119,7 +119,7 @@ sub mkconf {
 
         print $conf_fh $policy_option;
 
-        print $conf_fh map { qq{    zone "$_->[0]" { type master; file "db.$_->[0]"; };\n} } @zones;
+        print $conf_fh map { qq{    zone "$_->[0]" { type primary; file "db.$_->[0]"; };\n} } @zones;
 
         print $conf_fh $boilerplate_end;
     }
index b0fbe616ce56e5dd17c4259ac6d544eda86853d6..b5e97befdabb16417e8f5ceaf4ce21df7c36accb 100644 (file)
@@ -23,7 +23,7 @@ options {
 
 # Delegate .test domain to 10.53.0.2
 zone "." {
-    type master;
+    type primary;
     file "root.db";
     allow-transfer { none; };
 };
index 13aeb30a419e090cf7140a075dbb10d15bbe682a..490f71347b5ff7b34f3709a5d2faeeb2ca215c51 100644 (file)
@@ -21,7 +21,7 @@ options {
 
 # 10.53.0.2 is authoritative for .test domain
 zone "test" {
-    type master;
+       type primary;
        file "test.db";
        allow-transfer { none; };
 };
index 349b252f221977225e340ffe3e507e9e256bafd1..4ee87cb1f203ac05fe1b0748feb6018ac913cf72 100644 (file)
@@ -23,8 +23,8 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# "masters" isn't allowed for a static-stub zone (unlike a stub zone).
+# "primaries" isn't allowed for a static-stub zone (unlike a stub zone).
 zone "example.com" {
        type static-stub;
-       masters { 192.0.2.1; };
+       primaries { 192.0.2.1; };
 };
index 575ea4824e6fcd84015491ffc2f3925963d284be..a16b4d792a27b56a523c7c6831eba503ca4f6617 100755 (executable)
@@ -16,7 +16,7 @@ copy_setports ns2/named.conf.in tmp
 sed 's/SERVER_CONFIG_PLACEHOLDER/server-names { "ns.example.net"; };/' tmp > ns2/named.conf
 
 copy_setports ns3/named.conf.in tmp
-sed 's/EXAMPLE_ZONE_PLACEHOLDER/zone "example" { type master; file "example.db.signed"; };/' tmp > ns3/named.conf
+sed 's/EXAMPLE_ZONE_PLACEHOLDER/zone "example" { type primary; file "example.db.signed"; };/' tmp > ns3/named.conf
 
 copy_setports ns4/named.conf.in ns4/named.conf
 
index 369a769d7a39549ed9197496db3f7c49840de40e..0e1a3be84e9f5679b1883ce48bd95a552cb9efb9 100755 (executable)
@@ -113,7 +113,7 @@ done
 grep "2nd sub test data" dig.out.ns2.test2.$n > /dev/null || ret=1
 # re-enable the parent
 copy_setports ns3/named.conf.in tmp
-sed 's/EXAMPLE_ZONE_PLACEHOLDER/zone "example" { type master; file "example.db.signed"; };/' tmp > ns3/named.conf
+sed 's/EXAMPLE_ZONE_PLACEHOLDER/zone "example" { type primary; file "example.db.signed"; };/' tmp > ns3/named.conf
 rndc_reload ns3 10.53.0.3
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
index d551eaf83de91e7e9960494a441be4753aff1c84..c76c622f21cceaf0e037fa08065a8faac13481b2 100644 (file)
@@ -25,6 +25,6 @@ options {
 };
 
 zone "." {
-       type master;
+       type primary;
        file "root.db";
 };
index 45c860219462b3895df735f841810fec10f788a0..0998d05d88ab2f4baa9ba2db41c77a3f174c167d 100644 (file)
@@ -47,16 +47,17 @@ for ($z = 0; $z < $n_zones; $z++) {
 close $rootdelegations;
        
 sub make_zones {
-       my ($nsno, $slaved_from) = @_;
+       my ($nsno, $secondaried_from) = @_;
        my $namedconf = new FileHandle("ns$nsno/zones.conf", "w") or die;
        for ($z = 0; $z < $n_zones; $z++) {
                my $zn = sprintf("zone%06d.example", $z);
-               if (defined($slaved_from)) {
-                       print $namedconf "zone \"$zn\" { type slave; " .
-                           "file \"$zn.bk\"; masters { $slaved_from; }; };\n";
+               if (defined($secondaried_from)) {
+                       print $namedconf "zone \"$zn\" { type secondary; " .
+                           "file \"$zn.bk\"; primaries " .
+                           "{ $secondaried_from; }; };\n";
                } else {
                        print $namedconf "zone \"$zn\" { " .
-                           "type master; " .
+                           "type primary; " .
                            "allow-update { any; }; " .
                            "file \"$zn.db\"; };\n";
 
index 5e5a1ac40a71044ae3c4634c15def05679c843fc..07aba12b94f65ff7961997ff842789a566c9d3d8 100644 (file)
@@ -28,5 +28,5 @@ zone "." {
 zone "example" {
        type stub;
        file "example.db";
-    masters { 10.53.0.4 port @PORT@; };
+       primaries { 10.53.0.4 port @PORT@; };
 };
index 09a19934203dd92e098f0f7366b3fb1b629e746a..6c54c9a09d1800b858f860bed982103b7ec331a3 100644 (file)
@@ -59,7 +59,7 @@ digcomp knowngood.dig.out.rec dig.out.ns3 || ret=1
 }
 done
 
-echo_i "check that glue record is correctly transferred from master when minimal-responses is on"
+echo_i "check that glue record is correctly transferred from primary when minimal-responses is on"
 ret=0
 # First ensure that zone data was transfered.
 for i in 1 2 3 4 5 6 7; do
@@ -77,7 +77,7 @@ if [ -f ns5/example.db ]; then
     [ $ret = 0 ] || { status=1;  echo_i "failed"; }
 else
     status=1
-    echo_i "failed: stub zone transfer failed ns4(master) <---> ns5/example.db"
+    echo_i "failed: stub zone transfer failed ns4(primary) <---> ns5/example.db"
 fi
 
 echo_i "exit status: $status"
index 2025252556bbf7b84c3584f3f0253e4db7875140..2e2e0266e9bf8d90190dbb14c8afbfc9b54f94b0 100644 (file)
@@ -15,7 +15,7 @@
 
 rm -f dig.out.ns1* dig.out.ns2 dig.out.ns1 dig.out.ns3 dig.out.ns1.after
 rm -f ns1/*.jnl ns2/*.jnl ns3/*.jnl ns1/example.db ns2/*.bk ns3/*.bk
-rm -f ns3/nomaster1.db
+rm -f ns3/noprimary1.db
 rm -f ns3/dnstap.out*
 rm -f ns3/dnstap.conf
 rm -f dnstap.out*
index 7bd13d34170ddb2c9234867646ef6989d394a153..22879a7c3a0a5823cbedce03730d04783f464f2f 100644 (file)
@@ -45,9 +45,9 @@ zone "example2" {
        primaries { 10.53.0.1; };
 };
 
-zone "nomaster" {
+zone "noprimary" {
        type secondary;
-       file "nomaster1.db";
+       file "noprimary1.db";
        allow-update-forwarding { any; };
        masterfile-format text;
        primaries { 10.53.0.4; };
index 06e83b5e39252503e5af06c4cc04c5e340b36fb5..376e3c835f42112c307d6c7eb69ff875cb8ee8c2 100644 (file)
@@ -12,7 +12,7 @@
 . ../conf.sh
 
 cp -f ns1/example1.db ns1/example.db
-cp -f ns3/nomaster.db ns3/nomaster1.db
+cp -f ns3/noprimary.db ns3/noprimary1.db
 
 copy_setports ns1/named.conf.in ns1/named.conf
 copy_setports ns2/named.conf.in ns2/named.conf
index e46a4d2c96ab08e934eb0a073517d6653f5468d3..2011b7f96fe16729a10d6385908f0a5084313d80 100644 (file)
@@ -194,13 +194,13 @@ do
 (
 $NSUPDATE -- - <<EOF 
 server 10.53.0.3 ${PORT}
-zone nomaster
-update add unsigned.nomaster. 600 A 10.10.10.1
-update add unsigned.nomaster. 600 TXT Foo
+zone noprimary
+update add unsigned.noprimary. 600 A 10.10.10.1
+update add unsigned.noprimary. 600 TXT Foo
 send
 EOF
 ) > /dev/null 2>&1 &
-       $DIG -p ${PORT} +noadd +notcp +noauth nomaster. @10.53.0.3 soa > dig.out.ns3 || ret=1
+       $DIG -p ${PORT} +noadd +notcp +noauth noprimary. @10.53.0.3 soa > dig.out.ns3 || ret=1
        grep "status: NOERROR" dig.out.ns3 > /dev/null || ret=1
        count=`expr $count + 1`
 done
index 14f1008595e9c394c2a8c8e5e8a49235628a43c4..50b520e09158c2e2097f1744023d3017fabaa191 100644 (file)
@@ -154,7 +154,7 @@ while [ $i -lt 50 ]; do
        # Add a new zone to the configuration.
        cat >> ns2/zones.conf <<-EOF
        zone "${zone_name}" {
-           type master;
+           type primary;
            file "db.${zone_name}";
            dnssec-dnskey-kskonly yes;
            auto-dnssec maintain;
index f7d39fdabe83183099e8325f684389e1ab2a3b96..cb6c87af29b76c489994d309c438b558ab745898 100644 (file)
@@ -101,8 +101,8 @@ options {
                5.6.7.8;
        };
 
-       check - names master fail;
-       check - names slave warn;
+       check - names primary fail;
+       check - names secondary warn;
        check - names response ignore;
 
        allow - query { any; };
@@ -221,10 +221,10 @@ controls {
        inet 10.0.0.2 allow { none; };
 };
 
-zone "master.demo.zone" {
-       type master; // what used to be called "primary"
+zone "primary.demo.zone" {
+       type primaryr;
        database "somedb -option1 -option2 arg1 arg2 arg3";
-       file "master.demo.zone";
+       file "primary.demo.zone";
        check - names fail;
        allow - update { none; };
        allow - update - forwarding {
@@ -247,12 +247,12 @@ zone "master.demo.zone" {
        };
 };
 
-zone "slave.demo.zone" {
-       type slave; // what used to be called "secondary"
-       file "slave.demo.zone";
-       ixfr - base "slave.demo.zone.ixfr"; // File name for IXFR transaction
+zone "secondary.demo.zone" {
+       type secondary;
+       file "secondary.demo.zone";
+       ixfr - base "secondary.demo.zone.ixfr"; // File name for IXFR transaction
                                            // log file
-       masters {
+       primaries {
                1.2.3.4 port 10 key "foo"; // where to zone transfer from
                5.6.7.8;
                6.7.8.9 key "zippo";
@@ -294,8 +294,8 @@ view "test-view" in {
        additional - from - cache false;
        additional - from - auth no;
        match - clients { 10.0.0.1; };
-       check - names master warn;
-       check - names slave ignore;
+       check - names primary warn;
+       check - names secondary ignore;
        check - names response fail;
        auth - nxdomain false;
        recursion true;
@@ -321,9 +321,9 @@ view "test-view" in {
        min - refresh - time 111;
 
        zone "view-zone.com" {
-               type master;
+               type primary;
                allow - update - forwarding { 10.0.0.34; };
-               file "view-zone-master";
+               file "view-zone-primary";
        };
 
        server 5.6.7.8 { keys "viewkey"; };
@@ -333,12 +333,12 @@ view "test-view" in {
 };
 
 zone "stub.demo.zone" {
-       type stub; // stub zones are like slave zones,
+       type stub; // stub zones are like secondary zones,
                   // except that only the NS records
                   // are transferred.
        dialup yes;
        file "stub.demo.zone";
-       masters {
+       primaries {
                1.2.3.4; // where to zone transfer from
                5.6.7.8 port 999;
        };
@@ -382,7 +382,7 @@ acl can_axfr {
    // by can_query are OK
 
 zone "disabled-zone.com" {
-       type master;
+       type primary;
        file "bar";
 
        max - retry - time 100;
@@ -392,7 +392,7 @@ zone "disabled-zone.com" {
 };
 
 zone "non-default-acl.demo.zone" {
-       type master;
+       type primary;
        file "foo";
        allow - query { can_query; };
        allow - transfer { can_axfr; };
index 79e9f50541614fc47fb73a8bd42a001d6161a191..e96881e8dd102490a76e332c103c32f3d3d4d2f4 100644 (file)
@@ -130,13 +130,13 @@ addzoneconf(void **state) {
        isc_buffer_t b;
        cfg_parser_t *p = NULL;
        const char *tests[] = {
-               "zone \"test4.baz\" { type master; file \"e.db\"; };",
-               "zone \"test/.baz\" { type master; file \"e.db\"; };",
-               "zone \"test\\\".baz\" { type master; file \"e.db\"; };",
-               "zone \"test\\.baz\" { type master; file \"e.db\"; };",
-               "zone \"test\\\\.baz\" { type master; file \"e.db\"; };",
-               "zone \"test\\032.baz\" { type master; file \"e.db\"; };",
-               "zone \"test\\010.baz\" { type master; file \"e.db\"; };"
+               "zone \"test4.baz\" { type primary; file \"e.db\"; };",
+               "zone \"test/.baz\" { type primary; file \"e.db\"; };",
+               "zone \"test\\\".baz\" { type primary; file \"e.db\"; };",
+               "zone \"test\\.baz\" { type primary; file \"e.db\"; };",
+               "zone \"test\\\\.baz\" { type primary; file \"e.db\"; };",
+               "zone \"test\\032.baz\" { type primary; file \"e.db\"; };",
+               "zone \"test\\010.baz\" { type primary; file \"e.db\"; };"
        };
        char buf[1024];