Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/averagesecurityguy/dnsfw
Scripts to implement a basic DNS firewall
https://github.com/averagesecurityguy/dnsfw
Last synced: 3 months ago
JSON representation
Scripts to implement a basic DNS firewall
- Host: GitHub
- URL: https://github.com/averagesecurityguy/dnsfw
- Owner: averagesecurityguy
- Created: 2018-01-11T04:19:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-05T23:00:15.000Z (over 2 years ago)
- Last Synced: 2024-08-02T22:21:50.264Z (7 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-repos - averagesecurityguy/dnsfw - Scripts to implement a basic DNS firewall (Python)
README
# DNSFW
A simple DNS firewall.## Installation
* Install dnsmasq on your favorite Linux computer (I built my DNS firewall on a RaspberryPi).
* Clone this repo to your home directory.
* Replace the default dnsmasq config file /etc/dnsmasq.conf with the one in this repo.
* Edit the dnsmasq.conf file to specify your upstream DNS server.
* Create the directory /opt/blocklists.
* Create the file /opt/blocklists/custom.list. Add to this file any custom domains you would like to block.
* Edit the blocklist.urls file with links to the blocklist files you want to download.
* Setup a cron job to run the update_bl.sh script as often as you like (I run it once a month).
* Configure your computer to use the new DNS server.
* Enjoy your Internet again.