Skip to content

Commit

Permalink
Merge pull request #2 from aaronhuisinga/master
Browse files Browse the repository at this point in the history
Increase the maximum string length for host in DNS
  • Loading branch information
speedster-kiev committed May 14, 2015
2 parents bdc3f72 + ca8e95f commit 37adee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Namecheap/DnsRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function setHostId($value)
*/
public function setHost($value)
{
$this->_data['host'] = (string) substr($value, 0, 70);
$this->_data['host'] = (string) substr($value, 0, 200);
return $this;
}

Expand Down Expand Up @@ -185,7 +185,7 @@ public function setType($value)
*/
public function setData($value)
{
$this->_data['data'] = (string) substr($value, 0, 70);
$this->_data['data'] = (string) substr($value, 0, 200);
return $this;
}

Expand Down

0 comments on commit 37adee2

Please sign in to comment.