Update README.md

This commit is contained in:
AJ ONeal 2017-10-02 11:50:02 -06:00
parent 09d95fd88c
commit 1b182f7c2f
1 changed files with 5 additions and 8 deletions

View File

@ -6,9 +6,11 @@ dig.js
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. Options are similar to the Unix `dig` command.
Install with git Install
------- -------
### with git
```bash ```bash
# Install the latest of v1.x # Install the latest of v1.x
npm install -g 'git+https://git@git.daplie.com/Daplie/dig.js.git#v1' npm install -g 'git+https://git@git.daplie.com/Daplie/dig.js.git#v1'
@ -19,8 +21,7 @@ npm install -g 'git+https://git@git.daplie.com/Daplie/dig.js.git#v1'
npm install -g 'git+https://git@git.daplie.com/Daplie/dig.js.git#v1.0.0' npm install -g 'git+https://git@git.daplie.com/Daplie/dig.js.git#v1.0.0'
``` ```
Install 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 Daplie Labs), if that's how you roll:
@ -32,13 +33,11 @@ npm install -g dig.js
Usage Usage
----- -----
### Format
```bash ```bash
dig.js [TYPE] <domainname> dig.js [TYPE] <domainname>
``` ```
### Example **Example**:
```bash ```bash
dig.js daplie.com dig.js daplie.com
@ -63,8 +62,6 @@ dig.js -p 5353 @224.0.0.251 PTR _services._dns-sd._udp.local +time=3
```bash ```bash
dig.js A daplie.com dig.js A daplie.com
dig.js -t A daplie.com
dig.js @8.8.8.8 A daplie.com dig.js @8.8.8.8 A daplie.com
``` ```