Resolves the IPv4 (A) addresses of a name.
A
The domain name.
Resolver/query options.
The IPv4 addresses as strings.
1.0.4
import { resolve4, RESOLVERS } from 'edgeport/dns';const ips = await resolve4('example.com', { server: RESOLVERS.google }); Copy
import { resolve4, RESOLVERS } from 'edgeport/dns';const ips = await resolve4('example.com', { server: RESOLVERS.google });
Resolves the IPv4 (
A) addresses of a name.