Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jan 2003
    Posts
    35

    Default Primary/Secondary DNS Sync Issues

    Anyone have any tips how to get a secondary to send all it's DNS loaded zones over to a new primary?

    I have done all the trust relationship steps, those work, the problem is the existing zones on the secondary are not transfered to primary and as soon as you do a /scripts/dnstransfer it simply copies over the named.conf from the primary basically.

    Again there are existing zones on the secondary, those need to show on the primary, how without having to recreate the lot?

  2. #2
    Member
    Join Date
    Jun 2003
    Posts
    75

    Default

    I'm having the exact same problem today.

    I copied over the the files from /var/named over to the primary and put all the entries in the named.conf file and for the other server.

    The problem is that all the websites on the secondary server are not showing up now on the web. In WHM I can see the Zones but they aren't resolving.

    So basically how do we transfer existing zones from a server a new nameserver via the trust relationship?

  3. #3
    Member
    Join Date
    Jan 2003
    Posts
    35

    Default

    *bump*

    Has nobody ever had to sync up a loaded secondary to a new primary?

  4. #4
    Member
    Join Date
    Sep 2001
    Location
    Spain
    Posts
    779

    Default

    Unless I'm mistaken, the zone transfers always go form the master to the slaves, not the other way round (it would be a chaos). You just have to create the zones in the primary name server and copy the named.conf files regularly to the slaves.

  5. #5
    Member
    Join Date
    Jun 2003
    Posts
    75

    Default

    OK, I got mine to work. I copied over only the files in my /var/named folder of my secondary to my primary.

    I also had to copy the /etc/named.conf zones over to the new server. Make sure you only copy over zones that have domains not zones or information that has:
    "rndc-key"
    "/var/named/named.ca"
    "/var/named/named.local"

    The reason It didn't work the first time I did it was because It had permission errors with the transferred files.

    I had to do the following after transfering my files to the new server:
    chown -R named.named /var/named/

    Let me know if that works. Also, try submitting a trouble-ticket in cpanel.net site. They might help you with this.

Similar Threads & Tags
Similar threads

  1. WHM DNS Only as primary/secondary (NS1/NS2)
    By organic in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-22-2011, 08:19 AM
  2. How do I create primary dns and secondary dns?
    By AngleOfDeath in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2007, 03:13 PM
  3. Primary/Secondary Nameservers
    By cchapoval in forum New User Questions
    Replies: 0
    Last Post: 07-05-2006, 11:03 PM
  4. Having to restart named on primary/secondary DNS after account move
    By joshstein in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-14-2005, 06:55 PM
  5. WHM DNS - Primary & Secondary Question
    By t9clkclnr in forum New User Questions
    Replies: 0
    Last Post: 07-18-2005, 10:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube