Skip to content

Commit 9f5d412

Browse files
committed
conf: update config file.
1 parent 7ee2e1e commit 9f5d412

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

etc/smartdns/smartdns.conf

+3-3
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ log-level info
268268
# -bootstrap-dns: set as bootstrap dns server.
269269
# Get SPKI with this command:
270270
# echo | openssl s_client -quic -alpn doq -connect '[ip]:853' | openssl x509 -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64
271-
# default port is 853
271+
# default port is 443
272272
# server-http3 https://223.5.5.5/dns-query
273273
# server-h3 h3://223.5.5.5/dns-query
274274

@@ -435,10 +435,10 @@ log-level info
435435

436436
# load plugin
437437
# plugin [path/to/file] [args]
438-
# plugin /usr/libsmartdns-ui.so --p 8080 -i 0.0.0.0 -r /usr/share/smartdns/wwwroot
438+
# plugin /usr/lib/libsmartdns-ui.so --p 8080 -i 0.0.0.0 -r /usr/share/smartdns/wwwroot
439439
# smartdns-ui.www-root /usr/share/smartdns/wwwroot
440440
# smartdns-ui.ip http://0.0.0.0:6080
441-
# smartdns-ui.token-expire 3600000000
441+
# smartdns-ui.token-expire 600
442442
# smartdns-ui.token-secret 123456
443443
# smartdns-ui.enable-terminal yes
444444
# smartdns-ui.enable-cors yes

0 commit comments

Comments
 (0)