blob: 8c4508fb17d47b8e1ae499d20c00afbab032dc8b [file] [log] [blame]
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +01001#!/bin/bash
2
3nslookup mailcow.email 127.0.0.1 1> /dev/null
4
5if [ $? == 0 ]; then
6 echo "DNS resolution is working!"
7 exit 0
8else
9 echo "DNS resolution is not working correctly..."
10 echo "Maybe check your outbound firewall, as it needs to resolve DNS over TCP AND UDP!"
11 exit 1
12fi