Skip to content

Conversation

@MichaCo
Copy link
Owner

@MichaCo MichaCo commented Jan 21, 2024

  • Removing the filter during resolving namespaces from NRPT, the code can handle any suffix or namespace filter, doesn't have to start with .
  • Adding Contains(string) to DnsString to, for example, find a namespace within a query string.
  • Changing equals of NameServer to allow for multiple servers with the same IP/Port but different DnsSuffixes... (I might inverse that to a list of suffixes, but handling is actually nicer like this).

For more details, see #198 and the MiniDig change here which does an example of how to find nameservers using the new Contains etc...

@MichaCo MichaCo added this to the 1.8.0 milestone Jan 21, 2024
private static ushort GetRandom()
{
var block = new byte[2];
s_generator.GetBytes(block);
Copy link
Contributor

Choose a reason for hiding this comment

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

RandomNumberGenerator instance methods are not guaranteed to be thread safe, even though they might be in practice.

@MichaCo
Copy link
Owner Author

MichaCo commented Mar 17, 2024

splitting this into separated PRs

@MichaCo MichaCo closed this Mar 17, 2024
@MichaCo MichaCo deleted the MichaCo/suffix-handling branch June 30, 2024 19:41
@MichaCo MichaCo removed this from the 1.8.0 milestone Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants