3 ms·
You can also convert dig output to JSON with jc. (I’m the author) $ jc dig example.com | jq -r '.[].answer[].data' 93.184.216.34 https://github.com/kellyjonb
by kbrazil 5y ago
You can also convert dig output to JSON with jc. (I’m the author)
$ jc dig example.com | jq -r '.[].answer[].data'
93.184.216.34
https://github.com/kellyjonbrazil/jc https://github.com/kellyjonbrazil/jc