I dug through some more code and docs; here's some findings:
Tech note TN3151: Choosing the right networking API | Apple Developer Documentation still mentions that dns_util is the way to go for handling DNS outside of the system resolver
It may be possible to use the NIO based NIODns client https://github.com/orlandos-nl/DNSClient - it includes message decoding but I feel using NIODns is a bit of an overkill for my network extension (at least for now)
Given that the tech notes mention to use dns_parse_packet in dns_util I assume it should still be supported.
Eskimo, if you come across this post it would be great to get your 2 cents for what is recommended for my use-case.
Topic:
App & System Services
SubTopic:
Networking
Tags: