Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.13k stars 565 forks source link

Local dns resolution is not working #114

Closed varundtsfi closed 6 years ago

varundtsfi commented 6 years ago

I have tried this working well on my system but my local sites i am not able to open through this. Global website's or link's are opening using internet but local dns resolution is not happening. on my local network my site varun-pc.dumps.com is not working. If i have to do the same, how to do that..please help

Thanks a lot for this utility. Thanks in advance I am waiting for you sincere reply.

rom1v commented 6 years ago

Pass your DNS as a parameter:

gnirehtet run -d 1.2.3.4

If your DNS is localhost (127.0.0.1) on the desktop, use the special mapping 10.0.2.2:

gnirehtet run -d 10.0.2.2
varundtsfi commented 6 years ago

@rom1v Thank you so much Its working now. I want to study this code for my project so from where I can start as I am new in android, and network stuff in java.

rom1v commented 6 years ago

from where I can start

https://github.com/Genymobile/gnirehtet/blob/master/DEVELOP.md