Syncthing DNS Selfhosting
-
So it occurred to me that sync thing was so easy to setup between devices and that I don't care much for having an actual fully qualified domain name. So my question is, could someone please write some sort of server where I can just access my various music, photoprism, caliber, etc without actually having my computer DNSd at cloud flare?
I don't mean like a script that sends my new IP to a proxy or something. I mean more like a Firefox extension maybe where I input a big ol hash and it magically knows how to communicate to my computer and serve the websites to my phone or other computer?
Please? Or does that already exist? I recall the matrix app was sort of similar to that. Kind of..
-
S [email protected] shared this topic
-
And then the flying donkeys appeared in the sky with golden ribbons on the tails...
-
I mean sure, but syncthing is able to communicate back and forth between host/clients. Why couldn't an HTTP port 80 app be made to do the same. Like a DNS free service sort of thing.
-
you can get free dns services via loads of services. I use freedna.afraid.org.
You just add a script to your server's cronjobs that pings the server with the given info when you set it up and your server will be accessible via its domain name within 24hrs.
There's loads of tutorials on dynamic dns (ddns) that you can use
-
You are roughly describing how Tailscale functions, give it a look
-
@werefreeatlast I do this with yggdrasil. Every yggdrasil host gets its own unique private IPv6 address (routeable only to other yggdrasil hosts). As long as you have a single yggdrasil host that's located in public (I use a VPS for this), you can reach any of the yggdrasil hosts from any of the other ones via their IPv6 address. I then map those addresses with DNS, so I don't have to ever type them.
-
Im not sure I understand your issue, DNS is the magic that allows you to goto home.somedomain.com and get a webpage. But you still need to give DNS the location of the server, much like the contacts in your phone.
DDNS is how you have your home connection attached to a DNS record that is updated when the IP changes, see other comments.
Also once you understand how it all hangs together, you can do some really cool magic to make getting to your services easier
-
I am not understanding the issue you have with DNS?
Just have a script that updates the DNS entry to your current public IP.
If you do not like Cloudflare there are plenty of other services that offer a free API with their DNS service.I think you are misunderstanding something here.
-
It's called a hosts file