GithubHelp home page GithubHelp logo

simhaonline / unbound_as_unfiltered_dns-resolver Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 61 KB

running pihole + unbound + redis, use unbound as unfiltered DNS resolver

Shell 70.18% Batchfile 16.12% Lua 13.70%

unbound_as_unfiltered_dns-resolver's Introduction

The files in this repository are for use with the configuration, explained here: https://discourse.pi-hole.net/t/unbound-as-unfiltered-dns-resolver-alternative-for-pihole-disable/20246 (unfiltered DNS) and here: https://discourse.pi-hole.net/t/pihole-ftl-unbound-with-cache-db-module-options-redis/24676 (unbound + Redis - Cache DB Module Options).

Everything is tested on a raspberry pi model 3B, running the raspbian buster lite version september 2019

Most files contain specific IPv4, IPv6 and subnet examples. They need to be replaced to make your configuration work!

The scripts also contain paths to the files that are being modified by the scripts. They need to be replaced with the actual location of your configuration files!

WARNING: it may be wise, even for advanced users, to execute the scripts line by line (copy/paste) this to allow you to keep track of what is actually been changed!

The script /home/pi/compile_unbound.sh compiles unbound from source, using the "Cache DB Module Options" (Redis). This only works if unbount isn’t already installed on your system!

The script /home/pi/bypassFTL.sh makes the modifications,required to allow unbound to be used as unfiltered DNS resolver.

The script /home/pi/install_phpRedisAdmin.sh installs the files, required to look at the Redis data, in the lighttpd folder. Checkup on Redis, using a browser (http:///phpRedisAdmin/).

The script /home/pi/nmapweb is only a partial script, it doesn't download the zipfile. You need to be registered to download this file! The instructions to install nmapweb can be found here:https://discourse.pi-hole.net/t/run-nmap-security-audit-tool-from-a-web-interface/20351 Read the instructions, and perform the necessary steps, before executing the script!

If you decide to run the scripts, despite the WARNING, you must exexute the with sudo, eg. sudo ./bypassFTL.sh

so (example IP's):

setting the DNS server to 192.168.2.57 would give the client ad blocking (using pihole)

setting the DNS server to 192.168.2.47 would give the client unfiltered DNS

If you are using pihole DHCP, an example to configure alternative DNS server can be found here: https://raw.githubusercontent.com/deathbybandaid/piadvanced/master/piholetweaks/dnsmasqtweaks/04-bypass.conf

The file bypass_pihole.cmd, a windows script, can be placed on the desktop. When the cmd runs (as administrator) the client will switch from ad blocking to unfiltered for 10 seconds, giving you the time to hit the refresh button of your browser.

More info on pihole + unbound here: https://docs.pi-hole.net/guides/unbound/

unbound_as_unfiltered_dns-resolver's People

Contributors

jpgpi250 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.