final class PdnsApiZoneCacheFlusher implements ZoneCacheFlusherInterface (View source)

SQL backend with a PowerDNS API configured: flushes through the API, which also adds a new zone to the PowerDNS zone cache (PowerDNS 4.6 and later).

Methods

__construct(PowerdnsApiClient $client, LoggerInterface $logger)

No description

void
flushZone(string $zoneName)

Called after the write is committed. Never throws: a failed flush only delays what PowerDNS serves until its caches expire.

Details

__construct(PowerdnsApiClient $client, LoggerInterface $logger)

No description

Parameters

PowerdnsApiClient $client
LoggerInterface $logger

void flushZone(string $zoneName)

Called after the write is committed. Never throws: a failed flush only delays what PowerDNS serves until its caches expire.

Parameters

string $zoneName

Return Value

void