I am wanting to host some non-cpanel domain zones on our DNS cluster for some legacy systems. We recently switched from BIND to PowerDNS. What I used to do on bind was simply put an include in the /etc/named.conf like such
I put this include file in both the internal and external view sections. Then in the named.custom_include.conf simply list the zones as such.
For some reason this is not working. It looks like the config only likes having one include file, so I put that in just the external view and then the config passes. However when I restart pdns, I get the following error.
no file found for new slave domain
pdns_server: [bindbackend] error at 2020-12-08 10:34:21 -0500 no file found for new slave domain 'somedomain.com'. Has not been AXFR'd yet
However, the zone file never seems to be created in /var/named and I don't see any errors in the log file. If I do a
It works without any issues, so I know I have the transfer ACL's setup correctly on the master DNS server.
I am fairly new to PowerDNS so can anyone tell me if I missed anything or did something wrong? Appreciate any advice.
Best regards,
Eric
Code:
include "/etc/named.custom_include.conf";
Code:
zone "somedomain.com" {
type slave;
file "/var/named/somedomain.com.db";
masters { 1.2.3.4 ; };
};
no file found for new slave domain
pdns_server: [bindbackend] error at 2020-12-08 10:34:21 -0500 no file found for new slave domain 'somedomain.com'. Has not been AXFR'd yet
Code:
# pdns_control retrieve somedomain.com
Added retrieval request for 'somedomain.com.' from master 1.2.3.4
Code:
dig axfr somedomain.com @1.2.3.4
I am fairly new to PowerDNS so can anyone tell me if I missed anything or did something wrong? Appreciate any advice.
Best regards,
Eric
Last edited by a moderator: