Hacker News new | ask | show | jobs
by jbreitbart 1742 days ago
In case you use pihole and want to use cloudflare for everything, but archive.is you can create the following file

cat /etc/dnsmasq.d/02-archive.is.conf server=/archive.is/8.8.8.8 server=/archive.is/8.8.4.4 server=/archive.li/8.8.8.8 server=/archive.li/8.8.4.4 server=/archive.to/8.8.8.8 server=/archive.to/8.8.4.4

3 comments

Fixed formating, sorry.

   cat -p /etc/dnsmasq.d/02-archive.is.conf
  server=/archive.is/8.8.8.8
  server=/archive.is/8.8.4.4
  server=/archive.li/8.8.8.8
  server=/archive.li/8.8.4.4
  server=/archive.to/8.8.8.8
  server=/archive.to/8.8.4.4
There are quite a few different TLDs that the site uses (for resilience I presume). .vn is another, .today may still be in use.
Similar for dnscrypt-proxy: add "forwarding_rules = '/etc/dnscrypt-proxy/forwarding_rules.txt'" to /etc/dnscrypt-proxy/dnscrypt-proxy.toml and then populate the forwarding_rules.txt with lines like "archive.is 8.8.8.8".
I never even thought of configuring my pihole to allow this. Thanks! Much appreciated!!