summaryrefslogtreecommitdiff
path: root/Propellor/Types
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2014-04-19 11:42:31 -0400
committerJoey Hess <joey@kitenet.net>2014-04-19 11:42:31 -0400
commit8c12c5b8ece4c7027c3261b8c6e59dbc750b08e9 (patch)
tree543bf2f0a6d82db926a549fad2f147f036d62a79 /Propellor/Types
parent5dd316a0ad4abce5e81ea19e52caf7b57081cda3 (diff)
parenta2ef91929a19c4b70877691a66074fc42a9488ea (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'Propellor/Types')
-rw-r--r--Propellor/Types/Dns.hs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Propellor/Types/Dns.hs b/Propellor/Types/Dns.hs
index e367202a..9b2ad1e7 100644
--- a/Propellor/Types/Dns.hs
+++ b/Propellor/Types/Dns.hs
@@ -43,8 +43,6 @@ data SOA = SOA
, sRetry :: Integer
, sExpire :: Integer
, sNegativeCacheTTL :: Integer
- , sRecord :: [Record]
- -- ^ Records for the root of the domain. Typically NS, A, TXT
}
deriving (Read, Show, Eq)
@@ -76,6 +74,7 @@ type SerialNumber = Word32
-- Let's use a type to keep absolute domains straight from relative
-- domains.
--
--- The SOADomain refers to the root SOA record.
-data BindDomain = RelDomain Domain | AbsDomain Domain | SOADomain
+-- The RootDomain refers to the top level of the domain, so can be used
+-- to add nameservers, MX's, etc to a domain.
+data BindDomain = RelDomain Domain | AbsDomain Domain | RootDomain
deriving (Read, Show, Eq, Ord)