🔒 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

Trending Topics

Online now

Members online
1,075
Guests online
833
Total visitors
1,908

Forum statistics

Threads
2,276,991
Posts
28,973,649
Members
1,229,682
Latest member
JhayPureno13
Back
Top