DNS Error log message question

What is the problem you are having with rclone?

My System lost connection to the DNS server, now i have a question to the error message.

What is your rclone version (output from rclone version)

1.49.5

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Synology (linux based 64bit)

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 copy ...

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2020/01/20 02:30:43 ERROR : XXXXXXXX: Failed to copy: couldn't list directory: Get https://www.

googleapis.com/drive/v3/files?XXXXXXX: Post https://oauth2.googleapis.com/token: dial tcp: lookup oauth2.googleapis.com on 192.168.0.1:53: read udp 192.168.0.1:42750->192.168.0.1:53: read: connection refused

So my Synology NAS tries to lookup for oauth2.googleapis.com on 192.168.0.1:53, check,
but what does read udp 192.168.0.1:42750->192.168.0.1:53 mean ? Source -> Destination? But why 192.168.0.1 as source?

This is no problem with rclone, i only want to understand the log message. Any hints?

It is trying to make a DNS request on the same machine is has a configure DNS server on.

The source is always the client requesting something and the destination is where it is going to.

So in this case, the client is also configured as DNS server.

The DNS requesting machine, rclone running on it (Synology NAS) use the IP 192.168.0.2. So why should this machine use the 192.168.0.1 as source and not it's own IP 192.168.0.2 ?

Are you seeing any traffic from 192.168.0.2 ? How are you capturing the traffic?

Capturing with tcpdump.

15:37:55.701672 IP 192.168.0.1.55142 > 192.168.0.1.domain: 7939+ A? oauth2.googleapis.com. (39)

Solved, my problem was a docker one.
I created a docker network on my NAS, 192.168.0.0/24 (which is also my net-id for the whole network) with using adresses in the last /26 block and gateway 192.168.0.1. There where no container in this network but it seems my NAS uses this Gateway address as source address for requests.

192.168.0.0/24 dev ovs_eth0  proto kernel  scope link  src 192.168.0.2 
192.168.0.0/24 dev docker-20637f11  proto kernel  scope link  src 192.168.0.1

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.