Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DomainUtils

Hierarchy

  • DomainUtils

Index

Constructors

constructor

Properties

Static HOSTS

HOSTS: { host: string; ip: string }[] = []

Static IP_REGEX

IP_REGEX: RegExp = ...

Methods

Static domainLookup

  • domainLookup(domain: string): Promise<{ addr: string; family: number }>

Static getHostsSync

  • getHostsSync(): { host: string; ip: string }[]

Static reloadHosts

  • reloadHosts(): void

Static reverse

  • reverse(ip: string, local?: boolean): Promise<string[]>

Generated using TypeDoc