Server: [Looks like a local IP address]
Address: [Looks like a local IP address]
This means your Linux desktop is resolving against a local DNS server somehow (that “looks like a local IP address” is your local DNS server or some other mechanism that responds to the DNS queries. DDNS client? Your router? How is it possible you have a local DNS server and not know about this?
It’s puzzling. Like I said earlier: some bits of information about your setup are missing from this discussion.
What is even more puzzling is that 8.8.8.8 can’t resolve your domain on the public side. If that domain is registered with a public DDNS service then 8.8.8.8 should be able to resolve it.
This is looking more than a typical “split DNS” thing, but some sort of misconfiguration.
Your local nslookup request should use your ISPs DNS or some other public DNS, why is it using a local IP for DNS resolution?
So, check the IP settings on your Linux box, something like ip -c a to see what DNS server it’s using.
Consider using a real DDNS service such as No-IP or DynDNS instead of TPLink’s possibly half-baked solution.
Install a local DNS server, like Pi-Hole or AdGuard. AdGuard is easier and since you’re tinkering with Linux you should find it trivial to install. It’s just a standalone executable you run from /opt and a single config file, easiest thing under the sun.
Then do two things:
-
Set your DNS on your Linux PC to 1.1.1.1 (Cloudflare as 8.8.8.8 is Google’s and it can be a mixed bag) and see if then nslookup resolves your server domain properly. Then try connecting to your Nextcloud server from the PC. If your domain IS resolved properly to your public IP AND you CAN connect to your Nextcloud then the problem is not “split DNS” and, if it works now, this is it, you’re done, problem solved. However, if the domain IS resolved properly BUT you CAN’T connect to your Nextcloud then the problem is indeed “split DNS” and then go to #2.
-
Set the DNS on your Linux PC to your local DNS, you’ve just set up, or, alternatively (if you don’t want to mess with a local DNS), add the server’s IP and domain to your hosts file. Now run nslookup - it should resolve your domain name to the actual, local IP of your server - now try to connect to your Nextcloud, it should work fine now, as it will connect directly to the local IP bypassing your public IP/name altogether.
Congratulations on your new baby ![]()
