Re:1.1.1.1 Cloudflare DNS Resolver Soon to Be Announced?
by manacit on Friday March 30, 2018 @12:21PM
(#16717420)
Those resolvers are technically for Level3 customers only - they'll return one of those ad-filled "search" portals where an NXDOMAIN would be proper, see:
; <<>> DiG 9.9.7-P3 <<>> thisprobablydoesntexist.com @4.2.2.2
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12860
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;thisprobablydoesntexist.com. IN A
;; ANSWER SECTION:
thisprobablydoesntexist.com. 10 IN A 104.239.213.7
thisprobablydoesntexist.com. 10 IN A 198.105.254.11
Contrast that with 8.8.8.8: ; <<>> DiG 9.9.7-P3 <<>> thisprobablydoesntexist.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7991
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
The NXDOMAIN response is proper - the level3 DNS servers are just a faster version of my ISPs goal to garner ad revenue at this point.
Re:1.1.1.1 Cloudflare DNS Resolver Soon to Be Announced?
by userbinator on Friday March 30, 2018 @12:30PM
(#16717505)
Those resolvers are technically for Level3 customers only
There is this comment from a few years ago, https://news.ycombinator.com/item?id=7120248 , linking to a blog post which is now only accessible from the Internet Archive, where a VP at Level3 stated they were public.
I use 4.2.2.x and I do get NXDOMAIN from them, and I'm not a L3 customer. I wonder if they respond differently depending on who you are...
Re:1.1.1.1 Cloudflare DNS Resolver Soon to Be Announced?
by mulmen on Friday March 30, 2018 @12:37PM
(#16717588)
I get:
; <<>> DiG 9.9.7-P3 <<>> @4.2.2.1 thisprobablydoesntexist.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10665
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;thisprobablydoesntexist.com. IN A
;; ANSWER SECTION:
thisprobablydoesntexist.com. 10 IN A 104.239.213.7
thisprobablydoesntexist.com. 10 IN A 198.105.254.11
;; Query time: 29 msec
;; SERVER: 4.2.2.1#53(4.2.2.1)
;; WHEN: Fri Mar 30 09:27:39 PDT 2018
;; MSG SIZE rcvd: 77
Re:1.1.1.1 Cloudflare DNS Resolver Soon to Be Announced?
by mulmen on Friday March 30, 2018 @12:31PM
(#16717519)
Yeah I actually just looked and my DHCP is configured to use 8.8.8.8 :S
Looks like I ran into that issue and went back to Google.
I just changed DHCP config to 1.1.1.1 :)
; <<>> DiG 9.9.7-P3 <<>> @1.1.1.1 thisprobablydoesntexist.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 28530
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1536
;; QUESTION SECTION:
;thisprobablydoesntexist.com. IN A
;; AUTHORITY SECTION:
com. 900 IN SOA a.gtld-servers.net. nstld.verisign-grs.com. 1522427379 1800 900 604800 86400
;; Query time: 33 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Fri Mar 30 09:29:56 PDT 2018
;; MSG SIZE rcvd: 132
Re:1.1.1.1 Cloudflare DNS Resolver Soon to Be Announced?
by duskwuff on Friday March 30, 2018 @12:14PM
(#16717356)
Level 3's resolvers will return fake NXDOMAIN responses that redirect to searchguide.level3.com.
Re:1.1.1.1 Cloudflare DNS Resolver Soon to Be Announced?
by michaelmior on Friday March 30, 2018 @12:40PM
(#16717613)
I thought NXDOMAIN responses indicated that the domain doesn't exist and there wasn't a way to actually direct the user anywhere. Your resolver could of course lie and return an IP instead of NXDOMAIN however. Perhaps I'm wrong.
Re:1.1.1.1 Cloudflare DNS Resolver Soon to Be Announced?
by duskwuff on Friday March 30, 2018 @01:34PM
(#16718100)
They take the "lie" route:
# dig +short this-should-be-a-nxdomain.com @4.2.2.2
198.105.254.11
104.239.213.7
They do it a little more cleanly than some other attempts I've seen, but there's still flaws in their approach. In particular, they will generate redirects for NXDOMAIN responses to certain records under domains that do exist: # dig +short why-does-this-resolve.example.com @4.2.2.2
198.105.254.11
104.239.213.7
Specifically, they'll generate a redirect for any record that starts with the letter "w". (No, I'm not kidding. Try it.) Other records generate a real NXDOMAIN.
Re:1.1.1.1 Cloudflare DNS Resolver Soon to Be Announced?
by michaelmior on Friday March 30, 2018 @03:20PM
(#16719009)
Right, what I meant is that you can't return an NXDOMAIN response that "redirects" the domain. (Of course this isn't really a redirect per-se.)
edit: Depending on who you are this may redirect you to a search portal. Probably best to find an alternate DNS provider.