The Devices
The devices page shows each device that clients.toml names on the server, the addresses that pick
each device, and the group of each device. A device is an entry of clients.toml, which the server
manual calls a client (Clients). The page also shows each group and what
the group blocks. Did the query log show a blocked query from a device? Then use this page to find
the group of that device and the rules of the group. To open the page, click “Devices” in the
sidebar.
The page reads the devices at two times: on open, and after a click on “Read again”. It does not read again by itself.
An operator and an admin can add, change and remove the devices and the groups on this page. A
change goes to clients.toml on the server when you save it.
The header
Section titled “The header”Under the title “Devices”, one line says: “The devices that the server names, and the policy of
each group.” On the right is “Read again”. Click it to read the devices again, for example after
somebody changed clients.toml.
The tabs
Section titled “The tabs”Under the header are two tabs, “Devices” and “Groups”. Each tab shows its count: the devices and the groups of your draft, with the changes that you have not saved. A removed device or group does not count, and “Every other device” does not count. The page opens on “Devices”.
The tab is in the address of the page, as ?tab=groups, so a reload or a link opens the same tab.
A click on a tab does not add a step to the history of the browser, so Back leaves the page.
Your changes on both tabs go into one save. A tab that holds changes that you did not save shows a pencil next to its count. A tab with a row that the server refused shows a red mark, and a tab whose list waits for you to pick a revision shows a question mark. So a change on the other tab is never out of sight. A screen reader reads the mark as “Has changes”, “Has an error” or “Has a conflict”.
The devices table
Section titled “The devices table”The tab “Devices” shows a search field, “Add a device” for an operator and an admin, and the
devices table. The table has one row for each device that clients.toml names, in the order of the
file. After “Done” of a new device, the page opens the page of the new device and moves the focus
to its menu.
- “Device”: the name of the device in
clients.toml. - “Group”: the name of the group of the device.
- “Picked by”: the values that make a query come from this device, in the order of the file. First come the addresses and the subnets of the device. Then, after the words “Arrived on”, come the addresses of this server that the device sends its queries to. Each query that arrives on such an address is from this device. Use it to name a network rather than one machine.
Each address that the server uses for the device is a link. Click it to open the query log with the queries of that address. A subnet and an address after “Arrived on” are no link, because the query log shows the queries of one address only.
The last row of the last page is “Every other device”. It is not one device. It is each device that
clients.toml does not name, and the column “Group” gives the group of those devices.
Find a device
Section titled “Find a device”Type in the search field to show only the devices whose name, address, subnet, listening address
or group holds the text. Upper and lower case are the same. For example, kids shows the devices
of the group kids, and also a device whose name holds kids. The button with a cross clears the
search. “Every other device” shows for a search of default, or of words of its own name.
The count of devices of a group on the tab “Groups” opens the devices of that group alone. A chip beside the search field then says, for example, “Group: kids”. Click its cross to show every group again. The search field still works inside the group.
When no device holds the text, the page says, for example, “No device matches kids.”, with “Clear the search”, which clears the text and the group. When the search or the group hides devices that you changed, or that the server refused, a line says how many, such as “The search hides 2 devices with changes or a refusal.”. Click “Show them” to clear the search and the group, and open the page of the first such device.
A page holds 50 devices. Under the table, the pager has “Rows per page” (25, 50 or 100) at the left. At the right, it says where you are, such as “51–100 of 128”, with “Previous” and “Next”. On the first page “Previous” is gray, and on the last page “Next” is gray. The pager shows only when more than 25 devices show, after the search. A new number of rows per page keeps the first device of the page on the screen. After a move to another page, the top of the table comes into view, and the table takes the focus of the keyboard. When another page holds a change or a refusal, a line under the table says “Changes on pages”, with a button for each such page.
The search, the group and the page are in the address, as ?q=tv&group=kids&page=2&size=100. A
link to the page, a reload and Back to the page keep them. A page past the last one shows the last
page. As with the tabs, the search and a move to another page add no step to the history of the
browser.
The groups table
Section titled “The groups table”The tab “Groups” shows “Add a group” for an operator and an admin, and the groups table. The
table has one row for each group. The group default is first, then the other groups
come in the order of the file.
- “Group”: the name of the group.
- “Devices”: how many rows of the devices table are in this group. “Every other device” counts as one row. Click the count to open the tab “Devices” with the devices of this group alone. A removed device is not counted, and does not show there.
- “Blocking”: “On” means that the group blocks names. “Off” in yellow-brown means that the group blocks nothing.
- “Lists”: the blocklists that the group uses.
- “All lists”: the group uses every blocklist of the server. Under it, in small text, are the names of the lists that the server has now.
- The names of the lists: the group uses only these lists.
- “No lists”: the group uses no blocklist.
- “Own rules”: the rules that
clients.tomlgives to this group only, for example “2 blocked, 1 allowed”. “None” means that the group has no rules of its own. - “Answer”: what the server answers to a blocked name for a device of this group.
- “Default”: the group does not set an answer, so
blocking.tomldecides. - “Zero address”: the server answers with the address 0.0.0.0 or
::. - “No data”: the server says that the name has no address of the type that the device asked for.
- “NXDOMAIN”: the server says that the name does not exist.
- “Address”: the server answers with the addresses under the word.
- Another word: a newer server sent an answer that this console does not know.
- “Default”: the group does not set an answer, so
Under a row, a line that starts with “Also:” names the other settings of the group. The line shows
only the settings that the group sets. A setting that the group does not set comes from
blocking.toml.
- “Tests the names inside an answer.”: the server also blocks an answer that leads to a blocked name through another name. “Does not test the names inside an answer.” means that it does not.
- “Tells Firefox that this network filters DNS.”: the server tells Firefox not to send its queries to a server outside this network. “Does not tell Firefox that this network filters DNS.” means that it does not.
- “Blocks Private Relay.” or “Allows Private Relay.”: whether a device of this group can use the Private Relay of Apple, which sends its queries past this server. “Private Relay:” with another word is a value that this console does not know.
Change the devices
Section titled “Change the devices”Only an operator and an admin can change the devices. A change stays on the page until you save
it, so you can make several changes and save them together. A viewer sees the same tables, with
no bar of changes. The menu of a device holds only “Search lists for this device” for a viewer.
- “Add a device”: opens a panel for a new device at the right side of the page, beside the tables.
On a phone, it rises from the bottom. Click “Done”, and the device goes to the end of the table,
on its last page.
- “Name”: lower case letters, digits and hyphens, 40 characters at most. The query log shows
this name. Each device has its own name, and
defaultis the name of every other device. - “Group”: the group of the device.
defaultis first. A group thatclients.tomldoes not hold shows with “(not in this file)”. The server then refuses the save. - “Addresses” and “Subnets”: one value on each line, such as
192.168.1.20or192.168.20.0/24. The panel takes out the spaces at the ends and the empty lines. The server checks each value when you save. For a device that gets its address from the router, reserve that address on the router first, so that it does not change. - “Listening addresses of this server”, under its own heading: a query that arrives on one of
these addresses of this server is from this device. Use it to name a network rather than a
machine. For example, give the guest network a DNS address of its own under “Listeners” on This
node, such as
10.0.5.53, and write that address here. An address or a subnet of another device still wins for its machine. The heading opens by itself when the device has such an address. - A device needs at least one address, subnet or listening address, and 64 at most in the three fields together. If a field is wrong, “Done” shows the error under it.
- “Name”: lower case letters, digits and hyphens, 40 characters at most. The query log shows
this name. Each device has its own name, and
- The menu of a row, the button with three dots, holds “Edit”, “Search lists for this device” and
“Remove”.
- “Search lists for this device” opens Search Lists with the device picked. Type a name there to learn which list or rule blocks it for the device. A new or changed device gets this item after you save, because the server does not know it before. The row “Every other device” has a menu with this item alone, for every role.
- “Edit” opens the same panel. A new name shows on new queries only. The query log keeps the old name on the old queries. “Top devices” on the overview shows the new name for the whole time range (Names of the top devices).
- “Remove” asks first: “Remove kids-tablet?”. After the save, the queries of this device show as “Every other device”. On the overview, “Top devices” then shows the addresses of the device alone. A removed device stays in the table, struck out, with “Undo”, until you save. Click “Undo” to keep the device. “Undo” does not show while another device has the same name, or while the group of the device is removed.
- “Cancel” closes the panel. Escape, a click outside the panel, the close button at the top and a swipe close it too. If you changed the form, the panel does not close at once. “Cancel” turns red and says “Discard changes”, and a line beside it says “Click again to close without your changes.”. Click it again, or press Escape again, to close the panel and drop what you typed.
- A changed row has a line at its left edge, and a word next to its name: “new”, “changed” or “removed”.
Change the groups
Section titled “Change the groups”Only an operator and an admin can change the groups. “Add a group” opens a panel for a new group
at the right side of the page. On a phone, it rises from the bottom. Click “Done”, and the group
goes to the end of the groups table. Then pick the group in the panel of a device. Save the group
and the devices in one save, or save the group first.
- “Name”: lower case letters, digits and hyphens, 40 characters at most. Each group has its own
name, and the group
defaultis always there. The name of a group does not change after its add. - “Block for this group”: on by default. Off means that the server blocks nothing for the devices of this group, also not the names below.
- “Lists”: “Every list, also the ones added later”, or “Only these lists” with a check box for each list of the Blocklists page. With no list checked, the server still blocks the names below and those of the Rules page. If the page cannot read the lists, the panel says “The lists did not load.”, with the words of the server.
- “Blocked names” and “Allowed names”: the names that this group blocks or allows, one name on
each line, 1000 at most in each field. A name covers the names under it, so
example.comalso coverswww.example.com. An allowed name wins over every block of a list, of the Rules page and of this group. For example, writeexample.comunder “Allowed names”, and the devices of the group reach it also when a list blocks it. - “Answer to a blocked name”: “The answer of blocking.toml”, or one answer of the group, such as “NXDOMAIN, the name does not exist”. “Address, the addresses below” shows the fields “IPv4 address” and “IPv6 address”. Give one of them or both. The panel keeps the addresses when you pick another answer, but only “Address” saves them.
- “More of the answer”, under its own heading: three settings that
blocking.tomldecides unless the group sets them. “Test the names inside an answer”, “Tell Firefox that this network filters DNS” and “Private Relay of Apple”. Each one offers “As blocking.toml says”.
The menu of a group, the button with three dots, holds “Edit” and “Remove”.
- “Edit” opens the same panel, with no field for the name. To rename a group, add a new group, move each device of the old group to it, and remove the old group, all in one save.
- “Remove” on a group that devices are in does not remove it. A dialog says, for example, “kids still has 2 devices”, and names them. Move them to another group first, because the server refuses a device whose group is gone.
- “Remove” on a group with no device asks first: “Remove kids?”. If a pattern of the Rules page names the group, the question names the pattern too. The server then refuses the save until the pattern stops naming the group. A removed group stays in the table, struck out, with “Undo”, until you save. The panel of a device no longer offers it. “Undo” does not show while a new group has the same name.
The group default cannot go, because it holds every device that clients.toml does not name. Its
menu holds “Edit”. Until you change it, default uses the built-in policy: every list, blocking on,
and the answer of blocking.toml. “Done” adds a group default to clients.toml only when you
changed a field. When the file holds a group default, the menu also holds “Use the built-in
policy”. It asks first, and after the save, default uses the built-in policy again.
A new or changed group has a line at its left edge, and the word “new” or “changed” next to its
name. When the server refuses a group by its name, such as group.kids.sources, its words show
under the row of that group, with a red line at its left edge.
Save the changes
Section titled “Save the changes”At the bottom of the page, a bar counts your changes, with “Discard” and “Review and save”.
- Click “Review and save”. The review opens in a panel at the right side of the page, beside the tables. On a phone, it rises from the bottom. It lists each change under “Devices” or “Groups”, such as “Add kids-tablet” or “Remove old-laptop”. Click “Back” to close the panel: your changes stay on the page.
- As the review opens, the server checks your changes, and a line above the list gives its answer. The check never stops you from saving.
- Read the line about comments. The comment lines of
clients.tomlstay at their place in the file. After a removal, a comment can sit above another entry. The comment lines inside an entry are lost. - Click “Save changes”. The panel stays open until the server answers. A message says “Changes saved as revision 42”, with “Show in History”. The page then reads the devices again.
If the server gives no answer, the review says so. Click “Save changes” again: the same changes cannot apply twice. Errors says what the page shows when the server refuses the change, or when another change came first.
On a phone
Section titled “On a phone”On a narrow screen, the devices table shows “Picked by” on its own line under the name of each device. The groups table shows no column titles. Each row shows the name of the group first. Under it, each part has its title before it, for example “Blocking On”.
When there is nothing to show
Section titled “When there is nothing to show”“No devices are named yet.”: clients.toml names no device. The tab “Devices” shows this line in
place of the search and the devices table. The tab “Groups” still shows the groups, because the
group default applies to every device. An operator and an admin click “Add a device” under
the line. A viewer sees “An operator or an admin can name them on this page.”
Errors
Section titled “Errors”When the page cannot read the devices, it shows the error of the server in red, with “Try again”. Click “Try again” to read the devices again. When the page already shows the devices, it keeps them on the screen and shows the error above the tabs.
- 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.
- The server refuses the change: the review stays open and shows the words of the server. When the
words name one device or one group, they also show under its row, with a red line at its left
edge. Click “Back”, and the page opens the tab and the page of that row, and moves the focus to
its menu. The search and the group stay when they show the row, and go else. Words that name no
device show above the tabs, with the file and the setting that the server names, under “File” and
“Setting”. Most refusals of a device name no device today, and the words of the server then name
it. When the file is
blocking.toml, a link under the words says “Open the Rules page”. Your next change clears the words. - Another change of the configuration came first: the page reads
clients.tomlagain and keeps your changes, and the review says “Another change came first.”. If the other change also changed the devices, a line at the top of the tab “Devices” asks you to pick: “Keep your list” or “Take the list of revision 43”. The groups have their own line on the tab “Groups”. Until you pick, the table shows the devices as you last read them, and “Review and save” waits. - The change is too large for the server: the words of the server show above the tabs.