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

Autocleanup of unused names #35

Open
BrainStone opened this issue Aug 8, 2019 · 2 comments
Open

Autocleanup of unused names #35

BrainStone opened this issue Aug 8, 2019 · 2 comments

Comments

@BrainStone
Copy link

Hi there.
First of thanks for this wonderful software. I've been desperately needing exactly this.

Anyways, what I would love to have is (an optional) way for the service to start cleaning up old entries. To give them a TTL for their existance. (Please don't use the TTL value for that. It should be a different one)
The main reason I'm asking for this is quite simple. We use this to identify devices. They all get their own unique ID and that's how we address them. Now the setup they are a part of is very volatile. Meaning that IP addresses get reassigned often. And devices get added and removed from the pool frequently too. This means that for a device that has been removed from the pool could still have a DNS entry. And a new device might have gotten that IP. So then instead of getting an error that the name cannot be resolved, we would connect to the wrong device without even knowing really.

I hope that request makes sense to you. And I also hope that it won't be too much work to implement.

@dstapp
Copy link
Owner

dstapp commented Nov 14, 2019

Hey, thanks for your feedback. The idea makes sense to me and I actually have a similar use-case for this. However, unfortunately I've been quite busy recently and I don't know when I will be able to implement this. If anyone would like to file a MR, I'd highly appreciate it.

@sgyurko
Copy link
Contributor

sgyurko commented Jan 12, 2020

Hi

I've implemented this feature and there's an open PR for it. In the mean time you (while it is not merged here) you can build it from my fork: https://github.com/sgyurko/docker-ddns

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

3 participants