-
The rich text documentation for the configuration format lists As for the SNI hostname, is specifying |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The
The following three configurations are actually the same.
These parameters are also the same for
|
Beta Was this translation helpful? Give feedback.
-
This is related to TLS verification. Some server certificates do not have an IP address, which causes the verification to fail when connecting using the IP address. At this time, you have to specify the hostname to pass the authentication. |
Beta Was this translation helpful? Give feedback.
The
-host-ip
parameter is used to explicitly set the IP address to the upstream server to avoid bootstrap query, similar to /etc/hosts.For example,
server-tls dns.google -host-ip=1.2.3.4
actually same asserver-tls 1.2.3.4 -hostname dns.google
-host-name
corresponds to the hostname of tls, which is SNI.set
-host-name
to-
actually lets smartdns query without setting SNI, the parameter takes effect on DOT and DOH servers.For daily use, most of these parameters will be set according to the domain name. Just configure the upstream server using the URL format, such as
The following three configurations are actually the same.
server tls:…