I'm following the instructions here on how to set up BIND on OSX, and I've got as far as this point (not very far then!)
Watch out! The rndc-confgen utility is extremely handy for generating new rndc configuration files, but it may set a different default port than named. You can use the following commands to ensure that the port number is the same in both configurations:
more /etc/named.conf | grep 'inet.*\?port'
more /etc/rndc.conf | grep '\-port'
If both ports are not the same, it's best to change one before starting BIND.
Um, yes, but which one should I prefer?
$ more /etc/named.conf | grep 'inet.*\?port'
inet 127.0.0.1 port 54 allow {any;}
or
$ more /etc/rndc.conf | grep '\-port'
default-port 953;
I've never used BIND before and I've no idea which of these is preferable, and would be grateful for any help or insight.
BIND 9.6-ESV-R4-P3
OSX 10.6.8