I was recently flummoxed by an issue related to me setting my router's static DNS servers to what I understand to be Level 3 DNS servers, (,, etc.).

For work I use a company VPN. On the VPN are various hosts that I ssh into to perform various work related tasks. Sometimes my VPN client will drop my connection, rarely. When my VPN connection is up the client sets things up so that my computer uses the company DNS server to resolve hosts. When the VPN is down my router acts as my DNS server.

Let's say one of the hosts that I ssh into is called internal.server

Recently my VPN connection went down and I didn't notice. I tried to ssh into internal.server and I got a ssh spoofing error. The key in my ~/.ssh/known_hosts file did not match the key that was presented by internal.server

To make a long story short, I realized that the etc. DNS servers (which get used when my VPN connection is down) resolve just about anything that's not valid to

For example:

$ nslookup blah.blah

Non-authoritative answer:
Name:   blah.blah
Name:   blah.blah

I have no idea what is, but they're running an ssh server on port 22.

And finally, my actual questions:

Why do the Level 3 DNS servers resolve (literally) blah.blah (and just about any other invalid.domain I can think of) to that IP address? Couldn't the host at be doing all sorts of horrible spoofing things to people that made typos in their host names?

Am I missing something?


You have discovered the evils of DNS hijacking. ISPs and others hosting DNS servers started abusing DNS in this way years ago to direct end users to search pages when they try going to a website that doesn't exist by returning their own IP rather than NXDOMAIN. It gets them a bit of extra advertising revenue, but as you've seen it's particularly annoying for anyone doing anything other than normal web browsing.

Couldn't the host at be doing all sorts of horrible spoofing things to people that made typos in their host names?

Absolutely. DNSSEC and DNS over TLS help here, but adoption is slow, and these won't fully solve the problem of typos anyway since typosquatters are the "legitimate" owners of their domains.

The best you can do is to configure your router or computer to use a DNS server you trust with DNS over TLS or DNS over HTTPS. Cloudflare ( is a common choice as they helped kickstart encrypted DNS, and Google ( and Quad9 ( are other popular choices.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.