-
user.action
-> privoxy -
named.local
-> bind -
127.0.0.1:9095
-> tor
$ ./update
/* | |
vim: fdm=marker fdl=0 ft=named | |
*/ | |
/* Shecan reverse {{{1 */ | |
zone "shecan.ir" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "ir.shecan.in-addr.arpa" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
/* }}} */ | |
zone "lutris.net" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "docker.com" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "docker.io" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "elastic.co" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "instana.com" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "signalfx.com" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "design.google.com" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "digitaloceanspaces.com" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "gitlab-static.net" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "gitlab.com" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "gitlab.io" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "rubygems.org" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "bitbucket.com" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "bitbucket.org" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
zone "protondb.com" IN { | |
type forward; | |
forward only; | |
forwarders { 178.22.122.100; 185.51.200.2; }; | |
}; | |
#!/bin/sh | |
NAMED=$(sudo find /etc -writable -name 'named.conf.local' -print) | |
if [ -n "$NAMED" ]; then | |
sudo cp "$(dirname $0)/named.conf.local" "$NAMED" | |
ERR1=$(sudo systemctl restart bind9 2>&1) | |
if [ "$?" -gt "0" ]; then | |
ERR2=$(sudo systemctl restart named 2>&1) | |
fi | |
if [ "$?" -gt "0" ]; then | |
echo "$ERR1" >&2 | |
echo "$ERR2" >&2 | |
fi | |
echo "updated $NAMED" | |
fi | |
PRIVOXY=$(sudo find /etc -writable -name 'user.action' -print) | |
if [ -n "$PRIVOXY" ]; then | |
sudo cp "$(dirname $0)/user.action" "$PRIVOXY" | |
ERR=$(sudo systemctl restart privoxy 2>&1) | |
if [ "$?" -gt "0" ]; then | |
echo "$ERR" >&2 | |
fi | |
echo "updated $PRIVOXY" | |
fi |
{ -filter -block } | |
127.*.*.* | |
192.168.*.* | |
172.16.*.* | |
172.17.*.* | |
172.18.*.* | |
172.20.*.* | |
.local | |
{ +forward-override{forward-socks5t 127.0.0.1:9050 .} } | |
54.39.19.159 | |
.privoxy.org | |
.alexjover.com | |
.algolia.net | |
.aliceinbondageland.com | |
.anaconda.org | |
.bbc.com | |
.bbcpersian.com | |
.blogspot.com | |
.bucetinhas.info | |
.chrissearle.org | |
.co.uk | |
.datatables.net | |
.daylerees.com | |
.discordapp.com | |
.disqus.com | |
.facebook.com | |
.fandom.com | |
.fb.com | |
.firefox.com | |
.freedesktop.org | |
.gfycat.com | |
.gnupg.org | |
.hackernoon.com | |
.indexof.ir | |
.iplocation.net | |
.jadi.net | |
.jupyter.org | |
.justenglish.me | |
.linoxide.com | |
.linux.com | |
.linuxwireless.org | |
.literotica.com | |
.mghaed.com | |
.netlify.com | |
.nuxtjs.org | |
.osf.io | |
.pastebin.com | |
.picsum.photos | |
.protondb.com | |
.protonmail.com | |
.protonvpn.com | |
.pugjs.org | |
.quora.com | |
.reddit.com | |
.redditmedia.com | |
.redditstatic.com | |
.select2.org | |
.sex.com | |
.sites.google.com | |
.smedia.rs | |
.spellcheck.net | |
.t.co | |
.telegra.ph | |
.thepiratebay.org | |
.torproject.org | |
.twimg.com | |
.twitter.com | |
.videojs.com | |
.vuetifyjs.com | |
.wordpress.com | |
.wp.com | |
.yajrabox.com | |
.yarnpkg.com | |
.youtube.com | |
.zippyshare.com | |
# curl -sSL https://raw.githubusercontent.com/freedomofdevelopers/fod/master/domains | sort -u | |
{ +forward-override{forward fodev.org:8118} } | |
.3docean.net | |
.accounts.google.com | |
.adobe.com | |
.adobelogin.com | |
.adservice.google.com | |
.ads.google.com | |
.ai.google | |
.algolia.com | |
.algolianet.com | |
.altera.com | |
.amd.com | |
.amp.dev | |
.analytics.google.com | |
.android.com | |
.ant.design | |
.anydesk.com | |
.apache.org | |
.apis.google.com | |
.appengine.google.com | |
.apple.com | |
.apps.admob.com | |
.appspot.com | |
.arcgis.com | |
.archive.ubuntu.com | |
.atlassian.com | |
.atlassian.net | |
.audiojungle.net | |
.aws.amazon.com | |
.b4x.com | |
.baeldung.com | |
.bintray.com | |
.bit.dev | |
.bitsrc.io | |
.bitvise.com | |
.bluemix.net | |
.books.google.com | |
.bootstrapcdn.com | |
.bootswatch.com | |
.bugsnag.com | |
.business.google.com | |
.c9.io | |
.caddy.community | |
.caddyserver.com | |
.centos.org | |
.chocolatey.org | |
.classroom.google.com | |
.clients2.google.com | |
.clients6.google.com | |
.clients.google.com | |
.cloudera.com | |
.cloudfront.net | |
.cloud.google.com | |
.cocalc.com | |
.codecanyon.net | |
.codecov.io | |
.code.google.com | |
.codesandbox.io | |
.codex.cs.yale.edu | |
.coinbase.com | |
.compiles.overleaf.com | |
.count.ly | |
.coursehero.com | |
.coursera-apps.org | |
.coursera.com | |
.coursera.org | |
.cp.maxcdn.com | |
.crashlytics.com | |
.csb.app | |
.curd.io | |
.dartlang.org | |
.datacamp.com | |
.dell.com | |
.demandbase.com | |
.design.google.com | |
.developer.chrome.com | |
.developer.google.com | |
.developer.samsung.com | |
.developers.google.com | |
.digikey.com | |
.dl.google.com | |
.dl-ssl.google.com | |
.dns.google.com | |
.docs.datastax.com | |
.domains.google.com | |
.doubleclickbygoogle.com | |
.doubleclick.net | |
.download.01.org | |
.download.virtualbox.org | |
.edgesuite.net | |
.edx.org | |
.elastic.co | |
.element14.com | |
.en25.com | |
.enterprisedb.com | |
.envato.com | |
.envato-static.com | |
.epicgames.com | |
.eslint.org | |
.events.google.com | |
.explainshell.com | |
.expo.io | |
.expressjs.com | |
.fabric.io | |
.fbsbx.com | |
.fiber.google.com | |
.firebase.com | |
.firebase.google.com | |
.flurry.com | |
.fluttercrashcourse.com | |
.flutter.io | |
.flutterlearn.com | |
.fodev.org | |
.freecodecamp.org | |
.gallery.io | |
.gcr.io | |
.geforce.com | |
.getbootstrap.com | |
.githubapp.com | |
.githubassets.com | |
.githubusercontent.com | |
.gitpod.io | |
.goanimate.com | |
.godbolt.org | |
.godoc.org | |
.golang.org | |
.googleadservices.com | |
.google.ai | |
.google-analytics.com | |
.googleapis.com | |
.googlesource.com | |
.googletagmanager.com | |
.googletagservices.com | |
.googleusercontent.com | |
.gopkg.in | |
.grabcad.com | |
.gradle.org | |
.grafana.com | |
.graphicriver.net | |
.graphql.org | |
.gravatar.com | |
.gstatic.com | |
.hackerrank.com | |
.hyper.is | |
.i18next.com | |
.ibm.com | |
.incredibuild.com | |
.intel.com | |
.invis.io | |
.invisionapp.com | |
.issuetracker.google.com | |
.i.stack.imgur.com | |
.jaspersoft.com | |
.javacardos.com | |
.java.com | |
.jenkins-ci.org | |
.jenkins.org | |
.jenkov.com | |
.jetbrains.com | |
.jfrog.org | |
.jhipster.tech | |
.jitpack.io | |
.jitsi.org | |
.justpaste.it | |
.jwplayer.com | |
.k8s.io | |
.kaggle.com | |
.kaggleusercontent.com | |
.khanacademy.org | |
.kubernetes.io | |
.labix.org | |
.laravel.com | |
.launchpad.net | |
.lenovo.com | |
.libraries.io | |
.livefyre.com | |
.maas.io | |
.mailgun.com | |
.marketingplatform.google.com | |
.material.io | |
.mathworks.com | |
.maven.google.com | |
.maven.org | |
.mbed.com | |
.medium.com | |
.metasploit.com | |
.microchip.com | |
.mit.edu | |
.mongodb.com | |
.mongodb.org | |
.mybridge.co | |
.myfonts.net | |
.mysql.com | |
.nativescript.org | |
.netbeans.org | |
.newrelic.com | |
.nextjs.org | |
.ni.com | |
.nirsoft.net | |
.nodejs.org | |
.npmjs.org | |
.nvidia.com | |
.optimize.google.com | |
.oracle.com | |
.origin.com | |
.overleaf.com | |
.packagesource.com | |
.packagist.org | |
.packtpub.com | |
.payments.google.com | |
.paypal.com | |
.paypalobjects.com | |
.photodune.net | |
.php.net | |
.play.google.com | |
.polymer-project.org | |
.proandroiddev.com | |
.pscdn.co | |
.pypi.org | |
.python.org | |
.quay.io | |
.rapid7.com | |
.reactjs.org | |
.realm.io | |
.releases.hashicorp.com | |
.rstudio.com | |
.ruby-doc.org | |
.rubygems.org | |
.salesforce.com | |
.scdn.co | |
.schema.org | |
.seleniumhq.org | |
.sendgrid.com | |
.sentry.io | |
.serialport.io | |
.serverfault.com | |
.slack.com | |
.slack-edge.com | |
.socket.io | |
.softlayer.com | |
.softonic.com | |
.sonatype.org | |
.sourceforge.net | |
.sparkjava.com | |
.spiceworks.com | |
.splunk.com | |
.spotify.com | |
.spring.io | |
.sstatic.net | |
.stackexchange.com | |
.stackoverflow.com | |
.storage.googleapis.com | |
.stripe.com | |
.sun.com | |
.superuser.com | |
.swaggerhub.com | |
.swift.org | |
.symfony.com | |
.tagmanager.google.com | |
.teamtreehouse.com | |
.teamviewer.com | |
.telerik.com | |
.tensorflow.org | |
.themeforest.net | |
.ti.com | |
.tinyjpg.com | |
.tinypng.com | |
.toggl.com | |
.traviscistatus.com | |
.twilio.com | |
.udemy.com | |
.unity3d.com | |
.unity.com | |
.unrealengine.com | |
.unsplash.com | |
.upwork.com | |
.vagrantup.com | |
.videohive.net | |
.virtualbox.org | |
.vmcdn.com | |
.vmware.com | |
.vuejs.org | |
.vuforia.com | |
.web.dev | |
.wikia.com | |
.withgoogle.com | |
.zeit.co | |
.zoom.us |