Why ping hwy.local is not parsed into 127.0.0.1 ?
My os is debian8,here is the config file in my /etc/hosts
Code:
127.0.0.1 localhost Code:
ping hwy.local/wp Why ping hwy.local is parsed into 192.168.1.101? |
You're asking why a host name doesn't resolve to 127.0.0.1, even though there's no entry in the hosts file for the name in question?
Only /etc/hosts can be used to point names to a loopback address. (Well, I guess there's nothing preventing one from creating a A record in a DNS zone pointing to 127.0.0.1, but it wouldn't make much sense.) Furthermore:
|
What is the FQDN of your machine? Could it be you set it to hwy.local?
This would explain why the resolves its own name to its LAN address 192.168.1.101. |
All times are GMT -5. The time now is 09:16 PM. |