Javier Bértoli
038e6535d3
Merge pull request #111 from aanriot/master
...
db.root is now outdated
2018-09-10 08:57:07 -03:00
Alexandre Anriot
db0681ef4e
db.root is now outdated
2018-09-10 09:10:14 +02:00
Bernhard M. Wiedemann
7f500766e0
Use dictsort instead of iteritems
...
to process entries in deterministic order
2018-09-04 21:10:24 +02:00
Bernhard M. Wiedemann
353a8dfc15
Sort hashes
...
To process hash entries in deterministic order.
Without this patch, config entries were different for every run
and required a service restart when nothing actually changed.
Doing it similar to
0fe2f7e66b
2018-08-31 15:03:48 +02:00
Bernhard M. Wiedemann
993b7d339d
Fix named_directory usage
...
similar to e573baf26d
was broken by 019e1e4a58
2018-08-31 14:20:13 +02:00
Brian Sidebotham
1da26c7a2d
Move Redhat family logging location to satisfy selinux requirements
2018-08-30 12:25:02 +01:00
Ryan Walder
819126ed50
Make zones_directory
compatible with all distros
...
As all but Debian based distros seem to put the zonefiles in
`named_directory` itself it's been removed from `map.jinja` for all but
debian.
Within `bind.config` we set `zones_directory` to `named_directory` if
not defined in `map.jinja`/pillar.
All zonefile actions then write using the `zones_directory` variable.
2018-07-27 13:30:14 +01:00
Ryan Walder
2e8643fef4
Change zonefile include to use absolute path
2018-07-26 13:00:51 +01:00
Ryan Walder
ccbcd2a31c
Add zones_directory
variable to map
...
This allows the `named_directory` to be the base bind directory as it should so it can be used as a base variable for other directories. Then use the `zones_directory` for placing the zone files in.
2018-07-26 13:00:51 +01:00
Joe Bowman
d51c30c896
replace hardcoded /var/named with variable from map.jinja throughout redhat/named.conf
2018-07-25 16:58:47 +01:00
Joe Bowman
e573baf26d
fix incorrect variable reference causing all RedHat os_family tests to fail
2018-07-13 11:43:11 +01:00
Joe Bowman
019e1e4a58
fix named_directory bug in Debian/Ubuntu by using the map value instead of hardcoding
2018-07-13 11:40:50 +01:00
Joe Bowman
a8b703f877
remove superfluous signed-<zone> block, as the per-view block negates the need for this (as default view is still treated as a view); fixes #100
2018-07-09 14:24:15 +01:00
Javier Bértoli
72ea4cf544
Merge pull request #98 from aanriot/master
...
Add support for inline-signing, see #64 for details
2018-06-21 08:37:51 -03:00
Javier Bértoli
aeeafc329a
Merge pull request #97 from nadvornik/reverse
...
Autogenerate reverse zones
2018-06-21 08:35:07 -03:00
Vladimir Nadvornik
5039e09dad
Optionally include generated forwarders.conf
2018-06-18 16:23:05 +02:00
Vladimir Nadvornik
449597241c
Generate reverse records for 'any' zone
2018-06-15 16:46:06 +02:00
Alexandre Anriot
82726fdb48
Add support for inline-signing, see #64 for details
2018-06-07 14:34:27 +02:00
Vladimir Nadvornik
4623fb5e60
Autogenerate reverse zones
2018-06-05 15:46:48 +02:00
Javier Bértoli
6e8652dcb3
Merge pull request #84 from nadvornik/serial
...
Auto-update zone file serial
2018-06-05 08:39:31 -03:00
Vladimir Nadvornik
2b99362435
Handle log file in chroot
2018-06-04 16:43:10 +02:00
Vladimir Nadvornik
59502abac3
Do not modify configured_views dict
...
the pillar dict is passed by reference so we should not update it,
update a newly created dict instead
2018-06-01 16:19:59 +02:00
Vladimir Nadvornik
3310f90bb2
De-duplicate views and non-views zone configuration
2018-06-01 15:39:22 +02:00
Vladimir Nadvornik
5d8a666b83
Use watch_in consistently on all files
2018-06-01 15:25:19 +02:00
Vladimir Nadvornik
30a42dbebd
Auto-update zone file serial
...
use https://github.com/saltstack/salt/pull/15828
2018-06-01 15:25:19 +02:00
Alexandre Anriot
40d4be4f8f
Fix misplaced parenthesis introduced in #92
2018-05-31 14:43:00 +02:00
Alexandre Anriot
32459c7604
Merge pull request #94 from netmanagers/refactor-named.conf.local_and_logging
...
Refactor named.conf.local & logging
2018-05-31 13:22:26 +02:00
Javier Bértoli
45e8128487
Refactor named.conf.local & logging across platforms
2018-05-26 19:57:58 -03:00
Alexandre Anriot
4ab7ca3580
Allow to use external zone files
2018-05-04 14:18:12 +02:00
Alexander Weidinger
6dfbfdf7ba
FreeBSD: 9.11 is the current stable version ( #91 )
2018-04-27 22:35:57 +02:00
Alexander Weidinger
c809a1cc2c
FreeBSD: bind99 will be deprecated soon
...
https://www.freshports.org/dns/bind99/ :
Going out of support, please migrate to dns/bind911
2018-04-19 23:31:24 +02:00
Alexandre Anriot
faef15a034
With use_extensive_logging, there is more logs
2018-03-30 14:57:00 +02:00
Pascal Liehne
2c8de7bf24
use file mode from pillar or map for logrotate
2018-03-30 00:53:20 +02:00
Pascal Liehne
4278bca7ab
use user and group from pillar or map for logrotate
2018-03-30 00:46:00 +02:00
Javier Bértoli
3cbc53e207
Merge pull request #87 from bmwiedemann/master
...
1 fix for SUSE and 2 commits to nicify
2018-03-26 10:03:43 -03:00
Malte Starostik
72c65db5bc
Add support for custom includes on RedHat
...
Now in named.conf instead of named.conf.local
2018-02-16 13:04:23 +01:00
Bernhard M. Wiedemann
1c725851b8
drop duplicate entry
2018-01-24 15:59:16 +01:00
Bernhard M. Wiedemann
8549b637ba
[suse] nicer template
...
- add salt warning
- drop blank line to reduce diff to original file
2018-01-24 15:48:50 +01:00
Bernhard M. Wiedemann
ae9415c3e7
[suse]: fix passing map.local_config into template
...
avoids hard to debug messages about undefined Jinja variable 'map'
2018-01-24 15:48:15 +01:00
Vladimir Nadvornik
27e2180c31
Support for SUSE distributions
2018-01-02 14:05:25 +01:00
Niels Abspoel
da5e74a0d7
Merge pull request #80 from irtnog/add-bind-config-tmpl-option
...
Implement bind:config:tmpl Pillar key mentioned in pillar.example
2017-11-17 20:57:21 +01:00
Piotr Pieprzycki
aa9fb7b7df
delete static config
2017-11-02 14:55:05 +00:00
Piotr Pieprzycki
1a0c999e10
Added file rndc.conf
2017-11-02 10:13:02 +00:00
Piotr Pieprzycki
978ce84b15
Added feature rndc clinet
2017-10-29 16:46:24 +00:00
Piotr Pieprzycki
99593ccc8c
logging channel and category from pillar
2017-10-28 22:05:54 +00:00
Pieprzycki Piotr
2947dde649
New features and pillar.example
2017-10-18 22:35:21 +02:00
Matthew X. Economou
02141df8a8
Implement bind:config:tmpl Pillar key mentioned in pillar.example
2017-10-13 07:25:57 -04:00
Niels Abspoel
1adf5f196b
Merge pull request #73 from netmanagers/master
...
Allow to generate zone files from pillar data
2017-07-26 23:20:08 +02:00
Bogdan Radulescu
3d01537369
Made formating identical with Debian so we modify a minimum amount of lines
2017-07-19 19:11:26 +00:00
Javier Bértoli
b7dc95ddbf
Allow to generate zone files from pillar data
2017-07-12 08:38:07 -03:00