I run CachyOS on my desktop. I host Homepage for myself on a home server. This is reached at home.mydomain.tld. Pihole on my local network catches that request and points it at my local nginx, which reverse proxies me to the homepage.

Now, I set this all up a while back and it all worked totally fine for several weeks. Then, about a week or so ago, for some reason almost every, but not every time I boot my PC, home.mydomain.tld gives me a “cannot be reached” error in my browser… until I run systemctl restart NetworkManager and then it works completely normally.

Can anyone help me troubleshoot why oh why that would suddenly be a thing? Does anyone have suggestions of a way I can troubleshoot a permanent fix to this so that I don’t have to restart NetworkManager almost every boot?

  • Scoopta@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

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

      • Scoopta@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        22 hours ago

        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

        • iamthetot@piefed.caOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          17 hours ago

          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?