summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Propellor/Property/Dns.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Propellor/Property/Dns.hs b/src/Propellor/Property/Dns.hs
index 062b278b..27f81f62 100644
--- a/src/Propellor/Property/Dns.hs
+++ b/src/Propellor/Property/Dns.hs
@@ -132,8 +132,10 @@ signedPrimary recurrance hosts domain soa rs = RevertableProperty setup cleanup
where
-- TODO enable dnssec options.
-- dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto;
- setup = setupPrimary zonefile signedZoneFile hosts domain soa rs'
- `onChange` toProp (zoneSigned domain zonefile)
+ setup = combineProperties ("dns primary for " ++ domain ++ " (signed)")
+ [ setupPrimary zonefile signedZoneFile hosts domain soa rs'
+ , toProp (zoneSigned domain zonefile)
+ ]
`onChange` Service.reloaded "bind9"
cleanup = cleanupPrimary zonefile domain