Tunnel connection to docker container

So I am a newbie here and I wanted to set up a Cloudflare tunnel to my docker instance on my synology nas. I have purchased a domain name and it is registered active on my Cloudflare account. Using the zero trust dashboard I began to create a tunnel…I gave it a name and chose the location to install the cloudflared tunnel connector…I chose docker….I coped the command line that was generated and I ssh-ed into my synology…I pasted the command line but got the following errors…

2022-05-15T12:18:48Z INF Starting tunnel tunnelID=1a20eccb-7d05-47ce-a201-306b55804e7a

2022-05-15T12:18:48Z INF Cannot determine default configuration path. No file [config.yml config.yaml] in [~/.cloudflared ~/.Cloudflare-warp ~/Cloudflare-warp /etc/cloudflared /usr/local/etc/cloudflared]

2022-05-15T12:18:48Z INF Version 2022.5.1

2022-05-15T12:18:48Z INF GOOS: linux, GOVersion: go1.17.1, GoArch: amd64

2022-05-15T12:18:48Z INF Settings: map[no-autoupdate:true token:*****]

2022-05-15T12:18:48Z INF Generated Connector ID: ef86adc2-d847-421d-8b66-8682b53140fa

2022-05-15T12:18:48Z INF Will be fetching remotely managed configuration from Cloudflare API. Defaulting to protocol: quic

2022-05-15T12:18:48Z INF Initial protocol quic

2022-05-15T12:18:48Z INF Starting metrics server on [127.0.0.1 40740/metrics](http //127.0.0.1 40740/metrics)

2022-05-15T12:18:58Z ERR update check failed error=“Get "[https // update. argotunnel com?arch=amd64&clientVersion=2022.5.1&os=linux](https //update. argotunnel com/?arch=amd64&clientVersion=2022.5.1&os=linux%5C)”: dial tcp: lookup [update.argotunnel com](http//update.argotunnel com/) on [192.168.1.1 53](http // 192.168.1.1 53/): read udp 172.17.0.5:42049->[192.168.1.1 53](http // 192.168.1.1 53/): i/o timeout"

2022-05-15T12:19:08Z ERR Error looking up Cloudflare edge IPs: the DNS query failed error=“lookup origintunneld.[tcp. argotunnel com](http //tcp. argotunnel com/) on [192.168.1.1:53](http // 192.168.1.1 53/): read udp 172.17.0.5:59243->[192.168.1.1 53](http // 192.168.1.1 53/): i/o timeout”

2022-05-15T12:19:08Z ERR Please try the following things to diagnose this issue:

2022-05-15T12:19:08Z ERR 1. ensure that [argotunnel. com](http //argotunnel com/) is returning “origintunneld” service records.

2022-05-15T12:19:08Z ERR Run your system’s equivalent of: dig srv origintunneld.[tcp. argotunnel com](http //tcp. argotunnel com/)

2022-05-15T12:19:08Z ERR 2. ensure that your DNS resolver is not returning compressed SRV records.

2022-05-15T12:19:08Z ERR See GitHub issue https //github com/golang/go/issues/27546

2022-05-15T12:19:08Z ERR For example, you could use Cloudflare’s 1.1.1.1 as your resolver:

2022-05-15T12:19:08Z ERR https //developers. Cloudflare com/1.1.1.1/setting-up-1.1.1.1/

2022-05-15T12:19:08Z INF Tunnel server stopped

2022-05-15T12:19:08Z ERR Initiating shutdown error=“Could not lookup srv records on origintunneld.[tcp. argotunnel com](http //tcp. argotunnel com/): lookup origintunneld.[tcp.argotunnel com](http //tcp.argotunnel com/) on [192.168.1.1 53](http // 192.168.1.1 53/): read udp 172.17.0.5:59243->[192.168.1.1 53](http // 192.168.1.1 53/): i/o timeout”

2022-05-15T12:19:08Z INF Metrics server stopped

Could not lookup srv records on origintunneld.[tcp.argotunnel com](http //tcp. argotunnel com/): lookup origintunneld.[tcp.argotunnel com](http //tcp. argotunnel com/) on [192.168.1.1 53](http // 192.168.1.1 53/): read udp 172.17.0.5 59243->[192.168.1.1 53](http // 192.168.1.1 53/): i/o timeout

Any suggestions on how to fix this? I did find an older post with this issue and the resolution seems to install a cloudflared version that is no longer recommended. I appreciate the help offered from the community.

It looks.loke your NAS does not have DNS working properly. Confirm you can resolve domain names when you ssh into the console

ping tcp.argotunnel com