This commit is contained in:
AJ ONeal 2018-03-20 20:11:57 -06:00
parent 3bf715998d
commit 90ed10c129
1 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ dig.js
| **dig.js** | **dig.js**
| [mdig.js](https://git.coolaj86.com/coolaj86/mdig.js) | [mdig.js](https://git.coolaj86.com/coolaj86/mdig.js)
| [digd.js](https://git.coolaj86.com/coolaj86/digd.js) | [digd.js](https://git.coolaj86.com/coolaj86/digd.js)
| Sponsored by [Daplie](https://daplie.com). | Sponsored by [ppl](https://ppl.family)[.](https://dapliefounder.com)
Create and capture DNS and mDNS query and response packets to disk as binary and/or JSON. Create and capture DNS and mDNS query and response packets to disk as binary and/or JSON.
Options are similar to the Unix `dig` command. Supports dns0x20 security checking. Options are similar to the Unix `dig` command. Supports dns0x20 security checking.
@ -28,7 +28,7 @@ npm install -g 'git+https://git.coolaj86.com/coolaj86/dig.js.git#v1.0.0'
### without git ### without git
Don't have git? Well, you can also bow down to the gods of the centralized, monopolized, concentrated, *dictator*net Don't have git? Well, you can also bow down to the gods of the centralized, monopolized, concentrated, *dictator*net
(as we like to call it here at Daplie Labs), if that's how you roll: (as we like to call it here at ppl Labs), if that's how you roll:
```bash ```bash
npm install -g dig.js npm install -g dig.js
@ -44,7 +44,7 @@ dig.js [TYPE] <domainname>
**Example**: **Example**:
```bash ```bash
dig.js daplie.com dig.js coolaj86.com
``` ```
### mDNS Browser Example ### mDNS Browser Example
@ -64,9 +64,9 @@ dig.js -p 5353 @224.0.0.251 PTR _services._dns-sd._udp.local +time=3
### Moar Examples ### Moar Examples
```bash ```bash
dig.js A daplie.com dig.js A coolaj86.com
dig.js @8.8.8.8 A daplie.com dig.js @8.8.8.8 A coolaj86.com
``` ```
Options Options
@ -80,7 +80,7 @@ Options
-t <type> (superfluous) A, CNAME, MX, etc. Also supports -t type<decimal> for "unsupported" types. default ANY (mdns default: PTR) -t <type> (superfluous) A, CNAME, MX, etc. Also supports -t type<decimal> for "unsupported" types. default ANY (mdns default: PTR)
-c <class> default IN -c <class> default IN
-p <port> default 53 (mdns default: 5353) (listener is random for DNS and 5353 for mDNS) -p <port> default 53 (mdns default: 5353) (listener is random for DNS and 5353 for mDNS)
-q <query> (superfluous) required (ex: daplie.com) -q <query> (superfluous) required (ex: coolaj86.com)
--nameserver <ns> alias of @<nameserver> --nameserver <ns> alias of @<nameserver>
--timeout <ms> alias of +time=<seconds>, but in milliseconds --timeout <ms> alias of +time=<seconds>, but in milliseconds