zdns
zdns copied to clipboard
all-nameservers flag weird output
when I run the following command with the new --all-nameservers flag
echo "google.com" | ./zdns A --iterative --retries=10 --all-nameservers | jq
I get the following output which seems to have duplicate entries/ entries that have no protocol/resolver field. @vishalmohanty do you know what is going on? can you investigate?
{
"data": {
"results": [
{
"nameserver": "ns3.google.com",
"result": {
"answers": [
{
"answer": "142.250.189.238",
"class": "IN",
"name": "google.com",
"ttl": 300,
"type": "A"
}
],
"protocol": "udp",
"resolver": "216.239.32.10:53"
},
"status": "NOERROR"
},
{
"nameserver": "ns3.google.com",
"result": {
"answers": [
{
"answer": "142.250.189.238",
"class": "IN",
"name": "google.com",
"ttl": 300,
"type": "A"
}
],
"protocol": "",
"resolver": ""
},
"status": "NOERROR"
},
{
"nameserver": "ns4.google.com",
"result": {
"answers": [
{
"answer": "142.250.189.238",
"class": "IN",
"name": "google.com",
"ttl": 300,
"type": "A"
}
],
"protocol": "",
"resolver": ""
},
"status": "NOERROR"
},
{
"nameserver": "ns4.google.com",
"result": {
"answers": [
{
"answer": "142.250.189.238",
"class": "IN",
"name": "google.com",
"ttl": 300,
"type": "A"
}
],
"protocol": "",
"resolver": ""
},
"status": "NOERROR"
},
{
"nameserver": "ns2.google.com",
"result": {
"answers": [
{
"answer": "142.250.189.238",
"class": "IN",
"name": "google.com",
"ttl": 300,
"type": "A"
}
],
"protocol": "",
"resolver": ""
},
"status": "NOERROR"
},
{
"nameserver": "ns2.google.com",
"result": {
"answers": [
{
"answer": "142.250.189.238",
"class": "IN",
"name": "google.com",
"ttl": 300,
"type": "A"
}
],
"protocol": "",
"resolver": ""
},
"status": "NOERROR"
},
{
"nameserver": "ns1.google.com",
"result": {
"answers": [
{
"answer": "142.250.189.238",
"class": "IN",
"name": "google.com",
"ttl": 300,
"type": "A"
}
],
"protocol": "",
"resolver": ""
},
"status": "NOERROR"
},
{
"nameserver": "ns1.google.com",
"result": {
"answers": [
{
"answer": "142.250.189.238",
"class": "IN",
"name": "google.com",
"ttl": 300,
"type": "A"
}
],
"protocol": "",
"resolver": ""
},
"status": "NOERROR"
}
]
},
"name": "google.com",
"status": "NOERROR",
"timestamp": "2022-04-28T01:54:02Z"
}