[Pdns-users] servfail-packets>0 but no data in servfail-queries ring buffer
remi.gacogne at powerdns.com
Thu Apr 16 09:41:21 UTC 2020
On 4/9/20 9:56 AM, Martin Kellermann via Pdns-users wrote:
> I’m facing the fact, that sometimes the servfail-packets counter
> increases and i would debug this and find the reason why PowerDNS sends
> out a „servfail“ packet.
> Actually today the counter increased from 0 to 2 and i don’t know why!
> tells me, that this is due to a database problem.
> tells me that the servfail-queries ring-buffer shows which queries have
> been causing servfails.
> But when i look at this ring-buffer (server:8081/?ring=servfail-queries)
> there are no entries – it’s empty.
At a quick glance the only place in the code where we increase the
'servfail-packets' counter but do not add the offending query to the
'servfail-queries' ring-buffer is when we receive a query for a DNS name
that has an 8-bit byte in it and '8bit-dns'  is not set (which is the
default), so I assume that's what you are experiencing.
Note that in that case we also increase the 'corrupt-packets' counter
and place the offending query into the 'remotes-corrupt' ring-buffer, so
you might be able to figure out what query caused this. Be aware however
that there are other cases where we increase 'corrupt-packets' and
insert into 'remotes-corrupt', like a QR or TC bit set in a query, or a
query that we simply could not parse.
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the Pdns-users