I recently wiped my phone and now I am unable to ping a machine by the hostname. Pinging by IP works.
I have a machine, let's say it is called NAS. From my Router and PC, ping NAS
finds the machine. However, from my Android Phone, ping NAS
returns ping: unknown host NAS
.
I am rooted, so I went to /etc/hosts
and added 192.168.1.### NAS
and it was able to resolve NAS
to an IP but what is the solution for making it ping all machines by hostname.
In my Wifi settings on the phone, DNS shows 3 entries: 8.8.8.8
, 8.8.4.4
, 192.168.1.1
.
No comments:
Post a Comment