Simple DNS proxy server with support of domain name's blacklist.
The program checks if requested domain name located in the blacklist specified by configuration file DNSProxyServer.conf
.
If it's so, the refuse DNS response will be generated according to parameters set in configuration file.
Otherwise, it will send DNS request to superior DNS server, which also specified in configuration file.
git clone https://github.com/OlejnikKristina/DNS-proxy-server.git
cd DNS-proxy-server
sudo python3 DNSProxyServer.py
In other terminal type: dig [Any Doname Name] @localhost
Example: dig youtube.com @localhost
You need to have instaled:
Python 3.6.9
pyyaml
dnslib
WSL Ubuntu
Please open an 'issues' if you find any bugs.