Dog is a free and open source command line DNS client application for Linux, MacOS and Windows. It comes with DNS-over-TLS and DNS-over-HTTPS protocols support, you can export output in JSON file, set color in your output and more. It is written in Rust and released under European Union Public License 1.2.
How to Install Dog DNS Client on Ubuntu
Download dog for Linux file from the above download link and save it on your Downloads folder. Here for me the downloads file name is “dog-v0.1.0-x86_64-unknown-linux-gnu.zip”. It will change based on the version number. Right click the Extract the archive. Now navigate to the extracted folder like below in the terminal app (ctrl+alt+t).
Then run below command.
Check the MX record using dog
./dog bing.com MX
using a specific name server instead
./dog bing.com MX @188.8.131.52
For the complete usage dog usage details, run below command.