Browse Source

Merge remote-tracking branch 'origin/stable' into v2

tags/v2.1.13
9seconds 2 months ago
parent
commit
fefc479f94
1 changed files with 12 additions and 2 deletions
  1. 12
    2
      example.config.toml

+ 12
- 2
example.config.toml View File

@@ -136,8 +136,18 @@ allow-fallback-on-unknown-dc = false
136 136
 # By default we use Cloudflare.
137 137
 #
138 138
 # DEPRECATED option:
139
-#  If dns option is specified, it will be used instead
140
-doh-ip = "1.1.1.1"
139
+#  If dns option is specified, it will be used instead. No default is defined
140
+#  anymore. But if you set this option, this is literally the same providing
141
+#  https:// URL to `dns`.
142
+#
143
+#  In other words:
144
+#
145
+#    doh-ip = "1.1.1.1"
146
+#
147
+# is literally the same as
148
+#
149
+#    dns = "https://1.1.1.1"
150
+# doh-ip = "1.1.1.1"
141 151
 
142 152
 # Starting from mtg v2.1.12 we have changed a configuration for DNS. Now it
143 153
 # supports DNS-over-HTTPS, DNS-over-TLS, custom UDP resolver and system

Loading…
Cancel
Save