Skip to content

v4.2.0 - Improved handling of search results

Choose a tag to compare

@xploSEoF xploSEoF released this 24 Jul 11:18
· 100 commits to master since this release

Changes

  • Complicated FQDNs (with dots and invalid characters in the name part) caused issues when found
  • Removed vague attempts at handling subtypes on searching
  • Improved the way we sort the records
  • New service class to represent found records - in the long run, this will be merged with the service class for advertising
  • Examples for searching have been added. In the long run, more examples should be added, and a test script should be created to run these and verify they don't fatally crash.

More details

FQDN's including multiple dots were not handled correctly. Rather than using an abandoned external library to handle this incorrectly, we've switched to handling it internally, and breaking apart the string on "._" instead of ".". This allows for more complicated domain parts of the records, and a vast swath of invalid names and names with multiple parts.

In doing so, the vague attempts at handling subtypes were removed as they were invalid. Sub types come from additional PTR records pointing back at the original record, but require thinking through how they would work. The new way of sorting the DNS records should aid with finding these, but further work is necessary to figure this out and represent accordingly.