Smart DNS
Some Research
-
install smartdns
-
prepare smartdns.conf
cat > /etc/smartdns/smartdns.conf <<EOF # https://github.com/pymumu/smartdns/blob/master/etc/smartdns/smartdns.conf # conf-file anti-ad-for-smartdns.conf bind-tcp [::]:5300 bind [::]:5300 cache-size 102400 cache-persist yes cache-file /tmp/smartdns.cache tcp-idle-time 3 rr-ttl 300 rr-ttl-min 30 rr-ttl-max 300 log-level info log-size 512K prefetch-domain yes serve-expired yes serve-expired-ttl 0 speed-check-mode tcp:80,tcp:443,ping server 119.29.29.29 server 223.5.5.5 server 8.8.8.8 server 1.1.1.1 server 122.56.237.1 server 9.9.9.9 server 208.67.222.222 server 185.228.168.9 server 76.76.19.19 server 94.140.14.14 server-tcp 8.8.8.8:53 server-tls 8.8.8.8:853