Simple command-line tool to make DNS lookups using any protocol.
Simple command-line tool to make DNS lookups to the specified server using any protocol: DNS, DOH, DOT, DNSCrypt.
Examples:
Plain DNS:
./dnslookup example.org 176.103.130.130
DNS-over-TLS:
./dnslookup example.org tls://dns.adguard.com
DNS-over-HTTPS:
./dnslookup example.org https://dns.adguard.com/dns-query
Machine-readable format:
JSON=1 ./dnslookup example.org 176.103.130.130