mod_rewrite and ProxyPass
[hcoop/domtool2.git] / lib / domain.dtl
CommitLineData
095de39e
AC
1{{Configuring shared daemons with respect to a particular Internet domain name}}
2
f8dfbbcc
AC
3extern type no_spaces;
4{{Any string with no space characters}}
5
6ae327f8
AC
6extern type ip;
7{{An IP address}}
8
9extern type host;
10{{A hostname; that is, (more or less) an alphanumeric string}}
11
095de39e
AC
12extern type domain;
13{{An Internet domain name}}
14
12adf55a
AC
15extern type your_domain;
16{{A domain that you're allowed to configure}}
17
e0b0abd2
AC
18extern type node;
19{{The name of a server controlled by domtool}}
20
8a7c40fa
AC
21extern type your_user;
22extern type your_group;
12adf55a
AC
23{{UNIX users and groups that you're allowed to run as}}
24
8a7c40fa
AC
25extern type your_path;
26{{A filesystem path that you're allowed to use.
27 The set of permitted values is generated from a set of roots by closing it
28 under the subdirectory relation.}}
12adf55a 29
095de39e
AC
30context Domain;
31{{Configuration directives specific to an Internet domain}}
32
6ae327f8
AC
33extern type serial;
34{{Domain zone serial numbers}}
35extern val serialAuto : serial;
36{{Whenever DNS data changes, choose a sensible serial number automatically.}
37extern val serialConst : int -> serial;
38{{Use this particular serial number.}}
39
40extern type soa;
41{{DNS start-of-authority record}}
42extern val soa : domain -> serial -> int -> int -> int -> int -> soa;
43
e0b0abd2
AC
44extern type master;
45{{Information on the master DNS server for a domain}}
46extern val externalMaster : ip -> master;
47{{A server not controlled by domtool will serve as master.}}
48extern val internalMaster : node -> master;
49{{A server controlled by domtool will serve as master.}}
50
6ae327f8
AC
51extern type dnsKind;
52{{How should DNS for this domain be handled?}}
e0b0abd2
AC
53extern val useDns : soa -> master -> [node] -> dnsKind;
54{{We do want DNS services for this domain. Specify the SOA record, information
55 on the server in charge of zone data, and a list of slave servers.}}
6ae327f8 56extern val noDns : dnsKind;
e0b0abd2 57{{No DNS services for this domain.}}
6ae327f8 58
12adf55a 59extern val domain : your_domain -> Domain => [Root] {DNS : dnsKind, TTL : int};
095de39e 60{{Configure a domain to which you have access rights.}}