mirror of
https://github.com/fergalmoran/DnsServer.git
synced 2025-12-22 09:29:50 +00:00
StubZone: updated error message description.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user