Connects to a DNS resolver over TCP (or TLS) and returns a reusable session.
The session pipelines queries over one connection, correlating responses by id. Remember the
Cloudflare-IP block: inside a Worker, pass a non-Cloudflare hostname (e.g. RESOLVERS.google)
because the default 1.1.1.1 is unreachable from the Workers runtime.
Connects to a DNS resolver over TCP (or TLS) and returns a reusable session.
The session pipelines queries over one connection, correlating responses by id. Remember the Cloudflare-IP block: inside a Worker, pass a non-Cloudflare
hostname(e.g.RESOLVERS.google) because the default1.1.1.1is unreachable from the Workers runtime.