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: delv checks whether DNSSEC validation works

Network and access
~/tips/tip-dns-delv-validate

delv example.org

Looks up a name and checks whether its DNSSEC signatures validate.

Most people trust that DNSSEC is either working or not. delv lets you check it for a single name, and it ships with the same tools as dig.

delv sends a query and validates the answer itself, using the same logic as the BIND name server. You get a clear yes or no on whether the answer is signed and valid.

delv example.org
delv example.org A +vtrace

Plain delv prints the answer and says whether it validated. Add +vtrace and it logs the validator’s steps, so you see which signature or key it checked. When a site fails with SERVFAIL on a validating resolver but loads fine on another, this is where I would look first.

The caveat is that plenty of names are simply not signed, and delv will tell you that rather than fail. Also, delv does its own validation, so it shows what a validating resolver should do. Your router may behave differently.

It is also good for learning. Run it against a domain you know is signed and one you know is not, and compare the two outputs. That shows more about how the chain of trust works than most explanations do.

Further reading: dig manual (BIND 9), On this site: DISABLE_RESOLVER makes Nginx Proxy Manager use your own DNS settings, On this site: pihole disable 5m pauses blocking and turns itself back on

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