DNS query from command line? dig?

I can't find dig / dnsutils.
How do I run a DNS query to a specific server from the command line?

Thanks.

Usage: nslookup [-type=QUERY_TYPE] [-debug] HOST [DNS_SERVER]

3 Likes

package name is bind-dig

4 Likes

That's what I was looking for. Thank you!

There is also the "drill" command (package name drill) - an alternative implementation of dig. I've started using that recently, as for an unknown reason I was getting strange results from dig about query times.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.