pdns
pdns copied to clipboard
tinydns backend and dns_notify: no such domain in our database
-
[*] This is not a support question, I have read about opensource and will send support questions to the IRC channel, Github Discussions or the mailing list.
-
[*] I have read and understood the 'out in the open' support policy
-
Program: Authoritative
-
Issue type: Bug report
Short description
While "debugging" a few things in a new installation with tinydns backend (one single cdb file) I noticed that I'm unable to send notify to secondaries.
If I try to force it via pdns_control notify I get No such domain xxx in our database
, despite pdns_control list-zones
being flawless All zonecount: 40
.
Meanwhile pdns answers all queries flawlessly.
So, I launched pdnsutil check-all-zones
and I discovered that for every zone I get:
[Error] Unable to get zone information for zone 'xxx'
Also, for every zone after the first I get:
[Error] Zone ID 4294967295 of 'xxx' in backend tinydns has already been used by zone 'firstzone' in backend tinydns.
This is consistent with pdns assigning a default id to all tinydns zones but I wonder if it's part of the problem.
Environment
- Operating system: Gentoo linux kernel 6.6.30
- Software version: 4.9.1
- Software source: Gentoo packages
Steps to reproduce
- Configure pdns to run with a tinydns cdb backend (with more than one zone?)
- Try
pdns_control notify
for any zone, it fails for me Config, comments removed:
allow-axfr-ips+=150.145.42.11
allow-axfr-ips+=150.145.42.106
allow-axfr-ips+=192.167.160.13
allow-axfr-ips+=2a00:1620:a0::13
allow-axfr-ips+=194.119.192.34
allow-axfr-ips+=2a00:1620:c0:220:194:119:192:34
allow-axfr-ips+=150.146.205.10
allow-axfr-ips+=193.206.141.38
allow-axfr-ips+=2001:760:ffff:ffff::aa
allow-axfr-ips+=192.167.240.10
allow-axfr-ips+=192.167.170.250
allow-axfr-ips+=2a00:1620:a0:40::250
launch=tinydns
tinydns-dbfile=/service/tinydns6/root/data.cdb
load-modules=libgsqlite3backend.so, libtinydnsbackend.so
local-address=192.167.170.7,2a00:1620:a0:40::7
log-dns-queries=yes
primary=yes
query-local-address=192.167.170.7 2a00:1620:a0:40::7
setgid=pdns
setuid=pdns
Additional information
Raised this in mailing list already, I was told it may be worthy of a bug report.