diff options
| author | Félix Sipma <felix.sipma@no-log.org> | 2018-05-05 21:45:08 +0200 |
|---|---|---|
| committer | Félix Sipma <felix.sipma@no-log.org> | 2018-05-05 21:45:08 +0200 |
| commit | 7e67310cf3c9f5cb1ac1fd51582960883e9b1c34 (patch) | |
| tree | e5a24a3fbb85cf818988206494cf3a97cba17e07 /src/Propellor | |
| parent | 6bcb3b886ca50fc5d1cf248db3c06da8988c839c (diff) | |
Unbound: move haddock comment to cachingDnsServer
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Property/Unbound.hs | 7 |
1 files changed, 4 insertions, 3 deletions
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" |
