question

NguyenThanhHieu-1282 avatar image
0 Votes"
NguyenThanhHieu-1282 asked DSPatrick commented

The DNS zone can be scavenged after ‎1/‎1/‎1601 7:00:00 AM?

Hi everyone,
I facing one stange issue but i don't know how to overcome it.
I configuring DNS aging and Scaveging, however when configuration windows open, i found one thing abnormal. It show "the zone can be scavenged after ‎1/‎1/‎1601 7:00:00 AM?"

191203-screenshot-2022-04-08-110610.jpg



I wordering if i enable this setting, it will delete all my dns records?

Any of you have experience about this issue, please help me one!

Thanks,

Br,

windows-dhcp-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
1 Vote"
DSPatrick answered DSPatrick commented

It's a known issue and basically means this timestamp value has not been set. It's equivalent of NULL for timestamps.

--please don't forget to upvote and Accept as answer if the reply is helpful--






· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank for your reply,
Could you help me check if timestamp set or not?


Thanks

0 Votes 0 ·
DSPatrick avatar image DSPatrick NguyenThanhHieu-1282 ·

You can also check via PowerShell

 Get-DnsServerScavenging

--please don't forget to upvote and Accept as answer if the reply is helpful--






1 Vote 1 ·

I sure i have never setup DNS scavenging for my DNS server, i have more then 300 old DNS records inside.
Now i want to confiure DNS scavenging but i wondering about this message "the zone can be scavenged after ‎1/‎1/‎1601 7:00:00 AM?"
191372-screenshot-2022-04-08-210811.jpg



I very scare if I enable Scavenging with this, all old and new DNS records will be deleted? Because ‎"1/‎1/‎1601" over long long time.

0 Votes 0 ·
Show more comments

Hi,
I have checked via Powershell. This is result:

  PS C:\Windows\system32> Get-DnsServerScavenging
        
        
  NoRefreshInterval  : 7.00:00:00
  RefreshInterval    : 7.00:00:00
  ScavengingInterval : 00:00:00
  ScavengingState    : False
  LastScavengeTime   :

Did you mean "LastScavegeTime" is null?

Br

0 Votes 0 ·
Show more comments
LimitlessTechnology-2700 avatar image
1 Vote"
LimitlessTechnology-2700 answered DSPatrick commented

Hi there,

No, it will not delete your records.

It's an epoch. It's the first year of the 400-year cycle in the Gregorian calendar which we were in when Windows NT was first created.

Essentially it's an arbitrary date chosen as a starting point for calculating a number of different fields which are not stored as dates themselves.

For the value you're looking at, Available for Scavenging Time, it's stored as the number of hours since the epoch. And in your case, the value is 0 (uninitialized).

When it's operational it means the next time your zone can be scavenged. On the first configuration that'll be the current date plus the value of the refresh interval. It's extended by the Automatic Scavenging Interval there-after.



--If the reply is helpful, please Upvote and Accept it as an answer–

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Thanks for your reply.
Based on your and @DSPatrick answer, I good to go with this setting?

193023-image.png



I happy to here your answer.
Thank you so much,

0 Votes 0 ·
image.png (224.2 KiB)
DSPatrick avatar image DSPatrick NguyenThanhHieu-1282 ·

Looks like nothing has been configured.


1 Vote 1 ·

Hi,

Yes, not yet. But with your answers, i will configure and no more worry.

Thanks so much,

0 Votes 0 ·
Show more comments