AFSDB and SRV records; TXT records for base domain
[hcoop/domtool2.git] / lib / bind.dtl
1 {{DNS configuration for BIND}}
2
3 extern type dnsRecord;
4
5 extern type srv_domain;
6 {{Like <tt>domain</tt>, but may contain underscores}}
7
8 extern val dnsA : host -> ip -> dnsRecord;
9 extern val dnsAAAA : host -> ipv6 -> dnsRecord;
10 extern val dnsAFSDB : domain -> dnsRecord;
11 extern val dnsCNAME : host -> domain -> dnsRecord;
12 extern val dnsMX : int -> domain -> dnsRecord;
13 extern val dnsNS : domain -> dnsRecord;
14 extern val dnsSRV : srv_domain -> int -> int -> int -> domain -> dnsRecord;
15 extern val dnsTXT : host -> no_newlines -> dnsRecord;
16
17 extern val dnsDefaultA : ip -> dnsRecord;
18 extern val dnsDefaultAAAA : ipv6 -> dnsRecord;
19 extern val dnsDefaultTXT : no_newlines -> dnsRecord;
20
21 extern val dns : dnsRecord -> [Domain] {TTL : int};