Skip to content

Commit

Permalink
dnskey: fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed May 16, 2024
1 parent b38c5bf commit adf2aa3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions lib/test/rrs/dnskey.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"id": 4096,
"zid": 4096,
"owner": "mail.example.com.",
"owner": "example.com.",
"ttl": 86400,
"type": "CERT",
"cert type": "PGP",
"key tag": 0,
"algorithm": 0,
"certificate": "hexidecimalkeystring1"
"type": "DNSKEY",
"flags": 256,
"protocol": 3,
"algorithm": 5,
"publickey": "( AQPSKmynfzW4kyBv015MUG2DeIQ3 Cbl+BBZH4b/0PY1kxkmvHjcZc8no kfzj31GajIQKY+5CptLr3buXA10h WqTkF7H6RfoRqXQeogmMHfpftf6z Mv1LyBUgia7za6ZEzOJBOztyvhjL 742iU/TpPSEDhm2SNKLijfUppn1U aNvv4w== )"
}
2 changes: 1 addition & 1 deletion lib/zone_record.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function getMap(rrType) {
return { address: 'target' }
case 'DNSKEY':
return {
address: 'public key',
address: 'publickey',
weight: 'flags',
priority: 'protocol',
other: 'algorithm',
Expand Down

0 comments on commit adf2aa3

Please sign in to comment.