Default

IP literals for every scheme, in their canonical form (IpLiteral, so that responses match by endpoint equality), and localhost as 127.0.0.1 for datagram schemes.

For the reliable schemes of RFC 8323 §8, responses arrive on the connection that carried the request, so host names stay names, which the connector resolves and TLS checks the certificate against: coap+tcp and coaps+tcp become an Endpoint.Tcp, coap+ws and coaps+ws the Endpoint.WebSocket at /.well-known/coap of the URI's authority. Datagram host names other than localhost need a resolver the application supplies, one that knows DNS, since a response over datagrams matches its request by the address it comes from.