Code Monkey home page Code Monkey logo

dns-adblock's Introduction

dns-adblock

This repository contains the Ansible playbook that we use to generate the ad and tracker blocking files for our DNS over TLS, and relay based DNS blocking.

This is imported to our VPN servers frequently.

Requirements

  • Ansible 2.9.x =<

Step by step

  • Ensure the values in group_vars/<group>.yml are up to date with any ad-block lists
  • Ensure you have added any 'custom' extra lists or websites to block
  • Run the playbook: ansible-playbook -i inventory/ playbook.yml
  • View the output (once pushed) at https://raw.githubusercontent.com/mullvad/dns-adblock/main/output/<group>.txt?raw=true
  • Run test script: cd scripts && ./check_zonedata.sh
  • Sign the outputted relay files with your GPG code signing key, for example: gpg2 --detach-sign --armor output/relay/relay_adblock.txt > output/relay/relay_adblock.txt.gpg
  • Verify the outputted GPG signed files, for example: gpg2 --verify output/relay/relay_adblock.txt.gpg output/relay/relay_adblock.txt

Pull requests / Issues / Updating block lists

We really welcome your feedback for lists to use for blocking! We cannot action them all individually, but we will read them. This is an actively worked on project and we will take into consideration all of your requests, even if we do not reply to them.

dns-adblock's People

Contributors

jbjorkang avatar oskaralmlov 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.