The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mirroring DNS from a non-cpanel server (djbdns)

Discussion in 'Bind / DNS / Nameserver Issues' started by DN-Paul, Nov 28, 2005.

  1. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
    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. linuxrouter

    linuxrouter Member

    Joined:
    Nov 10, 2005
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    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. DN-Paul

    DN-Paul Well-Known Member

    Joined:
    Oct 30, 2003
    Messages:
    91
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page