AddressBlock

Type: class

Functions

#getAddress(ip)

Parameter Type Description
ip string The IP address

Returns: Address or null

Only returns an Address instance if a DNS pointer has been set.

#getPointer(ip)

Parameter Type Description
ip string The IP address

Returns: string or null

Returns the pointer for the IP address if one has been set.

#setPointer(ip, pointer)

Parameter Type Description
ip string The IP address
pointer string FQDN

Returns: Promise<Action>

Returns an Action for setting the pointer.

Properties

.addresses

Type: Array

An array containing Addresses.

.blocked

Type: boolean