From d58f82955384887a43847c33c448841349f0436e Mon Sep 17 00:00:00 2001 From: quindecim <49964366+quindecim@users.noreply.github.com> Date: Fri, 4 Nov 2022 00:06:03 +0100 Subject: [PATCH] Auto-disable Private DNS mode during installation --- CHANGELOG.md | 3 +++ customize.sh | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index dc7ece3..79a23ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog ## unreleased +### Added +- Script in `customize.sh` file for automatically disable Private DNS feature. + ### Removed - `sgp-dn53` resolver (unresponsive). diff --git a/customize.sh b/customize.sh index c902299..64823e5 100644 --- a/customize.sh +++ b/customize.sh @@ -58,6 +58,10 @@ ui_print "* Setting up the right permissions to the dnscrypt-proxy binary file." set_perm_recursive $MODPATH 0 0 0755 0755 set_perm $MODPATH/system/bin/dnscrypt-proxy 0 0 0755 +# Set Private DNS mode off +ui_print "* Disabling Private DNS mode." +settings put global private_dns_mode off + # Cleanup unneeded binary files ui_print "* Cleaning up the unnecessary files." rm -r $MODPATH/binary