Hi All,
I have a secondary dns server, pulling its domains off some other machine. Works fine, but i do have an error in my log (Logwatch);
**Unmatched Entries**
/etc/named.conf:47: '}' expected near end of file: 14 Time(s)
The server does work fine though. My named.conf (if i need to add/remove lines/functions; please tell me. Have yet to finish the book, i'm not a BIND Guru);
The 'logging' was commented out by me because i wasn't seeing anything in Logwatch anymore...
Anyone know what sloud resolve the error?
I have a secondary dns server, pulling its domains off some other machine. Works fine, but i do have an error in my log (Logwatch);
**Unmatched Entries**
/etc/named.conf:47: '}' expected near end of file: 14 Time(s)
The server does work fine though. My named.conf (if i need to add/remove lines/functions; please tell me. Have yet to finish the book, i'm not a BIND Guru);
Code:
// BIND 9 CONFIGURATION
acl "xfer" {
127.0.0.1;
xxx.xxx.xxx.xxx/24;
xxx.xxx.xxx.xxx/24;
};
options {
directory "/var/named";
pid-file "/var/run/named/named.pid";
allow-transfer { xfer; };
notify yes;
recursion yes;
allow-recursion { xfer; };
allow-query { any; };
version "you must be joking";
};
#logging{category "default" { "debug"; };
#category "general" { "debug"; };
#category "database" { "debug"; };
#category "security" { "debug"; };
#category "config" { "debug"; };
#category "resolver" { "debug"; };
#category "xfer-in" { "debug"; };
#category "xfer-out" { "debug"; };
#category "notify" { "debug"; };
#category "client" { "debug"; };
#category "unmatched" { "debug"; };
#category "network" { "debug"; };
#category "queries" { "debug"; };
#category "dispatch" { "debug"; };
#category "lame-servers" { "debug"; };
#channel "debug" {file "/var/log/named.log" versions 2 size 50m; #print-time yes; #print-category yes;};};
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
// rndc-key
include "/etc/rndc.key";
include "/var/named/secondaries.include";
The 'logging' was commented out by me because i wasn't seeing anything in Logwatch anymore...
Anyone know what sloud resolve the error?