SetDNS is the easiest way to force your phone to use custom nameservers. This "pro" app does the following:
* unlocks the "non-root" version of the app
* unlocks control widgets - so you can view and change your DNS from the home screen
* enables password locking of the settings.
Please download the standard SetDNS app and check that it works on your phone first!
From the Set DNS description:
Preserves your custom nameserver information when using wireless and 3g/edge mobile connection.
Comes with google, opendns, fooldns settings, enter custom DNS servers and option to revert back to DHCP.
You don't need to back up your nameserver details - just reverting back to DHCP will go back to your normal network settings.
Now also contains OpenDNS Family Shield settings.
Please note, entering the wrong nameserver details can break your internet settings.
Also, some mobile operators run web access via a proxy server, in which case the nameservers on the phone can be less relevant.