DnsServer: fixed issue of added ttl parameter.

This commit is contained in:
Shreyas Zare
2021-02-27 19:43:25 +05:30
parent b8e6f971e5
commit a2b4f00c0b

View File

@@ -1105,7 +1105,7 @@ namespace DnsServerCore.Dns
AuthZoneInfo zoneInfo = _authZoneManager.GetAuthZoneInfo(appResourceRecord.Name);
IDnsServer dnsServer = new DnsServerInternal(this, package.PackagePath);
DnsDatagram appResponse = await dnsApplication.ProcessQueryAsync(request, remoteEP, zoneInfo.Name, appRecord.Data, isRecursionAllowed, dnsServer);
DnsDatagram appResponse = await dnsApplication.ProcessQueryAsync(request, remoteEP, zoneInfo.Name, appResourceRecord.TtlValue, appRecord.Data, isRecursionAllowed, dnsServer);
if (appResponse != null)
{
if (appResponse.AuthoritativeAnswer)