13 Commits

Author SHA1 Message Date
Tom Pusateri
2e59f463e2
Fix encode/decode for root name ('.'). Add tests. Fixes #13. 2018-01-10 19:42:09 +01:00
Tom Pusateri
0e95e8e18d Convert Opcodes to/from strings. 2018-01-09 20:52:08 -05:00
Tom Pusateri
2474fead8f Add Q/R flag boolean and change other flags to boolean. 2018-01-09 20:51:50 -05:00
Tom Pusateri
eabaaa5156 Decode RCODE and other header flags. Fixes #11. 2018-01-09 20:50:00 -05:00
Tom Pusateri
5aaf0790d9 Finish adding SOA and NS record encoding/decoding. (#14)
* add ns record and soa record

* npm test with standard

* Complete SOA, NS decoding. Also add encoding and tests.

* updated travis CI tests to stable versions of node.
2018-01-05 18:42:16 +01:00
silverwind
e44b28c817
fix fallback for CAA flags 2017-08-12 22:09:43 +02:00
silverwind
03ca378b02
initialize caa flags to 0 when not given 2017-08-12 18:38:56 +02:00
kyleaedwards
c1e94b5d69
support CAA records 2017-08-12 18:25:09 +02:00
silverwind
b2f320b83d use new Buffer APIs (#1) 2016-11-11 13:21:27 +09:00
Mathias Buus
1d241f5f97 support bit flags 2016-02-22 17:37:12 -08:00
Mathias Buus
32ca5ff640 fix bug in txt encoding length 2016-02-18 13:20:47 -08:00
Mathias Buus
00b27da6cc allow null txt records 2016-02-18 13:15:35 -08:00
Mathias Buus
e2643b0312 first commit 2016-02-18 12:48:08 -08:00