I need to send a DNS request to check the A, AAAA, MX and SOA records of a domain.
There're 2 popular DNS libraries: trust-dns and dns-parser. Neither of them has an example. trust-dns doesn't support what I need to do and dns-parser's documentation doesn't help.