0

Bind restart failed

Hi, i have installed bind service on my CentOS machine, when i restart the service i have got the following error

[root@ns1 ~]# service named restart
Stopping named: .                                          [  OK  ]
Starting named:
Error in named configuration:
/etc/named.rfc1912.zones:13: when using ' view'  statements, all zones must be in views
                                                           [FAILED]
CentOS Bind DNS Add a comment
raven
asked Feb 15 2018

Answer

0

Did you configured view statements inside your bind configuration file (/etc/named.conf) means make sure you have all your zones entries must be present within the view statement like below

view "name" {
zone "example.com" { ........... };
};

and your zone entry must not present in the outside of your views as shown below

view "name" {
.................
};
zone "example.com" { ........... };

So please make sure all your zone entries are present inside of your view statements, then restart your bind service

Add a comment
parthiban
asked Feb 15 2018
edited Oct 05 2018
Post your Answer