[Pdns-users] Slave with bind backend question: Unable to create a unique temporary zonefile

Alejandro Fernández Preda fernandeza at itbuy.com.ar
Tue Feb 18 16:57:47 UTC 2020


Hi everyone,

I´m dealing whith a problem with a PDNS Authoritative server acting as
slave using bind backend. After a zone update on the master server I get:
"Unable to feed record during incoming AXFR of ' mydomain.edu': Unable to
create a unique temporary zonefile '/etc/pdns/bind/ mydomain.edu8qZYbV':
Read-only file system" and the zone never updates

Things I´ve tested:

- Running PDNS server interactively makes it work as expected and updates
zone file.
- Checked permissions on /etc/pdns/bind    drwxrwxr-x. 2 pdns pdns    74
Feb 18 13:10 bind (this was orginally root:pdns but changed for testing
purposes)
- Checked selinux: No deny logs

This was working with PDNS 4.0 until some update. Tried upgrading to 4.2
but the problem persists.

OS is CentOS 7.7 and PDNS installed via yum from PDNS repository

Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: PowerDNS comes with ABSOLUTELY
NO WARRANTY. This is free software, and you are welcome to redistribute it
according to the terms of the GPL version 2.
Feb 18 13:42:04 SVR-XDNS-FE-02 systemd: Started PowerDNS Authoritative
Server.
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Polled security status of
version 4.2.1 at startup, no known issues reported: OK
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Creating backend connection for
TCP
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: [bindbackend] Parsing 2
domain(s), will report when done
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: [bindbackend] Done parsing
domains, 0 rejected, 2 new, 0 removed
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Only asked for 1 backend thread
- operating unthreaded
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Master/slave communicator
launching
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: 2 slave domains need checking,
0 queued for AXFR
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Received serial number updates
for 2 zones, had 0 timeouts
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Domain 'mydomain.edu' is stale,
master serial 2020021801, our serial 2020020301
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Initiating transfer of '
mydomain.edu' from remote '10.3.4.20'
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Starting AXFR of ' mydomain.edu'
from remote 10.3.4.20
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: AXFR started for ' mydomain.edu'
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: AXFR of ' mydomain.edu' from
remote 10.3.4.20 done
Feb 18 13:42:04 SVR-XDNS-FE-02 pdns_server: Unable to feed record during
incoming AXFR of ' mydomain.edu': Unable to create a unique temporary
zonefile '/etc/pdns/bind/ mydomain.edu8qZYbV': Read-only file system

Any help will be greatly apreciated.

Regards!

Alejandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200218/5d4dae11/attachment.htm>


More information about the Pdns-users mailing list