瀏覽代碼

More details on DOH-IP option

tags/v2.1.13^2^2
9seconds 2 月之前
父節點
當前提交
23aa2eefad
共有 1 個檔案被更改,包括 11 行新增1 行删除
  1. 11
    1
      example.config.toml

+ 11
- 1
example.config.toml 查看文件

@@ -136,7 +136,17 @@ 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
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"
140 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

Loading…
取消
儲存