Skip to content

Different results in output -o S and -o J (simple and json) #108

@marcelo321

Description

@marcelo321

Hello,

After 2 hours of testing I found out that i am getting different results from simple output that json output and it is getting me crazy.

So i am trying to get NOERROR responses like:

...-o J 2> /dev/null | jq -r 'select(.status=="NOERROR") .name' and I get like 50 results. with only 6 being valid (only 6 of the total are valid).

Running the same command but like -o S 2> /dev/null | awk '{print $1}' | anew and I get only the 6 valid, and the command is working as expected.

Then I analyzed the json output and noticed that I am getting a looot of noerror responses that are incorrect, but for some reason that isn't happening with simple output.

I made the tests against same hosts and with the same resolvers countless of times and getting really different responses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions