Hi friends.

I’ve been trying to find docker-compose.yaml for pihole+unbound so I can use pihole as both a recursive dns server and as local dns alongside Nginx Proxy Manager. But since v6 of pihole all the old files I could find don’t work properly or at all.

Does anyone here use pihole+unbound in docker?

  • Outwit1294@lemmy.today
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 hours ago

    I used a similar docker compose config. Yesterday I learned that unbound doesn’t have root.hints by default. I downloaded it following Anudeep’s guide on Github and it was working. But within 2 hours, it started taking too long to respond and eventually stopped replying to pihole. I had to switch to cloudflare.

    • Zanathos@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 hours ago

      Have you modified the default unbound config at all? This sounds like increasing the cache size limits and timeframes in the unbound config could help.

      I’m actually chasing an issue I’ve always had where everything works great in my environment, but on mobile certain domains take ages to finally load up for me. I think it’s a combination of my Pihole blocking and the amount of domains tied to a page (advertisements and tracking), but would love to figure it out. I work around it right now by flipping wifi off and on again in those instances.