Skip to content
Effect 4.0 is here. One ecosystem. Zero dependencies.

NodeAddressResolver

Node.js implementation of Effect's AddressResolver service.

Domain names are looked up with the Dns service, and IPv6 literals with a named zone such as fe80::1%eth0 get their scope ID from os.networkInterfaces(), queried each time to reflect interface changes.

1 exports Since v4.0.0 Source

Layers

Since v4.0.0

Layer that provides the Node.js AddressResolver service using the Dns service.

Signature

declare const layer: Layer.Layer<AddressResolver.AddressResolver, never, Dns.Dns>