Secondary NS?

3josh

Verified User
Joined
Oct 17, 2003
Messages
14
Hello,

I would like to do secondary NS on another server so that
mail does not bounce when the server is down.

I don't think DA supports this natively like Hsphere and some
others - but anyone have scripts made up to munge
DA's named.conf to make a config for secondaries that can
by sync'd over to another server?


Thanks
-josh
 
Hello,

I think some people have just setup a 2nd server to run as a slave to the DA master. You'd just have to create each zone as they come on the 2nd server and set it up as a slave, which will get it's data from the DA server. I'm not too sure on the exact syntax at the momment, but I'm sure someone has it handy. :)

John
 
Right :)

But doing that for every domain all users and resellers have
is - well.. time consuming and something that cries for automation.
Thats what control panels are all about after all right?
Particularly with how DA does subdomains...

What I'm looking for is something that can take the named.conf
and find/replace the 'master' with secondary and the IP address
of the DA server and stick it someplace like /etc/named.secondary.
Then I can rsync/scp/whatever over from the secondary NS.

Ideally I would like to see this file be automagically made by
DA (ie - make updates to /etc/named.conf and /etc/named.secondary )
But I'll settle for generating the thing from cron every hour.

I can probably make it work if I stare at the sed/awk man pages
long enough, but when I try to make bourne scripts I almost
always break stuff :) I'll give it a try if nobody is willing to
give out their solution.. I just hate bruising my head with
scripts that are 'hello world' for average coders...

-josh
 
couldn't you use a cron to copy the named.conf files to a web directory and another cron to wget it every x minutes? not ideal but would work
 
Should you have it working I'd love to see it, we're planning on perhaps adding another server and this feature would enhance NS stability a lot.
 
Back
Top