CatalogBackendInterface
interface CatalogBackendInterface (View source)
Catalog zone membership reads and writes against the DNS backend.
Methods
Zones carrying the given catalog.
Zones of one kind, with the catalog each currently belongs to.
Catalog the zone belongs to, lowercase and without a trailing dot, or '' when it is not a member.
Join $catalogName, or leave the current catalog when it is ''.
Details
array
getCatalogMembers(string $catalogName)
Zones carrying the given catalog.
PowerDNS only publishes a member whose kind is MASTER or PRODUCER and which has an enabled apex SOA, so the kind is returned for callers to flag the rest.
array
getZonesByKind(string $kind)
Zones of one kind, with the catalog each currently belongs to.
string
getZoneCatalog(int $domainId)
Catalog the zone belongs to, lowercase and without a trailing dot, or '' when it is not a member.
bool
updateZoneCatalog(int $domainId, string $catalogName)
Join $catalogName, or leave the current catalog when it is ''.