Adguard Home

Public Upstream DNS providers:

Known DNS Providers | AdGuard DNS Knowledge Base

Ensure on Portainer other Containers Have Access to Use Adguard as DNS

Problem

  • When using Adguard as the sole DNS on the network, other containers can’t resolve DNS

Solution

Bind the DNS listening port to the specific external IP you want to listen on in the docker run or docker-compose file. e.g. my docker compose went from this:

ports:
      - "53:53/tcp"
      - "53:53/udp"
      #- "67:67/udp"
      - "81:80/tcp"
      - "443:443/tcp"

to this:

ports:
      - "53:53/tcp"
      - "<host-ip>:53:53/udp"
      #- "67:67/udp"
      - "81:80/tcp"
      - "443:443/tcp"

📇 Additional Metadata

  • 🗂 Type:: note
  • 🏷️ Tags:: homelab
  • 📡 Status:: #status/🌱