[Q] Cannot resolve hosts in Terminal

Search This thread

gorei23

Senior Member
Feb 5, 2014
136
95
Wichita
I can't seem to find a solution for this, but Internet access from within the Android shell was working for a few days, but now it just won't.
Ping google.com gives an unkown host error.

nslookup google.com is the same.

nslookup google.com 8.8.8.8 Does work, spits out 7 lines of DNS... stuff.

I tried looking for /etc/resolv.conf but there's not one there. Internet access outside the shell works fine.

Is there a fix for this? I'm running stock GB27 completely untouched other than root and Agat's kernel.
 

bilgerryan

Inactive Recognized Developer
I can't seem to find a solution for this, but Internet access from within the Android shell was working for a few days, but now it just won't.
Ping google.com gives an unkown host error.

nslookup google.com is the same.

nslookup google.com 8.8.8.8 Does work, spits out 7 lines of DNS... stuff.

I tried looking for /etc/resolv.conf but there's not one there. Internet access outside the shell works fine.

Is there a fix for this? I'm running stock GB27 completely untouched other than root and Agat's kernel.

You can create a resolv.conf if there isn't one, though I don't know if that would fix your problem. Also I notice the you wrote nslookup, shouldn't it be dnslookup?

BILGERRYAN-SIG_zps5b0983a1.png
 
Last edited: