I got a homelab, at the moment I am only running some local stuff and tailscale to reach my stuff remotely.

I can use tailscales ddns, but I would like a real domain. Is there a domain registrator that works with dynamic ips? Or do I need to use a CNAME instead of A record?

You are viewing a single thread.
View all comments

It really depends on the company that you use to manage the domainā€™s DNS. As long as they have an API to update DNS recordsā€¦

For example, I can have my domain at Porkbun and have its DNS managed at Cloudflare. Cloudflare allows updating DNS records via APIā€¦so thereā€™s programs to update it. Some routers even support it.

Worst case, you can set up a service like duckdns and have your domain, via cname, point to the duck DNS subdomain.

Thereā€™s options.

permalink
report
reply
2 points

I think using the cloudflare API is the way to go. You could probably set up an internal service that translates your home routerā€™s dyndns request to a cloudflare API call.

permalink
report
parent
reply
1 point

Only if you had root access to your router. Itā€™s a lot easier to write or find a very simple update script and schedule it to run every now and then via crontab.

permalink
report
parent
reply
1 point

The daemon script is simpler, true. but usually you can just point your router at some dyndns URL and you could put an internal IP for that.

permalink
report
parent
reply
5 points

Porkbun also has an api for updating records.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create 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!

Community stats

  • 4.9K

    Monthly active users

  • 3.9K

    Posts

  • 84K

    Comments