summaryrefslogtreecommitdiff
path: root/src/dns.erl
Commit message (Collapse)AuthorAgeFilesLines
* DNSSEC validation improvements.Linus Nordberg2016-04-131-20/+73
| | | | | | Use DS signature inception time as the DNSSEC validation time. Validate input data a bit more. Set TTL in DS to "Original TTL" of RRSIG (this time for real).
* Canonicalise DS RR and refactor dns a bit.Linus Nordberg2016-04-071-22/+52
| | | | | | Rename split_rrset/1 -> decode_rrset/1. Add type rr() and use it. Canonicalise DS RR.
* Add unit test for validation, from dnssecport:handle_call().Linus Nordberg2016-04-071-0/+69
- The port now returns the RRset (DS, chain, trust root and all RRSIG's). This in preparatino for when this data will be normalised. - dnssecport decodes and encodes DNS data. - v1 stores the DS RR in the leaf and the rest, including the DS RRSIG, in the chain.