summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Unbound.hs
diff options
context:
space:
mode:
authorFélix Sipma2018-05-04 15:18:29 +0200
committerFélix Sipma2018-05-04 15:18:29 +0200
commit6bcb3b886ca50fc5d1cf248db3c06da8988c839c (patch)
treea9e5955641c79aa730f91f3c06a9a72689ee281c /src/Propellor/Property/Unbound.hs
parent0f022f07523a2221d527c705caff2a2d8cc83a03 (diff)
Unbound: add a warning note for CNAME
Diffstat (limited to 'src/Propellor/Property/Unbound.hs')
-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"