Skip to content

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

@clemgbld

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.

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