4 ms·
Can someone please explain why there can’t be a DHCP or RA option for which DoH server to use? Why are we going out of our way to make sure the sysadmin has to
by ComputerGuru 7y ago
Can someone please explain why there can’t be a DHCP or RA option for which DoH server to use? Why are we going out of our way to make sure the sysadmin has to configure each and every piece of software on each and every single PC rather than just set it one in a centralized location, like every other networking option?
DoH will leave my machines unable to resolve all my internal domain names, right?
- Jonnax 7y agohttps://support.mozilla.org/en-US/kb/canary-domain-use-application-dnsnet https://support.mozilla.org/en-US/kb/canary-domain-use-appli... There is. You configure your DNS resolve this "canary" domain to disable it.
- ComputerGuru 7y agoAll that does is block DoH entirely, right? Not allow me to say “use this DoH server” or “don’t use DoH for this domain.”
- Jonnax 7y agoI think if you want to get that detailed you'd be pushing a custom managed Firefox profile.
- ComputerGuru 7y agoYou have twenty different applications using DoH for “increased security” and you need a custom profile for each? Why not a single line in resolv_doh.conf?
- zaarn 7y agoWhat local resolver supports resolv_doh.conf at this time? At the moment, Mozilla wants to push this for users where DoH just works, for people it doesn't providing options to disable it. Once resolv_doh.conf becomes a thing for all platforms (Linux, OSX and Windows) they can use that.
- jedieaston 7y agoHere are the instructions to do it, straight from Mozilla: https://support.mozilla.org/en-US/kb/firefox-dns-over-https#w_switching-providers https://support.mozilla.org/en-US/kb/firefox-dns-over-https#...
- throw0101a 7y agoOn Windows, you can probably do this via GPOs. How does one configure a fleet of Mac or Linux machines? How does one do it with BYOD or on a campus of students' machines? Perhaps some thought as to service discovery should have been done: * https://tools.ietf.org/html/rfc6763 https://tools.ietf.org/html/rfc6763 If Mozilla is going to re-invent the wheel (OSes already do DNS look ups), they perhaps should have asked the DNS folks (e.g., DNS-OARC) about some of the corner/use cases IMHO.
- namibj 7y agoYou missunderstood. He wants to tell his devices that they should use a specific DoH reaolver, instead of their default.
- cm2187 7y agoIs it a big deal to have your internal domain names accessible externally? Many (though not all) DNS server allow private IPs in DNS.
- ComputerGuru 7y agoIt means making my internal name sever accept recursive calls from the internet at large. You’re proposing degrading my network security for this.
- tbyehl 7y agoIt creates a vulnerability for external devices -- they're trying to communicate with myhost.mydomain.com but really they're talking to whatever device has the same IP address on the network they're attached to. Some DNS hosters disallow private IPs. Some public resolvers and consumer routers will filter out responses containing private IPs.
- Avamander 7y agoThis can cause DNS rebind attacks.
- ekimekim 7y agoI'm not sure how firefox could implement this entirely on their end. There would need to be cooperation on the OS (or dhcp client) side to expose that option somehow. We're in this mess because OSes haven't acted and Mozilla has had to take matters into their own hands. Unfortunately any solution that requires cooperation from other software is going to take a lot longer to land. I do hope it happens eventually, and I'm sure that when it does Mozilla will change Firefox again to respect that.
- ComputerGuru 7y agoI don't think so. Someone like Mozilla can "claim" a DHCP option code and say "this is what we are going to use, operating systems can climb aboard if they want."
- jeroenhd 7y agoIt can get even more complicated when you have multiple connections on your machine, each with a different DNS server. You'd need to match the DNS server determination algorithm of the operating system to remain consistent, which is one hell of a task. There's also the fact that there's no DHCP option reserved for DoH/DoT/DNScrypt (yet) which requires some standardisation work. There's various APIs to read the current DHCP configuration for a network interface so technically it shouldn't be too hard (at least not when it comes to Windows or macOS where there's standard APIs, as opposed to Linux whose modular layout makes finding a standard location for DHCP config difficult).
- vetinari 7y agoIf you have multiple connections, each of those DNS servers should return the same answers. If they do not, they should be marked as forwarders for their respective domains. Something like `Add-DnsClientNrptRule -Namespace "domain.com" -NameServers "1.2.3.4"` The operating system will have this information; an application, like browser, won't.
- jedieaston 7y agoFirefox is still falling back to local DNS settings if it can't resolve stuff using the currently set DoH provider, as I can access resources in Firefox on my university's network that cannot be resolved outside it.
- zeveb 7y agoDoes it submit every FQDN via DoH? So does Cloudflare see myspookybox.zeveb? Because if so then even that is an information leak.
- zeveb 7y agoIt's very frustrating to be constantly downvoted for saying that Firefox's DoH implementation leaks information without any of the downvoters saying why. Seriously, do you disagree that it leaks information? Do you agree that it does, but believe it is less problematic for two companies to have this information than having it sharded across all ISPs? Do you agree that it's more problematic but you don't care for some other reason? Do you agree that it's problematic and care but don't like how I express my point? Do you agree, care and like my expression but think it adds no value to HN? I can't learn if we don't discuss the issue.
- pbhjpbhj 7y agoPerhaps you could check with Wireshark for DoH traffic (ie https to Cloudflare) when resolving a local domain? (I agree with what you've said here, FYI)
- tssva 7y agoIn prefer the approach Google is taking with Chrome and Microsoft is taking with Windows 10 which is to use the system defined DNS servers and if they support DoH to use it and if not to fallback to using them with normal DNS. There is no need to configure individual applications and no need to develop a new means of distributing DoH server information.