Sample query added

This commit is contained in:
Alexandre Dulaunoy 2013-12-24 15:32:22 +01:00
parent b45de81edf
commit a71395aeb1

View file

@ -2,3 +2,15 @@ pdns-qof-server
===============
pdns-qof compliant passive DNS query interface for the pdns-toolkit
Usage
-----
```bash
curl http://127.0.0.1:8888/query/www.microsoft.com
```
```json
{"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"}
```