Skip to content

Commit d9009df

Browse files
committed
added ID_DS to read answers
1 parent 54592ba commit d9009df

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/PurplePixie/PhpDns/DNSQuery.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ private function readRecord(): array
197197
$domain = $this->readDomainLabel();
198198

199199
$ans_header_bin = $this->readResponse(10); // 10 byte header
200+
200201
$ans_header = unpack('ntype/nclass/Nttl/nlength', $ans_header_bin);
201202

202203
$this->debug(
@@ -236,6 +237,7 @@ private function readRecord(): array
236237

237238
case DNSTypes::ID_DNSKEY:
238239
case DNSTypes::ID_KEY:
240+
case DNSTypes::ID_DS:
239241
$stuff = $this->readResponse(4);
240242

241243
// key type test 21/02/2014 DC

0 commit comments

Comments
 (0)