Using AdGuard Home along with dnsmasq for local hosts name mapping
#3,063 创建于 2021年5月3日
描述
Hi,
I just installed in my raspberry AdGuard home and so far I'm very satisfied. I just noticed a weird behavior comparing with my previous setup which was using dnsmasq as DNS caching and DHCP server.
I was using expand-hosts option to resolve some local clients using unqualified names instead of their IP. For example, I was able to ping a host using just a simple name (i.e. test) instead of its IP.
When I installed AdGuard I changed my setup of dnsmasq to do only IP-->hostname mapping to my local network hosts and setup accordingly the AdGuard (using the dnsmasq IP as upstream).
While I'm able to ping everything as before (using just a name) from my windows PC I have to add the "." suffix in order to find the host. For example
ping test.
instead of
ping test
I didn't have to do the same with dnsmasq and I'm wondering why.
Any idea?
Thanks in advance!