Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ARSoft.Tools.Net/ARSoft.Tools.Net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Copyright>Copyright 2010..2024 Alexander Reinert</Copyright>
<VersionPrefix>3.6.1</VersionPrefix>
<VersionPrefix>3.6.2</VersionPrefix>
<AssemblyVersion>$(VersionPrefix)</AssemblyVersion>
<Platforms>AnyCPU;x64;ARM64</Platforms>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion ARSoft.Tools.Net/Dns/DnsClientBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private DnsRawPackage PrepareMessage<TMessage>(TMessage message, out SelectTsigK
{
connection.RestartIdleTimeout(receivedMessage.Message.GetEDnsKeepAliveTimeout());

if (receivedMessage.Message.ReturnCode == ReturnCode.ServerFailure)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(question) I might be misunderstanding but if this is in the ARSoft library, it means that anything going over a DnsClient for ARSoft will be subjected to the same logic. If that's the case, would this also mean that this could affect our critical path of DNS resolution beyond local domain resolution only? We've had lots of issues with timeouts on the Zorus side so just making sure I'm not missing something.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. But the expected behavior at least from our clients is that we try all the DNS servers they have configured before deciding NXDomain is the only answer.

if (receivedMessage.Message.ReturnCode is ReturnCode.ServerFailure or ReturnCode.NxDomain)
{
response = receivedMessage.Message;
continue;
Expand Down