RFC 4034 specifies the presentation format of the DNSKEY public key,
RRSIG signature, and DS digest fields (base64, base64, and hexadecimal).
With this change, when fields are represented as such, the package will
use the corresponding encoding.
* Add SSHFP record support
Use offset since we may receive a full dns packet
Account for maximum hash lengths for each hash type
fix: don't use the output of `Buffer#copy()`, instead use `Buffer#byteLength`
fix: normalize fingerprint string
fix: the offset pointer starts out at RDLENGTH
fix: account for the `RDLENGTH` field in `rsshfp.decode()`
* tests: add test for the SSHFP record type
* Add tests for name decoding corner cases
* Modify name.decode to throw an error in the following cases:
* Not enough data for reading the full label
* The label is too long (over 253 characters when dots are included)
* A label must be either <= 63 bytes or a pointer
* Pointers can only point to prior data (see RFC 1035, section 4.1.4)
In addition pointer jumps don't add extra dots in the names anymore.
* Make name_decoding tests more specific
* Make name.decode non-recursive
* Ensure name.decode can read the label header
* Fix name.decode error messages
* First pass at mafintosh/dns-packet#48. No auto-refresh yet, because that's a more invasive change.
* Add a quick note to README to kick off a round of tests.
* remove sudo:false
* Add ECS processing. See #46
* Add support for Padding. Simplify ECS to not do CIDR parsing.
* Done implementing the EDNS0 options that make sense
* Default to string values from IANA for EDNSO option codes. Add tests for mappings.
* Add a few more aliases for option codes
* Update README for EDNS0 options
* I think this is what is desired. Happy to change it more if you want.
* Address code review comments from @silverwind