Skip to content

net: Ambigous error message in dnsclient #44208

@synergiator

Description

@synergiator

There is an issue with the Golang DNS client implementation:

errServerMisbehaving         = errors.New("server misbehaving")
errServerTemporarilyMisbehaving = errors.New("server misbehaving")
  • Different error scenarios based on 2 variables lead to same ambiguous error message
  • "Misbehaving" is an ambiguous word itself: to the possible extent, it should be clear what has actually happened i.e. print out DNS protocol error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions