diff --git a/scripts/cloudron-support b/scripts/cloudron-support index a44bfd544..5b13e86f2 100755 --- a/scripts/cloudron-support +++ b/scripts/cloudron-support @@ -202,9 +202,9 @@ function send_diagnostics() { } function check_dns() { - if ! dig cloudron.io +short &>/dev/null; then + if ! host cloudron.io &>/dev/null; then fail "DNS is not resolving" - dig cloudron.io + host cloudron.io exit 1 fi @@ -228,9 +228,9 @@ function check_unbound() { exit 1 fi - if ! dig cloudron.io @127.0.0.150 +short &>/dev/null; then + if ! host cloudron.io 127.0.0.150 &>/dev/null; then fail "Unbound is not resolving, maybe try forwarding all DNS requests. You can do this by running 'cloudron-support --use-external-dns' option" - dig cloudron.io @127.0.0.150 + host cloudron.io 127.0.0.150 exit 1 fi