summaryrefslogtreecommitdiff
path: root/config-joey.hs
diff options
context:
space:
mode:
authorJoey Hess2014-04-18 17:19:28 -0400
committerJoey Hess2014-04-18 17:19:28 -0400
commit39d697ca789c04da07bb14cc7476899e717d9413 (patch)
tree9e2c45e9f66e9a7d7e419cb6c38e37e1a9ebdd88 /config-joey.hs
parent2b9ee5b29b03a4a18fb43dafab38d6d185c653e0 (diff)
add dns records to Attr
Diffstat (limited to 'config-joey.hs')
-rw-r--r--config-joey.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/config-joey.hs b/config-joey.hs
index b6d1664d..48b43266 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -82,7 +82,7 @@ hosts = -- (o) `
& Ssh.hostKey SshEcdsa
& Apt.unattendedUpgrades
& Apt.serviceInstalledRunning "ntp"
- & Dns.zones myDnsSecondary
+ & Dns.servingZones myDnsSecondary
& Postfix.satellite
& Apt.serviceInstalledRunning "apache2"
@@ -234,8 +234,8 @@ myDnsSecondary =
, Dns.secondary "branchable.com" branchablemaster
]
where
- master = ["80.68.85.49", "2001:41c8:125:49::10"] -- wren
- branchablemaster = ["66.228.46.55", "2600:3c03::f03c:91ff:fedf:c0e5"]
+ master = [Dns.IPv4 "80.68.85.49", Dns.IPv6 "2001:41c8:125:49::10"] -- wren
+ branchablemaster = [Dns.IPv4 "66.228.46.55", Dns.IPv6 "2600:3c03::f03c:91ff:fedf:c0e5"]
main :: IO ()
main = defaultMain hosts