|
There's lots of "privacy" improving DNS servers, but none of them mention trying to remove unintentional DNS queries. It turns out lots of things will resolve anything that looks vaguely like a hostname to see if, in fact, they are a hostname. eg, "untitled.pdf". These queries get passed to your ISP, and then on towards the root name servers. So if you run a large nameserver, you quickly find that most of your DNS queries are very obviously rubbish. With DNSSEC there are two new records (NSEC, NSEC3), that let you say "between these two names, I guarantee there is no valid records". Thus if your nameserver supports this, it can say "there are no valid names between .pccw and .pe, and thus anything that ends with .pdf is invalid". NSEC and NSEC3 records can both be cached and your resolver can synthesise NXDOMAIN records for them. (See RFC8198 for details). So, instead of spraying queries for "untitled.pdf" across the internet, you can quickly, and efficiently return NXDOMAIN. Another cause of these is search paths, when you look up "news.ycombinator.net", if that resolution fails, it will try adding the search path, eg: "news.ycombinator.net.example.org", again, leaking typos, and filenames to everyone in your search path. If you actually value your privacy, this is the first step that you should take. |
It's a fairly simple exercise in content DNS service. I actually set my machines up with a root content DNS server each.
* http://jdebp.eu./Softwares/nosh/guide/services/djbdns.html#D...
* http://cr.yp.to/dnsroot.html
Search paths are a subject in their own rights.
* http://jdebp.eu./FGA/web-fully-qualified-domain-name.html