summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/Unbound.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Propellor/Property/Unbound.hs b/src/Propellor/Property/Unbound.hs
index a17e5dd4..2949b8e0 100644
--- a/src/Propellor/Property/Unbound.hs
+++ b/src/Propellor/Property/Unbound.hs
@@ -126,6 +126,9 @@ genRecord dom (PTR revip) = Just $ unwords
, "PTR"
, dValue dom
]
+-- | Be carefull with CNAMEs, unbound is not a primary DNS server, so it will
+-- resolve these by itself. For a locally served zone, you probably want A/AAAA
+-- records instead.
genRecord dom (CNAME dest) = Just $ unwords
[ dValue dom
, "CNAME"