Resolves a hostname to IP address literals.
Concatenates A and AAAA results. A host with only one family present
resolves successfully with just that family's addresses; the lookup
rejects only when both families fail.
Hostname to resolve
IPv4 and IPv6 address literals, possibly empty
Resolves SRV records for a hostname.
Fully qualified SRV name (_http._tcp.example.com)
The records, possibly empty
DNS resolution, abstracted across runtimes.
Exposed as the optional
IRuntimeServices.dns.fetchcannot express anSRVlookup, which is how Consul DNS, Kubernetes headless services, and ECS Service Connect are actually consumed — hence a resolver seam rather than making callers reach for a runtime global.Since
0.2.0