Yes, similar to the video guide, I set up a wildcard CNAME record to point to <machine>.<tailnet>.net.
Comment on Tailscale + public domain
baduhai@sopuli.xyz 2 months ago
Have you pointed your DNS record to your tailscale IP? I have the exact setup you describe, and it works fine.
marci@lemmy.world 2 months ago
baduhai@sopuli.xyz 2 months ago
I see. I dont know if that works, as I haven’t done that, but what worked for me was pointing to the tailnet IP, not the tailnet domain, then disabling expiry for my server on the tailscale dashboard so my IP would stay the same.
colonelp4nic@lemmy.world 2 months ago
This approach largely works, with the caveat that it then requires you to always be on the tailnet. If someone wants to connect locally AND via tailnet using the same URL, they’ll need to push/advertise routes (or do some other hacky thing)
marci@lemmy.world 2 months ago
I don’t have a problem to always be on the tailnet with my client devices, but it does not work even for this case.
Asparagus0098@sh.itjust.works 2 months ago
If you run adguard home it’s pretty easy. Just add a DNS rewrite to your local IP.
Image
baduhai@sopuli.xyz 2 months ago
Yes, in order to access my domain on my local network, I have my pihole instance point the domain to my server’s local IP.