From a71395aeb1a8f059484a3a2f149b3d523047560d Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Tue, 24 Dec 2013 15:32:22 +0100 Subject: [PATCH] Sample query added --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index ebfa087..fc40396 100644 --- a/README.md +++ b/README.md @@ -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"} +```