Macos – How to get latest version of DiG

digdnsmacos

After wanting to check some DNS records, I realized that my current version (9.8.3-P1) of DiG, that shipped with Mac OS X (El Capitan 10.11.6), does not support the RR type I need.

So now I am looking to get an up-to-date version that I can run on my system. Now my question is, where can I get the current version of the tool? I know that on most Linux distros it's shipped with the dnsutils package, but I have no idea about Mac OS X. If necessary, I am willing to compile it myself, but I haven't found the source files yet.

Best Answer

as dig is a part of bind package just install bind then you will be able to use dig on mac:-

   brew install bind 
Related Question