🔒 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,030
Guests online
15,890
Total visitors
16,920

Forum statistics

Threads
2,345,114
Posts
29,342,028
Members
1,102,712
Latest member
Dabby09
Back
Top