update urls
This commit is contained in:
parent
e2338f1b50
commit
9525082936
21
README.md
21
README.md
|
@ -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.
|
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
|
```bash
|
||||||
# latest of v1.x
|
# 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:
|
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
|
# 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
|
# 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
|
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
|
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.
|
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.daplie.com/Daplie/dig.js#options>.
|
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:
|
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
|
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
|
```bash
|
||||||
# Install
|
# 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
|
# Use with DNS
|
||||||
dig.js A daplie.com --output .
|
dig.js A daplie.com --output .
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git@git.daplie.com:Daplie/dns-suite.git"
|
"url": "https://git.coolaj86.com/coolaj86/dns-suite.js.git"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "(MIT or Apache2)",
|
"license": "(MIT or Apache2)",
|
||||||
|
@ -23,6 +23,6 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bluebird": "^3.5.0",
|
"bluebird": "^3.5.0",
|
||||||
"hexdump.js": "^1.0.4"
|
"hexdump.js": "git+https://git.coolaj86.com/coolaj86/hexdump.js#v1.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue