News for hackers. Stuff that matters.
Re:ISP Association Nominates Mozilla as “Internet Villain” by sdfin on Thursday July 04, 2019 @07:17PM (#20358572)
Is there any disadvantage about activating it? Is the default (https://mozilla.cloudflare-dns.com/dns-query) adequate?
Re:ISP Association Nominates Mozilla as “Internet Villain” by snek on Thursday July 04, 2019 @07:22PM (#20358611)
Make sure you have a resolver mode (trr.mode) that matches your comfort!

0 = use whatever the default is (one of the below)

1 = race DoH and regular dns and use whichever replies first

2 = try DoH and then fall back to regular dns

3 = only DoH

4 = unused

5 = explicitly off

The default resolver is identical to 1.1.1.1 except it collects less data: https://developers.cloudflare.com/1.1.1.1/commitment-to-priv...

Re:ISP Association Nominates Mozilla as “Internet Villain” by throw0101a on Thursday July 04, 2019 @08:23PM (#20358945)
> Is there any disadvantage about activating it?

How do you do split-horizon DNS if the browser goes out to some random IP for DNS instead of using the OS-supplised resolver (resolv.conf)?

If malware starts using it to contact C&C servers, how do I find the domain that's being talked to? If malware has to talk to internal DNS servers, I can examine the query log. If the malware uses Cloudflares CDN IPs for DNS, am I supposed to block all of Cloudflare?

Re:ISP Association Nominates Mozilla as “Internet Villain” by pritambaral on Friday July 05, 2019 @03:24AM (#20360517)
If it's malware behaviour you're worried about, DoH is not special in any way. Malwares using tunnels (and more) to ensure connectivity to their C&C servers are commonplace.
Re:ISP Association Nominates Mozilla as “Internet Villain” by throw0101a on Friday July 05, 2019 @10:05AM (#20362586)
And how does the malware determine which IP to connect to? Often, though of course not always, they use DNS:

* https://en.wikipedia.org/wiki/Fast_flux

Re:ISP Association Nominates Mozilla as “Internet Villain” by pritambaral on Friday July 05, 2019 @02:23PM (#20364593)
Of course DNS is used often; it's the most convenient. But the point isn't "sometimes DNS is used"; I never claimed "DNS is never used".

The point is "DNS is not the only way and malware authors have known and used this fact". The counter-convenience you seem to be looking for — to quote your prior statement, with added emphasis: "If malware has to talk to internal DNS servers ..." — was never there in the first place. No matter how hard you try, there is no way you can force all malware ever to always talk to your internal DNS servers.

Re:ISP Association Nominates Mozilla as “Internet Villain” by the8472 on Thursday July 04, 2019 @07:39PM (#20358708)
It would contribute to the centralization of the internet, by making cloudflare more important.
Re:ISP Association Nominates Mozilla as “Internet Villain” by dcow on Thursday July 04, 2019 @07:29PM (#20358653)
Requests take orders of magnitude more data because you have to negotiate TLS each time. Not the end of the world obviously but you will generate more traffic and observe slightly reduced performance.
Re:ISP Association Nominates Mozilla as “Internet Villain” by icebraining on Thursday July 04, 2019 @08:02PM (#20358829)
> you have to negotiate TLS each time

It's not so bad, because HTTPS supports keep-alive, so you can make a bunch of queries with a single TLS handshake.

Re:ISP Association Nominates Mozilla as “Internet Villain” by tialaramex on Thursday July 04, 2019 @08:17PM (#20358906)
You get to do session resumption or even re-use an existing session if it hasn't closed yet.

For a random third party that might still be slow but Mozilla and Cloudflare have every reason to do every trick that's safe to speed this up, including 0RTT TLS because replaying DNS queries isn't a problem.