Knowledge Base ISC Main Website Ask a Question/Contact ISC
How do I run BIND 9 on Apple Mac OS X?
Author: ISC Support Reference Number: AA-00312 Views: 5126 Created: 2011-05-16 15:03 Last Updated: 2011-05-16 15:03 0 Rating/ Voters

If you run Tiger(Mac OS 10.4) or later then this is all you need to do:

% sudo rndc-confgen  > /etc/rndc.conf

Copy the key statement from /etc/rndc.conf into /etc/rndc.key, e.g.:

key "rndc-key" { algorithm hmac-md5; secret "uvceheVuqf17ZwIcTydddw==";};

Then start the relevant service:

% sudo service org.isc.named start

This is persistent upon a reboot, so you will have to do it only once.

Alternatively you can just generate /etc/rndc.key by running:

% sudo rndc-confgen -a

Then start the relevant service:

% sudo service org.isc.named start

Named will look for /etc/rndc.key when it starts if it doesn't have a controls section or the existing controls are missing keys sub-clauses. This is persistent upon a reboot, so you will have to do it only once.


© 2001-2017 Internet Systems Consortium

For assistance with problems and questions for which you have not been able to find an answer in our Knowledge Base, we recommend searching our community mailing list archives and/or posting your question there (you will need to register there first for your posts to be accepted). The bind-users and the dhcp-users lists particularly have a long-standing and active membership.

ISC relies on the financial support of the community to fund the development of its open source software products. If you would like to support future product evolution and maintenance as well having peace of mind knowing that our team of experts are poised to provide you with individual technical assistance whenever you call upon them, then please consider our Professional Subscription Support services - details can be found on our main website.

Feedback
  • There is no feedback for this article
Quick Jump Menu