From: Jan-Piet Mens Date: Wed, 28 May 2025 11:07:48 +0000 (+0200) Subject: s/master/primary/g in Views doc X-Git-Tag: dnsdist-2.0.0-beta1~64^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15608%2Fhead;p=thirdparty%2Fpdns.git s/master/primary/g in Views doc --- diff --git a/docs/views.rst b/docs/views.rst index 2e7ba4cc2a..0a36ad688f 100644 --- a/docs/views.rst +++ b/docs/views.rst @@ -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