-
compile: g++ *.cpp -std=c++11 -o DNS-Proxy -no-pie -Wall `pkg-config gtkmm-3.0 --cflags --libs`
-
set right to open udp port 53 as non root: setcap 'cap_net_bind_service=+ep' ./DNS-Proxy
Options:
-(h)elp
-(d)ns server
-(a)utostart
-(l)ist (white|black)
-(i)nterface
-(b)lacklist (path)
-(w)hitelist (path)
Example: ./dns-proxy -i eth0 -d 192.168.0.1 -l black -b /home/foo/blacklist.txt -a
Browser <---> DNS-Proxy(whitelist | Blacklist) <---> DNS-Server