Skip to main content
Removed a misplaced <br /> tag
Source Link
eldarerathis
  • 36.9k
  • 16
  • 147
  • 178

enter your terminal, then type 'su' and press enter (note only works if you have a rooted phone)

$ su<br />#su # 

then enter the following (replace x.x.x.x with your dns servers ip)

# echo 'nameserver x.x.x.x' > /system/etc/resolv.conf # echo 'nameserver x.x.x.x' >> /system/etc/resolv.conf # exit 

Now test to see if it worked correctly

$ nslookup google.com 

It should resolve now.

enter your terminal, then type 'su' and press enter (note only works if you have a rooted phone)

$ su<br /># 

then enter the following (replace x.x.x.x with your dns servers ip)

# echo 'nameserver x.x.x.x' > /system/etc/resolv.conf # echo 'nameserver x.x.x.x' >> /system/etc/resolv.conf # exit 

Now test to see if it worked correctly

$ nslookup google.com 

It should resolve now.

enter your terminal, then type 'su' and press enter (note only works if you have a rooted phone)

$ su # 

then enter the following (replace x.x.x.x with your dns servers ip)

# echo 'nameserver x.x.x.x' > /system/etc/resolv.conf # echo 'nameserver x.x.x.x' >> /system/etc/resolv.conf # exit 

Now test to see if it worked correctly

$ nslookup google.com 

It should resolve now.

enter your terminal, then type 'su' and press enter (note only works if you have a rooted phone)

$ su
#

$ su<br /># 

then enter the following (replace x.x.x.x with your dns servers ip)
# echo 'nameserver x.x.x.x' > /system/etc/resolv.conf
# echo 'nameserver x.x.x.x' >> /system/etc/resolv.conf
# exit

Now

# echo 'nameserver x.x.x.x' > /system/etc/resolv.conf # echo 'nameserver x.x.x.x' >> /system/etc/resolv.conf # exit 

Now test to see if it worked correctly

$ nslookup google.com

$ nslookup google.com 

It should resolve now.

enter your terminal, then type 'su' and press enter (note only works if you have a rooted phone)

$ su
#

then enter the following (replace x.x.x.x with your dns servers ip)
# echo 'nameserver x.x.x.x' > /system/etc/resolv.conf
# echo 'nameserver x.x.x.x' >> /system/etc/resolv.conf
# exit

Now test to see if it worked correctly

$ nslookup google.com

It should resolve now.

enter your terminal, then type 'su' and press enter (note only works if you have a rooted phone)

$ su<br /># 

then enter the following (replace x.x.x.x with your dns servers ip)

# echo 'nameserver x.x.x.x' > /system/etc/resolv.conf # echo 'nameserver x.x.x.x' >> /system/etc/resolv.conf # exit 

Now test to see if it worked correctly

$ nslookup google.com 

It should resolve now.

Source Link
Mikah
  • 41
  • 2

enter your terminal, then type 'su' and press enter (note only works if you have a rooted phone)

$ su
#

then enter the following (replace x.x.x.x with your dns servers ip)
# echo 'nameserver x.x.x.x' > /system/etc/resolv.conf
# echo 'nameserver x.x.x.x' >> /system/etc/resolv.conf
# exit

Now test to see if it worked correctly

$ nslookup google.com

It should resolve now.