Web Hosting Talk







View Full Version : Linux shell scripting/bind experienced person needed!


Curto
01-27-2004, 03:10 PM
Hi all,

I have a dilemma... I know what I want to do, I know in theory how to do it, but I don't have the time to do it ;)

I need a system... (Don't we all? :))

I have multiple servers with seperate cpanel installs (not clustered or shared dns).

I have one server with no cpanel ;)

I want to copy all dns zones from the cpanel servers to the odd server and build a working named.conf.

Sound simple enough? How about having it do it every 15 minutes? :confused:

The idea is that clients can have 2 geographically seperate nameservers to use.

I perceive doing this by:
1) using rsync to copy over zone file changes (it has a feature to check for changes and just update the changed parts in files) from all servers.
2) using rsync, or scp to copy the named.conf from each cpanel server
3) somehow compare those named.conf files to remove any duplicates and then build a single named.conf file for this server
4) verify that there is no invalid entries (duplicate domains, any .domain.com (as opposed to domain.com) entries, and anything else that will bork bind)
5) restart named on the server.

...and have this all done by a 30 minute cron

Think you know how to do this?

Please give me a realistic estimate of the time it will take you and how much you want for it!

I can pay both in cash and hosting (I'd prefer a mixture of both). If you'd be happy to just be paid in hosting, I'd be willing to give you 10GB Space and 150GB/mo bandwidth FOR A YEAR!!!!

Please contact me via email or post in this thread. Please don't IM as I'd like a easier paper trail :)

Cheers,
-Michael

linux-tech
01-27-2004, 04:40 PM
Hi, Michael
Feel free to contact me through any of the methods in my sig. I've done this before for a couple of clients, shouldn't take more than 1, 2 hours to set something up for you :)

TJW
Linux Tech Networks

rcs
01-27-2004, 07:59 PM
It's a simple script which I already have.

Please contact me via the info at http://www.uadm.com.

I accept paypal only.

Thank you,
Guy Cohen

Curto
01-28-2004, 01:25 AM
Thanks all, wolfstream will be doing this for me :D

Mods - please close this, thanks.