ispCP - Board - Support
Using two NS dynamicly not possible ? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Using two NS dynamicly not possible ? (/thread-2670.html)



Using two NS dynamicly not possible ? - Eminos - 03-08-2008 11:19 PM

Hi there,

I just read this guide about DNS/Bind:
http://www.zytrax.com/books/dns/ch2/

The guide is great and simple to understand. I recomend it.

BUT, as far as I could get it, this means that the default bind9 installation (which is used by ispCP) can not handle dynamical addition of domains on slave nameservers. Which simply means that we can not use two NameServers (without making all the changes on the slave NS manually, which of course is a pain in the butt it you're running more then a few domains).

Am I right about this, or is there something that I have missed?

Two other questions are:
What purpose does the "Second NameServer IP" in ispCP have?
What is the purpose of the ns2 ip in the zone file?

Greatful for clearification...

/E


RE: Using two NS dynamicly not possible ? - rsmithgs - 03-13-2008 05:20 PM

I wont be able to answer all your questions but I will try to answer some :-)

I'm assume by dynamically you mean:

When a new domain is added to the ISPCP control panel that ISPCP will not directly update NS2?

If so then I think your right (unless someone has managed this) which is why people usually syncronise their slave with their masters every x amount of time. This doesn't need to be done manually as it can be scripted and then a cronjob set for the script to run.

This can be achieved with rsync or even using apache and wget (http://vhcs.puuhis.net/wiki/index.php/Secondary_DNS)

As for the second IP that ISPCP asks for, isn't this just so the NS1 DNS records are added with a NS2?

Hopefully the above goes some way of helping you out?


RE: Using two NS dynamicly not possible ? - joximu - 03-13-2008 07:34 PM

bind has to know what is the IP of the slave dns - for every domain. That's why ispCP offer to add this secend IP already to the bind configuration.
ns2 is just an entry in the zone file for users can use ns1.mydomain.tld and ns2.mydomoain.tld - I won't use this but some might.

/J


RE: Using two NS dynamicly not possible ? - rsmithgs - 03-13-2008 09:00 PM

joximu Wrote:bind has to know what is the IP of the slave dns - for every domain. That's why ispCP offer to add this secend IP already to the bind configuration.
ns2 is just an entry in the zone file for users can use ns1.mydomain.tld and ns2.mydomoain.tld - I won't use this but some might.

/J
Thats what I meant :-)