interface ZoneSigningInterface (View source)

Signing state of a zone: securing, unsecuring and reading whether it is signed.

Methods

bool
secureZone(string $zoneName)

No description

bool
unsecureZone(string $zoneName)

No description

bool
isZoneSecured(string $zoneName, $config)

No description

bool|null
fetchZoneSecured(string $zoneName)

Whether the zone is signed, or null when PowerDNS could not be asked.

bool
isZonePresigned(string $zoneName)

Whether the zone carries the PRESIGNED metadata, meaning it was signed at the primary server and DNSSEC cannot be managed locally.

bool
isDnssecEnabled()

No description

int|null
getEditedSerial(string $zoneName)

Serial as served by PowerDNS with SOA-EDIT applied (the "signed" serial), or null when the server does not expose it or the zone cannot be read.

Details

bool secureZone(string $zoneName)

No description

Parameters

string $zoneName

Return Value

bool

bool unsecureZone(string $zoneName)

No description

Parameters

string $zoneName

Return Value

bool

bool isZoneSecured(string $zoneName, $config)

No description

Parameters

string $zoneName
$config

Return Value

bool

bool|null fetchZoneSecured(string $zoneName)

Whether the zone is signed, or null when PowerDNS could not be asked.

Parameters

string $zoneName

Return Value

bool|null

bool isZonePresigned(string $zoneName)

Whether the zone carries the PRESIGNED metadata, meaning it was signed at the primary server and DNSSEC cannot be managed locally.

Parameters

string $zoneName

Return Value

bool

bool isDnssecEnabled()

No description

Return Value

bool

int|null getEditedSerial(string $zoneName)

Serial as served by PowerDNS with SOA-EDIT applied (the "signed" serial), or null when the server does not expose it or the zone cannot be read.

Parameters

string $zoneName

Return Value

int|null