change dns kitkat

5 posts
Thanks Meter: 0
By Naruto-sama, Junior Member on 28th June 2014, 11:47 AM
Post Reply Subscribe to Thread Email Thread
root@:/ # ndc resolver flushif -- flushes old DNS servers
root@:/ # ndc resolver flushdefaultif -- flush resolver
root@:/ # ndc resolver setifdns <iface> <domains> <dns1> <dns2> ... -- Add the new servers
root@:/ # ndc resolver setdefaultif -- Set as the default device

What should I replace instead of iface and domains?

Using the ifconfig command outputs are various interfaces and in particular:

to set the dns to google to use when mobile connection, okay this command?

root@:/ # ndc resolver setifdns rmnet0 w w w .google.c o m -- (I had to write the domains that otherwise would not let me reply, of course, I wrote all attached)
root@:/ # ndc resolver setdefaultif --

When I give the command

root@:/ # ndc resolver flushif --

the system responds with:
500 0 wrong number of arguments to resolver setdefaultif

While when I give other commands responds with:

200 0 Resolver command succeded

I apologize for the bad english but i used a translator
Last edited by Naruto-sama; 28th June 2014 at 02:51 PM.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes