Skip to content

Search Lists

Search lists says what the blocking test of the server does with one name for one device. When a device cannot reach a name, use it to find the list or the rule that blocks it. When you see an ad, use it to learn why no rule blocks it. To open the page, click “Search lists” in the Tools group of the sidebar.

Every role can search. The page changes nothing on the server.

  1. In “Name”, type the name, for example ads.example.com.
  2. In “Device”, type the IP address of the device, or click the arrow and pick a device by its name. “Every other device” is the device default of clients.toml, which gets each query that no other device takes.
  3. Optional: in “Type”, type a record type, such as AAAA or HTTPS, or its number. An empty field means A. A pattern can apply to some types only.
  4. Click “Search”, or press Enter.

You can type a name with letters that are not ASCII, such as bücher.example. The page sends the form that DNS uses, such as xn--bcher-kva.example.

An address picks the device as a query from that address does: the exact addresses of a device first, then its subnets. A device that only its listening address picks, such as a guest network, needs a pick by its name, because a search comes to no listener. A pick by name does not test the bypass list, because it has no address.

If a field is wrong, the page sends nothing. The error shows under the field:

  • “Type a name.”: the name is empty.
  • “This is not a DNS name. Type a name such as ads.example.com.”: the text is not a name.
  • “Type an address, or pick a device.”: the device is empty.
  • “Type an IPv4 or IPv6 address, or pick a device from the list.”: the text is not an address, and no device has that name. An IPv4 address in the old compatible IPv6 form, such as ::192.0.2.1, gets this error too, because the server refuses it. Write 192.0.2.1 or ::ffff:192.0.2.1.

The page does not check the type. If the server cannot read it, its words show under the form in red.

The address of the page keeps the search, for example /tools/search-lists/?name=ads.example.com&device=192.168.1.20. A link or a bookmark to that address searches at once. “Search” with the same fields searches again, because a list can change between two searches. The page does not search again by itself.

At the top, “Name” gives the name as the server read it. “Type” gives the record type with a short description, such as “AAAA IPv6 address”.

Under them, the path of the test goes from top to bottom:

  1. “Device”: the device that the search picked, such as “kids-tablet, picked by the address 192.168.1.20”. Under it, one line says whether the address is on the bypass list.
  2. “Group and policy”: the group of the device, and whether blocking runs for it now, such as “Group kids. Blocking runs”. “Group kids. Blocking is off” means that blocking is off for every device. The switch of the top bar turns it off, or the setting “Blocking” of the Blocking settings page does.
  3. “Decision”: “The rules block this name”, “The rules allow this name” or “No rule covers this name”. Under it, the kind of the rule that decides, the rule, and its list. The dot is red for a block and green for an allow.
  4. “What a query gets now”: “Blocked”, or “Answered as usual”.

Blocking does not always run, for example after you turn the blocking switch off, or while the setting “Blocking” is off. The rules still decide, and the page shows their decision. The dot of the decision then stays gray. The line “Blocking does not run for this query now, so this decision waits until it does.” shows under it.

The search tests the name alone. If the answer of the name holds an alias, the name that the alias leads to can still be blocked. The query log shows such a block.

Under the path, the section “Rules that cover the name” lists each rule that covers the name. The search reads only the lists of the group of the device, and the line under the title names that group. Two tabs split the rules, and each tab gives its count:

  • “Rules”: the rules that you wrote, on the Rules page and in the own rules of a group, and the built-in names.
  • “Blocklists”: the rules of the blocklists of the group.

The page opens on the tab of the rule that decides. If no rule decides, it opens on “Rules” if it has a rule, else on “Blocklists”. The address of the page keeps the tab that you click, so a link or a reload shows the same tab. A new search, and “Search” again with the same fields, open the tab of the rule that decides again.

Each tab holds a card for each of its rules, in the order of the test. The top line of a card gives the list or the rule, what the rule does, and one more fact:

  • On “Blocklists”: the list, such as “List hagezi-pro”, then “Block” or “Allow”, the effect, and the rule, such as “Rule ads.example.com”.
  • On “Rules”: the rule, such as “Rule *.example.com”, then “Block” or “Allow”, the effect, and the place of the rule, such as “Blocked names”.

A short gray label names each value of the top line that does not name itself: “Action”, “Effect” and “Where”.

If a tab has one rule, its card is open. If it has more, each card shows its top line only. To open a card, click its top line, or press Enter or Space on it. Do the same again to close it. A dark mark at the left edge marks the card of the rule that decides. An open card gives these details:

  • “Effect”: “Decides”, “Cancelled by an allow on its own list”, “Cancels a block on its own list” or “Changes nothing”.
  • “Action”: “Block” or “Allow”.
  • “Rule”: the rule, such as *.example.com. A built-in name has no rule, so the card leaves it out.
  • “Kind of rule”: where the rule comes from, such as “A pattern on the Rules page”.
  • “Where”: the place of the rule. Click it to open the page that changes it. “List hagezi-pro” opens the Blocklists page. “Blocked names”, “Allowed names” and “Patterns” open their tab of the Rules page. “Own rules of group kids” opens the Devices page. “A built-in name” has no link, because the answer does not say which setting turned it on.

If no rule covers the name, the section says “No rule on the lists of group kids covers this name.”, and shows no tab. A tab with no rule says “No rule outside the blocklists covers this name.” or “No blocklist of group kids covers this name.”. A new search closes the cards again. On a phone, the top line of a card gives the list or the rule first, and the rest under it.

  • “clients.toml has no device kids-tablet now. Pick another device.”: the device is gone from the configuration that runs. The list of devices reads again, so it loses that device.
  • “Another search is running on the server. Try again in a moment.”: the server runs one search at a time. The page tries once more after one second before it shows this. Click “Try again”.
  • “The server cannot search now.”, with the words of the server: nothing answers searches, the search failed, or it did not answer in time. Click “Try again”.
  • Any other problem shows the words of the server, and “Try again”.