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!

  • tfw_no_toiletpaper@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    While we’re at the topic, which DNS do you guys usually use as upstream? On my router I think I set quad9 and cloudflare over TLS but sometimes I notice on new websites I need to refresh a couple of times until it works, might be DNS. Was too lazy to look into it since gaming and apps work without issues.

    • Darkassassin07
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      https://docs.pi-hole.net/guides/dns/cloudflared/

      I use this to translate DNS to DoH, and use cloudflare, and quad9 upstream.

      environment:
        - TUNNEL_DNS_UPSTREAM=https://1.1.1.1/dns-query,https://1.0.0.1/dns-query,https://9.9.9.9/dns-query,https://149.112.112.9/dns-query
      

      Haven’t really noticed any DNS based lag.