Not sure if will fix but find out your DNS suffix on the router:
With your Win10 PC you can figure out suffix with ipconfig
:
C:\>ipconfig /all
[..]
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : dehakkelaar.nl
[..]
EDIT: Oops sorry, was confusing this thread with another ... if the client is a Mac, hostname -f
should display the full name including suffix.
And change the hostname
on the Pi-hole box accordingly including the suffix:
pi@noads:~ $ hostname -f
noads
pi@noads:~ $ sudo hostnamectl set-hostname noads.dehakkelaar.nl
pi@noads:~ $
pi@noads:~ $ hostname -f
noads.dehakkelaar.nl
EDIT2: one more when changing hostname
on Pihole, also make sure its reflected in below file:
pi@noads:~ $ cat /etc/hosts
[..]
127.0.1.1 noads.dehakkelaar.nl
[..]
You also might need to run below and select repair to let Pi-hole know of the change:
pihole -r
Below some links I DuckDucked explaining the trailing dot: