SupermasterBackendInterface
interface SupermasterBackendInterface (View source)
Supermaster (autoprimary) reads and writes against the DNS backend.
Methods
bool
addSupermaster(string $masterIp, string $nsName, string $account)
Add a supermaster (autoprimary).
bool
deleteSupermaster(string $masterIp, string $nsName)
Delete a supermaster (autoprimary).
array
getSupermasters()
Get all supermasters.
bool
updateSupermaster(string $oldMasterIp, string $oldNsName, string $newMasterIp, string $newNsName, string $account)
Update a supermaster.
Details
bool
addSupermaster(string $masterIp, string $nsName, string $account)
Add a supermaster (autoprimary).
bool
deleteSupermaster(string $masterIp, string $nsName)
Delete a supermaster (autoprimary).
array
getSupermasters()
Get all supermasters.
bool
updateSupermaster(string $oldMasterIp, string $oldNsName, string $newMasterIp, string $newNsName, string $account)
Update a supermaster.