3 DNS server support

ItMan

New member
Joined
Feb 24, 2008
Messages
1
Hello!

I need 3 DNS server support!
Now i use NS template, but i have problems with resellers.

Example
ns1.mydns.com
ns2.mydns.com
ns3.mydns.com

Reseller:
ns1.resdns.com
ns2.resdns.com
ns3.mydns.com
 
You should be able to use the scripting tools inside the templates to get it to work the way you want:
http://www.directadmin.com/features.php?id=430

Basically, right now you have:
Code:
|NS1|=|DOMAIN|.
|NS2|=|DOMAIN|.
Change it to be:
Code:
|*if NS1="ns1.mydns.com."|
|?NS3=ns3.mydns.com.|
|*else|
|?NS3=ns3.resdns.com.|
|*endif|

|NS1|=|DOMAIN|.
|NS2|=|DOMAIN|.
|NS3|=|DOMAIN|.
You can get much more creative with it.. you can set it to no have an NS3 at all if you want.. etc.. the if-then-else tools allow you to do pretty much anything you can conjur up ;)

Let me know if you have other scenarios you need help with.

John
 
Back
Top