Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setprop method is not working #6

Open
bparmentier opened this issue Sep 16, 2015 · 1 comment
Open

setprop method is not working #6

bparmentier opened this issue Sep 16, 2015 · 1 comment
Labels

Comments

@bparmentier
Copy link
Owner

It seems like the setprop method was replaced by the ndc method in recent versions of Android (Kit Kat?).

You can find a list of valid ndc commands in the wiki.

@bparmentier
Copy link
Owner Author

In response to @fullinterest in #1:

Well, the setprop seem to be able to define the dns because getprop (and your app) show my custom dns, I dunno if there's a command on android to make sure of the dns used like dig on linux

The properties are correctly set in most cases, but that does not ensure that these values are really used by Android.

dig is not working on Android but if you search on the web, there are some apps that should do the same (didn't try).
What I did to test is set the DNS servers to those of OpenDNS, and go to https://www.opendns.com/welcome/. The problem is that your browser (in my case, Firefox) may cache DNS requests, so you probably will have to kill it first.

Edit: you can also watch the DNS traffic by running tcpdump udp port 53 in a shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant