update urls

This commit is contained in:
AJ ONeal 2017-10-28 00:02:40 -06:00
parent e2338f1b50
commit 9525082936
2 changed files with 14 additions and 11 deletions

View File

@ -1,7 +1,10 @@
dns-suite
dns-suite.js
========
| **dns-suite** | [dig.js](https://git.daplie.com/Daplie/dig.js) | [digd.js](https://git.daplie.com/Daplie/digd.js) |
| **dns-suite.js**
| [dig.js](https://git.coolaj86.com/coolaj86/dig.js)
| [digd.js](https://git.coolaj86.com/coolaj86/digd.js)
|
Fast, lightweight, and easy-to-extend **pure JavaScript** (ES5.1) implementation for DNS / mDNS.
@ -57,17 +60,17 @@ You can use git to install v1.x like so:
```bash
# latest of v1.x
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1'
npm install 'git+https://git.coolaj86.com/coolaj86/dns-suite.js#v1'
```
If you want to be more specific to v1.0.x or exactly v1.0.2 you can do so like this:
```
# latest of v1.0.x
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1.0'
npm install 'git+https://git.coolaj86.com/coolaj86/dns-suite.js#v1.0'
# exactly v1.0.2
npm install 'git+https://git@git.daplie.com:Daplie/dns-suite#v1.0.2'
npm install 'git+https://git.coolaj86.com/coolaj86/dns-suite.js#v1.0.2'
```
Install without git
@ -104,8 +107,8 @@ dns-pack.js </path/to/packet.dns.json> [out.bin] # packs a JSON DNS packet to
dns-test.js </path/to/packet.dns(.json|.bin)> # convert a packet back and forth to test reciprocity of the packer and parser
```
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>.
For **capturing packets** you should use [`dig.js`](https://git.coolaj86.com/coolaj86/dig.js#options) with the `--output` option.
It can capture mDNS as well. See <https://git.coolaj86.com/coolaj86/dig.js#options>.
You can also access them directly from `node_modules/dns-suite` in a project:
@ -147,11 +150,11 @@ console.log(new Uint8Array(ab));
Capturing Packets
-----
We have a command line tool for that! See [dig.js](https://git.daplie.com/Daplie/dig.js).
We have a command line tool for that! See [dig.js](https://git.coolaj86.com/coolaj86/dig.js).
```bash
# Install
npm install -g 'git+https://git@git.daplie.com/Daplie/dig.js.git'
npm install -g 'git+https://git.coolaj86.com/coolaj86/dig.js.git'
# Use with DNS
dig.js A daplie.com --output .

View File

@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
"url": "git@git.daplie.com:Daplie/dns-suite.git"
"url": "https://git.coolaj86.com/coolaj86/dns-suite.js.git"
},
"author": "",
"license": "(MIT or Apache2)",
@ -23,6 +23,6 @@
},
"dependencies": {
"bluebird": "^3.5.0",
"hexdump.js": "^1.0.4"
"hexdump.js": "git+https://git.coolaj86.com/coolaj86/hexdump.js#v1.0.4"
}
}