diff --git a/scripts/cloudron-support b/scripts/cloudron-support index 3426d1b0b..964c47381 100755 --- a/scripts/cloudron-support +++ b/scripts/cloudron-support @@ -14,10 +14,12 @@ readonly HELP_MESSAGE=" Cloudron Support and Diagnostics Tool Options: + --disable-dnssec Disable DNSSEC --enable-remote-access Enable SSH Remote Access for the Cloudron support team --send-diagnostics Collects server diagnostics and uploads it to ${PASTEBIN} --troubleshoot Dashboard down? Run tests to identify the potential problem --owner-login Login as owner + --use-external-dns Forwards all DNS requests to Google (8.8.8.8) and Cloudflare (1.1.1.1) DNS servers --help Show this message " @@ -203,6 +205,19 @@ EOF systemctl restart unbound } +function disable_dnssec() { + local -r $conf_file="/etc/unbound/unbound.conf.d/disable-dnssec.conf" + + echo "Disabling DNSSEC. To reenable it, please delete $conf and 'systemctl restart unbound'" + + cat > $conf_file <