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

using unbound causing SERVFAIL with DNSSEC on some queries #279

Closed
bondskin opened this issue Jul 11, 2020 · 1 comment
Closed

using unbound causing SERVFAIL with DNSSEC on some queries #279

bondskin opened this issue Jul 11, 2020 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@bondskin
Copy link

bondskin commented Jul 11, 2020

When resolving hostnames (e.g. weatherlive.info) the unbound server does not return an IP address.
Disabling DNSSEC in unbound configuration fixes the issue.

unbound log:
Jul 11 15:43:59 raspberrypiwatch unbound: [3599:2] info: resolving info. DS IN
Jul 11 15:43:59 raspberrypiwatch unbound: [3599:2] info: validated DS info. DS IN
Jul 11 15:43:59 raspberrypiwatch unbound: [3599:2] info: resolving info. DNSKEY IN
Jul 11 15:43:59 raspberrypiwatch unbound: [3599:2] info: response for info. DNSKEY IN
Jul 11 15:43:59 raspberrypiwatch unbound: [3599:2] info: reply from <.> 45.90.30.0#853
Jul 11 15:43:59 raspberrypiwatch unbound: [3599:2] info: query response was nodata ANSWER
Jul 11 15:43:59 raspberrypiwatch unbound: [3599:2] info: Missing DNSKEY RRset in response to DNSKEY query.

Dig result:
pi@raspberrypiwatch:/var/log $ dig weatherlive.info -p 5335

; <<>> DiG 9.11.5-P4-5.1+deb10u1-Raspbian <<>> weatherlive.info -p 5335
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 39283
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

unbound config
harden-dnssec-stripped: yes
forward-tls-upstream: yes
forward-addr: 45.90.28.0#xxx.dns1.nextdns.io
forward-addr: 45.90.30.0#xxx.dns2.nextdns.io

Context

  • Version [e.g. 1.5.2]:
  • Platform [e.g. macOS, ASUS-Merlin]: Raspbian
@bondskin bondskin added the 🐞 bug Something isn't working label Jul 11, 2020
@rs
Copy link
Contributor

rs commented Jul 11, 2020

This is expected, blocked queries can’t be DNSSEC authenticated by the client as it is a modified response. You should disable DNSSEC on the client, our resolver does the DNSSEC validation already.

@rs rs closed this as completed Jul 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants