HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slave dispatching working
[hcoop/domtool2.git]
/
lib
/
domain.dtl
diff --git
a/lib/domain.dtl
b/lib/domain.dtl
index
ac0345c
..
f2d3150
100644
(file)
--- a/
lib/domain.dtl
+++ b/
lib/domain.dtl
@@
-1,5
+1,11
@@
{{Configuring shared daemons with respect to a particular Internet domain name}}
{{Configuring shared daemons with respect to a particular Internet domain name}}
+extern type no_spaces;
+{{Any string with no space characters}}
+
+extern type no_newlines;
+{{Any string with no newline characters}}
+
extern type ip;
{{An IP address}}
extern type ip;
{{An IP address}}
@@
-12,9
+18,16
@@
extern type domain;
extern type your_domain;
{{A domain that you're allowed to configure}}
extern type your_domain;
{{A domain that you're allowed to configure}}
+extern type your_domain_host;
+{{Some host (as a fully-qualified domain name) in one of your domains}}
+
extern type node;
{{The name of a server controlled by domtool}}
extern type node;
{{The name of a server controlled by domtool}}
+extern type user;
+extern type group;
+{{UNIX users and groups}}
+
extern type your_user;
extern type your_group;
{{UNIX users and groups that you're allowed to run as}}
extern type your_user;
extern type your_group;
{{UNIX users and groups that you're allowed to run as}}
@@
-38,6
+51,8
@@
extern type soa;
{{DNS start-of-authority record}}
extern val soa : domain -> serial -> int -> int -> int -> int -> soa;
{{DNS start-of-authority record}}
extern val soa : domain -> serial -> int -> int -> int -> int -> soa;
+val defaultSoa = soa "ns.hcoop.net" serialAuto 172800 900 1209600 3600;
+
extern type master;
{{Information on the master DNS server for a domain}}
extern val externalMaster : ip -> master;
extern type master;
{{Information on the master DNS server for a domain}}
extern val externalMaster : ip -> master;