dig
dig
dig with dns over tls (DoT) / dns over https (DoH)
you need a more recent version of dig, with homebrew you need to run:
brew install bindwhich will install dig.
dns over tls (dot)
dig @1.1.1.1 +tls google.comdns over https (doh)
dig @cloudflare-dns.com +https google.comcheck if dnssec is enabled
dig +dnssec +multi example.comdigrc
customize your dig output with a config file. Create the file ~/.digrc for this, and add the following:
+noall +answerthe above will only show the answer, like so:
$ dig man.ilayk.com
man.ilayk.com. 300 IN CNAME hitchhikers-builder.pages.dev.
hitchhikers-builder.pages.dev. 300 IN A 172.66.46.211
hitchhikers-builder.pages.dev. 300 IN A 172.66.45.45