🔒 Closed How to change dns Android

Status
Not open for further replies.

PHC_Calcifer

Forum Veteran
How to change dns Android Using Terminal Emulator for Rooted Phone Only

1: Open terminal Emulator Type

getprop | grep dns

1589747365808.webp

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
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 1
    Replies
  • 1K
    Views
  • 2
    Participants
Last reply from:
zjayden1110

Online now

Members online
1,125
Guests online
3,062
Total visitors
4,187

Forum statistics

Threads
2,315,696
Posts
29,183,621
Members
1,182,678
Latest member
zxaiwoo
Back
Top