From b6b4877c91479434375b852258bacec820906bbf Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 19 Oct 2024 16:53:19 +0530 Subject: [PATCH] StubZone: updated error message description. --- DnsServerCore/Dns/Zones/StubZone.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DnsServerCore/Dns/Zones/StubZone.cs b/DnsServerCore/Dns/Zones/StubZone.cs index baaeacd5..f9328a50 100644 --- a/DnsServerCore/Dns/Zones/StubZone.cs +++ b/DnsServerCore/Dns/Zones/StubZone.cs @@ -122,7 +122,7 @@ namespace DnsServerCore.Dns.Zones } if ((soaResponse.Answer.Count == 0) || (soaResponse.Answer[0].Type != DnsResourceRecordType.SOA)) - throw new DnsServerException("DNS Server failed to find SOA record for: " + name); + throw new DnsServerException("DNS Server did not receive SOA record in response from any of the primary name servers for: " + name); DnsResourceRecord receivedSoaRecord = soaResponse.Answer[0]; DnsSOARecordData receivedSoa = receivedSoaRecord.RDATA as DnsSOARecordData;