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:
which will install dig.
dns over tls (dot)¶
dns over https (doh)¶
digrc¶
customize your dig output with a config file. Create the file ~/.digrc for this, and add the following:
the above will only show the answer, like so: