Commit graph

36 commits

Author SHA1 Message Date
Ted Strzalkowski
b5efc0b9bd fix(debian): align Debian log directory with apparmor profile
Debian ships with an apparmor profile that specifies /var/log/named as
the permissible log directory.
2020-03-22 18:14:27 -07:00
Mark Gomersbach
7415a9b0ce feat(map.jinja): add Gentoo support 2019-12-21 11:37:59 +00:00
Alexander Weidinger
56dc5da024 FreeBSD: support extensive logging 2018-11-30 02:11:05 +01:00
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
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
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
Alexandre Anriot
82726fdb48 Add support for inline-signing, see #64 for details 2018-06-07 14:34:27 +02:00
Vladimir Nadvornik
2b99362435 Handle log file in chroot 2018-06-04 16:43:10 +02:00
Javier Bértoli
45e8128487 Refactor named.conf.local & logging across platforms 2018-05-26 19:57:58 -03: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
Vladimir Nadvornik
27e2180c31 Support for SUSE distributions 2018-01-02 14:05:25 +01:00
Piotr Pieprzycki
978ce84b15 Added feature rndc clinet 2017-10-29 16:46:24 +00:00
Pieprzycki Piotr
2947dde649 New features and pillar.example 2017-10-18 22:35:21 +02:00
Javier Bértoli
b7dc95ddbf Allow to generate zone files from pillar data 2017-07-12 08:38:07 -03:00
adrien
1e9184a860 Stretch, like Jessie, doesn't have the dnssec-tools package 2017-07-05 10:40:27 +02:00
Jerzy Drozdz
1cf371921c Corrected 'named_directory' default value 2017-03-25 00:29:49 +01:00
Jerzy Drozdz
5f93b7fe07 RedHat defaults moved to map.jinja 2017-03-25 00:18:59 +01:00
Alexander Weidinger
86099c1f71 FreeBSD: need different permissions for the log 2017-01-12 10:40:18 +01:00
Alexander Weidinger
0eedfeabe3 FreeBSD: added defaults to map.jinja 2017-01-12 10:39:36 +01:00
Florian
264c296672 fix broken zones_source_dir on RedHat/Debian
Als add docs for how to overwrite the path.

Fixes saltstack-formulas/bind-formula#60?
2016-06-01 19:17:27 +02:00
Ted Strzalkowski
0c072f9fc3 Do not spec dnssec-tools for installation on Debian Jessie.
Due to issues with rollerd[1], dnssec-tools was removed from
testing[2] and did not make it into Debian Jessie.  This removes that
package spec from the formula and leaves it as an exercise to the user
to solve how to satisfy the requirement.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754704
[2]: https://packages.qa.debian.org/d/dnssec-tools/news/20140812T163915Z.html
2016-04-17 08:36:18 -07:00
jamesp9
5b1313f14b arch: initial 2015-11-09 20:46:35 +11:00
Rowcliffe Browne
ed7aead85c allow bind to run in ipv4 or ipv6. if not specified, defaults to bind's default of both. 2015-10-30 18:28:43 +08:00
Gabriel Santos
9ff751e34b Fix conflicts with file names. Remove hardcoded zones location 2015-10-14 07:59:18 -03:00
david
554f8eb238 bind runs as user bind by default on ubuntu 2015-08-24 21:07:18 +02:00
Shane Poage
a883ffaf55 Simplified/unified some of the config state definitions. Added logic to automatically convert lists in pillar data to lists of configuration data for options. 2015-03-23 06:54:37 -05:00
david
e7623e1065 this package is needed on Debian/Ubuntu for dnssec to work, or else: 'pid': 30370, 'retcode': 127, 'stderr': '/bin/bash: zonesigner: command not found', 'stdout': ' 2015-02-02 19:09:56 +01:00
Skyler Berg
6891f1d7f2 Switch logging dir to /var/log/named for Ubuntu
Apparmor expects /var/log/named to be the logging directory for bind9
in Ubuntu 12.04 (and most likely 14.04).
2014-11-19 16:16:56 -08:00
root
4c5d5e8aee add key for support dynamic zones 2014-10-16 10:54:02 +00:00
Gareth J. Greenaway
36b172717c cleaning up bind9 salt formula.
syncing with updates from upstream.
2014-03-01 15:13:33 -08:00
Rudy Attias
c8a02a30b6 wrong filename 2014-02-19 16:56:26 +02:00
Gareth J. Greenaway
74ef9d4928 Updating bind salt-formula to include support to manage Bind on Debian based systems. Also including the ability to manage what zones are configured on DNS servers. Changing defaults to be pulled from the map.jinja. Added values to map.jinja for group and user. 2014-01-03 15:57:10 -08:00
Seth House
f43b760240 Split bind formula into two states; added map; added pillar examples 2013-09-03 15:51:19 -06:00