From 7e67310cf3c9f5cb1ac1fd51582960883e9b1c34 Mon Sep 17 00:00:00 2001 From: FĂ©lix Sipma Date: Sat, 5 May 2018 21:45:08 +0200 Subject: Unbound: move haddock comment to cachingDnsServer --- src/Propellor/Property/Unbound.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Propellor/Property') diff --git a/src/Propellor/Property/Unbound.hs b/src/Propellor/Property/Unbound.hs index 2949b8e0..ec8b6d83 100644 --- a/src/Propellor/Property/Unbound.hs +++ b/src/Propellor/Property/Unbound.hs @@ -64,6 +64,10 @@ config = "/etc/unbound/unbound.conf.d/propellor.conf" -- | Provided a [UnboundSection], a [UnboundZone] and a [UnboundHost], -- cachingDnsServer ensure unbound is configured accordingly. -- +-- 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. +-- -- Example property: -- -- > cachingDnsServer @@ -126,9 +130,6 @@ 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" -- cgit v1.2.3