FakeDns is A regular-expression based python MITM DNS server with correct DNS request passthrough and “Not Found” responses.
Change 13.02.2015; fakedns.py : Added MX to TYPE enum, perfected the proxing algorithm, should work for DNS types it does not know about now.
A python regular-expression based DNS server!
USAGE: ./fakedns.py [config file]
The dns.conf should be set the following way:
[RECORD TYPE CODE] [python regular expression] [answer]
The answer could be a ip address or string self, the self syntax sugar will be translated to your current machine’s local ip address, such as 192.168.1.100.
If a match is not made, the DNS server will attempt to resolve the request using whatever you have your DNS server set to on your local machine and will proxy the request to that server on behalf of the requesting user.
Supported Request Types
- A - TXT - AAAA
In-Progress Request Types
- MX - PTR - CNAME
Download : Master.zip | Clone Url
Source : https://github.com/Crypt0s