Stuck at conf redefined options
Posted: 2017-01-19 10:21
Hello, I cant figure out what wrong with bind named.conf file.
If I start named-checkconf named conf I get this error.
I cant figure out where ś could be the problem with systax.
Here I attach named.conf file
Thank you for any help.
If I start named-checkconf named conf I get this error.
Code: Select all
named.conf:22: 'options' redefined near 'options'
Here I attach named.conf file
Code: Select all
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
acl internals { 127.0.0.0/8; 192.168.0.0/24; 172.100.200.0/29; 192.168.44.0/24; 192.168.3.0/26; };
include "/etc/bind/named.conf.options";
acl "trusted" {
192.168.0.0/24;
172.100.200.0/29;
192.168.44.0/24;
192.168.3.0/26
;localhost;
localnets;
};
options {
allow-query { any; };
allow-recursion { trusted; };
allow-query-cache { trusted; };
};
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";