Howdy Everyone!

As I am setting up my infrastructure at home using docker I wanted to ask, is it better to have DNS, something like pi-hole, on my main docker swarm or would it be better to have it on a dedicated machine/docker host separate from the rest of my infrastructure?

Thanks for the input!

  • Darkassassin07
    link
    fedilink
    English
    arrow-up
    13
    ·
    4 days ago

    Why not both?

    My primary DNS is pihole on a rpi dedicated to the task; but I run a second instance of pihole via my main docker stack for redundancy. Should one or the other be unavailable, there’s a second one to pick up the slack.

    I just provide both DNS IPs to LAN clients via DHCP.

    Gravity Sync is a great tool to keep both piholes settings/records/lists in sync.

    • Sandbag@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      Gravity sync looks cool but it looks like it was depreciated, any alternatives for it?

      • Darkassassin07
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        Oh damn, I hadn’t noticed. My setup is still functioning just fine.

        There is an alternative though: Orbital-Sync

        I haven’t actually used it, so I can’t say much about it; but I’ll probably look into replacing gravity-sync with that.