Linux:named: transfer of ‘domain.com/IN’ from #53: failed while receiving responses: permission denied

When you setup a Slave Dns server and trying to transfer zone from master server, you might see problem as bellow :

Sep  3 09:52:37 publicdns1.domani.local named[13635]: dumping master file: tmp-PKhZ6y6rRp: open: permission denied
Sep  3 09:52:37 publicdns1.domain.local named[13635]: transfer of 'domain.com/IN' from 11.22.33.44#53: failed while receiving responses: permission denied
Sep  3 09:52:37 publicdns1.domain.local named[13635]: transfer of 'domain.com/IN' from 11.22.33.44#53: end of transfer

Solutions :
Make sure slave server is trying to create the zone file under /slave directory .( file “slaves/domain.com.zone”;)
Setting in named.conf for slave server would be like bellow

### Add Authoritiative zone for domain.com#######
        zone "domain.com" IN {
        type slave;
        file "slaves/domain.com.zone";
        masters {11.22.33.44; };
 
};

Leave a Reply

*