Error in named configuration
Hello floks,
Please Help me on this, Getting error on the /etc/name.conf file, it shows all configurations look good but don't know why this error hitting can anyone suggest on this. attache all config below with error. [root@sparkly ~]# service named restart Stopping named: [ OK ] Starting named: Error in named configuration: /etc/named.conf:47: unknown option 'izone' /etc/named.conf:57: unexpected token near end of file [FAILED] ##################################################################### [root@sparkly ~]# cat /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // options { listen-on port 53 { 127.0.0.1; 192.168.121.10; }; # 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 { localhost; any; }; recursion yes; 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"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; #zone "." IN { type hint; file "named.ca"; }; include "/etc/named.rfc1912.zones"; include "/etc/named.root.key"; #################################################################### [root@sparkly ~]# named-checkconf /etc/named.conf [root@sparkly ~]# named-checkconf /etc/named.rfc1912.zones [root@sparkly ~]# named-checkzone flz /var/named/dell.forward zone flz/IN: loaded serial 0 OK [root@sparkly ~]# named-checkzone flz /var/named/dell.reverse zone flz/IN: loaded serial 0 OK [root@sparkly ~]# [root@sparkly ~]# service named restart Stopping named: [ OK ] Starting named: Error in named configuration: /etc/named.conf:47: unknown option 'izone' /etc/named.conf:57: unexpected token near end of file [FAILED] |
Please place commands and output in [code] tags.
I'll bite: What's on line 47 in /etc/named.conf? On line 57? And why is there a comment in front of the zone definition for hint? |
Pretty much everything scasey said. Also pointing out that izone does not appear in your cat of the file, yet it shows in your error report. Additionally, your cat of this file does not reveal a file that is as lengthy as the error messages indicate.
Please follow the requests already made by scasey and give members additional information. |
I would try removing the '#' on line 47.
|
most ISP don't want you running "a full named server" because it can cause their systems issues, and they charge extra for ability to run servers (however unfair that is, is not the point)
if your your going to run your own nameserver, which can effect operations on other computers, than you should be able to solve issues yourself you shouldn't activate it unless you know how it works and have tested it isn't cause (delivery) issues on remote servers |
there aren't 47 lines in your shown config file.
|
Quote:
The one exception to that statement I just made is if the name server is authoritative for a domain name...I seriously doubt that is the case for the OP... We need the OP to respond to the other, helpful, posts in this thread before we can assist further.... |
All times are GMT -5. The time now is 10:06 AM. |