show all'; } else { // Show All queries for this client + link to show only blocked $showing .= ' all queries for client '.htmlentities($_GET['client']); $showing .= ', show blocked only'; } } elseif (isset($_GET['forwarddest'])) { if ($_GET['forwarddest'] === 'blocked') { $showing .= ' queries blocked by Pi-hole'; } elseif ($_GET['forwarddest'] === 'cached') { $showing .= ' queries answered from cache'; } else { $showing .= ' queries for upstream destination '.htmlentities($_GET['forwarddest']); } } elseif (isset($_GET['querytype'])) { $showing .= ' type '.getQueryTypeStr($_GET['querytype']).' queries'; } elseif (isset($_GET['domain'])) { $showing .= ' queries for domain '.htmlentities($_GET['domain']); } elseif (isset($_GET['from']) || isset($_GET['until'])) { $showing .= ' queries within specified time interval'; } else { $showing .= ' up to 100 queries'; $showall = true; } if (strlen($showing) > 0) { $showing = '('.$showing.')'; if ($showall) { $showing .= ', show all'; } } ?>

Recent Queries

Time Type Domain Client Status Reply Action
Time Type Domain Client Status Reply Action

Note: Queries for pi.hole and the hostname are never logged.

Filtering options:

  • Click a value in a column to add/remove that value to/from the filter
  • On a computer: Hold down Ctrl, Alt, or to allow highlighting for copying to clipboard
  • On a mobile: Long press to highlight the text and enable copying to clipboard