The DNS Client
The DNS client asks one DNS server one question, and shows what the server answered and how long it took. Use it to see what a forwarder answers, or why a name answers what it does at its source. To open the page, click “DNS client” in the Tools group of the sidebar.
Only an operator and an administrator see the page. A viewer who opens its address sees “Only an operator or an administrator can ask a DNS server.”.
The page keeps nothing. The form and the answer go when you leave the page, reload it or log out. The address of the page never holds the server, and the browser keeps no list of what you typed in “Server”. A DoH server can carry a token in its path, so the page treats the server as you treat a password.
Ask a server
Section titled “Ask a server”The first row holds “Name”, what you test, and “Server”, the server that you test it against. The second row holds “Transport” and “Type”, and the button “Ask” at its end. The Tab key goes through them in that order. The two columns are equal and share the whole width of the form, as the answer under it does, so on a wide screen the fields grow wider. Where the form is narrower than about 900 pixels, and on a phone, the fields stand one under the other in the same order, and “Ask” comes under “Type”. Each field has a short help under it. To read the whole help of a field, click the info button beside its label.
- In “Name”, type the name, for example
example.com. - In “Server”, pick a known server from the list, or type the server. The forms are the forms
of the forwarders on the DNS page:
192.0.2.53or192.0.2.53:5353asks over UDP.tcp://192.0.2.53asks over TCP.tls://dns.quad9.net (9.9.9.9)asks over DNS over TLS. The server must hold a certificate for the name before the parentheses.https://dns.example/dns-query (192.0.2.53)asks over DNS over HTTPS,h3://over DNS over HTTPS on HTTP/3, andquic://over DNS over QUIC.- A host name with no address, such as
dns.googleortls://dns.quad9.net. The server of this console looks the name up first. - Write the scheme in lower case. The server does not read
TCP://orudp://, and says so under “Server”.
- Optional: in “Transport”, pick a transport. “From the server” takes the transport of the
scheme, or UDP for a plain address. Pick “TCP” to ask a plain address over TCP. While
“Server” starts with
tcp://,tls://,https://,quic://orh3://, “Transport” shows the transport of that scheme, and you cannot change it. The line under it names the scheme and the transport, such as “Set by the scheme tcp:// of Server: TCP.”. While the box is locked, the Tab key skips it, and still stops at its info button. Delete the scheme to pick again: your last choice comes back. - Optional: in “Type”, type a record type, such as
AAAAorMX, or its number. An empty field meansA. - Click “Ask”, or press Enter.
A name with letters outside ASCII, such as bücher.example, goes in the form that DNS uses, such
as xn--bcher-kva.example. Any other name goes as you typed it, with its capitals.
While the query runs, the button says “Asking”, and the page says “Asking the server. A query ends within 15 seconds.”.
Known servers
Section titled “Known servers”The list under “Server” holds known servers, by provider: Cloudflare, Quad9, Google and This
server. Click the arrow at the end of the field to open the whole list, or type to see the
entries that match, such as quad9, DoT or blocks. Each entry gives the text that it puts in
“Server”, its transport, its port and what the service does, such as “Blocks malware, checks
DNSSEC.”. Pick an entry with a click, or with the arrow keys and Enter. Enter on an entry picks
it, and does not ask. The text of an entry names its transport. An entry with a scheme locks
“Transport” to that transport, and keeps your choice under the lock. An entry with no scheme, an
address of UDP, sets “Transport” to “From the server”. You can change the text after the pick, or
type any other server. The open list covers “Type” and “Ask”,
so a click there picks an entry. Press Escape, or click outside the list, to close it first.
| Provider | Services | Transports |
|---|---|---|
| Cloudflare | 1.1.1.1, no filter. 1.1.1.2, blocks malware. 1.1.1.3, blocks malware and adult content | UDP, TCP, DoT, DoH, and DoH3 for 1.1.1.1 |
| Quad9 | 9.9.9.9, blocks malware. 9.9.9.10, no blocking. 9.9.9.11, blocks malware and passes on the client subnet | UDP, TCP, DoT, DoH |
| 8.8.8.8 and 8.8.4.4, no filter, passes on the client subnet | UDP, TCP, DoT, DoH |
Each service is in the list by its first IPv4 address and its first IPv6 address, Google by both of each. An entry names one address, so the query goes to that address alone.
“This server” lists the DNS listeners of the node that the console talks to, from the settings on
the page This node. Each address of “DNS addresses” gives a UDP entry and a TCP entry. Each
encrypted listener gives one entry, with the name of “Server name”, or else the first ACME name in
“Certificate names” that is not a wildcard, and the path of DoH. An address on a network device,
such as 192.168.1.2:53@eth0, and a link-local address are not in the list, because the DNS client
cannot ask them from this host. Without a name for the certificate, the list says so, and the
encrypted listeners are not in it. If the settings of the node do not load, the list says “The
listeners of this server did not load.”, and the other groups still work.
The list is the same for every user. It never holds a server that you typed.
Options
Section titled “Options”Click “Options” to open the other fields under the two rows. They stand in three groups, each with its heading: “The question”, “Extensions (EDNS)” and “Attempts”. In each group, the switches come first and a field that you type in comes last. Where the form is about 900 pixels wide or more, the groups stand in two columns: “The question” and “Extensions (EDNS)” side by side, and “Attempts” under “The question”. The columns of Options are the columns of the fields above, so their edges line up. The Tab key goes through the groups in that order. The width of the form counts, not the width of the screen, and the sidebar takes part of the screen. With less width, and on a phone, the groups stand in one column. A tablet held sideways can show two columns, most often with the sidebar folded. Each option starts at the value that the server takes when you leave it alone. The button says how many options differ from their start value, such as “Options (2 changed)”.
| Group | Field | What it does | Start |
|---|---|---|---|
| The question | Ask the server to resolve the name (RD) | Off asks an authoritative server for its own records only | On |
| The question | Ask the server not to check signatures (CD) | A server that checks signatures answers even where they fail | Off |
| The question | Class | IN for every usual question. CH asks a server about itself | IN |
| Extensions (EDNS) | Send EDNS (an OPT record) | Off asks as an old client does | On |
| Extensions (EDNS) | Ask for DNSSEC records (DO) | The server sends the signatures of the answer. It needs EDNS | Off |
| Extensions (EDNS) | Payload size | The largest UDP reply, from 512 to 4096 bytes. It needs EDNS | 1232 |
| Attempts | Ask again over TCP when a UDP reply is cut short | A reply that is too large for UDP is asked again over TCP | On |
| Attempts | Time of one attempt | How long one attempt waits, from 100 to 5000 milliseconds | 3000 |
“Ask for DNSSEC records” and “Payload size” stand under “Send EDNS”, a step to the right, because they need it. While “Send EDNS” is off, the two stay in place but you cannot change them, and the query does not send them. The Tab key then skips them, and still stops at their info buttons, as it does for a locked “Transport”. They then do not count in the button, and an error under them from an earlier ask does not show until you turn “Send EDNS” on again. If you turn “Send EDNS” off while a query runs, and the server then refuses one of the two, its words show under the form. A payload size or a time counts only where it is a whole number other than its start value. An empty field, the start value and text that is not a whole number do not count.
The answer
Section titled “The answer”The top line says how the query ended. “Answered in 23 ms” and the response code, such as
NOERROR, mean that the server answered. Rest the pointer on the code, or click it, to read what
it means. An answer with NXDOMAIN or SERVFAIL is still an answer.
Every other outcome shows its title in red, and what to do under it:
| Title | What to do |
|---|---|
| No answer in time | Make sure that the server listens on that port, or give an attempt more time |
| The server cannot be reached | Look at the address and the port |
| The DNS client does not ask these addresses | The host name gave only addresses such as loopback. The words below name each |
| The TLS handshake failed | Look at the name before the parentheses in “Server” |
| The DoH server did not answer with DNS | The attempt shows the HTTP status and the content type |
| The reply does not read | The words of the server say why |
| The query did not start | Ask again, and read the Server log |
| The host name gave no address | Write the address in parentheses, such as tls://dns.home.example (192.168.1.53) |
| The reply is too large to show | Only its header and its counts show |
Under the top line, the path of the query runs from top to bottom:
- “Server”: the host name and the addresses that its lookup gave, the address and the port that the query went to, the name that the certificate must hold, and the path of a DoH server.
- One stop for each attempt, such as “Attempt 1, DNS over TLS (DoT)”, with its outcome and its
time. The lines under it give the time of the handshake, the size of the reply, and for DoH the
HTTP status, the content type and the
Ageheader. A query has two attempts where a UDP reply came back cut short and the query asked again over TCP. - “Reply”: the response code and what it means, or “No message came back.”.
A red dot marks an attempt or a query that failed. A green dot on “Reply” marks an answer.
The message
Section titled “The message”Under the path, a reply shows the message that came back:
- “Header”: the ID, the opcode and the response code. Rest the pointer on the opcode or on the
code, or click it, to read what it means. “Flags” gives each flag that is set, such as
QR,AAorRD, each with what it means. “Counts” gives the number of records in each section, as the header says it. - “EDNS”: the version, the payload size, and whether the server set “DNSSEC OK (DO)”. Then each extended error, with its code, its name and the words of the server, and each other option by its code and its length. Client subnet (8), Cookie (10) and Padding (12) show their names. A reply with no OPT record says “The reply has no OPT record.”.
- “Records”: the sections “Question”, “Answer”, “Authority” and “Additional”, each with its number of records. Each record shows its name, its TTL, its type and its data. The TTL is the one that the server sent. A resolver gives the time that is left in its cache. A section with no record says “No record in this section.”.
The OPT record counts in “Additional” of the header, but it shows under “EDNS”, and not under “Records”. So “Additional” of the header can be one more than the records of the section, and a gray line under the heading “Additional” says so.
A server that breaks the rule of RFC 2181 can send a TTL with its top bit set. The record then shows the TTL 0, which is how a resolver reads it, and a gray line under it gives the number that the server sent.
For a reply that is too large, “EDNS” says “The reply is too large to show its OPT record.”, and “Records” says that it shows no section. The counts of the header still give the number of records, and the count of “Additional” can hold the OPT record.
Add records to a zone
Section titled “Add records to a zone”Where a record of the reply can go into a zone, “Records” has the button “Add to a zone”. Click it, and a panel opens:
- Under “Records”, pick the records to add. The records of “Answer” start picked.
- Under “Zone”, pick the zone. The list holds the primary zones that are on and not frozen. The field starts on the zone with the longest name that holds every picked name.
- Click “Open the zone with 2 records”. The page of the zone opens, with the records under “New records”. Nothing is saved yet. Review and save them there, as any change of the records.
Each record keeps the TTL of the reply. A resolver gives the time that is left in its cache, so ask the server that holds the zone, with “Ask the server to resolve the name (RD)” off, to add the TTL of the source. Under the zone, the panel lists the records that cannot go into a zone, with the reason, such as “A zone has one SOA record, which the server writes.”. Where no zone can take records, the panel says so, with a link to Zones. If the zone froze or went off before its page opened, the page of the zone adds nothing and says why.
The records go to the page of the zone in the memory of the browser, and nothing else of the query goes with them. A log out drops records that no page of a zone took. Back on the DNS client, the form is empty.
When the server refuses
Section titled “When the server refuses”- An empty server or name, or a payload size or time that is not a whole number, sends nothing. The error shows under the field: “Type a server.”, “Type a name.”, “This is not a DNS name. Type a name such as example.com.” or “Type a whole number.”.
- The server checks the rest. Its words show under the field that they name. A refusal of a field under “Options” opens “Options”.
- The DNS client of the server does not ask a loopback, link-local, multicast or broadcast address, apart from a DNS listener of the server itself. If you write such an address in “Server”, its words show under “Server”, and the query does not count in the limit.
- The server runs one query of the DNS client at a time, for every account. The page waits one second and asks once more. If the server is still busy, the page says “Another query of the DNS client is running on the server. Try again in a moment.”. Click “Try again”.
- The server takes 60 queries of the DNS client in any minute, for every account. The page then shows the words of the server, with the seconds to wait. Click “Try again” after them.
- “The server cannot ask now.” means that nothing answers the DNS client on the server, or the query failed there. The words of the server follow. Click “Try again”.