3 ms·
It seems simple on the surface, then you get into the various record types, and edge cases to support.
by bluejekyll 8y ago
It seems simple on the surface, then you get into the various record types, and edge cases to support.
- spc476 8y agoYou just need a decent library to parse DNS packets. [1] Yes, it's in C, but it should be easy to interface to other languages given it only has two functions. [1] https://github.com/spc476/SPCDNS https://github.com/spc476/SPCDNS
- bluejekyll 8y agoI chose to write my own: https://github.com/bluejekyll/trust-dns https://github.com/bluejekyll/trust-dns And, it in theory can be used in other languages via C FFI as well, since it’s in Rust.