News for hackers. Stuff that matters.
Re:Improving DNS Privacy with Oblivious DoH by ignoramous on Tuesday December 08, 2020 @08:11AM (#25344600)
Key bits from the Cloudflare blog https://blog.cloudflare.com/oblivious-dns/

> The target [resolver] sees only the [DNS] query and the proxy’s IP address. The proxy has no visibility into the DNS messages, with no ability to identify, read, or modify either the query being sent by the client or the answer being returned by the target. Only the intended target [resolver] can read the content of the [DNS] query and produce a [DNS] response.

> The whole process begins with clients that encrypt their query for the target using HPKE. Clients obtain the target’s public key via DNS, where it is bundled into a [SVCB/HTTPS] HTTPS resource record and protected by DNSSEC.

> Clients transmit these encrypted queries to a proxy over an HTTPS connection. Upon receipt, the proxy forwards the query to the designated target. The target then decrypts the query, produces a response by sending the query to a recursive resolver such as 1.1.1.1, and then encrypts the response to the client. The encrypted query from the client contains encapsulated keying material from which targets derive the response encryption symmetric key.

> ...50% of the time ODoH queries are resolved in fewer than 228ms.

BTW, DNSCrypt supports "oblivious" encrypted DNS queries via what it calls Anonymized Relays https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Anonymized-D...

Re:Improving DNS Privacy with Oblivious DoH by landerwust on Tuesday December 08, 2020 @08:16AM (#25344634)
DNSCrypt needs meaningful industry support otherwise it's sadly irrelevant. I think by now we can all agree "industry support" basically means the 3 browser vendors. DoH has at least Mozilla and Google on board, and presumably Microsoft are tailing along.
Re:Improving DNS Privacy with Oblivious DoH by GoblinSlayer on Tuesday December 08, 2020 @08:52AM (#25345017)
If they allow to configure DoH server, you can use https://github.com/DNSCrypt/dnscrypt-proxy
Re:Improving DNS Privacy with Oblivious DoH by gsnedders on Tuesday December 08, 2020 @08:29AM (#25344738)
> DoH has at least Mozilla and Google on board, and presumably Microsoft are tailing along.

Note that DoH (and DoT) shipped in iOS 14 and Big Sur, though aren't particularly easy to enable.

Re:Improving DNS Privacy with Oblivious DoH by xoa on Tuesday December 08, 2020 @09:12AM (#25345300)
>Note that DoH (and DoT) shipped in iOS 14 and Big Sur, though aren't particularly easy to enable.

Specifically, you must install a properly configured .mobileprofile with HTTPS/TLS in the DNSSettings > DNSProtocol part of the payload (along with DNS server addresses of course). Merely pointing at a DoH/DoT supporting DNS server in the settings GUI won't do it, the OS doesn't do any probing and automatically use it just because it's available. For applications DNS Settings is covered under the Network Extension framework [0].

It's definitely nice Apple now has this built-in, and since they're onboard with Cloudflare/Fastly maybe this new twist will be pretty fast too. But obviously they're going to have to make this more automated for it to really make a widespread difference, ideally it'd simply see if the supplied DNS server (manual or DHCP) could run DoH/DoT and then just use it by default with no interaction required.

----

0: https://developer.apple.com/documentation/networkextension/d...

Re:Improving DNS Privacy with Oblivious DoH by throwaway67239 on Tuesday December 08, 2020 @09:39AM (#25345687)
Also, macOS will not let you enable a DoH profile and Little Snitch (or probably any other tool using the Network Extension framework) at the same time. I don't know if this is a bug or intended behavior, but it's a disappointment.
Re:Improving DNS Privacy with Oblivious DoH by alwillis on Tuesday December 08, 2020 @11:35AM (#25347553)
Note that DoH (and DoT) shipped in iOS 14 and Big Sur, though aren't particularly easy to enable.

You can use something like iMazing Profile Editor [1] to create a .mobileprofile (which is just XML) to configure DoH or DoT.

[1]: https://imazing.com/profile-editor

Re:Improving DNS Privacy with Oblivious DoH by xoa on Tuesday December 08, 2020 @02:39PM (#25350274)
Out of curiosity, what's the difference vs Apple's first party "Apple Configurator"? Do you like the GUI better, or does it expose more options?
Re:Improving DNS Privacy with Oblivious DoH by alwillis on Tuesday December 08, 2020 @05:42PM (#25352496)
I do like the UI/UX better; I've always found Apple Configurator to be clunky and non-intuitive.
Re:Improving DNS Privacy with Oblivious DoH by 1over137 on Tuesday December 08, 2020 @03:30PM (#25350925)
Anyone have any idea why they chose to require 'configuration profiles' here?

Also, don't 'configuration profiles' require that your Mac have an associated AppleID?

Re:Improving DNS Privacy with Oblivious DoH by alwillis on Wednesday December 09, 2020 @02:53AM (#25356349)
Anyone have any idea why they chose to require 'configuration profiles' here?

There are several tools that can push configuration profiles to many macOS or iOS devices in one go [1]. It's also the kind of thing you don't want users in managed environments messing with if they don't know what they're doing.

Also, don't 'configuration profiles' require that your Mac have an associated AppleID?

I can't see why they'd be connected; being able to configure network settings isn't a "feature" related to having an Apple ID.

[1]: https://support.apple.com/guide/deployment-reference-macos/w...