🔒 Closed How to change dns Android

Status
Not open for further replies.
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,283
Guests online
7,049
Total visitors
8,332

Forum statistics

Threads
2,329,943
Posts
29,251,009
Members
1,154,732
Latest member
fdg123
Back
Top