diff options
| author | Félix Sipma <felix.sipma@no-log.org> | 2018-05-04 15:18:29 +0200 |
|---|---|---|
| committer | Félix Sipma <felix.sipma@no-log.org> | 2018-05-04 15:18:29 +0200 |
| commit | 6bcb3b886ca50fc5d1cf248db3c06da8988c839c (patch) | |
| tree | a9e5955641c79aa730f91f3c06a9a72689ee281c /src/Propellor | |
| parent | 0f022f07523a2221d527c705caff2a2d8cc83a03 (diff) | |
Unbound: add a warning note for CNAME
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Property/Unbound.hs | 3 |
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" |
