mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 10:24:40 +01:00
Nits
This commit is contained in:
parent
d7ec318945
commit
e91ce9eb3d
2 changed files with 9 additions and 2 deletions
|
@ -14,6 +14,7 @@
|
|||
## List of servers to use
|
||||
## If this line is commented, all registered servers matching the require_* filters
|
||||
## will be used
|
||||
## The proxy will automatically pick the fastest, working servers from the list.
|
||||
|
||||
# server_names = ['scaleway-fr', 'google', 'yandex']
|
||||
|
||||
|
@ -40,7 +41,7 @@ ipv6_servers = false
|
|||
|
||||
## Require servers defined by remote sources to satisfy specific properties
|
||||
|
||||
# Server must support DNS security extensions
|
||||
# Server must support DNS security extensions (DNSSEC)
|
||||
require_dnssec = false
|
||||
|
||||
# Server must not log user queries (declarative)
|
||||
|
@ -275,6 +276,12 @@ format = 'tsv'
|
|||
## avoid collisions if different sources share the same for
|
||||
## different servers. In that case, names listed in `server_names`
|
||||
## must include the prefixes.
|
||||
##
|
||||
## A cache file can be specified without a URL in order to maintain lists
|
||||
## locally.
|
||||
##
|
||||
## The default format is "v2".
|
||||
## format='v1' loads CSV files from dnscrypt-proxy 1.x instead.
|
||||
|
||||
[sources]
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ func NewServerStampFromString(stampStr string) (ServerStamp, error) {
|
|||
return ServerStamp{}, errors.New("Unsupported stamp version or protocol")
|
||||
}
|
||||
|
||||
// id(u8)=0x02 props addrLen(1) serverAddr pkStrlen(1) pkStr providerNameLen(1) providerName
|
||||
// id(u8)=0x01 props addrLen(1) serverAddr pkStrlen(1) pkStr providerNameLen(1) providerName
|
||||
|
||||
func newDNSCryptServerStamp(bin []byte) (ServerStamp, error) {
|
||||
stamp := ServerStamp{proto: StampProtoTypeDNSCrypt}
|
||||
|
|
Loading…
Add table
Reference in a new issue