WebServiceApi: Updated ResolveQueryAsync() to always show the response that failed dnssec validation.
This commit is contained in:
parent
13fd52b9b6
commit
3ace77d3de
@ -1,6 +1,6 @@
|
||||
/*
|
||||
Technitium DNS Server
|
||||
Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com)
|
||||
Copyright (C) 2025 Shreyas Zare (shreyas@technitium.com)
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -228,6 +228,9 @@ namespace DnsServerCore
|
||||
}
|
||||
catch (DnsClientResponseDnssecValidationException ex)
|
||||
{
|
||||
if (ex.InnerException is DnsClientResponseDnssecValidationException ex1)
|
||||
ex = ex1;
|
||||
|
||||
dnsResponse = ex.Response;
|
||||
dnssecErrorMessage = ex.Message;
|
||||
importResponse = false;
|
||||
@ -252,6 +255,9 @@ namespace DnsServerCore
|
||||
}
|
||||
catch (DnsClientResponseDnssecValidationException ex)
|
||||
{
|
||||
if (ex.InnerException is DnsClientResponseDnssecValidationException ex1)
|
||||
ex = ex1;
|
||||
|
||||
dnsResponse = ex.Response;
|
||||
dnssecErrorMessage = ex.Message;
|
||||
importResponse = false;
|
||||
@ -338,6 +344,9 @@ namespace DnsServerCore
|
||||
}
|
||||
catch (DnsClientResponseDnssecValidationException ex)
|
||||
{
|
||||
if (ex.InnerException is DnsClientResponseDnssecValidationException ex1)
|
||||
ex = ex1;
|
||||
|
||||
dnsResponse = ex.Response;
|
||||
dnssecErrorMessage = ex.Message;
|
||||
importResponse = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user