What's new

Closed How to change dns Android

Status
Not open for further replies.

PHC_Calcifer

Forum Veteran
Elite
Joined
Aug 10, 2016
Posts
1,428
Reaction
2,250
Points
602
How to change dns Android Using Terminal Emulator for Rooted Phone Only

1: Open terminal Emulator Type

getprop | grep dns

1589747365808.png


2: Type this code

setprop dhcp.wlan0.dns1 8.8.8.8
setprop dhcp.wlan0.dns2 8.8.4.4
setprop net.dns1 8.8.8.8
setprop net.dns2 8.8.4.4
setprop net.ppp0.dns1 8.8.8.8
setprop net.ppp0.dns2 8.8.4.4
setprop net.rmnet0.dns1 8.8.8.8
setprop net.rmnet0.dns2 8.8.4.4
setprop net.pdpbr1.dns1 8.8.8.8
setprop net.pdpbr1.dns2 8.8.4.4
setprop ro.kernel.android.ndns 2
setprop dhcp.eth0.dns1 8.8.8.8
setprop dhcp.eth0.dns2 8.8.4.4

Enjoy kaphc
 

Attachments

Status
Not open for further replies.

Similar threads

Back
Top