Overview

Packages

  • PHP
  • Transip

Classes

  • Transip_ApiSettings
  • Transip_AvailabilityZone
  • Transip_ColocationService
  • Transip_Cronjob
  • Transip_DataCenterVisitor
  • Transip_Db
  • Transip_DnsEntry
  • Transip_DnsService
  • Transip_Domain
  • Transip_DomainAction
  • Transip_DomainBranding
  • Transip_DomainCheckResult
  • Transip_DomainService
  • Transip_ExtraContactField
  • Transip_Forward
  • Transip_ForwardService
  • Transip_Haip
  • Transip_HaipService
  • Transip_MailBox
  • Transip_MailForward
  • Transip_Nameserver
  • Transip_OperatingSystem
  • Transip_PrivateNetwork
  • Transip_Product
  • Transip_PropositionService
  • Transip_Snapshot
  • Transip_SubDomain
  • Transip_Tld
  • Transip_Vps
  • Transip_VpsBackup
  • Transip_VpsService
  • Transip_WebHost
  • Transip_WebhostingPackage
  • Transip_WebhostingService
  • Transip_WhoisContact
  • Overview
  • Package
  • Class
  • Tree

Class Transip_DnsEntry

Models A DnsEntry

Package: Transip
Author: TransIP (support@transip.nl)
Class: DnsEntry
Located at DnsEntry.php
Methods summary
public
# __construct( string $name, integer $expire, string $type, string $content )

Constructs a new DnsEntry of the form www IN 86400 A 127.0.0.1 mail IN 86400 CNAME @

Constructs a new DnsEntry of the form www IN 86400 A 127.0.0.1 mail IN 86400 CNAME @

Note that the IN class is always mandatory for this Entry and this is implied.

Parameters

$name
string
$name the name of this DnsEntry, e.g. www, mail or @
$expire
integer
$expire the expiration period of the dns entry, in seconds. For example 86400 for a day
$type
string
$type the type of this entry, one of the TYPE_ constants in this class
$content
string
$content content of of the dns entry, for example '10 mail', '127.0.0.1' or 'www'
Constants summary
string TYPE_A 'A'
#
string TYPE_AAAA 'AAAA'
#
string TYPE_CNAME 'CNAME'
#
string TYPE_MX 'MX'
#
string TYPE_NS 'NS'
#
string TYPE_TXT 'TXT'
#
string TYPE_SRV 'SRV'
#
string TYPE_SSHFP 'SSHFP'
#
string TYPE_TLSA 'TLSA'
#
string TYPE_CAA 'CAA'
#
string TYPE_NAPTR 'NAPTR'
#
Properties summary
public string $name
#

The name of the dns entry, for example '@' or 'www'

The name of the dns entry, for example '@' or 'www'

public integer $expire
#

The expiration period of the dns entry, in seconds. For example 86400 for a day of expiration

The expiration period of the dns entry, in seconds. For example 86400 for a day of expiration

public string $type
#

The type of dns entry, for example A, MX or CNAME

The type of dns entry, for example A, MX or CNAME

public string $content
#

The content of of the dns entry, for example '10 mail', '127.0.0.1' or 'www'

The content of of the dns entry, for example '10 mail', '127.0.0.1' or 'www'

API documentation generated by ApiGen 2.8.0