Junyang Gu
2016-08-02 14:39:23 UTC
It seems to me that dnsmasq should filter out loopback addresses for DNS
queries universally, or at least provide such an option.
Consider such a scenario,
dnsmasq runs on host1, and host1's /etc/hosts contains 127.0.1.1 host1,
which is usually the case.
A second machine host2 queries dnsmasq for host1, and would get
127.0.1.1, which is also a valid IP address, except it goes to host2.
I do not see any any scenario where dnsmasq should return a loopback
address.
Regards
queries universally, or at least provide such an option.
Consider such a scenario,
dnsmasq runs on host1, and host1's /etc/hosts contains 127.0.1.1 host1,
which is usually the case.
A second machine host2 queries dnsmasq for host1, and would get
127.0.1.1, which is also a valid IP address, except it goes to host2.
I do not see any any scenario where dnsmasq should return a loopback
address.
Regards
--
Junyang Gu
***@fastmail.com
Junyang Gu
***@fastmail.com