TechnitiumSoftware / DnsServer

Technitium DNS Server
https://technitium.com/dns/
GNU General Public License v3.0
3.84k stars 400 forks source link

Cleanup Zone #835

Open Sysadminfromhell opened 5 months ago

Sysadminfromhell commented 5 months ago

Hello, me again :)

Got a quick question, is there a "Cleanup" Function? I mean I got a DHCP which gives out the Ip Addresses and register via DDNS the names of the clients but the "old" names always remains in the Zone. So that means if the client disconnects more then 1 Day the name still can be resolved after the 24 Hours (DHCP Lease time). Is there a function to call that (even via DHCP)?

Kind regards,

Sysadminfromhell commented 5 months ago

In additional question is which DDNS Style is allowed? https://kb.isc.org/docs/aa-01091

Interm or standard? I guess there is where to problem sits maybe. The DHCP is currently configured to do the updates via interm.

ShreyasZare commented 5 months ago

Thanks for the post. The DHCP server that you are using is supposed to do the "cleanup" by removing the DNS entry when a lease expires. The DNS server does not know anything about the client lease so it cannot take any action on its own.

In additional question is which DDNS Style is allowed?

I am not sure about it.

Sysadminfromhell commented 5 months ago

I guess the cleanup isnt working properly due the fact of interm maybe. I will switch it to standard and see if it works or not.