X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/60695e9923af9e74160575b5de0d5549808294b4..45f333d957958d860059368f040e5c0ba3b253b3:/lib/easy_domain.dtl diff --git a/lib/easy_domain.dtl b/lib/easy_domain.dtl index 3c3d4e0..6025008 100644 --- a/lib/easy_domain.dtl +++ b/lib/easy_domain.dtl @@ -20,8 +20,8 @@ val dom = \ d : (your_domain) -> \\ config : Domain -> domain d with - dns (dnsNS "ns.hcoop.net"); - dns (dnsNS "ns2.hcoop.net"); + dns (dnsNS "deleuze.hcoop.net"); + dns (dnsNS "mire.hcoop.net"); handleMail; mailbox <- Mailbox; @@ -32,3 +32,8 @@ val dom = config end; + +val nameserver = \host -> dns (dnsNS host); +val dnsIP = \from -> \to -> dns (dnsA from to); +val dnsMail = \num -> \host -> dns (dnsMX num host); +val dnsAlias = \from -> \to -> dns (dnsCNAME from to);