You are not logged in.
Hi there all. I recently set up a home server. It is connected via ethernet to the router directly.
I have Dynamic DNS configured via no-ip service, and that dynamic DNS address points to the subdomain I have assigned to the homeserver via a CNAME record with my DNS registrar. I also have port forwarding set up on the router to forward an external port to the internal IP of my server.
When connecting locally, i.e on the same network as the home server, I am perfectly able to connect using the subdomain and the port. However, when I use a network outside that which hosts the server, I get the following error:
ssh: Could not resolve hostname server.placeholder.tld: Name or service not known
Additionally, when pinging the DNS domain for the server externally, I have 100% packet loss. I can add anything needed, but I'm stumped.
Thank you and warm regards
-Mia
Mia McKeown - she/her - miamckeown@pm.me
"Praise then darkness, and creation unfinished."
Offline
Did you just recently assign the public hostname? If so, it may take a couple of hours, up to even a day or so, until the DNS entry is propagated throughout the DNS servers.
Last edited by schard (2025-01-16 09:38:21)
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
When connecting locally, i.e on the same network as the home server, I am perfectly able to connect using the subdomain and the port. However, when I use a network outside that which hosts the server, I get the following error:
ssh: Could not resolve hostname server.placeholder.tld: Name or service not known
Additionally, when pinging the DNS domain for the server externally, I have 100% packet loss. I can add anything needed, but I'm stumped.
Sounds like your global name resolution is broken. When local name resolution happens, that is, when you connect from the same network, everything works fine.
This is probably because your router is running some sort of the name resolution and doesn't relay all requests to the DNS? Though, yes, this request is probably getting resolved locally.
Offline