diff --git a/DnsServerCore/DnsWebService.cs b/DnsServerCore/DnsWebService.cs index 8a18379d..c2784f99 100644 --- a/DnsServerCore/DnsWebService.cs +++ b/DnsServerCore/DnsWebService.cs @@ -3016,6 +3016,12 @@ namespace DnsServerCore dnsClient.UdpPayloadSize = udpPayloadSize; dnsClient.DnssecValidation = dnssecValidation; + if (dnssecValidation) + { + //load trust anchors into dns client if domain is locally hosted + _dnsServer.AuthZoneManager.LoadTrustAnchorsTo(dnsClient, domain, type); + } + try { dnsResponse = await dnsClient.ResolveAsync(domain, type);