Skip to content

Commit 3151899

Browse files
Update README.rst
Add paragraph about using views.
1 parent e6636fe commit 3151899

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@ declared.
8686
`bind:available_zones:<zone>:file` should point to an existing zone file
8787
that will be **sourced** by the formula.
8888

89+
Using Views
90+
-----------
91+
92+
Using views introduces some restrictions by the BIND server in that once you have views defined, ALL of your zones have to be served via a view. You cannot have any zones defined outside of a view.
93+
94+
If you want multiple views to serve the same zone but with different record sets, follow the example in pillar-with-views.example to set this up. The key to this is the 'file' argument in the view configuration that allows you to set the view's configured_zone to a zone that you define underneath 'available_zones'. Without specifying this 'file' argument, your views cannot serve the same zone; they will instead serve a zone that matches the name of the view.
95+
8996
External zone files
9097
-------------------
9198

0 commit comments

Comments
 (0)