|
Following the project documentation, you easily come to: jc dig example.com | jq
[
{
"id": 30081,
"opcode": "QUERY",
"status": "NOERROR",
"flags": [
"qr",
"rd",
"ra"
],
"query_num": 1,
"answer_num": 1,
"authority_num": 0,
"additional_num": 1,
"opt_pseudosection": {
"edns": {
"version": 0,
"flags": [],
"udp": 4096
}
},
"question": {
"name": "example.com.",
"class": "IN",
"type": "A"
},
"answer": [
{
"name": "example.com.",
"class": "IN",
"type": "A",
"ttl": 56151,
"data": "93.184.216.34"
}
],
"query_time": 0,
"server": "192.168.1.254#53(192.168.1.254)",
"when": "Thu Nov 03 14:06:40 CET 2022",
"rcvd": 56,
"when_epoch": 1667480800,
"when_epoch_utc": null
}
]
Rather readable to my mind. And you can rather easily transform it to your preferred human readable output format I guess. |