Skip to main content
LookupAddress - dns - Node documentation
interface LookupAddress

Usage in Deno

import { type LookupAddress } from "node:dns";

Properties

address: string

A string representation of an IPv4 or IPv6 address.

family: number

4 or 6, denoting the family of address, or 0 if the address is not an IPv4 or IPv6 address. 0 is a likely indicator of a bug in the name resolution service used by the operating system.