Pihole is my DNS/DHCP server.
Router hardlocked by ISP; I set it to only assign 1 IP, my pihole's so that I can take over my network.
Conditional forwarding is deactivated.
I'm using Tailscale on my computers. Tailscale reports it is having a DNS fight. My computers can't resolve some local host names because they are being pointed to the Tailscale DNS. SSH can't connect via host name, but smb shares can be browsed and connected to.
Please follow the below template, it will help us to help you!
Expected Behaviour:
/etc/resolve.conf isn't rewritten constantly.
Actual Behaviour:
/etc/resolve.conf is rewritten to point to Tailscale's MagicDNS.
Debug Token:
https://tricorder.pi-hole.net/Umm5CKlt/
Did you try the recommended solution from Tailscale website?
This is an OS level issue.
You need to check which service is used to configure DNS in your system.
Also, your resolv.conf
seems to be untouched since 2023 and it is using 127.0.0.1
:
-rw-r--r-- 1 root root 47 Jan 25 2023 /etc/resolv.conf
nameserver 127.0.0.1
This is my client's resolve.conf
# resolv.conf(5) file generated by tailscale
# For more info, see https://tailscale.com/s/resolvconf-overwrite
# DO NOT EDIT THIS FILE BY HAND -- CHANGES WILL BE OVERWRITTEN
nameserver 100.100.100.100
search tail9f***.ts.net lan
Network Manager configures DNS in my system and it's set to use the pihole as the dns server.
I assume that should read '/etc/resolv.conf'.
Pi-hole neither writes nor reads that file.
You should consider to approach Tailscale for assistance.