+ Reply to Thread
Results 1 to 7 of 7




  

Thread: Backup NS servers

      
  1. #1
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default Backup NS servers

    Anyone have any experience with setting up a 2ndary server for backing up your primary servers NS records?

  2. #2
    Jedi Master ChrisMac is on a distinguished road
    Join Date
    November 26, 2009
    Posts
    29
    Rep Power
    3
    Feedback Score
    0

    Default Re: Backup NS servers

    Hi, yes I did this with DNSMadeEasy and it works very well.

    Basically you just sign up with them and point their DNS servers (running bind) to your Master.

    Provide live help to your website visitors
    Download Live Chat Software now
    Free 30 days trial

  3. #3
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Backup NS servers

    If both servers are running cPanel there is an easy way to establish a trust relationship between the two. Two cPanel servers can also do DNS clustering to synchronize records.
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

  4. #4
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default Re: Backup NS servers

    Nope one is running directadmin

  5. #5
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Backup NS servers

    If both servers are running BIND then it can be done the old fashioned hard way via the command line, editing config files. I wouldn't know how it's done, but there's a way to do it manually.
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

  6. #6
    Grand Masters grim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond reputegrim has a reputation beyond repute grim's Avatar
    Join Date
    September 22, 2006
    Posts
    10,060
    Rep Power
    25
    Feedback Score
    0

    Default Re: Backup NS servers

    lol yeah I know there is a way, trying to figure out how or if there is an easy script

  7. #7
    Grand Masters vectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nicevectro is just really nice vectro's Avatar
    Join Date
    September 5, 2008
    Location
    U.S.A.
    Posts
    1,499
    Rep Power
    4
    Feedback Score
    0

    Default Re: Backup NS servers

    Maybe the rsync command would do it. Assuming the primary DNS is the one with the 'main' records, and the secondary DNS wants to syncronize with it, you maybe could log into the primary DNS server's shell as root and do something like this:

    Code:
    cp -rf /var/named /root/named-bak
    rsync -ae ssh /var/named/ root@secondaryserverip:/var/named/ --exclude=named.ca --exclude=data
    (login as root on secondaryserverip when prompted)
    cp /etc/named.conf /root/named.conf.bak
    rsync -ae ssh /etc/named.conf root@secondaryserverip:/etc/named.conf
    (restart both nameservers, restore the backups if there are any problems.
    That should theoretically backup your stuff and synchronize it. The second line transfers the zone files over. That's also assuming the source and destination have the exact same file and folder structure for zones and config file. There might be problems if the config file has to have different allow rules in each one. If anything fails, restore the backups on the primary nameserver. If this or something similar works, put it in a shell script and them cron it.

    This is not tested, though. You might want to have someone else look at my idea.

    Before cPanel I used to just copy and paste lots of stuff to create zones files and config entries. With two cPanel servers you just click some things and it automagically syncs them.
    Last edited by vectro; Feb 1st, 2010 at 1:24 pm.
    Vectro Web Hosting - Web hosting with solid tech support.

    x Proxy Host - Affordable PHP proxy hosting with proxy-specific features.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Backup service
    By benjaminp in forum General Business
    Replies: 4
    Last Post: Apr 20th, 2008, 8:17 am
  2. cPanel backup all at once
    By Big Dan in forum Dedicated / VPS Hosting
    Replies: 4
    Last Post: Oct 14th, 2007, 3:43 pm
  3. Replies: 23
    Last Post: Jul 7th, 2007, 10:09 am
  4. Automated FTP Backup
    By grim in forum Dedicated / VPS Hosting
    Replies: 10
    Last Post: Mar 3rd, 2007, 3:20 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads