Skip to content

back2arie/AntiNawala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First Alpha - For Educational Purpose Only

This tool will help you to automate adding blocked domain by DNS Nawala to the hosts file.

How it works

  1. Program will run in daemon mode, and act as DNS server, so user need to change DNS server to localhost (127.0.0.1)
  2. When user request a domain, the program will forward the request to Nawala, if the return address is 114.127.223.16 (CHECK) then the domain is blocked.
  3. The program then request the actual address using DNS over REST and added it to hosts file.
  4. That's it!

Getting started

  1. Change your DNS Server to localhost, *nix environment is located in /etc/resolv.conf
nameserver 127.0.0.1
  1. Run it (need to be root)
$ sudo python anti-nawala.py

Limitation

User needs to compile/ install the program, and it's only works for localhost. Still need to figure a way to use it as SaS/ Cloud.

Other DNS Filtering

This program might work as well for other DNS filtering like OpenDNS, but we need to know the characteristic from it, for example nawala will return address 114.127.223.16 (CHECK) if the domain is blocked.

About

Anti DNS Nawala

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published