Update README.md

This commit is contained in:
AJ ONeal 2017-09-29 18:23:03 -06:00
parent 3692e4c828
commit 7ed1e7c3d8
1 changed files with 3 additions and 1 deletions

View File

@ -100,9 +100,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-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-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 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: You can also access them directly from `node_modules/dns-suite` in a project:
```bash ```bash