Re:DNSSEC failures are how you get people to disable DNSSEC
by bouke on Thursday June 01, 2023 @01:27AM
(#36147858)
I had exactly the same issue happening to me! I’ve since added a Real Time Clock (RTC), so the Pi shouldn’t forget about the current time anymore. That is until the battery runs out of course, for which there is no monitoring in place. So yeah maybe I should disable DNSSEC as well. At least we need to get better at building fault tolerant systems. Maybe Pi-Hole needs to be aware of and handle this scenario better: a special “we’re booting up and we don’t have the current time so don’t do DNSSEC yet”.
Re:DNSSEC failures are how you get people to disable DNSSEC
by toast0 on Thursday June 01, 2023 @02:03AM
(#36148009)
fake-hwclock[1] is useful for this. I don't know much about Pi-Hole, but if it involves writable storage and has a package manager, fake-hwclock may be available from there.
> At least we need to get better at building fault tolerant systems.
Security and fault tolerance are at odds here. Failing closed when you can't validate is correct, but not so useful. Properly modeling the clock might give you a way to get bootstrapped, but then an adversary would arrange for a bootstrap situation so they could interfere with your clock and then make use of the incorrect time for their nefarious purposes.
[1] https://git.einval.com/cgi-bin/gitweb.cgi?p=fake-hwclock.git
Re:DNSSEC failures are how you get people to disable DNSSEC
by boringuser2 on Thursday June 01, 2023 @02:12AM
(#36148047)
Does pihole even have value anymore with DNS over https?
I'd just implement that in 0.2 nanoseconds if I were a Samsung engineer making an intrusive adserver.
Re:DNSSEC failures are how you get people to disable DNSSEC
by elcomet on Thursday June 01, 2023 @03:18AM
(#36148378)
What's your alternative to the pihole with dns over https?
Re:DNSSEC failures are how you get people to disable DNSSEC
by Am4TIfIsER0ppos on Thursday June 01, 2023 @09:54AM
(#36151040)
Grandparent is saying that DoH ignores the dns settings on your computer and on your network (from dhcp) because every piece of software and every "smart" device just asks cloudflare where to go meaning pihole is ineffective.
Re:DNSSEC failures are how you get people to disable DNSSEC
by toast0 on Thursday June 01, 2023 @11:56AM
(#36152983)
Wouldn't you just have your pihole block well known resolver ips and solve that problem?
Anyway, after it came back on, it took me far too long to realise why my internet was down. All DNS responses were being rejected. It turns out, my Pi-Hole DNS server - which had forgotten the time, of course - was trying to resolve the IP of an NTP server so it could fetch the current time, but this name resolution was over DNSSEC which requires the current time. You need the time to get the time.
I turned off DNSSEC and haven't looked back since.