brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: use-application-dns.net tells Firefox to leave DoH off

Network and access
~/tips/tip-dns-firefox-canary

dig use-application-dns.net

Checks whether your DNS filter tells Firefox not to switch on its own encrypted DNS.

If you run DNS filtering at home, a browser that switches to its own DNS over HTTPS can slip past it. Mozilla built a polite way to ask it not to.

Firefox looks up a canary name, use-application-dns.net, before it turns on DoH by itself. If the lookup fails, Firefox keeps using the network’s DNS. According to Mozilla, that means a response code other than NOERROR, such as NXDOMAIN, or NOERROR with no A or AAAA records.

dig use-application-dns.net

Run that against your own filter. If you see NXDOMAIN or an empty answer, your setup tells Firefox to stand down. Many filters, Pi-hole included, can do this for you; check yours before you add a rule by hand.

There is a limit. The canary only applies when DoH is the default. If someone turned DoH on in the browser settings themselves, Firefox ignores the canary. And other browsers do not look at it. I also would not assume DoH is on by default where you live, so look at Settings, Privacy & Security before you worry.

A quick way to be sure is to open Firefox and check the network settings page for DNS over HTTPS. If it is off there, the canary has nothing to do for that profile. If it is on, find out who turned it on.

Further reading: Canary domain – use-application-dns.net (Mozilla), On this site: pihole disable 5m pauses blocking and turns itself back on, On this site: pihole -q tells you which list blocks a domain

More Network and access tips scp -3 alice@server-a:/var/backups/db.sql.gz bob@server-b:/srv/restore/ tailscale exit-node suggest tailscale lock sign nodekey:1abddef1 tlpub:abcdef12 wg genpsk > peer1.psk Table = off All Network and access tips (163) All topics

Link