Home Forums OS X Server and Client Discussion Questions and Answers Setting up a secondary DNS zone

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #378777
    so7
    Participant

    i work for a digital web agency and we have our primary DNS server setup on a Linux box.

    overall we have no problems with it however from time to time it can go down which causes lots of problems.

    I’ve been thinking about potentially setting up a Secondary slave DNS server on my network but using the 10.6 server box i currently have setup.

    is this possible if my primary DNS server is on a linux box?

    many thanks in advance!

    -s

    #378786
    bschappel
    Participant

    Yes, this is 100% possible and almost trivially easy. I do this for our remote offices so that they have a local copy of the master zone file on their local network.

    OS X runs BIND for DNS. You’re probably running BIND on your Linux box too. Just add the IP address of your OS X box to the ACL for your DNS slaves and create a secondary zone on your OS X box.

    Your ACL’s are usually defined in the named.conf.local file on your master server. Here’s a sample ACL:

    [code]acl dns_slaves {
    10.1.1.3;
    10.10.10.90;
    10.10.12.9;
    };
    [/code]

    Then in your zone declaration you add an “allow-transfer” option. A typical zone declaration would look like this:

    [code]zone “mydomain.com” {
    type master;
    file “master/db.mydomain.com”;
    allow-transfer { dns_slaves; };
    };
    [/code]

    Use the GUI in Server Admin to create the secondary zone on your OS X server. It should work immediately.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed