Skip to content

forward zone breaks build_bind #20

@dmgeurts

Description

@dmgeurts

Splitting off some domains to another platform and now bind configs fail to build.

root@unifipi:/opt/ona# bin/build_bind -t
Sep 30 23:56:53 [ONA:build_bind]: INFO => Building BIND DNS config for ona1.gc...
Sep 30 23:56:58 [ONA:build_bind]: INFO => Scanning for footers on remote server ...
Sep 30 23:56:58 [ONA:build_bind]: INFO => Testing new config files for SYNTAX only...
/etc/bind/named.conf.options:55: option 'dnssec-enable' is obsolete and should be removed 
/opt/ona/etc/bind/named.conf.ona:47: missing ';' before 'zone'
/opt/ona/etc/bind/named.conf.ona:65: missing ';' before 'zone'
/etc/bind/named.conf:11: missing ';' before 'include'
Sep 30 23:56:58 [ONA:build_bind]: ERROR => The resulting config files contain one or more syntax errors.

opt/ona/etc/bind/named.conf.ona:47: missing ';' before 'zone' <<< shown below.

...
zone "mm.eu" in {
  type forward;
  file "/opt/ona/etc/bind/zone_data/named-mm.eu";}
zone "254.31.172.in-addr.arpa" in {
  type master;
  file "/opt/ona/etc/bind/zone_data/named-254.31.172.in-addr.arpa";
};
...

It looks like some line feeds and a ";" are missing. I have three forwards defined and they all suffer the same issue after the zone definition.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions