AdguardTeam/AdGuardHome

Using AdGuard Home along with dnsmasq for local hosts name mapping

開放

#3,063 建立於 2021年5月3日

 (6 則留言) (0 個反應) (0 位負責人)Go (2,333 個分叉)batch import
compatibilitydocumentationhelp wanted

倉庫指標

星標
 (34,000 顆星)
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!

貢獻者指南