Update README.md
This commit is contained in:
parent
3692e4c828
commit
7ed1e7c3d8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue