PHP Class DNS, dns-control

Exibir arquivo Open project: jmazzi/dns-control Class Usage Examples

Public Properties

Property Type Description
$db
$entries path to named files
$error global named.conf options
$path sql object
$tpl error message

Public Methods

Method Description
DNS ( &$db, $path, $conf_file, $tpl_path ) template array
addRecord ( $type, $domain, $name, $address )
addZone ( $domain, $address, $password )
createLock ( $process )
delLock ( $process )
delRecord ( $domain, $recordid, $type )
delZone ( $domain ) private
domainId ( $domain )
getRecords ( $domain, $type )
isDomain ( $domain )
isIP ( $ip )
isLock ( $process )
isZone ( $domain )
loadTpl ( )
modRecord ( $domain, $recordid, $address, $type )
processAddqueue ( )
processDelqueue ( )
processModqueue ( )
raiseError ( $error )
rebuildZones ( )
recordInfo ( $domain, $recordid, $type )
reloadZone ( $domain = "" )
removeZone ( $domain ) public
updateIp ( $domainid, $address )
updateZonePass ( $domainid, $password )
writeConf ( )
writeZone ( $domain, $return = false )
zoneInfo ( $domainid )
zoneIp ( $domain )

Method Details

DNS() public method

template array
public DNS ( &$db, $path, $conf_file, $tpl_path )

addRecord() public method

public addRecord ( $type, $domain, $name, $address )

addZone() public method

public addZone ( $domain, $address, $password )

createLock() public method

public createLock ( $process )

delLock() public method

public delLock ( $process )

delRecord() public method

public delRecord ( $domain, $recordid, $type )

delZone() public method

private
public delZone ( $domain )

domainId() public method

public domainId ( $domain )

getRecords() public method

public getRecords ( $domain, $type )

isDomain() public method

public isDomain ( $domain )

isIP() public method

public isIP ( $ip )

isLock() public method

public isLock ( $process )

isZone() public method

public isZone ( $domain )

loadTpl() public method

public loadTpl ( )

modRecord() public method

public modRecord ( $domain, $recordid, $address, $type )

processAddqueue() public method

public processAddqueue ( )

processDelqueue() public method

public processDelqueue ( )

processModqueue() public method

public processModqueue ( )

raiseError() public method

public raiseError ( $error )

rebuildZones() public method

public rebuildZones ( )

recordInfo() public method

public recordInfo ( $domain, $recordid, $type )

reloadZone() public method

public reloadZone ( $domain = "" )

removeZone() public method

public
public removeZone ( $domain )

updateIp() public method

public updateIp ( $domainid, $address )

updateZonePass() public method

public updateZonePass ( $domainid, $password )

writeConf() public method

public writeConf ( )

writeZone() public method

public writeZone ( $domain, $return = false )

zoneInfo() public method

public zoneInfo ( $domainid )

zoneIp() public method

public zoneIp ( $domain )

Property Details

$db public_oe property

public $db

$entries public_oe property

path to named files
public $entries

$error public_oe property

global named.conf options
public $error

$path public_oe property

sql object
public $path

$tpl public_oe property

error message
public $tpl