Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

It is all about being the internet boss. I want to be able to lock in or password protect the DNS settings to OpenDNS, so I can have a safe smartphone, that my kid can use with no fear of accessing pr0n or whatever. Anybody know if this is possible? I don't want to use another method of content filtering.

share|improve this question
1  
Note that it is impossible to use OpenDNS to do that since you can't block the Android Market with it. –  Arda Xi Sep 22 '10 at 17:51
    
Agree with Arda here, once you have those DNS settings in place there would still be no way to limit what can be downloaded or viewed on the phone. –  Webs Sep 22 '10 at 19:54
    
There would be no way to limit what was Downloaded through the Market but it would block content otherwise. I could accept that. –  lazfish Sep 23 '10 at 21:26
    
I could probably have an app to report downloaded apps thru app brain or something I think. Also if OpenDNS gets on board they could block downloads of inappropriate apps. –  lazfish Sep 23 '10 at 21:36
add comment

2 Answers

up vote 3 down vote accepted

You can change the dns settings in Android, but you need to root your phone first:

http://blog.varunkumar.me/2010/09/how-to-change-dns-server-on-android.html

I don't believe there is a way to password protect the dns settings, but at least it wouldn't be obvious for them to figure out how to change the settings.

Edit:

Of course, one thing you can do to at least protect your kids while they are in your home is to change the DNS settings on your router. Of course whenever they use your carrier's data network, this won't help.

share|improve this answer
    
This is great. Very close to what I need. It looks like the script could work even on carrier networks, right? In the home router this is already done. (vote up requires 15 reputation) –  lazfish Sep 23 '10 at 21:35
    
If you're rooted, check out SetDNS in the Market (free). It might do the job; YMMV. –  dgw Aug 23 '11 at 1:41
add comment

When on WiFi you can manually set IP information, Settings > Wireless & networks > Wi-Fi Settings > Menu button > Advanced. Mind you it would be very easy for anyone to modify those settings.

As far as when connected via cellular, I do not know of anyway to modify those DNS settings as they come from the carrier and the carrier's towers. I'm pretty sure they don't want their users changing DNS settings which could help them bypass certain restrictions they normally have in place.

If it was feasible you would need to do some rooting and hacking of files. Supposedly there are DNS files that exist and can be modified, but I wouldn't recommend going this route.

/system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf

share|improve this answer
    
This (the carrier part) is exactly whats keeping me from getting smartphones. I want this ability so regardless where they connect I get a top-down report and content filtering. This would be useful for businesses and churches and any concerning parent out there really. –  lazfish Sep 23 '10 at 21:32
1  
You could try calling the carrier and asking them what filtering or content blocking they can do. Or rather than attempt to block the kids from downloading content (which doesn't always work well as kids are smart and find ways around this) have you thought about just sitting down with your kids, having a conversation with them, and educating them about the dangers and getting feedback from them? Might be easier then trying to mess around with DNS and other stuff on the phone. –  Webs Sep 27 '10 at 13:58
    
It is not just for me. I want to make this "internet boss stuff" more solid and simple in general for myself and others –  lazfish Oct 5 '10 at 16:13
    
That dhcpcd file only affects the Wi-Fi connection; cellular data is unaffected by it. –  dgw Aug 23 '11 at 1:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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