News for hackers. Stuff that matters.
Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by Daviey on Monday April 02, 2018 @06:20AM (#16733479)
There is 2 main different ways, one which does what you say - the other i'd say is pretty much OK.

If your local DNS server is merely querying an upstream resolver (like 1.1.1.1 / 8.8.8.8) on your behalf, then yes - it is no different.

If however, you query the root nameservers for the glue record for a domain and query the domain's own nameservers directly, then it is pretty good... As you are neither querying your ISP or TheMan.. which means that logically only the domain nameserver owner knows what queries you made (and you are probably hitting that domain in a moment anyway!). (The caveat is that some ISP's do transparent DNS proxying.. in which case, you have much larger trust issues with your ISP and need to take greater measures!)

That said.. I cba with that.

Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by phire on Monday April 02, 2018 @07:48AM (#16733775)
> (The caveat is that some ISP's do transparent DNS proxying.. in which case, you have much larger trust issues with your ISP and need to take greater measures!)

I once had an ISP which did transparent http proxying. You could theoretically query an external DNS server and get back the correct result, but it would intercept your http connection, discard the ip address you were trying to connect to then do a new DNS lookup to the ISP's DNS server on the HOST header.

Took me ages to work out what was going on with the various issues it was causing.

I dumped that ISP like a rock after they refused to disable that caching proxy, which they claimed was only there to improve customer experience.

Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by stordoff on Monday April 02, 2018 @01:18PM (#16736672)
Virgin Media in the UK appear to do this for sites they are ordered to block. Even if you get the right DNS response, you get forwarded to http://assets.virginmedia.com/site-blocked.html (HTTPS requests get a connection reset).
Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by Johnny555 on Monday April 02, 2018 @12:47PM (#16736274)
They don't need to be doing DNS proxying, they can just inspect port 53 traffic -- unless the site you're visiting supports DNS over TLS, then you're not hiding anything from your ISP, since they'll see the DNS query packet hitting the www.porn-site.com nameserver.

However, if have a local TLS nameserver, you can set it up to query 1.1.1.1 over TLS, then your ISP can't see any of your DNS queries.

So you need to decide who you trust more -- your ISP or a DNS provider (or a VPN provider).

Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by jeremejevs on Monday April 02, 2018 @09:17AM (#16734191)
> only the domain nameserver owner knows what queries you made (and you are probably hitting that domain in a moment anyway!)

But these are different people, with different incentives. The NS owner may be logging everything, without the domain owner's knowledge, and the NS owner won't even be in the wrong, because they likely made no promise to not log.

With a single resolver, I can verify that they're trustworthy enough [for me], just once, and direct all my traffic to it. Cloudflare's "We committed to never writing the querying IP addresses to disk and wiping all logs within 24 hours" is something, I imagine, they very much wouldn't want to be caught violating or changing their mind about later.

In the meanwhile, with the root NS method, I can only hope that my queries will get lost in the "noise". And I'm putting noise in quotation marks because there isn't much diversity in the name server ownership: 75% of Alexa top 1M domains are hosted at Cloudflare, GoDaddy and Amazon. [0]

[0] https://www.datanyze.com/market-share/dns/Alexa%20top%201M/

Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by Isomer on Monday April 02, 2018 @09:23AM (#16734233)
With QNAME minimalisation, RFC7129 (Authenticated denial of existence) and RFC8020 (NXDOMAIN: There really is nothing underneath), you should be sending almost nothing to the root servers of use.

QNAME minimalisation will only send <randomstring>.com to the root for them to give you the referral.

and RFC7129/RFC8020 mean that when you get a NXDOMAIN back from the root, you'll cache it and never try again for a large swath of possible names.

Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by vavrusa on Monday April 02, 2018 @01:29PM (#16736791)
QNAME minimization just minimizes the name to one label under a delegation, there's no randomization. So root zone would only get 'com.' (and type NS). It's unfortunately easy for authoritative servers (below TLD level) to bypass it by returning NXDOMAIN. Resolver has to fall back on using a full name. The main reason is that a lot of authoritative DNS servers (notably Akamai) return NXDOMAIN when there's nothing under the minimized name, but there is something below it (aka empty non-terminal). So without workarounds the resolver would return NXDOMAIN early instead of retrying with the full name.
Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by josteink on Monday April 02, 2018 @10:20AM (#16734670)
> With a single resolver, I can verify that they're trustworthy enough [for me], just once, and direct all my traffic to it.

Apply this deceptively simple principle to every need you have on our wonderfully decentralized Internet and see where that gets us.

Oh snap. Not so decentralized anymore.

Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by jeremejevs on Monday April 02, 2018 @01:16PM (#16736650)
I'm talking about DNS and nothing else.

Okay, say, 1 year from now, somehow, 95% of internet users are sending their DNS queries to Cloudflare. What can go wrong? Malicious or not. Not rhetorical, actually curious.

Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by josteink on Tuesday April 03, 2018 @12:54PM (#16746609)
Internet-wide censorship is now 1 US court order way. Compared to ... say 200,000 court orders away.

Centralizing things, makes it easy for law-makers to enforce bad policy which technology otherwise would have side-stepped.

Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by tonfa on Monday April 02, 2018 @08:08AM (#16733857)
But you also leak more things to TLAs right?
Re:DNS Performance compared: CloudFlare 1.1.1.1 x Google 8.8... by Daviey on Monday April 02, 2018 @08:36AM (#16733969)
Yeah, there is that.