When I am doing Restart for this service
BIND DNS Server
Apache stops working after deleting your dns domain of this file named.conf
Stopping named: .[ OK ]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
/var/named/111111.com.db:24: file does not end with newline
zone 1111111.com/IN: NS 'free1.1111111.com' has no address records (A or AAAA)
zone 1111111.com/IN: NS 'free2.1111111.com' has no address records (A or AAAA)
zone 1111111.com/IN: not loaded due to errors.
_default/1111111.com/IN: bad zone
zone test.1111111.com/IN: loading from master file /var/named/test.1111111.com.db failed: file not found
zone test.1111111.com/IN: not loaded due to errors.
_default/test.1111111.com/IN: file not found
[FAILED]
To resolve the problem do I delete nameserver for this domain of nameserver file
// zone 111111.com
zone "111111.com" {
type master;
file "/var/named/111111.com.db";};
// zone_end 111111.com
// zone test.111111.com
zone "test.111111.com" {
type master;
file "/var/named/test.111111.com.db";};
// zone_end test.111111.com
But the location stops and give me this message
Can not open files on the server because the files permits