rclone: tcp lookup www.googleapi.com no such host
When filing an issue, please include the following information if possible as well as a description of the problem. Make sure you are using the latest version of rclone.
What is your rclone version (eg output from
rclone -V) 1.33Which OS you are using and how many bits (eg Windows 7, 64 bit) Linux (ArchLinux 64 September 2016)
Which cloud storage system are you using? (eg Google Drive) Google Drive
The command you were trying to run (eg
rclone copy /tmp remote:tmp) rclone lsdA log from the command with the
-vflag (eg output fromrclone -v copy /tmp remote:tmp) rclone -v lsd my_remote: 2016/09/05 15:07:01 rclone: Version “v1.33” starting with parameters [“/opt/rclone/rclone” “-v” “lsd” “my_remote:”] 2016/09/05 15:07:01 Failed to create file system for “my_remote:”: couldn’t read info about Drive: Get https://www.googleapis.com/drive/v2/about?alt=json: dial tcp: lookup www.googleapis.com on 127.0.0.53:53: no such host
Hello,
When using last systemd-resolved resolver (systemd v231), rclone failed to resolve www.googleapis.com. The /etc/resolv.conf looks like (/usr/lib/systemd/resolv.conf) : nameserver 127.0.0.53
The /etc/nsswitch.conf : hosts: files resolve myhostname
When switching to real DNS server in /etc/resolv.conf, no more problem.
Thanks.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 34 (19 by maintainers)
Commits related to this issue
- FAQ: env vars for SSL root certs and DNS resolver Added section to FAQ about environment variables, which allow to control location of SSL root certificate as well as DNS resolver used. see also com... — committed to breml/rclone by breml 6 years ago
- FAQ: env vars for SSL root certs and DNS resolver Added section to FAQ about environment variables, which allow to control location of SSL root certificate as well as DNS resolver used. see also com... — committed to rclone/rclone by breml 6 years ago
- 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 ... — committed to rclone/rclone by drew-parsons a year ago
Done, #6899