Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.
/ ad-zaijian Public archive

AD-ZaiJian (廣告再見): Keep Ads away from any devices. 👻

License

Notifications You must be signed in to change notification settings

imZack/ad-zaijian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AD-ZaiJian

Currently, most of this repo is forked from 👉 PI-hole.

Already tested on the following platforms

  • Raspberry PI 2 (kernel 4.2)
  • Synlolgy DS 713+
  • Ubuntu 14.04 64bit

Demo

demo

Prerequisite

  • A server with Docker 🐳

Usage

1. Pull image from Docker Hub

# For x86_64 machine:
λ ~/ docker pull zack/ad-zaijian

# For RPI 2 or other armhf devices:
λ ~/ docker pull zack/ad-zaijian-armhf

2. Run container

λ ~/ docker run -d --name ad-zaijian \
                -p 53:53/tcp -p 53:53/udp \
                -v `pwd`:/data \
                --cap-add=NET_ADMIN \
                zack/ad-zaijian
  • Change envirment variable IP to server's IP address
  • The blocklists and server log will save to your current work directory via pwd

Of course, you could change it to any where you want.

It will take a while for fetching lots of block lists from internet at the first time 😅.

3. Modify your devices' dns

Set DNS Server to your ad-zaijian's IP and That's all!

TODO

  • Rewrite and enhance block lists scripts
  • Expose dnsmasq statistics & data via API or ...

License

GPL v2

About

AD-ZaiJian (廣告再見): Keep Ads away from any devices. 👻

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages