#5730 Client-side DNS discovery improvements
Opened 8 years ago by mbabinsk. Modified 7 years ago

The code implementing automated DNS discovery of IPA-managed realm, domain, servers, and KDCs is dated, convoluted and very hard to read and understand. We should definitely pay off the technical debt accumulated in this codebase to make life easier for us and future contributors.

Here are some of the things that should be investigated/implemented as a part of this ticket, in no particular order:

  • clearly defined DNS discovery workflow that would resolve all relevant records in one pass (currently the same method is called recursively with the results collected in previous pass. This makes assesing the actual flow of execution quite hard)
  • robust and Pythonic handling of errors during DNS resolution and IPA server determination (throwing and catching exceptions instead of returning error codes)
  • offloading some of the functionality to external tools that perform the same job (see #5729)
  • reduction of the complexity of both the code performing the discovery and the code handling the result
  • improvement of modularity/reusability of the code

Metadata Update from @mbabinsk:
- Issue assigned to someone
- Issue set to the milestone: Future Releases

7 years ago

Login to comment on this ticket.

Metadata