From b28a5f12938bfc6b287a66cb7fd5ee0bbc1aca5d Mon Sep 17 00:00:00 2001 From: itdoginfo Date: Fri, 7 Mar 2025 14:46:22 +0300 Subject: [PATCH] New default TTL=60, DOH=8.8.8.8 --- .../htdocs/luci-static/resources/view/podkop/podkop.js | 4 ++-- podkop/files/etc/config/podkop | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js index d5a56ae..d20b5f8 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js @@ -827,7 +827,7 @@ return view.extend({ o.value('dns.adguard-dns.com', 'AdGuard Default (dns.adguard-dns.com)'); o.value('unfiltered.adguard-dns.com', 'AdGuard Unfiltered (unfiltered.adguard-dns.com)'); o.value('family.adguard-dns.com', 'AdGuard Family (family.adguard-dns.com)'); - o.default = '1.1.1.1'; + o.default = '8.8.8.8'; o.rmempty = false; o.ucisection = 'main'; o.validate = function (section_id, value) { @@ -856,7 +856,7 @@ return view.extend({ }; o = mainSection.taboption('additional', form.Value, 'dns_rewrite_ttl', _('DNS Rewrite TTL'), _('Time in seconds for DNS record caching (default: 600)')); - o.default = '600'; + o.default = '60'; o.rmempty = false; o.ucisection = 'main'; o.validate = function (section_id, value) { diff --git a/podkop/files/etc/config/podkop b/podkop/files/etc/config/podkop index 00fa3dd..35e2238 100644 --- a/podkop/files/etc/config/podkop +++ b/podkop/files/etc/config/podkop @@ -32,6 +32,6 @@ config main 'main' option dont_touch_dhcp '0' option update_interval '1d' option dns_type 'doh' - option dns_server '1.1.1.1' - option dns_rewrite_ttl '600' + option dns_server '8.8.8.8' + option dns_rewrite_ttl '60' option cache_file '/tmp/cache.db' \ No newline at end of file