docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec -T unbound-mailcow drill example.com MX @127.0.0.1

Category: Mail Servers & Postfix

docker compose -f /opt/mailcow-dockerized/docker-compose.yml exec -T unbound-mailcow drill example.com MX @127.0.0.1

Resolve MX records through the Mailcow resolver

drill queries the unbound resolver listening inside the unbound-mailcow container, bypassing any local DNS config. unbound is the recursive resolver Mailcow uses for MX, SPF, and DKIM lookups. Use it to prove DNS answers are correct from Mailcow's own point of view.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.