Hi everyone! Can someone please walk me through changing dns on Fedora 38. I have pihole setup on my home server, but Fedora won’t use for the life of me. (It does work on my phone). Explain it like I’m 5, cos I’m losing my mind haha

  • HumanPerson@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    You should be able to change the nameserver value in /etc/resolv.conf. You may need a restart for it to take effect but that should work.

    • Molecular0079@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Probably not best to do this because chances are he’s using NetworkManager which will override /etc/resolv.conf. Better to set it on the connection profile itself.

        • Molecular0079@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          1
          ·
          1 year ago

          Yeah, just go into your connection profile and under the IPv4 tab, change the Method to Automatic (Only addresses), then specify your Pihole in the DNS servers box.