flexconcept
New member
- Joined
- Nov 21, 2013
- Messages
- 2
In dns_a.conf I try to assign a address depending on a chosen package.
Is it possibe to use some kind of multple If-THEN ELSE statement?
This idea is not working:
Is it possibe to use some kind of multple If-THEN ELSE statement?
This idea is not working:
mail=|IP|
localhost=127.0.0.1
|*if PACKAGE="DNS1"|
|DOMAIN|.=37.23.10.39
www=37.23.10.39
|*else if PACKAGE="DNS2"|
www=arabla.cloudapp.net.
|*else if PACKAGE="DNS3"|
|DOMAIN|.=12.134.156.7
www=12.134.156.7
|*else|
|*if IS_IPV6!="yes"|
|DOMAIN|.=|IP|
www=|IP|
mail=|IP|
|*endif|
|*endif|