Block types#
When GraceDNS blocks a lookup, you choose what the asking device sees. The right choice depends on who the block is for: a person you want to inform, software you want to fail quietly, or a system that should receive a machine-readable reason. Each configuration has a default block type, set in the web app. Overrides for individual lists and individual denylist entries are set through the GraceDNS API, not in the web app; to have them set, write to support@gracedns.eu.
Zero answer (default)#
Silent (zero_ip). The lookup succeeds but returns the unusable address 0.0.0.0 (:: for IPv6), so the connection fails immediately on the device itself. No error page is shown. This suits ad and tracker blocking and unattended devices.
Not found (NXDOMAIN)#
The domain appears not to exist (nxdomain). To the device, a blocked domain looks like a domain that was never registered, which some software handles more gracefully than an unreachable address. Choose it when blocked domains should simply appear absent.
Refused with a reason#
Machine-readable (refused_ede). The lookup is refused (REFUSED) and the response carries a standardized Extended DNS Error (RFC 8914, code 17, "Filtered") with the name of the list that matched, such as threat_domains, or custom for your own denylist. Diagnostic tools such as dig display the code and the reason; browsers and most operating systems show the user an ordinary failed lookup. Choose it when administrators need to answer "why was this blocked" from the client side.
Block page#
Visible to the user (block_page). The lookup answers with the address of the GraceDNS block page, so a browser that opens the blocked site shows a page stating that it was blocked instead of a connection error. Best for parental and workplace filtering where people should understand what happened. The page is the same for every block and does not name the list that matched.
HTTPS sites require the GraceDNS certificate. Most sites use HTTPS, and a browser shows the block page for an HTTPS site only if the device trusts the GraceDNS block-page certificate authority. Download the root certificate at gracedns.eu/ca and install it as a trusted root certificate on each device that should see block pages. Browsers that keep their own certificate store need it imported there as well. A device that trusts this root accepts any certificate the GraceDNS block-page authority issues, for any website, so install it only on devices you manage.
Without the certificate, the browser shows a certificate warning instead of the block page for HTTPS sites. The site stays blocked either way; the warning is the browser correctly rejecting a certificate it does not trust. Apps other than browsers generally do not display the page; to them, a block page looks like a failed connection. Details in what DNS filtering cannot do.
Where block types apply#
Block types apply to blocks by domain name: your denylist, the shared domain lists, and aliases (CNAME records) that lead to a domain on an enabled shared list. Blocks by address (threat IPs, criminal networks, parked-domain addresses, blocked answer ranges and rebind protection) are always answered with REFUSED and carry no reason.
Back to features.