Skip to content

Commit

Permalink
Fix DNSKEY and DS keys not being shown as base64 πŸ™„
Browse files Browse the repository at this point in the history
  • Loading branch information
wotschofsky committed Sep 17, 2024
1 parent 5af691c commit 37cad41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/resolvers/authoritative.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ export class AuthoritativeResolver extends DnsResolver {
case 'DNSKEY':
return `${record.data.flags} ${
record.data.algorithm
} ${record.data.key.toString('hex')}`;
} ${record.data.key.toString('base64')}`;
case 'DS':
return `${record.data.keyTag} ${record.data.algorithm} ${
record.data.digestType
} ${record.data.digest.toString('hex')}`;
} ${record.data.digest.toString('base64')}`;
case 'MX':
return `${record.data.preference} ${record.data.exchange}`;
case 'NAPTR':
Expand Down

0 comments on commit 37cad41

Please sign in to comment.