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

What About DNS Entries Whose DHCP Leases Have Expired? #26

Open
nobozo opened this issue Aug 23, 2018 · 1 comment
Open

What About DNS Entries Whose DHCP Leases Have Expired? #26

nobozo opened this issue Aug 23, 2018 · 1 comment

Comments

@nobozo
Copy link

nobozo commented Aug 23, 2018

I get what you're doing, and it's a great idea. But, if I'm understanding correctly, as the leases file grows, so will be number of DNS entries in the zone. What about when a DHCP lease expires. At a (very) quick glance I didn't see any way for DNS entries to be removed. Did I miss it?

@gclayburg
Copy link
Owner

Boy, its been a while since I looked at this, but I believe that gets handled. If it doesn't work for you, we should fix it obviously. If I remember right, the dynamic DNS entries are added with a ';dynamic' comment. Those are removed before each update and added again from what ever was in the leases file. So if the leases file is accurate, DNS should be updated as long as these scripts run.

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

2 participants