TXT DNS records
[hcoop/domtool2.git] / lib / bind.dtl
CommitLineData
6ae327f8
AC
1{{DNS configuration for BIND}}
2
3extern type dnsRecord;
4
5extern val dnsA : host -> ip -> dnsRecord;
090692f7 6extern val dnsAAAA : host -> ipv6 -> dnsRecord;
6ae327f8
AC
7extern val dnsCNAME : host -> domain -> dnsRecord;
8extern val dnsMX : int -> domain -> dnsRecord;
9extern val dnsNS : domain -> dnsRecord;
f2cf641d 10extern val dnsTXT : host -> no_newlines -> dnsRecord;
6ae327f8 11
6eeb3bf9 12extern val dnsDefaultA : ip -> dnsRecord;
090692f7 13extern val dnsDefaultAAAA : ipv6 -> dnsRecord;
6eeb3bf9 14
6ae327f8 15extern val dns : dnsRecord -> [Domain] {TTL : int};