Skip to content

proposal: net: add LookupHTTPS() #72110

Description

@Fangliding

Proposal Details

Golang 1.23+already supports ECH, and the main way to obtain ECH config list is through DNS. However, there is no query function for HTTPS records (type65) in the net package, For now, we need manually handle DNS responses

Type65 not only include the ECH config list, so the func should return a structure slice containing priority (int) alpn ([]string) ECH config list ([]byte) ipv4hint ([]string)... (Other specified in RFC 9460)

Metadata

Metadata

Assignees

No one assigned

    Labels

    LibraryProposalIssues describing a requested change to the Go standard library or x/ libraries, but not to a toolProposal

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions