HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweakier dom
[hcoop/domtool2.git]
/
lib
/
easy_domain.dtl
diff --git
a/lib/easy_domain.dtl
b/lib/easy_domain.dtl
index
ee223f2
..
db27d29
100644
(file)
--- a/
lib/easy_domain.dtl
+++ b/
lib/easy_domain.dtl
@@
-53,8
+53,19
@@
val dom =
dns (dnsA default (ip_of_node (web_node_to_node web_node)));
dns (dnsA default (ip_of_node (web_node_to_node web_node)));
- handleMail;
- dns (dnsMX 1 "deleuze.hcoop.net");
+ hmail : bool <- HandleMail;
+ if hmail then
+ handleMail
+ else
+ Skip
+ end;
+
+ amx : bool <- AddMX;
+ if amx then
+ dns (dnsMX 1 "deleuze.hcoop.net")
+ else
+ Skip
+ end;
createWWW : bool <- CreateWWW;
if createWWW then
createWWW : bool <- CreateWWW;
if createWWW then