Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SERVFAIL with HTTPS record (lmdb backend) #10521

Closed
peterthomassen opened this issue Jun 23, 2021 · 2 comments · Fixed by #10522
Closed

SERVFAIL with HTTPS record (lmdb backend) #10521

peterthomassen opened this issue Jun 23, 2021 · 2 comments · Fixed by #10522

Comments

@peterthomassen
Copy link
Contributor

  • Program: Authoritative
  • Issue type: Bug report

Short description

With example.com IN HTTPS 0 foo.bar.com., queries are answered with SERVFAIL when a) the backend is lmdb, b) the zone is presigned (retrieved via AXFR). (Not sure if this is a necessary and/or sufficient set of conditions.)

Environment

  • Operating system: Ubuntu 18.04
  • Software version: 4.4.0-1pdns.bionic
  • Software source: PowerDNS repository

Steps to reproduce

@Habbie already reproduced (IRC on June 22, 2021).

@peterthomassen
Copy link
Contributor Author

peterthomassen commented Jun 23, 2021

Log says:

Jun 15 01:27:29 lax-1 desec-ns/ns[1055]: Jun 15 01:27:29 Exception building answer packet for foo.bar.com/HTTPS (Attempt to DNSString an unset dnsname) sending out servfail

@Habbie
Copy link
Member

Habbie commented Jun 23, 2021

With example.com IN HTTPS 0 foo.bar.com., queries are answered with SERVFAIL when a) the backend is lmdb, b) the zone is presigned (retrieved via AXFR). (Not sure if this is a necessary and/or sufficient set of conditions.)

b) is not a condition. The record pointing outside the containing zone is :-)

Habbie added a commit to Habbie/pdns that referenced this issue Jun 24, 2021
…iterator

(cherry picked from commit ee2163c)

auth SVCB additional processing: do not chase chains outside of zone

fixes PowerDNS#10521

(cherry picked from commit 6690045)

Only perform AdditionalServiceProcessing for aliasform records.

Co-authored-by: Kees Monshouwer <mind04@monshouwer.org>
(cherry picked from commit 210b625)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants