The Query Log
The query log lists the DNS queries that the server answered, newest first. Use it to find out what a device asked, and what answer it got. To open it, click “Query log” in the sidebar.
From top to bottom, the page shows the time range, the lists “Blocking” and “Group”, the rows and the pager. The poll bar is at the right end of the row of the time range. On a narrow screen, such as a phone, the poll bar goes under the time range.
The other filters are in the names of the columns: “Device”, “Name”, “Type”, “Result” and “Code”. Click or tap the name of a column, or move to it with Tab and press Enter or Space, to open its filter. A small dot beside the name of a column says that its filter is on. A phone has no column names, so there the same five filters are buttons over the rows.
Choose the time range
Section titled “Choose the time range”At the top are five buttons: “Last hour”, “Last 24 hours”, “Last 7 days”, “Last 30 days” and “Everything”. The page starts with “Last hour”. Click a button to show the queries of that time range. The button of the range that is open is shaded.
The page shows the queries of the range one page at a time, the newest 100 first. See Pages.
Show the queries of one device
Section titled “Show the queries of one device”- Click “Device”, the name of the column.
- In the field, type the IP address of the device, for example
192.168.1.20orfd00::1. - Click “Apply”, or press Enter.
The page then shows only the queries that came from that address.
Under the field, the list offers the 10 devices that sent the most queries in the time range,
under “Busiest devices in this range”. A device that has a name on the Devices page shows the
name, with its IP address under it, for example “laptop” over 192.168.1.20. A device with no
name shows its IP address alone. As you type, the list keeps only the devices whose name or
address holds the text. Capital letters and small letters match the same name. If no device
matches, the list says “No busy device matches.” You can still apply the address that you typed.
The names come from the addresses and the subnets of each device on the Devices page. If two subnets hold the address, the narrower one gives the name. A device that only the addresses of this server after “Arrived on” pick shows its address alone. The address that asked does not tell which address of this server the query came to. The list shows the names that the devices have now, also for older queries. Where a router that the server trusts sends the client subnet option, the server names each query by that option, so the queries of the router’s address can carry the names of other devices than the one the list shows.
To pick a device of the list, click it, or move to it with the arrow keys and press Enter. The page shows its queries at once, with no “Apply”. The filter keeps the IP address of the device, because the page filters by the address. Escape closes the filter. A text that you did not apply goes when the filter closes.
To show the queries of all devices again, open “Device”, clear the field, and click “Apply”.
The field takes one IPv4 or IPv6 address. It does not take a port or a network such as
192.168.1.0/24. If the text is not an address, the page says “Type one IPv4 or IPv6 address.”
in the place of the rows, and reads nothing until you fix the address.
If you type the whole name of one device of the list and click “Apply” or press Enter, the page applies the address of that device. If two devices of the list have that name, or none has, the filter takes the text as an address.
The address of the page keeps the filters, for example /queries/?range=24h&device=192.168.1.20
or /queries/?name=ads&type=AAAA&group=kids.
A link or a bookmark to that address opens the same filters. If your session ended, a link or a
bookmark first asks you to log in. After the login, the page opens with the same filters. On the overview, a click on a device
in “Top devices” opens the query log with that device.
Show the queries of a name
Section titled “Show the queries of a name”- Click “Name”, the name of the column.
- In the field, type a name or a part of a name, for example
ads. The page shows each name that holds this text, such asads.example.comandmyads.example.net. Capital letters and small letters match the same text. The text is plain:*,%and_are characters, not wildcards. - Click “Apply”, or press Enter.
The page then shows only the queries whose name holds the text. A whole name, such as
www.example.com, also shows the names that hold it, such as cdn.www.example.com. To show the
queries of all names again, open “Name”, clear the field, and click “Apply”. A text that you did
not apply goes when the filter closes.
The field takes 1 to 255 letters, digits and signs, with no space. The log keeps a name with
letters outside ASCII as the device sent it, so type the text that the log shows. A name that a
device sent in its xn-- form stays in that form: xn--bcher-kva finds xn--bcher-kva.example,
the name bücher.example. A name that a device sent in other bytes shows each such byte as an
escape, such as \195: m\195\188nchen finds m\195\188nchen.de.. The field finds that text
too, but one form does not find the other. For another text, the page says what is wrong in the
place of the rows, and reads nothing until you fix the text. If the server refuses the text, the
page shows the words of the server in the same place.
A search by a part of a name can make the page wait, as Errors says.
A privacy setting of the server can stop it from keeping the names. A query that the server wrote while that setting was on has no name, so the field does not find it.
Show one type, result, code, blocking or group
Section titled “Show one type, result, code, blocking or group”“Type”, “Result” and “Code” are names of columns. Each one opens a list with a search field at its top. Type in the field to find an item by its words or by the line under it, for example “mail” finds MX. “Blocking” and “Group” are lists under the time range, with a search field too. Enter picks the first item that matches. A pick shows its queries at once, with no “Apply”.
- “Type”: the type of the question, such as A, AAAA or HTTPS. Under each type, a gray line says what the type holds, for example “IPv6 address” for AAAA.
- “Result”: one of the result words of the rows: Answered, Cached, Local, Blocked, Failed or Stale, each with what it means. See The result words. “Failed” shows every failed query, whatever its code.
- “Code”: the response code of the answer, such as NOERROR, NXDOMAIN or SERVFAIL. Under each code, a gray line says what it means, for example “The name does not exist.” for NXDOMAIN.
- “Blocking”: what blocking did for the query. “Blocking ran”, “The device skips blocking” (the device is in “Clients that are never blocked”), “Blocking was off”, or “The group blocks nothing”. These are the words of the path of one answer below.
- “Group”: a group of devices from the Devices page, such as
defaultorkids. A query that the server wrote while “Store the clients” was off has no group, so the list does not find it. Neither has a query that an older Tadoru release wrote, before the log kept the group of each query.
“Local” and “Blocking ran” also show the dynamic updates, because the server keeps them as answers from this server, with blocking that ran. Their rows say “Update”. To show every value again, pick the first item of the list, such as “Any type” or “Any group”.
A filter that leaves no row keeps the names of the columns on the page, so you can open it again and change it.
The filters work together. For example, the device 192.168.1.20, the name example.com and
“Blocked” show the names that hold example.com and that the server blocked for that device. The server filters the whole time range, not only the rows on the page. A change of
the time range keeps the filters.
The rows
Section titled “The rows”Each row is one query, and the newest query is at the top. The columns are:
- “Time”: the time of day of the query, in the time zone of your browser. In a range longer than the last hour, the time also has the month and the day, for example “10-18 21:40:12”. Put the pointer on it to see the full date.
- “Device”: the name of the device, or its IP address. Put the pointer on a name to see the address.
- “Name”: the name that the device asked for. Put the pointer on a long name to see all of it.
- “Type”: the type of the question, such as A, AAAA or HTTPS.
- “Result”: what the server did, in one word. See The result words.
- “Code”: the response code of the answer, such as NOERROR, NXDOMAIN or SERVFAIL. The path of one answer says what each code means. A phone has no column “Code”. There, “Result” names the code of a failure, and the path of the answer names every code.
- “Time taken”: how long the server took to answer. An answer that took less than 0.05 ms shows “<0.1 ms”.
The rows scroll in their own box, and the column names stay at the top of the box.
A privacy setting of the server can stop it from keeping the name or the address of a query. The row then says “Hidden by privacy settings” in that column.
If the range has no queries, the page says “No queries in this time range.”.
Sort the rows
Section titled “Sort the rows”The rows come newest first. The column names “Time” and “Time taken” are buttons, and an arrow beside the name shows the order. The server sorts the whole time range, not only the rows on the page.
- Click “Time taken” to show the slowest answers first. Click it again to show the fastest first.
- Click “Time” to show the newest queries first again. Click it again to show the oldest first.
The other columns do not sort. The address of the page keeps the sort, for example
/queries/?sort=duration, so a bookmark opens the same order. A change of the time range or the
device keeps the sort.
In an order other than newest first:
- The buttons under the rows are “Back to the first page”, “Previous” and “Next”. They move through the pages of the order, as Pages says.
- New queries do not go into the rows, because their place in the order can be anywhere. A line above the rows counts them, for example “3 new queries. Sort again”. Click it to read the first page of the order again.
On a phone, the table has no column names, so you cannot change the sort there. A link with
?sort= still opens that order. A line above the rows then names it, for example “Sorted by time
taken, slowest first.”. Click “Show newest first” to go back. The same line shows on a wide screen
when the sorted page has no rows.
If the server no longer knows the place of a page, for example after a restore of the query log, the page goes back to the first page and reads it again.
Clear names or devices
Section titled “Clear names or devices”An operator or an administrator can clear the names or the devices from every row of the log. If somebody asks for their data to be gone, or you turn off a privacy setting, use it. A viewer does not see “Clear”.
- Click “Clear” at the right of the title.
- Click “Clear the names” or “Clear the devices”.
- Read the question. The rows stay, but the names or the devices show “Hidden by privacy settings”. You cannot undo this.
- To also clear the top lists of the overview, select the box. The overview then has no top names and no top blocked names, or no top devices, from before the clear.
- Click “Clear names” or “Clear devices”.
A message at the edge of the screen counts the rows that changed, and the page reads the rows again. New rows hold the names again while “Store the names” is on in the DNS settings. New rows hold the devices again while “Store the clients” is on. To stop it, turn the setting off first. If rows came in during the clear, a second message counts the newer rows that still hold the value.
The result words
Section titled “The result words”Each result has a word, and most words also have a color. The word always tells the result, so you do not need the color.
| Word | Color | What the server did |
|---|---|---|
| “Answered” | Green | It got the answer from an upstream server, or found it by recursion. |
| “Cached” | Green | It answered from its cache. |
| “Local” | Green | It answered from a local zone, or made the answer itself. |
| “Blocked” | Red | A rule of the blocking blocked the name. |
| “Failed: SERVFAIL” | Red | It answered with an error. The word after “Failed:” is the response code. |
| “Stale” | Orange | It answered from its cache with an old record, past its time to live. |
| “Update” | None | A device sent a dynamic update, not a question. |
An answer that says the name does not exist (NXDOMAIN) is an answer, not a failure. It shows as “Answered” or “Cached”. Every other error code is a failure, for example “Failed: REFUSED” or “Failed: FORMERR”.
To read what each word means, open the filter “Result”: each word has a plain line under it, for example “Stale”: from the cache, past its time to live (TTL), because no new answer came in time. The path of a row also says what its result means.
The path of one answer
Section titled “The path of one answer”To see how the server got the answer of one query, click its row. The panel “Path of this answer” opens at the right side of the page. At the top, a list says what the query was. Each line has a label:
- “Name”: the name that the device asked for.
- “Type”: the record type, with a short word of what it holds, for example “AAAA IPv6 address”.
- “Time”: the date and time of the query, and how long ago it was, for example “2 minutes ago”.
- “Result”: the result word of the row, with the dot of its color, and a gray line under it that says what the word means.
Under the list, the stops show the path, from top to bottom. Each stop has its label:
- “Device”: its name and its IP address, for example “laptop (192.168.1.20)”. If a proxy relayed the query, the line under the stop says “Relayed by” and the address of the proxy.
- “Group and policy”: the group and its policy, for example “Group kids. Blocking ran”. The policy tells whether blocking ran for this device.
- “Decision”: what the server did, for example “Answered from the cache”, “Forwarded to an upstream server” or “Resolved from the root servers down”. If an upstream server answered, the line under the stop names it.
- “Server asked”: one stop for each upstream server or name server that the server asked for this query, in the order of the questions. Each stop names the server and how the question went, for example “192.0.2.1:853 over DoT (DNS over TLS, encrypted)”. The lines under it give the name and the record type that went out, with what the type holds, the zone in a walk from the root, what the server replied, and the time taken. A reply line says, for example, “Replied with a referral to the name servers of a zone further down” or “Gave no reply in time”. An answer from the cache or from a zone of this server has no such stop. A stale answer that went out because its refresh failed shows the servers of that refresh. A query that came while the same question was already on its way shows the servers of the one resolution that answered both.
- “Answer”: the response code, the count of records and the time taken, for example “NXDOMAIN, 0 records, in 14 ms”. The line under it says what the code means, for example “The name does not exist.”, and the next line gives an example of when the code comes, such as “For example, the name has a typo, such as exmaple.com.” A code of a dynamic update gets a line that says what a dynamic update is. If the server added extended DNS errors, each one has a line, such as “Extended error 15: Blocked”.
If a rule blocked the name, the decision says “Blocked”. The lines under it give the origin of the rule, the rule, the list, the name that matched, and the alias chain. A name, an address, a rule and a list show in the mono face.
The dot of the decision has the color of the result word. For example, it is red for “Blocked”.
A walk from the root asks many servers. The log keeps only the first of them, 64 at most. Where it left some out, a line under the decision says how many. If the server keeps no names of queries, it keeps no servers asked either, so the path has no “Server asked” stop.
If the console cannot read the devices of the server, the group stop shows the policy alone. The next time that you open the panel, the console tries to read the devices again.
To see all the queries of the same device, click “Show queries of this device”. The panel closes, and the device filter gets the address of the device. The time range stays the same. If a privacy setting hid the address, the panel does not show this button.
To learn which list or rule blocks the name for this device now, click “Search lists for this name”. Search Lists opens, and searches the name, the address and the record type of the query. Some devices are picked only by the address of this server that the query came to. A search comes to no address of this server, so for such a device it searches the device by its name. The answer uses the rules of now, not the rules at the time of the query. If a privacy setting hid the name or the address, the panel does not show this button.
Allow or block the name
Section titled “Allow or block the name”An operator or an admin sees one more button under the path. A viewer does not.
- A blocked query has “Allow this name”. In an alias chain, the form takes the name that matched. Allowing the name that was asked for does not clear a block further along the chain.
- Every other query has “Block this name”. A query that blocking did not test has no such button. For example, blocking was off, or the device skips blocking.
- The root name “.” has no button.
- An update has no button. A query whose name a privacy setting hid has none either.
- A name that the server answers by itself has no button. An example is the name that tells Firefox that this network filters.
The button opens the form of a name of the Rules page (The Rules), with the name filled in. It opens in a panel of its own, and the path hides while the form is open. On a phone, the form rises from the bottom. You can change the name and add a note. “Add to allowed names” or “Add to blocked names” saves the name at once, with no review. A toast names the list and the new revision. Click “Show in Rules” in the toast to open that list.
The form refuses a name that its list holds already. If the other list holds the name, a line says which one wins: an allowed name wins over every block. If somebody changed the rules while the form was open, the form reads them again and says so. Click the button again to add the name on top of the new rules.
“Cancel”, Escape, a click outside and the close button close the form. The path shows again, where you left it, and the focus goes back to “Allow this name” or “Block this name”. A saved name closes the form in the same way. If you changed the name or the note, the first Escape or click turns “Cancel” into “Discard changes”, and a second one closes the form. While the console saves the name, the form stays open.
To close the path panel, click the close button at the top right, click outside the panel, or press Escape.
Use the keyboard
Section titled “Use the keyboard”- Press Tab until a row has a focus ring. The rows come after the filters. The focus is on the button in the first cell of the row. A screen reader first reads the time of the row, or on a phone its two lines, and then “Show the path of the answer to example.com”. Where the privacy settings hide the name, it says “Show the path of this answer”.
- Press Tab or Shift+Tab to go to the next or the previous row.
- Press Enter or Space to open the panel of the row.
- Press Escape to close the panel. The focus goes back to the same row.
On a phone
Section titled “On a phone”On a narrow screen, such as a phone, each row has two lines. The top line gives the name and the result word. The line under it gives the device, the type and the time, each with its label, for example “Device laptop”, “Type AAAA” and “Time 18:56:07”. The table has no column names, so the filters “Device”, “Name”, “Type”, “Result” and “Code” are buttons over the rows.
The panel “Path of this answer” takes the whole width of the screen.
The page shows one page of queries at a time. The pager under the rows moves through the pages:
- “Older” shows the next page, with older queries.
- “Newer” shows the page before, with newer queries. A page that you saw shows again at once.
- “Back to newest” goes back to the newest page, and reads it again.
On the newest page, “Newer” and “Back to newest” are gray, and you cannot click them. On the last page of the range, “Older” is gray. The pages have no numbers.
After each move, the focus goes to the rows of the new page. A screen reader then reads them.
To choose how many queries a page shows, pick 50, 100 or 250 in “Rows per page”. The page starts
with 100. A new count opens the newest page. The address of the page keeps the count, for example
/queries/?size=250.
A new time range, device or sort also opens the newest page. So does a reload of the page.
If a page has no query, the page says why:
- “No queries in this time range.”: the range has no query at all.
- “No queries on this page. Try the next page.”: the server stopped before it found a query. Click “Older” to read on. This can happen with a device that sent few queries.
- “No more queries in this time range.”: you went past the oldest query of the range.
New queries
Section titled “New queries”At each read, the page asks the server for the queries that came in since the newest page.
- If the newest page shows and its top row is in view, the page reads the newest page again. The new queries come on top. The oldest rows of the page go to the next page, where “Older” finds them.
- If you scrolled down, or an older page shows, the rows do not move. A line above the rows says how many new queries came in, for example “3 new queries. Show the newest”. Click it to go to the newest page and read it again.
- If more than a page of new queries came in, the line says for example “More than 100 new queries. Show the newest”. Until you click it, the page does not count new queries.
Dropped queries
Section titled “Dropped queries”If the server gets more queries than it can write, it drops rows of the log. If it dropped rows in the time range, an orange line above the rows says so. For example: “The log is missing 120 queries of this time range. A burst filled the queue of the log, so their rows were not written. The devices still got their answers.”. The page then misses those queries.
The reads of the page
Section titled “The reads of the page”The page reads the server again every 15 seconds while the browser tab shows it. When the tab is hidden, the page stops reading. When you show the tab again, the page reads at once.
The poll bar counts down to the next read, for example “Next read in 12 s”. The ring around the arrows of the button at its left empties as the time goes. If a read takes more than a moment, the arrows turn, and the bar says “Reading”. Beside the countdown, the bar shows the time of the last read, for example “Read at 21:40:12”.
When the time of the last read changes, only the digits that changed roll up to their new digits. If your system asks for less motion, the new time shows at once.
- To stop the rows from changing while you read them, click “Pause”. The bar then says “Paused”, and the ring is empty. The pause ends when you click “Resume”, choose another range or device, or reload the page.
- To start the reads again, click “Resume”. The page reads at once.
- To read at once, click the button with the arrows, “Read now”.
Errors
Section titled “Errors”- While the page reads for the first time, the rows show gray bars.
- If the first read fails, the page names the problem and shows “Try again”. Click it to read again.
- If a later read fails, the page keeps the last rows. The poll bar then says “The last read failed:” and names the problem. It counts down to the next try, for example “Next try in 12 s”.
- If the read of an older page fails, the page names the problem and shows “Try again”. “Newer” and “Back to newest” still work.
- “The server is busy. Try again soon.” The usual cause is a query log of the server that does not run. The line under it gives the words of the server.
- “The server is busy with other searches of the query log. Try again in a moment.” Some reads pass over many rows, so the server runs only two of them at a time, for every tab and user together. These are a page with a filter other than the device alone, a page sorted by duration, every older page, and the count of new queries with a filter, a device or a time range other than “Everything”. If two run already, such a read waits up to a second on the server for a place. If no place frees, the page waits a second and asks once more. If the server is still busy, the page shows these words in the place of the rows, with “Try again”. Where the page keeps its last rows, the poll bar shows the words, and the next read tries again. A count of new queries does not ask a second time. The poll bar shows the words, and the page counts again at the next read.
- “The server cannot read this request.” The server refused the time range or the address. Choose the range again, or check the address.
- “The console cannot reach the server.” The network or the server is down. The page tries again at the next read.
- “The server still clears the rows. Reload in a minute.” A clear of names or devices took more than 20 seconds, and the server goes on with it. Reload the page after a minute to see the cleared rows.
- If your session ends, the console opens the “Log in to Tadoru” page.