Auth ServFail not reproduceable (Hunting "Attempt to print an unset dnsname") #13553
Replies: 3 comments 1 reply
-
My first question would have been if the auth configs are identical, but then I noticed you already confirmed that, same for that entry in the domains table. |
Beta Was this translation helpful? Give feedback.
-
I have enabled DLOG and put plenty of DLOGs in the code. AFAIS it goes this way:
Any ideas where I can look for an error? Hence the exception happens before the gpgsql-get-order-after-query. Maybe, as Andreas said, it may be caused by the order of the records returned from DB, ie if the A or CNAME is returned first? Here is debuglog (with some DLOGs added by me)
|
Beta Was this translation helpful? Give feedback.
-
I managed to reproduce the issue and created the bug report #13561. Thanks for the feedback which helped me tracking down the issue. |
Beta Was this translation helpful? Give feedback.
-
Hi! I have the following setup:
The Zone is preSigned (NSEC) and not RFC konform: it has a wildcard record with CNAME and A, ie:
dig @my-ns1 www.example.com
returns both, the CNAME and A record.dig @my-ns1 www.example.com +dnssec
returns ServFail:Exception building answer packet for www.example.com/A (Attempt to print an unset dnsname)
.dig @my-ns1 www.example.com +dnssec AAAA
works and only returns the CNAME record.I know the zone is not RFC conform. Nevertheless I want to find the buggy? code in PowerDNS that triggers the "Attempt to print an unset dnsname".
But the weird thing is, that if I query
dig www.example.com +dnssec
onCustomer-NS
orMY-NS2
it does not trigger an exception.I have AXFRed out the zone from all 3 NS, they are identical. I have compared the domains, domainmetadata and records table on MY-NS1 and MY-NS2 and they are totall identical. On MY-NS1 and MY-NS2 all caches are deactivated.
I have no more idea what could be the problem that the query throws an exception only on one of the servers. Do you have any hints how to debug this? Thanks
Klaus
Beta Was this translation helpful? Give feedback.
All reactions