The Cache
The cache page shows what the server keeps in its DNS cache for one name, and the names below it. Did you change a record at its source? Then use this page to see the old answer that the server still gives. To open the page, click “Cache” in the sidebar.
From top to bottom, the page shows these parts:
- The title “Cache”, with the buttons “Read again” and “Flush all” on its right.
- “Whole cache”: the numbers of the whole cache.
- “Browse”: the field “Look up a name”, the names above the open name, and the open name, with what the cache holds for it in the tabs “Names below”, “Answers” and “Zone cut”.
“Read again” reads the open name and the numbers of the whole cache again, for example after a change at the source. It also reads again the labels that “Show more” added.
The page reads the cache when you open it, when you look up a name or click a label, when you click “Read again” or “Show more”, and after a flush. It does not read again by itself.
Look up a name
Section titled “Look up a name”- In the field “Look up a name”, type the name, for example
example.com. - Click “Look up”, or press Enter.
The page then shows what the cache holds for that name, with the name as the heading. The field
keeps the name, so you can change it and look up the next one. If the field is empty, the page shows “All
names”, the root of the DNS. Every name ends at the root, which DNS writes as a dot, .. At the
root, the page opens on the first tab that shows, so on “Names below” when names are below it.
You can type a name with letters that are not ASCII, such as bücher.example. The page changes it
to the form that DNS uses, such as xn--bcher-kva.example, before it asks the server.
If the text is not a name, the field turns red and says “Type a valid domain name.”. Some examples:
- The text has a space,
/,?,#,@,:or%in it. - A label is empty, as in
example..com, or has more than 63 characters. - The name has more than 253 characters.
- The last label has digits only, as in
example.123.
The page then reads nothing until you fix the name.
The address of the page keeps the name and the tab, for example
/cache/?name=example.com.&tab=cut. A link or a bookmark to that address opens the same name on
the same tab. If your session ended, a link or a bookmark first asks you
to log in. After the login, the page opens with the same name.
The names above
Section titled “The names above”Under the field, the page shows the names above the open name, from the root down. For
www.example.com., they are “All names”, com and example. Click one to open that name. The
heading under them is the open name. At the root, nothing is above, so this line does not show.
A name holds a dot inside a label as \., and a backslash as \\. The page reads those as the
server writes them. So for a\.b.com., the names above are “All names” and com, and the
heading is a\.b.com..
Whole cache
Section titled “Whole cache”This box counts what the whole cache holds, whatever name is open. The first line says how many names the cache holds, such as “4,120 names”, and how much memory they use, such as “3.4 MB in memory”. The line under it counts the other stores of the cache:
- “answers for client networks”: answers that the server keeps for one client network each.
- “zone cuts”: the servers that the server knows for each zone.
- “zones with proven gaps”: zones where DNSSEC proved that some names do not exist.
While the page reads the cache for the first time, the box shows gray bars. If that read fails, the box shows the error, with “Try again”, and “Browse” shows only the field.
The tabs of the name
Section titled “The tabs of the name”The name that is open is the heading of this part. At the root, the heading is “All names”, with one line under it that says what the root is. Under it, up to three tabs show what the cache holds for the name. Each tab has a count in gray:
- “Names below”: the labels directly below the name. The count is the number of labels that the
page shows. When the server has more labels, the count ends in
+, such as “100+”. - “Answers”: the answers that the cache holds for the name. The count adds the record types, the answers for client networks and the denials.
- “Zone cut”: the servers that the server knows for the zone at this name. The count is the number of servers.
A tab shows only when the cache holds something for it. When only one tab has something, the page shows no tabs, only that part under its name.
The page opens on “Answers” when the name has answers. At the root, it opens on the first tab that shows, so on “Names below” when names are below it. For a name with no answers, it opens on “Names below”, or on “Zone cut” when no name is below. A click on a tab opens it, and the address keeps it. “Back” goes to the page before the name, not to the tab before. To move between the tabs with the keyboard, press the arrow keys, then Enter or Space.
When the cache holds nothing for the name, the page shows no tabs and says “The cache holds nothing for this name.”. The server puts an answer in the cache the next time a device asks for the name.
Names below
Section titled “Names below”This tab lists each label directly below the name, with how many names at or below it the cache
holds, such as “www 3 names”. Click a label to open that name. The name opens on its own tab, as
the rule above says, not on the tab that was open. A label can hold a character that the field “Look up a name”
does not take, such as \032 for a byte that is not printable. A click on such a label still
opens its name, as the server wrote it.
The page shows 100 labels at first. When there are more, click “Show more” to see the next 100.
When the privacy settings of the server keep no names, the root keeps this tab with no count, and it says “Hidden by privacy settings”. For any other name, the page has no such tab. A line under the name says “Names below” and “Hidden by privacy settings”.
Answers
Section titled “Answers”The table has one row for each record type that the cache holds at the name:
- “Type”: the record type, such as A, AAAA or MX. A type with a dotted line under it has a short description: tap it, click it, or press Enter on it to see what the type holds. “TTL” and “DNSSEC” in the header open their description in the same way. The description of “DNSSEC” opens only on a tap, a click or a key, and not when the pointer rests on the word.
- “What”: what the entry holds.
- “Records”: the cache holds records of the type.
- “No records”: the name has no record of the type.
- “Failed”: the last lookup of the type failed.
- “TTL”: the time left before the entry ends, in its two largest units, such as “56 min 32 s”, “23 h 56 min” or “5 d 23 h”. “d” is days, “h” hours, “min” minutes and “s” seconds. “Stale” in yellow-brown means that the time is over, and the server keeps the entry to answer while its sources do not.
- “DNSSEC”: “Secure” in green, “Bogus” in red, or “Insecure”, “Unchecked” or “Indeterminate”. The description of “DNSSEC” in the header gives each of these states on a line of its own, with what it means.
- “Records”: the records, one line each. Each part of a line has its label: “Name”, “TTL”, “Type” and “Data”. The TTL of a line is the same time left, as a count of seconds, the form of a zone file. For a stale entry, it is the TTL that a client gets with the stale answer. “TTL” and the type open their description. For “No records”, the line is the SOA record that came with the answer. Where the answer came with no SOA, the cell is empty.
The tab can also show the parts below. The cache does not always hold them, and the tab shows only the parts that it holds.
- “The cache keeps names under … apart.”: a forward entry set to
validatecovers this name. The server checks the answers of that forwarder with DNSSEC, and keeps them in their own part of the cache. An entry from another part says so under “What”, as “Kept for …” or “Kept in the main cache”. When the cache holds no answer for the name, this line shows under the name, above the tabs. - “The name does not exist, for any type.”: the cache holds a denial of the whole name. Its lines give the “TTL”, “DNSSEC” and the “Record of the zone (SOA)” that came with the denial, with a label on each part of the SOA. A stale denial says “Stale, sent with a TTL of 30 s” in place of its TTL. A denial that came with no SOA shows the same lines without the “Record of the zone (SOA)” line.
- “The cache holds a denial of …, which covers this name too.”: a name above does not exist, so this name does not exist either.
- “Answers for client networks”: an answer for each client network, with the labels “Network”, “Type” and “TTL”, and the records, with a label on each part. When the privacy settings keep no client addresses, the network says “Hidden by privacy settings”.
Zone cut
Section titled “Zone cut”This tab gives the “Time left” of the names of the servers, such as “23 h 56 min”, then “Servers”: each server of the zone at this name, with its “Addresses”. “Every server of this zone fails now.” in red means that the server cannot reach any of them.
When the privacy settings of the server keep no names, the server does not name the servers. The tab then has no count, and “Servers” says “Hidden by privacy settings”.
Flush the cache
Section titled “Flush the cache”A flush removes entries from the cache. The server then asks the sources again the next time a
device asks for the name. Only an operator or an admin can flush the cache. A viewer does
not see the flush buttons.
While the page reads the name, the flush buttons are gray, because the server does not flush while it looks into the cache.
- “Flush all”, next to “Read again” at the top of the page: removes everything that the cache holds.
- “Flush this name”, on the right of the open name: removes what the cache holds at that name, for every type.
- “Flush with below”, on the right of the open name: removes the open name and every name below
it. For
example.com., it also removeswww.example.com.andmail.example.com..
At the root, “All names”, “Flush with below” does not show, because it would remove the whole cache, as “Flush all” does. “Flush this name” removes only what the cache holds at the root itself.
To flush:
- Open the name that you want to flush.
- Click one of the flush buttons. The page asks a question first, for example “Flush example.com. from the cache?” or “Flush the whole cache? It holds 4,120 names.”.
- To flush, click the button in the question. To stop, click “Cancel”.
After the flush, a message counts what went, for example “Cache flushed: 3 answers and 2 links of trust”. If the cache held nothing, the message says “The cache held nothing to flush.”. The page then reads the name again, with the first 100 labels below it.
The counts in the message:
- “answers”: names that lost their answers, of any type.
- “answers for client networks”: answers that the server keeps for one client network each.
- “zone cuts”: the servers of a zone.
- “links of trust”: DNSSEC keys and their proofs.
- “zones with proven gaps”: zones where DNSSEC proved that some names do not exist.
Flush errors
Section titled “Flush errors”When a flush fails, a red message shows the words of the server: a title and a line under it.
- “Another request of this kind is running”: the server runs one flush at a time, and another flush runs now. It can come from another tab or another user. Nothing changed. Wait a second, then flush again.
- “The memory is flushed, and the snapshot on disk is not”: the server removed the entries from its memory. The copy of the cache on its disk can still hold them, so the next start of the server can load them again. Flush again. The page reads the name again.
- “That part of the server is not running”: a 503. Read the line under the title:
- “the flush outlasted the wait, so whether it ran is unknown”: the flush took too long. A second flush is safe. The page reads the name again.
- “nothing answers cache requests”: the cache of the server does not run.
- The console cannot reach the server: check that the server runs and that your network works.
Errors
Section titled “Errors”When the page cannot read the cache, the box “Whole cache” shows the error of the server in red, with “Try again”. When the page already shows a name, it keeps the name on the screen and shows the error in the box, above the numbers.
- “Another browse of the cache runs. Wait, then read again.”: the server looks into the cache for one request at a time, and another request runs now. It can come from another tab or another user. The page first waits one second and reads once more by itself. If the server is still busy, the page shows this error. Wait a moment, then click “Try again” or “Read again”.
- If “Show more” fails, a message at the edge of the screen names the problem. The labels that the page shows stay. Click “Show more” again.
- The console cannot reach the server: check that the server runs and that your network works.
- Your session ended: the console opens the login page. Log in again.