Did you try what Zoki said?
Yes, tried that last time and checked again to be sure, same result. Everyone can resolve the IP of relays.syncthing.net, except that second "try" of nslookup from the container.
Code
>> docker exec -it syncthing ping relays.syncthing.net
PING relays.syncthing.net (82.196.13.137): 56 data bytes
64 bytes from 82.196.13.137: seq=0 ttl=52 time=71.149 ms
64 bytes from 82.196.13.137: seq=1 ttl=52 time=63.645 ms
64 bytes from 82.196.13.137: seq=2 ttl=52 time=66.962 ms
^C
--- relays.syncthing.net ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 63.645/67.252/71.149 ms
>> ping relays.syncthing.net
PING relays.syncthing.net (82.196.13.137) 56(84) bytes of data.
64 bytes from web.syncthing.net (82.196.13.137): icmp_seq=1 ttl=53 time=79.4 ms
64 bytes from web.syncthing.net (82.196.13.137): icmp_seq=2 ttl=53 time=75.1 ms
64 bytes from web.syncthing.net (82.196.13.137): icmp_seq=3 ttl=53 time=80.2 ms
^C
--- relays.syncthing.net ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 7ms
rtt min/avg/max/mdev = 75.099/78.226/80.231/2.263 ms
>> docker exec -it syncthing nslookup relays.syncthing.net
Server: 208.67.220.220
Address: 208.67.220.220:53
Non-authoritative answer:
Name: relays.syncthing.net
Address: 82.196.13.137
Non-authoritative answer:
*** Can't find relays.syncthing.net: No answer
>> nslookup relays.syncthing.net
Server: 208.67.220.220
Address: 208.67.220.220#53
Non-authoritative answer:
Name: relays.syncthing.net
Address: 82.196.13.137
Alles anzeigen
As for the other question, no there aren't other services listening on port 22000; as soon as I restart the container, the usual ports pop up:
Code
BEFORE:
>> docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS
6113f7205fd5 lscr.io/linuxserver/syncthing "/init" 2 hours ago Exited (0) About a minute ago
PORTS NAMES
syncthing
AFTER:
>> docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS
6113f7205fd5 lscr.io/linuxserver/syncthing "/init" 2 hours ago Up 4 minutes
PORTS NAMES
0.0.0.0:8384->8384/tcp, 0.0.0.0:21027->21027/udp, :::8384->8384/tcp, :::21027->21027/udp, 0.0.0.0:22000->22000/tcp, :::22000->22000/tcp, 0.0.0.0:22000->22000/udp, :::22000->22000/udp syncthing
Alles anzeigen