Example #1
0
 public function __construct($hostName, $sourceHostName, $mailAddress, $serial, $refreshInterval, $retryDelay, $expireTime, $minTtl, $ttl)
 {
     parent::__construct($hostName, RecordType::SOA, $ttl);
     $this->sourceHostName = $sourceHostName;
     $this->mailAddress = $mailAddress;
     $this->serial = $serial;
     $this->refreshInterval = $refreshInterval;
     $this->retryDelay = $retryDelay;
     $this->expireTime = $expireTime;
     $this->minTtl = $minTtl;
 }
Example #2
0
 public function __construct($hostName, $targetHostName, $ttl, $type = null)
 {
     parent::__construct($hostName, $type ? $type : RecordType::CNAME, $ttl);
     $this->_targetHostName = $targetHostName;
 }
Example #3
0
 public function __construct($hostName, $cpu, $os, $ttl)
 {
     parent::__construct($hostName, RecordType::HINFO, $ttl);
     $this->cpu = $cpu;
     $this->os = $os;
 }
Example #4
0
 public function __construct($hostName, Address $address, $ttl, $type = null)
 {
     parent::__construct($hostName, $type ? $type : RecordType::A, $ttl);
     $this->address = $address;
 }
Example #5
0
 public function __construct($hostName, $text, $ttl)
 {
     parent::__construct($hostName, RecordType::TXT, $ttl);
     $this->text = $text;
 }