README.md 1.14 KB
Newer Older
Gavin Brown's avatar
added  
Gavin Brown committed
1 2
# NAME

Gavin Brown's avatar
updated  
Gavin Brown committed
3
dnslg - A command line interface to the dns-lg.com DNS Looking Glass service.
Gavin Brown's avatar
added  
Gavin Brown committed
4 5 6 7 8 9 10

# USAGE

    dnslg OPTIONS | [QNAME [QTYPE]]

# ARGUMENTS

Gavin Brown's avatar
Gavin Brown committed
11
- `--help | -h`
Gavin Brown's avatar
added  
Gavin Brown committed
12 13 14

    Display this help message

Gavin Brown's avatar
Gavin Brown committed
15
- `QNAME`
Gavin Brown's avatar
added  
Gavin Brown committed
16

Gavin Brown's avatar
Gavin Brown committed
17
    Fully-qualified domain name to query. Defaults to `EXAMPLE.COM`.
Gavin Brown's avatar
added  
Gavin Brown committed
18

Gavin Brown's avatar
Gavin Brown committed
19
- <CQTYPE>
Gavin Brown's avatar
added  
Gavin Brown committed
20

Gavin Brown's avatar
Gavin Brown committed
21
    Query type. Defaults to `A`.
Gavin Brown's avatar
added  
Gavin Brown committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35

# OUTPUT

For each available node, `dnslg` will output the response received in presentation format. Example:

    $ dnslg xyz SOA
    Response from ch01 (Swiss Privacy Foundation, Switzerland, AS13030):

        xyz. 3185 IN SOA ns0.centralnic.net. hostmaster.centralnic.net. 3000170814 900 1800 6048000 3600

    Response from ch02 (Swiss Privacy Foundation, Switzerland, AS13030):

        xyz. 3186 IN SOA ns0.centralnic.net. hostmaster.centralnic.net. 3000170814 900 1800 6048000 3600

Gavin Brown's avatar
updated  
Gavin Brown committed
36 37
    ... and so on

Gavin Brown's avatar
Gavin Brown committed
38 39
Output will be coloured if your terminal supports it.

Gavin Brown's avatar
added  
Gavin Brown committed
40 41 42 43 44 45 46 47 48 49 50 51
# LICENSE

This program is Free Software; you can use it and/or modify it under the same terms as Perl itself.

# COPYRIGHT

Copyright 2015 CentralNic Group plc.

# SEE ALSO

- [http://www.dns-lg.com](http://www.dns-lg.com)
- [https://www.centralnic.com](https://www.centralnic.com)