Crypt0s / FakeDns

A regular-expression based python MITM DNS server with support for DNS Rebinding attacks
MIT License
549 stars 148 forks source link

FakeDns CNAME mode - how to config #30

Closed cryptomadco closed 4 years ago

cryptomadco commented 4 years ago

Hi ! I want know, how is it possible to pass CNAME in FakeDNS config file and run FakeDNS with CNAME mode .

Thanks.

Crypt0s commented 4 years ago

@cryptomadco thanks for the question.

in the config: CNAME [dns_name] [cname_answer]

I realized I didn't have an example of this in the dns.conf.example configuration file and have since added it. Please let me know if you have any problems.

Oh, and heads up, I changed the codebase to python3, so be aware of that if you re-clone the code to take a look.