Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all-nameservers flag weird output #302

Open
LizIzhikevich opened this issue Apr 28, 2022 · 0 comments
Open

all-nameservers flag weird output #302

LizIzhikevich opened this issue Apr 28, 2022 · 0 comments
Milestone

Comments

@LizIzhikevich
Copy link
Contributor

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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants