Why is ping resolving to an IP 198.105.254.228 for any random hostname that i type?

8

1

I have a precise32 (ubuntu 12.04) vagrant vm running on my system. If i try to ping a random string, eg ping "thisip.doesnot" it resolves to an IP 198.105.254.228 . This is try for any other random string i put in. Why does this happen? How can i change this behaviour and make it respond "ping: unknown host thisip.doesnot"

woodstok

Posted 2014-11-07T03:13:04.250

Reputation: 761

Answers

21

Because your ISP is hijacking your DNS queries.

They are trying to be "helpful" by redirecting requests for nonexistent domains to a white label service that provides search results and advertising, from which everyone but you gets a cut of the revenue.

Fortunately they do have a preferences page where you can supposedly turn it off.

Michael Hampton

Posted 2014-11-07T03:13:04.250

Reputation: 11 744

take a look at this article: http://www.howtogeek.com/167239/7-reasons-to-use-a-third-party-dns-service/

– Keltari – 2014-11-07T03:44:39.457

This infuriates me, as much as the ads on [unnamed ISP]'s webmail page. I pay too much for this ISP as it is. I had even specified one of the free public DNS servers from Google (8.8.8.8) as my primary and relegated the ISP's DNS to secondary. However, the result is the same: primary fails to resolve, so your system tries the secondary, which instead of returning error & failing the request (as a DNS should), returns the IP address of the ad site. This particular ISP, despite being huge, must be getting desperate... or just greedy! – electromaggot – 2015-09-12T07:54:46.377