π ~2 min read
Table of contents
Symptom & Impact
Active servers intermittently disappear from DNS because scavenging removes records still in use. Applications fail to resolve service endpoints, causing avoidable outages. Manual record recreation becomes a recurring operational burden.
Environment & Reproduction
Usually appears when no-refresh/refresh intervals are too aggressive relative to DHCP lease and registration cadence. Reproduce by shortening scavenging windows in a test zone and delaying client registration. Valid records can be scavenged.
Get-DnsServerScavenging
Get-DnsServerZoneAging -Name corp.local
Get-DnsServerResourceRecord -ZoneName corp.local -Name app01
Root Cause Analysis
The issue is interval mismatch between DNS aging policy and client refresh behavior. If timestamp updates lag policy windows, records look stale and are deleted. In AD-integrated zones this can impact broad service discovery.
Quick Triage
Check zone aging settings and whether affected records are static or dynamically registered. Verify client registration cadence and DHCP lease duration. Review DNS audit events around deletion times.
Get-WinEvent -LogName 'DNS Server' -MaxEvents 60
Get-DnsServerResourceRecord -ZoneName corp.local -RRType A | Select HostName,Timestamp -First 20
ipconfig /registerdns
Step-by-Step Diagnosis
Map deleted records to owning systems and registration mechanisms (DHCP, static, direct client). Compare policy values across zones and replicated DNS servers. Validate replication latency for DNS partitions.
dnscmd /enumzones
repadmin /showrepl
Get-DnsServerZoneAging -Name corp.local
Solution β Primary Fix
Adjust no-refresh and refresh intervals to match operational reality, disable scavenging temporarily if deletion is active, and restore critical records. Re-enable controlled scavenging with tested settings. Force dynamic re-registration where needed.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
Set-DnsServerScavenging -ScavengingState $true -NoRefreshInterval 7.00:00:00 -RefreshInterval 7.00:00:00
Add-DnsServerResourceRecordA -ZoneName corp.local -Name app01 -IPv4Address 10.10.20.15
ipconfig /registerdns
Solution β Alternative Approaches
Convert critical infrastructure records to static entries to avoid timestamp-based scavenging risk. Use DHCP name protection and secure updates for better ownership control. Segment zones by dynamic vs static endpoint patterns.
Verification & Acceptance Criteria
Acceptance requires restored name resolution for affected hosts, stable records over at least one scavenging cycle, and no unexpected deletions in DNS logs. Monitoring should show consistent registration freshness.
Resolve-DnsName app01.corp.local
Get-DnsServerResourceRecord -ZoneName corp.local -Name app01
Get-WinEvent -LogName 'DNS Server' -MaxEvents 30
Rollback Plan
Rollback by restoring prior aging/scavenging values if new settings cause record growth concerns, and maintain manual cleanup temporarily. Keep a backup export of zone data before policy edits. Reassess cadence with DHCP team.
Prevention & Hardening
Define DNS scavenging standards aligned with DHCP leases and endpoint registration behaviors. Monitor deletion counts and alert on spikes by zone. Protect tier-0 records with static registration and change control.


Related Errors & Cross-Refs
Often accompanied by AD replication lag and client DNS suffix misconfiguration. Netlogon and service discovery failures may appear downstream. Resolve DNS record lifecycle policy before troubleshooting applications.
Related tutorial: View the step-by-step tutorial for Windows Server 2025.
View all Windows Server 2025 tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Microsoft DNS aging/scavenging guidance and secure dynamic update documentation should guide final settings. Internal naming and IPAM standards must define ownership and retention expectations.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β we respond within one business day.