this post was submitted on 18 Nov 2024
34 points (100.0% liked)

Selfhosted

40296 readers
179 users here now

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!

founded 1 year ago
MODERATORS
 

Hi everyone!

I want this to be my first post here over Lemmy.

Recently, I moved my domains from GoDaddy to OVH due to GD's policy changes that removes the ability of using its API for updating the IP of subdomains if you don't pay more or you don't have more than X domains with them.

When I looked up for methods or APIs to update the IP of my subdomains on OVH, I realised that all the methods that I found uses the the "DynHost" option from OVH, so you need to create another subdomain with credentials, that were the one you will update with your IP, and then associate that with your real A subdomain.

I'm more an API guy, so I made a quick research and found that OVH has also API endpoints that allows to update the IP of the subdomain(s) you want, as I was doing with GoDaddy and other providers.

So I made a real simple IP updater for OVH that uses this method! Feel free to comment, use or share, this is my real first opensource and selfhosted project and I want to learn :)

you are viewing a single comment's thread
view the rest of the comments
[–] poVoq@slrpnk.net 1 points 3 days ago

It does solve my problem in the sense that right now I need to configure each subdomain individually both in the OVH web-ui and then a second time on my firewall for the dyndns update. With a few dozen subdomains that is both annoying and easy to mess up accidentally.

If I can manage everything from env parameters in a single location that saves me a lot of hassle.