AdguardTeam/AdGuardHome

Using AdGuard Home along with dnsmasq for local hosts name mapping

Aperta

#3063 aperta il 3 mag 2021

 (6 commenti) (0 reazioni) (0 assegnatari)Go (2333 fork)batch import
compatibilitydocumentationhelp wanted

Metriche repository

Star
 (34.000 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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!

Guida contributor