Commit Graph

9 Commits

Author SHA1 Message Date
5e4711d87c
feat(zones): skip on slave servers
Introduce 'nsd:opmode' pillar option, allowing the zone file management
to be skipped on slave DNS servers.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-19 21:36:35 +01:00
5023b5e0a3
fix(checkconf): only check main config
Included configurations in nsd.conf.d tend to depend on each other. For
example when referring a TSIG key from 80-generates-keys in
90-generated-zones, running nsd-checkconf on these individual files
would cause an error.
It is sufficient and better to just check the main nsd.conf file, as it
combines all included configurations in the check.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-18 16:12:58 +01:00
9bbffa5f1f
feat(keys): allow pillar based management
Introduce managed TSIG keys configuration using pillar data.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-18 16:09:24 +01:00
307ed12b2b
feat(zones): allow custom options and files
- allow additional configuration options in zone blocks
- allow installation of zone files from other Salt file roots

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-18 16:06:35 +01:00
de523dd8df
feat(config): pillar based config template
Allow management of general configuration using pillar data.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
2023-02-17 21:42:29 +01:00
Alexander Weidinger
44f612e17b feat(zones): define and compile zone files 2021-04-18 23:51:49 +02:00
Alexander Weidinger
eb51237183 feat(nsd): configure NSD based on TOFS pattern 2021-04-03 12:12:06 +02:00
Alexander Weidinger
a5a8ec4113 feat(subcomponent): drop subcomponent, NSD does not have any 2021-04-02 00:12:10 +02:00
Alexander Weidinger
91f759f953 feat: convert template-formula to nsd-formula
BREAKING CHANGE: changed all state names and ids
2021-04-01 23:00:17 +02:00