Commit Graph

15 Commits

Author SHA1 Message Date
Baptiste Jonglez
cdf6821679 nsd: adapt for new version of NSD and allow to configure most parameters related to version (nsd3/nsd4) 2017-09-01 10:58:48 +02:00
Baptiste Jonglez
2ae5fd8b38 NSD: Validate configuration syntax using nsd-checkconf before applying 2017-09-01 10:20:48 +02:00
Baptiste Jonglez
93dd3810a0 NSD: Quote all paths 2017-09-01 10:20:48 +02:00
Baptiste Jonglez
b4dd5c9066 NSD: Avoid duplicating the 'list expansion' code in template 2017-09-01 10:20:48 +02:00
Baptiste Jonglez
a5d94f234a NSD: Allow global or local configuration to be missing 2017-09-01 10:20:48 +02:00
Baptiste Jonglez
6538ccda29 NSD: Reload database after having rebuilt it
Also don't restart nsd when changing zone configuration, rebuild + reload
is enough.
2017-09-01 10:20:48 +02:00
Baptiste Jonglez
eef721d276 NSD: Simplify configuration to use only one file for all zones, instead of many includes
This also allows the playbook to be idempotent.
2017-09-01 10:20:48 +02:00
Baptiste Jonglez
99a1b418f1 NSD: Add a comment to the handlers 2016-03-27 15:55:39 +02:00
Baptiste Jonglez
ab880c9622 NSD: Fix handlers order (rebuild before restart) 2016-03-26 20:08:41 +01:00
Baptiste Jonglez
df14c7881f NSD: notify slaves when a primary zone is updated 2016-03-26 19:36:41 +01:00
Baptiste Jonglez
34f12ba81c NSD: Allow to configure the name of the TSIG keys
Of course, I forgot that the name of TSIG keys is relevant, since it needs
to be the same on both the master and the slave...

While we're at it, allow to define keys separately and refer them by name
in zone config, which avoids duplication.
2016-03-26 19:14:59 +01:00
Baptiste Jonglez
0e6f8b9ad2 Fix templates if there is no slave or master defined 2016-03-26 18:51:42 +01:00
Baptiste Jonglez
3bfcbc9d91 NSD: Implement TSIG keys 2016-03-26 18:20:38 +01:00
Baptiste Jonglez
328018fe7b NSD: Update README 2016-03-26 17:56:52 +01:00
Baptiste Jonglez
adc9f0b18e NSD: first playbook, still rough around the edges (no TSIG support) 2016-03-26 17:56:52 +01:00