Skip to main content
LookupAddress - node__dns.d.ts - Node documentation
interface LookupAddress

Usage in Deno

```typescript import { type LookupAddress } from "node:node__dns.d.ts"; ```

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.