I'm not sure what happened here so I'm just going to list out the facts as I know them and hopefully someone can point me in a good direction to investigate.A domain name on my network stopped resolving. None of my machines would resolve it. My network is configured to use an upstream DoT provider and block all other DNS queries.Going to the DNS Lookup page on OPNSense showed that it was unable to resolve the domain. If I put my upstream DoT IP in the Server field OPNSense was able to resolve the domain.I'm using the Steven Black blocklist in the Unbound DNS settings, but checking the list showed that the domain wasn't on there.At this point I had to do some errands and when I came back later, OPNSense was able to resolve the domain without putting my upstream DoT provider in the Server field of the DNS Lookup page.Any ideas what could have happened? I don't think the DNS Lookup page uses DoT but I'd be surprised if the provider served different responses over DoT than the standard protocol. Could Unbound have gotten a bad resolution attempt and cached it?Thanks.
small error in this blocklist will bring Unbound down
Could Unbound have gotten a bad resolution attempt and cached it?
Going to the DNS Lookup page on OPNSense showed that it was unable to resolve the domain
You are using a blocklist in Unbound. Any small error in this blocklist will bring Unbound down.My personal advice: Do not use Unbound with blocklists. Use either bind or Adguard Home with the blocklists.KH
@CJRossQuoteCould Unbound have gotten a bad resolution attempt and cached it?yes, negative cache is 5min by default. but this is for nxdomain and nodata answers only.
QuoteGoing to the DNS Lookup page on OPNSense showed that it was unable to resolve the domainthis page does not provide debug info for the missing answer (was it nxdomain, nodata or something else)better to use dig\drill in shell in this case imho
DNS timeout when attempting to reach OPNsense. I reran the command and it resolved
QuoteDNS timeout when attempting to reach OPNsense. I reran the command and it resolvedunbound reloads?
I mean maybe at this point for some reason the unbound is being reloaded (updating the blocklists or some)(should be visible by different entries in the unbound and backend logs)