mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2026-01-06 08:45:32 +00:00
AuthZoneManager: fixed issue of slow XFR responses for secondary root zones or large zones.
This commit is contained in:
@@ -832,16 +832,12 @@ namespace DnsServerCore.Dns.ZoneManagers
|
||||
xfrRecords.Add(record);
|
||||
|
||||
foreach (DnsResourceRecord glueRecord in record.GetGlueRecords())
|
||||
{
|
||||
if (!xfrRecords.Contains(glueRecord))
|
||||
xfrRecords.Add(glueRecord);
|
||||
}
|
||||
xfrRecords.Add(glueRecord);
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
if (!xfrRecords.Contains(record))
|
||||
xfrRecords.Add(record);
|
||||
|
||||
xfrRecords.Add(record);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user