output udp type, show client examples with dig and netcat
This commit is contained in:
parent
ff963a76ec
commit
df78e13ef2
13
README.md
13
README.md
|
@ -46,6 +46,19 @@ digd.js --input <path/to/file.json>
|
||||||
digd.js --input ./examples/example.com.json
|
digd.js --input ./examples/example.com.json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Testing
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# unix dig
|
||||||
|
dig @localhost example.com
|
||||||
|
|
||||||
|
# dns-suite's dig.js
|
||||||
|
dig.js @localhost example.com
|
||||||
|
|
||||||
|
# unix netcat
|
||||||
|
netcat -u 127.0.0.1 53 < ./samples/example.com.a.query.bin
|
||||||
|
```
|
||||||
|
|
||||||
Options
|
Options
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
|
@ -381,7 +381,7 @@ cli.main(function (args, cli) {
|
||||||
|
|
||||||
console.log('');
|
console.log('');
|
||||||
console.log('Bound and Listening:');
|
console.log('Bound and Listening:');
|
||||||
console.log(server.address().address + '#' + server.address().port);
|
console.log(server.address().address + '#' + server.address().port + ' (' + server.type + ')');
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log('');
|
console.log('');
|
||||||
|
|
Loading…
Reference in New Issue