@ShortN0te@lemmy.ml
link
fedilink
English
19d

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.

@merthyr1831@lemmy.ml
link
fedilink
English
29d

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

Matt The Horwood
link
fedilink
English
19d

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

Shimitar
link
fedilink
English
3
edit-2
9d

And then the flying donkeys appeared in the sky with golden ribbons on the tails…

Seriously… If it where so easy to do…

Cloudflarw tunnels or tailscale is probably the best approximation

@werefreeatlast@lemmy.world
creator
link
fedilink
English
-19d

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.

Zarlin
link
fedilink
English
39d

You are roughly describing how Tailscale functions, give it a look

@just_another_person@lemmy.world
link
fedilink
English
2
edit-2
9d

It’s called a hosts file

This is a stupid solution though.

You really want a local DNS forwarder. There’s a ton. Dnsmasq being one of the most widely deployed. Your router probably runs it and has the ability to set static DNS entries from DHCP as well.

@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.

Create a post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 118 users / day
  • 548 users / week
  • 1.39K users / month
  • 3.89K users / 6 months
  • 1 subscriber
  • 4.17K Posts
  • 86.7K Comments
  • Modlog