Also, not sure if it is of any help, I have Unbound set up to be forwarding queries to NextDNS over TLS.
Quote from: Demus4202 on June 19, 2021, 10:57:42 pmAlso, not sure if it is of any help, I have Unbound set up to be forwarding queries to NextDNS over TLS.What happens when you disable DoT and/or forwarding?In my setup, forwarding works, but unbound stops working as soon as I enable DNS over TLS.
Just to confirm, are you saying that the Unbound service is stopping/crashing? Do you see any errors in the log file?I've been using a custom config forwarding DoT to Quad9 for years as soon as it was supported by Unbound back in 2018. This has been very stable and the Unbound service itself has never shown any issues. There may be some clues in the log if it's a DNS provider problem.
% dig example.com; <<>> DiG 9.10.6 <<>> example.com;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 55088;; flags: qr rd ad; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0;; WARNING: recursion requested but not available;; Query time: 67 msec;; SERVER: 2601:18d:xxxx:xxxx:xxx:xxxx:xxxx:xxxx#53(2601:18d:xxxx:xxxx:xxx:xxxx:xxxx:xxxx);; WHEN: Thu Jun 24 20:10:03 EDT 2021;; MSG SIZE rcvd: 12
As best as I can tell unbound is stopping. There is little if anything in the log to indicate such, but the symptoms are pointing to it (lookups fail, but can still ping ip addresses) and restarting the service an/or opnsense fixes it.
I'm getting `status: REFUSED` DNS responses at times from Unbound according to dig lookups, with dig complaining about recursion not being available. Restarting Unbound "fixed" it at the moment but don't have confidence this will stay that way.Code: [Select]% dig example.com; <<>> DiG 9.10.6 <<>> example.com;; global options: +cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 55088;; flags: qr rd ad; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0;; WARNING: recursion requested but not available;; Query time: 67 msec;; SERVER: 2601:18d:xxxx:xxxx:xxx:xxxx:xxxx:xxxx#53(2601:18d:xxxx:xxxx:xxx:xxxx:xxxx:xxxx);; WHEN: Thu Jun 24 20:10:03 EDT 2021;; MSG SIZE rcvd: 12To be clear, not using DoT or an external resolver, I'm letting Unbound perform recursion itself. Also don't see anything obvious in the logs.
i also have the same issue.. unbound is green and running but dns is not working.i am also using nextdns.. seems to happen every 2 days or so..i am going to switch to 1.1.1.1 and 8.8.8.8 to see if that makes any difference..