Hi E R. My short answer would be, don't configure views unless you have a good use case for them. For example you are running resolvers that have two different kinds of clients that need to be handled differently - one client set needs RPZ, the other doesn't. Or something like that.
BIND has views inside anyway. If you run "rndc stats" it produces a file called "named.stats", in which you will see line like this: [View: _bind] [View: default] The "_bind" view is always there and is used for internal processing. The "default" exists for all client processing and if you define your own views it disappears. So having one user-defined view is functionally equivalent to having no views. One possible reason I can think of for defining a view would be if you know you will need to add more views in future, so would like to standardise the structure of your config day one. It's a bit like configuring an Ethernet switch: do I configure VLANs even though (today) it's one flat network? Hope that helps. Greg On Wed, 4 Jan 2023 at 01:15, E R <fasteddieinaus...@gmail.com> wrote: > New to BIND and just starting to read the 5th edition from O'Reilly after > watching some videos online while it made its way to me. I am trying to > understand why the view statement appears to be included by default in most > Linux distributions if best practice says you should have separate servers > for each? Based on the comments in the named.conf sample file I am > inclined to remove all of the view statements so it operates in "default > view" on new servers I am setting up to replace old ones. Is the view > statement just there for those who need to ignore best practices or am I > missing something? > -- > Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe > from this list > > ISC funds the development of this software with paid support > subscriptions. Contact us at https://www.isc.org/contact/ for more > information. > > > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users >
-- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users