Results 1 to 2 of 2
Thread: named.conf strange error
-
09-01-2011, 04:43 AM #1Junior Guru Wannabe
- Join Date
- May 2007
- Posts
- 85
named.conf strange error
Hi guys,
That's what I am getting when I am starting named:
Error in named configuration:
/etc/named.conf:107: when using 'view' statements, all zones must be in views
Actually I even don't have such string in the named.conf file, but I understand the meaning of 'view'.
Here is what I have:
options {
directory "/var/named";
// Uncommenting this might help if you have to go through a
// firewall and things are not working out. But you probably
// need to talk to your firewall admin.
// query-source port 53;
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
};
zone "tonebooks.com" {
type master;
file "/var/named/my-domain"; };
So there is no string 107.. no matter what I'm doing but it still claiming that error in string 107 of the named.conf which isn't exist.
Looking for advice,
Thanks
-
09-01-2011, 08:58 AM #2Aspiring Evangelist
- Join Date
- Oct 2006
- Location
- State College, PA USA
- Posts
- 370
I think you're missing a semi-colon after "allow { localhost; }" -- believe it should be "allow { localhost; };"
Note that given that the files are likely 'included' in other files, line numbers that errors report on will probably be misleading.
Best,
DaveCheap VPS Hosting with minimum 99.9% SLA.
State College, PA VPS Hosting
Similar Threads
-
DNS issues rndc.conf & named.conf
By zooserve in forum Hosting Security and TechnologyReplies: 5Last Post: 04-09-2009, 02:29 AM -
[HELP] named.conf error
By kingdolar in forum Hosting Security and TechnologyReplies: 2Last Post: 08-28-2008, 05:11 PM -
where is /etc/named.conf?
By olddocks in forum Hosting Security and TechnologyReplies: 9Last Post: 06-01-2008, 05:09 AM -
httpd.conf, named.conf protection
By Bambuk in forum Web HostingReplies: 11Last Post: 04-11-2005, 02:31 PM -
named.conf | error
By Fremont Servers in forum Hosting Security and TechnologyReplies: 1Last Post: 04-25-2002, 01:25 AM