final class ReverseNetwork (View source)

A parsed network for batch PTR creation: the address range to walk and the reverse name used to probe for its zone.

Methods

__construct(string $prefix, int $networkAddress, int $hostCount, string $probeReverseName)

No description

Details

__construct(string $prefix, int $networkAddress, int $hostCount, string $probeReverseName)

No description

Parameters

string $prefix

IPv4 dotted network address, or the four-hextet IPv6 /64 prefix

int $networkAddress

IPv4 network address as a long; 0 for IPv6

int $hostCount

Number of addresses to walk, including the skipped network/broadcast slots

string $probeReverseName

Reverse name of the first address, resolved once to confirm a reverse zone exists