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.
Comments are closed