]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
s/master/primary/g in Views doc 15608/head
authorJan-Piet Mens <jp@mens.de>
Wed, 28 May 2025 11:07:48 +0000 (13:07 +0200)
committerGitHub <noreply@github.com>
Wed, 28 May 2025 11:07:48 +0000 (13:07 +0200)
docs/views.rst

index 2e7ba4cc2af065ee76eff412aab0391d621026cd..0a36ad688f2ca5cb6875c0b879406333ab5e3345 100644 (file)
@@ -191,24 +191,24 @@ of a given view::
 Bind configuration adaptation
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
-Consider the following Bind configuration, shamelessly borrowed from
+Consider the following Bind configuration, shamelessly adapted from
 https://www.zytrax.com/books/dns/ch7/view.html::
 
   view "trusted" {
    match-clients { 192.168.23.0/24; }; // our network
     zone "example.com" {
-     type master;
+     type primary;
      // private zone file including local hosts
-     file "internal/master.example.com";
+     file "internal/primary.example.com";
     };
     // add required zones
    };
   view "badguys" {
    match-clients {"any"; }; // all other hosts
    zone "example.com" {
-     type master;
+     type primary;
      // public only hosts
-     file "external/master.example.com";
+     file "external/primary.example.com";
     };
     // add required zones
    };
@@ -218,8 +218,8 @@ The equivalent PowerDNS setup would be::
   pdnsutil set-network 192.168.23.0/24 trusted
   pdnsutil set-network 0.0.0.0/0 badguys
 
-  pdnsutil view-add-zone trusted master.example.com..internal
-  pdnsutil view-add-zone badguys master.example.com..external
+  pdnsutil view-add-zone trusted primary.example.com..internal
+  pdnsutil view-add-zone badguys primary.example.com..external
 
-  pdnsutil load-zone example.com..internal internal/master.example.com
-  pdnsutil load-zone example.com..external external/master.example.com
+  pdnsutil load-zone example.com..internal internal/primary.example.com
+  pdnsutil load-zone example.com..external external/primary.example.com