Skip to content

net: cgo lookups do not recheck resolv.conf #10850

Closed
@axaxs

Description

@axaxs

Native Go lookups recheck /etc/resolv.conf at minimum every 5 seconds. Cgo lookups should do the same. Currently, you can run into an issue where resolv.conf changes, Go picks it up, but a strange hostname (with \ escapes) is kicked to cgo and fails.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions