• Rimu@piefed.social
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 days ago

    The Pi-Hole itself is very straightforward if you’re cool with using docker - the example docker-compose.yaml on Docker Hub just worked for me. But getting your devices to use the Pi-Hole instead of their usual DNS server can be harder than it should be.

    • LoudWaterHombre@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Nah mate, if you set your PiHole to be the DHCP of your network, it will force DNS server settings onto the devices it’s handing out IPs to. Just set the PiHole as DHCP server in your router and it’ll be fine.

      • Randelung@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        14 hours ago

        Getting DNS and DHCP mixed up here.

        DNS you set in your DHCP, DHCP you either disable or enable.

        Set the PiHole as DNS on your router or disable DHCP on the router altogether and enable it on the Pi. The former is simpler.