简体   繁体   中英

android DNS issue

I got a problem resolving dns in android. when I'm trying to resolve dns of an non-existing host, it resolves as 207.223.0.140. even if I logging into android shell and running ping command, DNS is resolved in the same way. the same thing happens in emulator too.

how do I resolve real DNS of a host?

That IP address is the IP address (or one of several IP addresses) for Comcast's search engine.

Your Android device is totally fine.

It's your Comcast DNS that is redirecting you to its search engine when it can't find a hostname. (I've experienced this many times myself.)

the right way to work this problem out is to use Google public DNS or OpenDNS servers to resolve host. there's no need to change WiFi DNS settings, just ask 8.8.8.8 to resolve hostname for you. haven't had any issue since I start using these public DNS servers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM