Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Force IP Update periodically optionally #780

Open
killerbigpoint opened this issue Aug 1, 2024 · 6 comments
Open

Feature request: Force IP Update periodically optionally #780

killerbigpoint opened this issue Aug 1, 2024 · 6 comments

Comments

@killerbigpoint
Copy link

  1. What's the feature?
    Been using Noip on the free plan for a while now. Now the problem is that after 30 days of "inactivity" without any IP record updates it will auto delete your dns. Have an option to force update every like 7 days or so, so it can keep operating.

  2. Extra information?
    Since I use truenas for this, maybe an enviroment option would be nice too but that's up to you

@qdm12 qdm12 changed the title Feature request: Force IP Update Feature request: Force IP Update periodically optionally Aug 7, 2024
@Mixa84
Copy link

Mixa84 commented Sep 29, 2024

👍 for this one. I'm also using NoIP free plan and if there is no ip change then there is no update so need to confirm my host via email link from NoIP periodically.

Also using TrueNAS Scale so it would be good to be environment variable or even and option in TrueNAS pod setup.

@bentemple
Copy link
Collaborator

bentemple commented Oct 16, 2024

👍 for this one. I'm also using NoIP free plan and if there is no ip change then there is no update so need to confirm my host via email link from NoIP periodically.

Can either of you verify that a manual update with the same IP does in-fact reset that clock? I ask because they're (imo) trying to dis-incentivize using the free plan, so it's probably worth confirming that an update even if it's the same IP, does in-fact reset the "confirm you're using this" clock. I could also see it having no impact because the IP is the same. If it does reset that clock, then this makes a lot of sense to me.

@Mixa84
Copy link

Mixa84 commented Oct 21, 2024

I'm looking at my emails to confirm the hostname and the period of them is not symmetric so not sure how will I check if it works. But also on the other side, how do I do manual update from DDNS Updater (I'm using it on TrueNAS) ?

@qdm12
Copy link
Owner

qdm12 commented Oct 21, 2024

Can either of you verify that a manual update with the same IP does in-fact reset that clock?

Yep that would be great. I'm ready to jump in implement this but that's going to be a few hours of programming, it would be nice if someone can confirm sending an update with the existing ip on record does the trick. Otherwise we could update to the localhost ip address for a hot second amd update back to the actual public ip address, but I would prefer to avoid that.

@bentemple
Copy link
Collaborator

bentemple commented Oct 23, 2024

But also on the other side, how do I do manual update from DDNS Updater (I'm using it on TrueNAS) ?

I don't believe you'll be able to with ddns-updater, since even if you delete your config, it is going to check the DNS, realize it's set correctly and no-op (I think). You'd need to manually hit their API. A quick curl command should suffice (api docs):

curl https://$NOIPUSER:[email protected]/nic/update?hostname=$NOIPHOST&myip=$MYIP"

Where NOIPUSER, NOIPPASS, NOIPHOST, and MYIP are set to relevant values.

Looking at the NO-IP website, I don't think setting the DNS IP again is going to reset the clock. If it does, then great, we can leverage that, but otherwise won't really matter...:

screenshot_2024-10-22-2257 47

They specifically are pushing people to the $1.99 a month tier and require a monthly email confirmation every 30 days for the free tier. Frankly I'd recommend just going and buying a cheap domain on porkbun for 10 years, and that'll come out to being less than $1 a month for many TLDs (.dev, .xyz, .com) Then you'll have your own domain instead of a sub-domain of no-ip, and you get "free" ddns

@Mixa84
Copy link

Mixa84 commented Oct 23, 2024

You are probably right, as when I had their updater installed on the machine I still needed to confirm the hostname.

But on the other side, if sometime there is time to do this maybe it would be useful for some DDNS providers to just periodically repeat setting the IP.

Thnx anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants