Dog – A command-line DNS client written in Rust
> supports the DNS-over-TLS and DNS-over-HTTPS protocols, and can emit JSON<p>This shows how much our old-school Unix tools need an update.<p>What if all the CLI tools had an option for JSON output and the shell natively supported a query language like `jq`. Then you could pipe commands together:<p><pre><code>    host -t A example.org --json-out | ping -c1 --json-in .arecords[0] --json-out | echo --json-in .[0].time > outputfile
</code></pre>
This assumes the default output would still be the legacy text format. But if the default output changed to JSON then you could get rid of the ugly json-in/out syntax.