bind9 / rndc questions
Chris Janton
face at CentosPrime.COM
Wed Jan 5 06:16:46 PST 2011
On 2011-01-04 , at 17:16 , William H. Magill wrote:
>
> If I delete the "include"
>
> I get:
> -------------------------<cut here>--------------
>> sudo named-checkconf named.conf
> named.conf:87: unknown key 'rndc-key'
> -------------------------<cut here>---------------
>
> I'm obviously not understanding something here.
I recently installed bind9. Works just like I want it to.
All I did to make 'rndc' work was
sudo rndc-confgen -a
sudo kill -SIGHUP pid-of-daemondo-that-runs-named
sudo rndc status
The only changes I made to the named.conf file were
add IP address to the 'listen-on' line
add an include line for the zone file that I want to be SOA for
change the log file lines - file "/var/log/dns_query.log" versions 7 size 20M;
If I run
sudo named-checkconf
I get no errors.
8)
----------------------------------
Chris Janton - face at CentosPrime dot COM
Netminder for Opus1.COM
More information about the macports-users
mailing list