Commit a86bd6a0 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Enable the interception of dns requests for other servers by default. This...

Enable the interception of dns requests for other servers by default. This should be done because chrome relies on async dns which would otherwise ignore the system's dns server.
parent ec0c1aca
......@@ -221,7 +221,7 @@ class AppSettingsSharedPreferences(context: Context) : AppSettings, SimpleTypedP
override var userServers: Set<UserServerConfiguration> by cache(UserServerConfigurationPreference(
"user_servers"
) { mutableSetOf() }, cacheControl)
override var catchKnownDnsServers: Boolean by booleanPref("catch_known_servers", false)
override var catchKnownDnsServers: Boolean by booleanPref("catch_known_servers", true)
override var dummyDnsAddressIpv4: String by stringPref("dummy_dns_ipv4", "203.0.113.244")
override var dummyDnsAddressIpv6: String by stringPref("dummy_dns_ipv6", "fd21:c5ea:169d:fff1:3418:d688:36c5:e8c2")
override val defaultBypassPackages: Set<String> by cache(restrictedCollection(
......
......@@ -193,7 +193,7 @@
android:key="catch_known_servers"
android:title="@string/title_catch_other_dns_servers"
android:summary="@string/summary_catch_other_dns_servers"
android:defaultValue="false"/>
android:defaultValue="true"/>
<CheckBoxPreference
android:key="bypass_searchdomains"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment