Weird networking issue, seeking help

I run CachyOS on my desktop. I host [Homepage](https://gethomepage.dev/) for myself on a home server. This is reached at `home.mydomain.tld`. Pihol…

Is your pihole server the only DNS server set? Either on your PC or router? Is network manager sometimes using a different nameserver?
How would I check that?

nmcli device show eth0

Or replace eth0 with whatever interface it is. Will give you a list of all network parameters including the DNS servers. There ideally should only be one, your pihole

There is only one IP4 DNS address, however there are two IP6 DNS addresses for my ethernet interface. However, I also notice that the GENERAL.CON-PATH ends in 2, whereas I have another interface lo which ends in 1. Would that be a clue of anything?
It’s normal for the loopback con path to end in 1, each con path is unique for each interface. My guess is that if your pihole sometimes works, the IPv4 server is your pihole and the IPv6 servers are ISP provided (especially if there are 2), so they work for the internet but not your internal network. Ideally you would set your pihole’s IPv6 address as your IPv6 DNS as well. Failing that setting the IPv6 mode to “Automatic, addresses only” will make it not used for DNS
resolvectl status