Hacker News new | ask | show | jobs
by uraniumjelly 1611 days ago
>It bypasses your hosts file

It doesn't bypass my hosts file... I have a couple of locally hosted websites that I have rules in /etc/hosts for, and Firefox resolves them correctly even with DOH enabled.

2 comments

It might be falling back to hosts for them or if they're ending with .local or .home, it's hitting hosts file first for them.
It's not, Firefox will still check your hosts file to see if it can resolve that way. DoH is used only if using a local-only resolver doesn't work to my knowledge. Otherwise stuff like SMBIOS, Avahi/ZC or mDNS would break too.
You can locally host .com aswell
Yes, but I'm talking about this: https://serverfault.com/a/937808
When DOH was first enabled, it bypassed all the blocked domains my hosts file (Ubuntu). I don't know if it has changed.