Custom rules#
Custom rules are your own domain lists on top of the shared protections: a denylist for domains you never want resolved, and an allowlist for domains that should not be blocked by name. They apply per configuration, so blocking a domain for the children's devices does not block it at the office.
Suffix semantics: entries cover subdomains#
One entry covers the domain and everything under it. Denying example.com also blocks ads.example.com and cdn.tracker.example.com; no wildcards are needed. The same applies to allow entries. To be precise, list the most specific name you mean: denying games.example.com leaves the rest of example.com untouched.
Common top-level domains and public suffixes (such as com or co.uk) cannot be listed, because an entry that broad would block every site under it. International domain names are accepted in their punycode (xn--) form.
Allow overrides name-based blocks#
The allowlist overrides every block that matches the name being looked up: your own denylist and every shared list, including the threat, privacy and parental lists. If a shared list blocks a site you rely on, one allow entry fixes it for that configuration within about a minute.
Checks on the answer still apply after an allow entry: rebind protection (which has its own allowlist), blocked answer ranges, the threat address and network lists, and the check of aliases (CNAME records) against your enabled lists. While the threat address lists are on, an allow entry therefore never lets a lookup through to a known-malicious address. If an allowed domain is an alias for a domain on one of your enabled lists, it stays blocked, because the allowlist does not apply to alias targets; switching that list off for the configuration resolves it.
Because allow entries also cover subdomains, a deny entry underneath an allow entry can never match. GraceDNS shows a warning when you save such a rule.
Per-rule block type#
Each deny entry can carry its own block type, set through the GraceDNS API or by support on request; without one it uses the configuration's default. In refused-with-a-reason responses, blocks from your denylist carry the reason custom. In query logs, they are recorded with the block type that was sent and without a list.
Changes reach the resolvers within about a minute; devices may briefly keep cached answers, see what DNS filtering cannot do.
Back to features.