Giter Site home page Giter Site logo

mx2x / dnsblacklist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from farhanfaisal/dnsblacklist

0.0 1.0 0.0 144 KB

A shell script to download malware domains from various sources, and configuring unbound DNS config file to be used as a local recursive DNS server

Shell 100.00%

dnsblacklist's Introduction

#DNSBlacklist project.

##Introduction. This project aims to be an assisting tool to setup your own DNS blacklisting in your enterprise environment. While the DNS provide blacklisting service, it will provide a good and fast caching for the enterprise DNS use. This tool will retrieve latest known malicious domains, and generate configuration file for BIND or UNBOUND DNS server.

This script utilizing unbound as local recursive DNS server for your environment.

##How it works

The script will pull malicious domains from various sources, to be configured in an
unbound/bind DNS server. This server will be your internal DNS server in your environment.
Any DNS request to malicious domain by any user in your environment will be handled by 
Unbound/BIND by returning a specified IP, usually 127.0.0.1, or any 'blackhole' IP. You 
can point to another server to monitor the malicious request

This include domain parser from various malicious domain provider

##Main features

  • Configurables of which domain sources to be used.
  • Option for output format, Unbound or Bind DNS server (Unbound by default)
  • Domain permanent whitelisting and blacklisting

The main script is preparation.sh, which generate a configuration file for unbound DNS server. You can choose BIND format output as well

##How to use

  • Pull to /etc/unbound/
  • Edit /etc/unbound/unbound.conf according to your server environment. (Note the reference to "/etc/unbound/blackhole/blacklisted_domains.conf")
  • Run run.sh in /etc/unbound/blackhole/. Your "/etc/unbound/blackhole/blacklisted_domains.conf" will be created automatically.
  • run unbound-checkconf to verify the config file
  • Restart unbound for the config file to be effective.

####@2014

dnsblacklist's People

Contributors

farhanfaisal avatar

Watchers

 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.