Documentation

Horde_DNS_Bind9
in package
implements Horde_DNS_Backend

The Bind9 backend of the DNS service TODO: Only usable for a SLES12 server (paths change for every distribution)! For later usage it is recommended to read the file path from the named.conf-file to avoid inconsistencies.

TODO: Test, if it really does what it should TODO: If the DNS server is external the constructor needs everything for a SSH call and the position of the nsKey

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
author

Diana Hille hille@b1-systems.de

author

Ralf Lang lang@b1-systems.de

category

Horde

Interfaces, Classes, Traits and Enums

Horde_DNS_Backend
The interface defining the functions for the available backends

Table of Contents

$_nsKeyLocation  : mixed
$_server  : mixed
__construct()  : mixed
The Constructor checks if bind is installed on the destinated system
addRecord()  : mixed
Adds a record to the Bind9 backend TODO: The paths should be variable based on the OS
addZone()  : mixed
Adds a zone to the Bind9 backend TODO: The paths should be variable based on the OS
deleteRecord()  : mixed
Deletes a record from the Bind9 backend TODO: The paths should be variable based on the OS
deleteZone()  : mixed
Deletes a zone from the Bind9 backend TODO: The paths should be variable based on the OS
writeNsUpdate()  : mixed
Define the ns update file for record changes
writeZoneFile()  : mixed
Define the zone file skeletton

Properties

$_nsKeyLocation

protected mixed $_nsKeyLocation

$_server

protected mixed $_server

Methods

__construct()

The Constructor checks if bind is installed on the destinated system

public __construct() : mixed
Tags
throws
Horde_Exception
Return values
mixed

addRecord()

Adds a record to the Bind9 backend TODO: The paths should be variable based on the OS

public addRecord(Horde_DNS_Record $record) : mixed
Parameters
$record : Horde_DNS_Record

The definition of a record

Return values
mixed

addZone()

Adds a zone to the Bind9 backend TODO: The paths should be variable based on the OS

public addZone(Horde_DNS_Zone $zone) : mixed
Parameters
$zone : Horde_DNS_Zone

The definition of a zone

Return values
mixed

deleteRecord()

Deletes a record from the Bind9 backend TODO: The paths should be variable based on the OS

public deleteRecord(Horde_DNS_Record $record) : mixed
Parameters
$record : Horde_DNS_Record

The definition of a record

Return values
mixed

deleteZone()

Deletes a zone from the Bind9 backend TODO: The paths should be variable based on the OS

public deleteZone(Horde_DNS_Zone $zone) : mixed
Parameters
$zone : Horde_DNS_Zone

The definition of a zone

Return values
mixed

writeNsUpdate()

Define the ns update file for record changes

public writeNsUpdate(Horde_DNS_Record $record, string $transaction) : mixed
Parameters
$record : Horde_DNS_Record

The definition of a record

$transaction : string

The definition of the transaction (add, delete)

Return values
mixed

writeZoneFile()

Define the zone file skeletton

public writeZoneFile(Horde_DNS_Zone $zone) : mixed
Parameters
$zone : Horde_DNS_Zone

The definition of a zone

Return values
mixed

Search results