I was just curious to know what DNS server my phone used. So I launched a terminal emulator and I entered:
$ cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
As you can see, my phone uses 8.8.8.8 and 8.8.4.4 as DNS servers (Google Public DNS servers).
At home (Wifi), my router is configured to give OpenDNS' servers through DHCP. But, on my phone, cat /etc/resolv.conf
returns the same output. Same thing with 3G. And, even if I disable both Wifi and 3G, and then reboot the phone, it still uses Google's Public DNS servers.
I don't remember having changed resolv.conf
or installed any application to change it.
My phone is an HTC Desire with CyanogenMod 7.2.0.1 (Android 2.3.7).
Can someone explain me why my phone uses Google Public DNS? Is it a common configuration for any Android devices, or CyanogenMod ROM?