mirror of
https://github.com/adulau/pdns-qof-server.git
synced 2024-11-22 01:57:07 +00:00
Requirements and sample query added
This commit is contained in:
parent
a71395aeb1
commit
a1a6ab32b9
1 changed files with 27 additions and 1 deletions
28
README.md
28
README.md
|
@ -1,7 +1,15 @@
|
|||
pdns-qof-server
|
||||
===============
|
||||
|
||||
pdns-qof compliant passive DNS query interface for the pdns-toolkit
|
||||
pdns-qof server [qof](https://github.com/adulau/pdns-qof) compliant passive DNS query interface for the [pdns-toolkit](https://github.com/adulau/pdns-toolkit) or similar passive dns.
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
- Python 3
|
||||
- [Tornado](http://www.tornadoweb.org)
|
||||
- Python [iptools](https://github.com/bd808/python-iptools)
|
||||
- Python [redis](https://pypi.python.org/pypi/redis/) client
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
@ -14,3 +22,21 @@ curl http://127.0.0.1:8888/query/www.microsoft.com
|
|||
{"count": "126525", "time_first": "1298398002", "rrtype": "CNAME", "rrname": "www.microsoft.com", "rrdata": "toggle.www.ms.akadns.net", "time_last": "1387894724"}
|
||||
{"count": "126525", "time_first": "1298398002", "rrtype": "CNAME", "rrname": "www.microsoft.com", "rrdata": "toggle.www.ms.akadns.net", "time_last": "1387894724"}
|
||||
```
|
||||
```bash
|
||||
curl http://127.0.0.1:8888/query/80.169.63.162
|
||||
```
|
||||
|
||||
```json
|
||||
{"count": "112", "time_first": "1298398002", "rrtype": "A", "rrname": "infosports.dhnet.be", "rrdata": "212.35.116.234", "time_last": "1354530214"}
|
||||
{"count": "112", "time_first": "1298398002", "rrtype": "A", "rrname": "infosports.dhnet.be", "rrdata": "212.35.116.234", "time_last": "1354530214"}
|
||||
{"count": "4", "time_first": "1361180820", "rrtype": "A", "rrname": "infosports.dh.be", "rrdata": "80.169.63.162", "time_last": "1366210757"}
|
||||
{"count": "2", "time_first": "1357803074", "rrtype": "A", "rrname": "maintenance.lalibre.be", "rrdata": "212.35.116.249", "time_last": "1357803074"}
|
||||
{"count": "2", "time_first": "1357803074", "rrtype": "A", "rrname": "maintenance.lalibre.be", "rrdata": "212.35.116.249", "time_last": "1357803074"}
|
||||
{"count": "48", "time_first": "1374008604", "rrtype": "A", "rrname": "s.llb.be", "rrdata": "80.169.63.162", "time_last": "1384916107"}
|
||||
{"count": "94256", "time_first": "1298398002", "rrtype": "A", "rrname": "www.lalibre.be", "rrdata": "212.35.116.249", "time_last": "1361278027"}
|
||||
{"count": "94256", "time_first": "1298398002", "rrtype": "A", "rrname": "www.lalibre.be", "rrdata": "212.35.116.249", "time_last": "1361278027"}
|
||||
{"count": "94256", "time_first": "1298398002", "rrtype": "A", "rrname": "www.lalibre.be", "rrdata": "212.35.116.249", "time_last": "1361278027"}
|
||||
{"count": "213", "time_first": "1298398834", "rrtype": "A", "rrname": "infosports.lalibre.be", "rrdata": "212.35.116.234", "time_last": "1355432823"}
|
||||
{"count": "213", "time_first": "1298398834", "rrtype": "A", "rrname": "infosports.lalibre.be", "rrdata": "212.35.116.234", "time_last": "1355432823"}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue