Infrastructure Series -- Recursive DNS and Adblocking DNS over TLS w/NGINX

(Im sorry this upload is redacted. Please DM me for an update or preferablly contact me off forum)

@ThatGuyB @HaaStyleCat @Shambles @Novasty @harrypnyce @Argone @SgtAwesomesauce @qtwork et al and anybody interested in the config

Rename the extension from .txt

  [✓] Storing downloaded domains in new gravity database
  [✓] Building tree
  [✓] Swapping databases
  [✓] The old database remains available.
  [i] Number of gravity domains: 8088086 (3755432 unique domains)
  [i] Number of exact blacklisted domains: 26
  [i] Number of regex blacklist filters: 0
  [i] Number of exact whitelisted domains: 9646
  [i] Number of regex whitelist filters: 7
  [✓] Flushing DNS cache
  [✓] Cleaning up stray matter

  [✓] DNS service is listening
     [✓] UDP (IPv4)
     [✓] TCP (IPv4)
     [✓] UDP (IPv6)
     [✓] TCP (IPv6)

  [✓] Pi-hole blocking is enabled

I think I finally have it tweaked to maximally block the bad… and unblock the legit. Its been battle tested by a very normie family. I think this is a good base for any of you to start with. Excluding novasty you can pick and choose cuz you know this shit.

Ive sanitized it of salted passwords but not IP config so you will have to help it a long a bit or selectively choose what you want out of it

5 Likes