Browsing through the AOSP sources, I noticed that Android 4.3 incorporated a somewhat confusing series of commits under the heading of "dns cache per interface," which effectively causes all Bionic DNS requests to be proxied through netd. This commit is the most important element.

result = android_read_hostent(proxy);So by default, Android 4.3 will proxy the requests through netd (owned by UID 0). This can be verified by setting DBG to 1 in system/netd/DnsProxyListener.cpp, then watching logcat:

As you may have noticed in the last few months, there has been a public attempt to denigrate this mod and XDA by external forces who are obviously against the concept of adblocking and DNS changing ( their entire control/sabotage of the internet is lost if you give users the ability to use external DNS ).

Today my friend died of a sudden illness the same that struck my mother in law last month. And the same time of her death some fake newbie posted here with a name similar to hers on my 1-Click thread. Sending a message of sorts.

I am in the meanwhile getting all sorts of thinly veiled threats.

The Adblock Plus website is under attack too.

I am going to raise this matter with the police. Hope they can find a pattern of these forum users and international corporate espionage rings run by the PR industry.

I regret to inform you that I need to stop development of this mod. If these people can stoop so low just to make money on superficial s**t like ads and take innocent lives, I can't fight this. I'm just a small-time hacker. I need to protect my family in whatever limited capacity I have.

Uploaded the last version with development as it was. Should be very usable with some noticeable usability improvements in the process and services ionice and renice and cgroup ( iffy ) space.

Uploaded source of the binaries.

License is BSD unless inherited from GPL.

Sorry for the terrible coding. Maybe some programmer can take it up and do something good with it.

Bye. Thanks a lot. Take care.

Good luck and god speed!

Idcrisis

Peace & karma,

devnullius

PS: what a story - curious if it holds up, but it reads legit :s

Logged

More information about bitcoin, altcoin & crypto in general? GO TO j.gs/7385484/btc

A different approach, not yet verified or tested by me. Not even sure if they are talking about droid 4.3+ ;p

But I do know that AutomateIt Pro has shell script extension... And there are shell script apps too that one maybe could use with AutomateIt Pro to execute a few scripts. Even further, edit the file /system/etc/ppp/ip-up and change the lines specified. That should allow the changes to stick through a reboot, and will take effect anytime you enable/disable the data connection (http://forum.xda-developers.com/showpost.php?p=23339423&postcount=4)

How do you change the DNS, not for wifi, but for mobile data? Does it improve browsing performance?

Here is what I found out, thanks to zeppelinrox, on how to change the DNS for the droid charge, you can use script manager to run it every hour or 2 since if you loose connection or whatever the DNS will revert back to verizon. You can use whatever DNS you want. You can put it in the init folder but you need too add a sleep time like sleep 30 or longer play around with it and after reboot go to myresolver.info to check if the settings went through. The script below changes wifi, 3G and 4G DNS