I received these errors when running the command "sudo named-checkconf"
/etc/bind/named.conf.local:4: unknown option 'zone'
/etc/bind/named.conf.local:10: unknown option 'zone'
/etc/bind/named.conf.default-zones:2: unknown option 'zone'
/etc/bind/named.conf.default-zones:10: unknown option 'zone'
/etc/bind/named.conf.default-zones:15: unknown option 'zone'
/etc/bind/named.conf.default-zones:20: unknown option 'zone'
/etc/bind/named.conf.default-zones:25: unknown option 'zone'
/etc/bind/named.conf:12: '}' expected near end of file
//Consider adding the 1918 zones here, if they are not used in your organization
//include "/etc/bind/zones.rfc1918";
zone "ex.com" {
type master;
file "/etc/bind/zones/db.ex";
allow-transfer { 192.168.1.124;};
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/zones/db.192.168.1";
allow-transfer { 192.168.1.124;};
};