Commit Graph

16 Commits

Author SHA1 Message Date
Nate Riffe
57002c31a4 Include the default zones on RedHat
RedHat's default zones are baked into the stock named.conf, which the module's
template completely rewrites. Since the module is extremely view-based, and the
Debian default-zones are repositioned into the zones, let's take those defaults
out of the stock named.conf, build a configuration file out of them and include
it in the view just the same.
2016-01-29 07:32:54 -06:00
Nate Riffe
2f2e971efd Reduce template abstraction and add documentation
Modify the handling of the `servers` property in `bind::view` to respond to
specific keys in the config hash for each server, and document how this
property is handled.
2015-10-24 09:17:38 -05:00
Thomas Farvour
8005dfa7d9 Add the ability to specify server directives in a view (e.g. using TSIG keys) with a slave -> master. 2015-10-24 09:17:38 -05:00
Tilo Klausing
0ebec14102 added support for view directive "match-recursive-only"
allows for dedicated views separating resolver and authorative functions
within the same server
2015-01-12 15:44:33 +01:00
Nate Riffe
e365f5e49a Distinguish view access from recursion access
Make recursion_match_clients and recursion_match_destinations mirroring the
existing match_clients and match_destinations in order to distinguish recursion
access as a proper subset of view access.
2014-11-28 19:02:23 -06:00
Brian Muita
658a2cdb9b Added the allow-recursion statement for when recursion enabled in a view.
Unless specified, this defaults to "localnets, localhost only" yet the
intention of specifying a match-clients and recursion is to allow recursive
queries from the given address not just localnets. This change adds the
specified match-clients under allow-recursion.

If match-destination is specified instead, then allow-recusion-on is
set for those interfaces.
2014-11-27 18:39:02 +03:00
Nate Riffe
a930f53a4a Handle array values idiomatically 2013-08-08 07:40:00 -05:00
Nate Riffe
d044268f07 A bit overzealous on that last fix 2013-07-07 20:16:02 -05:00
Nate Riffe
05097dcd05 Access class variables the new way
Recent puppets demand that puppet class variables be qualified as instance
members when accessed from within a template.
2013-06-30 09:04:37 -05:00
Nate Riffe
d8b9fe2e8e Fix syntax 2012-09-04 12:32:11 -05:00
Nate Riffe
6800ca9ebc Include default zones regardless of recursion 2012-09-03 23:18:31 -05:00
Nate Riffe
0a383a49fe Adjust indentation 2012-09-03 23:12:55 -05:00
Nate Riffe
2ea577f97b Move default zones into the view when recursion is enabled 2012-09-03 23:10:29 -05:00
Nate Riffe
f23bf1e1b4 Put semicolons where needed in view.erb 2012-09-03 22:09:29 -05:00
Nate Riffe
ec56b2e376 Adjust spacing 2012-09-03 22:01:35 -05:00
Nate Riffe
594d850cb2 Add templates for named.conf and for view fragments 2012-09-03 21:52:38 -05:00