Extend query log and API to be able to handle requests limited to specific forward destinations and query types

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2018-08-15 14:36:37 +02:00
parent 6f7e1b5b59
commit 6fb2dab5bc
2 changed files with 18 additions and 0 deletions

View File

@@ -136,6 +136,14 @@ $(document).ready(function() {
{
APIstring += "&domain="+GETDict["domain"];
}
else if("querytype" in GETDict)
{
APIstring += "&querytype="+GETDict["querytype"];
}
else if("forwarddest" in GETDict)
{
APIstring += "&forwarddest="+GETDict["forwarddest"];
}
// If we don't ask filtering and also not for all queries, just request the most recent 100 queries
else if(!("all" in GETDict))
{