AdguardTeam/AdGuardHome

Using AdGuard Home along with dnsmasq for local hosts name mapping

Open

#3,063 创建于 2021年5月3日

在 GitHub 查看
 (6 评论) (0 反应) (0 负责人)Go (2,333 fork)batch import
compatibilitydocumentationhelp wanted

仓库指标

Star
 (34,000 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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!

贡献者指南