HCoop
/
hcoop
/
domtool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
85d6273
)
Tweakier dom
author
Adam Chlipala
<adamc@hcoop.net>
Sun, 24 Feb 2008 21:40:26 +0000
(21:40 +0000)
committer
Adam Chlipala
<adamc@hcoop.net>
Sun, 24 Feb 2008 21:40:26 +0000
(21:40 +0000)
lib/easy_domain.dtl
patch
|
blob
|
blame
|
history
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)));
- 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