mirror of
https://github.com/rclone/rclone.git
synced 2025-01-07 23:10:09 +01:00
docs: faq: clarify name resolver control
On Linux systems rclone builds with cgo but uses the internal Go resolver for DNS by default. This update the FAQ to suggest use of GODEBUG=netdns=cgo if there are name resolution problems on Linux/BSD (with CGO_ENABLED rebuild from source if necessary), or try GODEBUG=netdns=go on Windows/MacOS. See: #683
This commit is contained in:
parent
bd46f01eb4
commit
927e721a25
@ -190,9 +190,14 @@ If you are using `systemd-resolved` (default on Arch Linux), ensure it
|
|||||||
is at version 233 or higher. Previous releases contain a bug which
|
is at version 233 or higher. Previous releases contain a bug which
|
||||||
causes not all domains to be resolved properly.
|
causes not all domains to be resolved properly.
|
||||||
|
|
||||||
Additionally with the `GODEBUG=netdns=` environment variable the Go
|
The Go resolver decision can be influenced with the `GODEBUG=netdns=...`
|
||||||
resolver decision can be influenced. This also allows to resolve certain
|
environment variable. This also allows to resolve certain issues with
|
||||||
issues with DNS resolution. See the [name resolution section in the go docs](https://golang.org/pkg/net/#hdr-Name_Resolution).
|
DNS resolution. On Windows or MacOS systems, try forcing use of the
|
||||||
|
internal Go resolver by setting `GODEBUG=netdns=go` at runtime. On
|
||||||
|
other systems (Linux, \*BSD, etc) try forcing use of the system
|
||||||
|
name resolver by setting `GODEBUG=netdns=cgo` (and recompile rclone
|
||||||
|
from source with CGO enabled if necessary). See the
|
||||||
|
[name resolution section in the go docs](https://golang.org/pkg/net/#hdr-Name_Resolution).
|
||||||
|
|
||||||
### The total size reported in the stats for a sync is wrong and keeps changing
|
### The total size reported in the stats for a sync is wrong and keeps changing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user