Author Topic: named Will NOT Start  (Read 6784 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
named Will NOT Start
« on: July 27, 2015, 11:27:18 PM »
This is a FRESH install of CentOS 6.6 AND CWP on a local machine. I want it up and running as my own little server, however, I get the following error when trying to start named (DNS)

Starting named:
Error in named configuration:
/etc/named.conf:14: 'options' redefined near 'options'
[FAILED]

My COMPLETE Options section is below. As far as I can see, everything is correct. Am I missing something?

Code: [Select]
options {
#listen-on port 53 { 127.0.0.1; };
        listen-on-v6 port 53 { ::1; };
        directory "/var/named";
        dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { any; };
        allow-transfer     { localhost; 192.168.1.3; };
        recursion no;

        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";

        managed-keys-directory "/var/named/dynamic";
};