New zone record not getting published in bind?

New zone record not getting published in bind?



1. Checked the general.log and found that zone file has a Ownership issue.

zone example.in/IN: loading master file example.in.dns: permission denied

log]# ll ../named/example.in.dns
-rw-r----- 1 root root 396 Dec 12 03:00 ../named/example.in.dns

2. Changed the ownership to named.

log]# chown named:named ../named/example.in.dns
log]# ll ../named/example.in.dns
-rw-r----- 1 named named 396 Dec 12 03:00 ../named/example.in.dns

3. Now reload the named service.

log]# service named reload
Reloading named:                                           [  OK  ]


4. Check the log Now.

zone example.in/IN: loaded serial 2017121214


5. Now your records will be published.

0 Comments