Hosting your own PrivateDNS for Android?

How do you run your own DNS for privateDNS for Android?

I am currently using OPNsense with unbound for my DNS. My wireguard vpn is also on OPNsense.

I have LSIO Swag for my reverse proxy with Let’s Encrypt and CloudFlare for my SSL and DNS.

Docker compose for my containers.

Can Pi-Hole, Ad Guard Home, Technitium be used as and entry for PrivateDNS on android?

  • Metigoth@lemmy.dbzer0.comOP
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 months ago

    How do I set that up for access outside my network?

    I don’t want to tunnel traffic with wireguard since my upload is too low.

    • MangoPenguin
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      Tunnel just DNS over wireguard in that case, instead of using it as a default gateway and tunneling all traffic.

    • anamethatisnt@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      I recommend setting up selective routing in your opnsense wireguard and use that for the PrivateDNS. That way you won’t tunnel traffic through your home unnecessarily.