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 View context
3 points

$20/mo?! When free alternatives exist, why would anybody do this?

permalink
report
parent
reply
2 points
*

noip is supported by almost all consumer routers, so you’re probably paying for convenience. For homelabbers with a bit of scripting skill, it’s completely unnecessary though.

permalink
report
parent
reply
2 points

Emphasis on “a bit,” it truly is a simple task to automate. I don’t think that anyone who has need for dynamic DNS should realistically have much trouble tackling that problem.

For anyone who might attempt this and isn’t sure how, here’s what you need. You need a service controlling your domain with API support for updating your DNS records - some have been mentioned here, I just use gandi.net. You need to enable the API for your account/domain. Figure out how to run the command you need against the API from a scripting language of your choice - there should be documentation for the API, and it should be a single API call. Figure out how to determine your server IP from within the same scripting language. Then, write your simple script that determines the right IP and updates the record if it doesn’t match.

All you need to do then is automate running the script - on Linux, a cron job or a systemd service and timer.

permalink
report
parent
reply
1 point

Figure out how to determine your server IP from within the same scripting language.

My go to way to figure out my public IP address is curl ip.me. Very handy and easy to remember.

permalink
report
parent
reply
1 point

I am unaware of any free services that allow you to use your own domain.

permalink
report
parent
reply
1 point

I am unaware of any free services that allow you to use your own domain.

permalink
report
parent
reply
2 points
*

Several do, including afraid.org, which I use. Other similar services were recently discussed here in this thread.

permalink
report
parent
reply
1 point

Thank you for the info!

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.6K

    Posts

  • 81K

    Comments