Skip to content

DNS resolver with ability to blacklist unwanted queries.

License

Notifications You must be signed in to change notification settings

PolisanTheEasyNick/DNS-Proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNS-Proxy

It's a DNS Resolver with ability to blacklist unwanted queries.
In config.conf file you can specify which queries to block and which status to return.
Note: root access needed for port 52 binding.

Prerequisites

libconfig library

Building and running

$ cmake .
$ make
$ sudo ./DNS-Proxy

Testing

You can test Proxy work using program like dnslookup:

$ dnslookup github.com 127.0.0.1

It will send single query response to our DNS server and, if succeed, receive DNS Response with github.com IP.

Also you can see speed of DNS server using dnsperf:

$ dnsperf -s 127.0.0.1 -d test-list.txt

It will send many Queries Per Second to our local server from test-list.txt list with queries.
Also you can set 127.0.0.1 as your system DNS resolver in /etc/resolv.conf.

About

DNS resolver with ability to blacklist unwanted queries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published