mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-10-26 11:27:18 +00:00
dnsforward: imp docs
This commit is contained in:
parent
af87eb8441
commit
4c43bd91ad
@ -203,7 +203,8 @@ type TLSConfig struct {
|
||||
|
||||
// DNSCryptConfig contains the configuration settings for a DNSCrypt server.
|
||||
type DNSCryptConfig struct {
|
||||
// ResolverCert is the certificate used for DNSCrypt connections.
|
||||
// ResolverCert is the certificate used for DNSCrypt connections. It is not
|
||||
// nil if there is at least one UDP or TCP address present.
|
||||
ResolverCert *dnscrypt.Cert
|
||||
|
||||
// UDPListenAddrs are the addresses to listen on for DNSCrypt UDP
|
||||
@ -214,7 +215,8 @@ type DNSCryptConfig struct {
|
||||
// connections.
|
||||
TCPListenAddrs []*net.TCPAddr
|
||||
|
||||
// ProviderName is the name of the DNSCrypt provider.
|
||||
// ProviderName is the name of the DNSCrypt provider. It is not empty if
|
||||
// there is at least one UDP or TCP address present.
|
||||
ProviderName string
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user