Merge branch 'master' of git.daplie.com:Daplie/dns-suite

This commit is contained in:
AJ ONeal 2017-10-05 15:02:34 -06:00
commit 84908c62df
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,8 @@
dns-suite
========
| **dns-suite** | [dig.js](https://git.daplie.com/Daplie/dig.js) | [digd.js](https://git.daplie.com/Daplie/digd.js) |
Fast, lightweight, and easy-to-extend **pure JavaScript** (ES5.1) implementation for DNS / mDNS.
Works great in **Web Browsers** and in node.js!
@ -100,9 +102,11 @@ When installed globally you can use these commands:
dns-parse.js </path/to/packet.dns.bin> [out.json] # parses a saved DNS packet to JSON
dns-pack.js </path/to/packet.dns.json> [out.bin] # packs a JSON DNS packet to binary
dns-test.js </path/to/packet.dns(.json|.bin)> # convert a packet back and forth to test reciprocity of the packer and parser
mdns-capture.js <prefixname> [startnum] # listen and save all mDNS packets, numbering by sequence of arrival
```
For **capturing packets** you should use [`dig.js`](https://git.daplie.com/Daplie/dig.js#options) with the `--output` option.
It can capture mDNS as well. See <https://git.daplie.com/Daplie/dig.js#options>.
You can also access them directly from `node_modules/dns-suite` in a project:
```bash