
dog is an open-source DNS client for the command-line. It has colourful output, supports the DoT and DoH protocols, and can emit JSON. With it supporting JSON (using the –json flag) you can easily pipe its output through the power tool jq dog, the command-line DNS client →