Przeglądaj źródła

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

tags/v2.1.13^2
9seconds 2 miesięcy temu
rodzic
commit
9f12620dba
1 zmienionych plików z 12 dodań i 2 usunięć
  1. 12
    2
      example.config.toml

+ 12
- 2
example.config.toml Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz