mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-03-09 06:55:41 +00:00
AuthZoneManager: updated GetReferralResponse() to set last used on value for stub authority records.
This commit is contained in:
@@ -362,6 +362,12 @@ namespace DnsServerCore.Dns.ZoneManagers
|
||||
if (delegationZone is StubZone)
|
||||
{
|
||||
authority = delegationZone.GetRecords(DnsResourceRecordType.NS); //stub zone has no authority so cant query
|
||||
|
||||
//update last used on
|
||||
DateTime utcNow = DateTime.UtcNow;
|
||||
|
||||
foreach (DnsResourceRecord record in authority)
|
||||
record.GetRecordInfo().LastUsedOn = utcNow;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user