Skip to content

(tarball): Improve lookup error handling in DnsResolver #678

Description

@clemgbld

Improve DnsResolver error handling.

  • We should find a way to log an error when a lookup fail with the Logger class from the scanner.

  • figure it out what to do based on the error code :
    probably return true on those : ( "NOTFOUND", "BADNAME", "NONAME", "BADSTR", "REFUSED", "SERVFAIL") to flag the hostname as a shady link.
    and false for any other.

the docs of the error code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions