Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    92

    Default Mirroring DNS from a non-cpanel server (djbdns)

    Hello,
    A friend of mine wants me to mirror the DNS records for one of his domains, however, he runs djbdns on his freebsd box, so how can I mirror the single zone for that domain (and all records in it) from his server onto mine (a cpanel/bind server).

    Thanks.

  2. #2
    Member
    Join Date
    Nov 2005
    Posts
    5

    Default

    Hi, I'm new to these forums. I recently mirrored my CPanel server zones to three bind systems. It is simple to do with bind.

    On CPanel, edit this file:

    /var/named/chroot/etc/named.conf

    You want to set his zone as a slave on your CPanel server.

    zone "domain.com" {
    type slave;
    file "slaves/domain.com";
    masters {
    10.10.10.1;
    };
    };

    Replace 10.10.10.1 with his name server IP and domain.com with the correct zone.

    On his server, he has to allow access to your CPanel source IP. On bind, this is called allow-transfer and should be fairly similar on his system.

    He should add your CPanel DNS IP as one of his NS records for that zone on his name server so that when the serial is updated, the zone update is sent to the appropriate systems.

    Then `rndc reload` on CPanel and the zone transfer should begin.

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    92

    Default

    Thanks

Similar Threads & Tags
Similar threads

  1. Server configuration and data auto-sync (mirroring)
    By popescu_oge in forum Feature Requests for cPanel/WHM
    Replies: 38
    Last Post: 07-20-2011, 08:21 AM
  2. Mirroring Cpanel Servers
    By mohdyasar in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-07-2011, 01:20 PM
  3. Mirroring Exim server mail
    By richenou in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-20-2008, 04:27 AM
  4. mirroring cPanel
    By Gus in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-23-2004, 06:54 PM
  5. disabling bind and using djbdns
    By big in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-12-2004, 12:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube