New and better version has been released. Take a look here: https://github.com/jimmykane/dns-spoofer The below is legacy RaeadMe --------------------------- #-------------------------------------------------- # Roque DNS Server With Dynamic Ip Resolving by Jimmy Kane #-------------------------------------------------- # Author: Dimitrios Kanellopoulos # Email: jimmykane9@gmail.com, # Twitter: http://twitter.com/JimmyKane9 # Google+: http://gplus.to/jimmykane # License: The GNU General Public License #------------------------------------------------------------------------------------------------------ #---------- # Based on: http://www.tranquilidadtecnologica.com/2006/04/servidor-fake-dns-en-python.html # mirror: http://code.activestate.com/recipes/491264-mini-fake-dns-server/ #------------------------------------------------------------------------------------------------------- # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. #---------------------------------------------------------------------------- -This release is based on an older project called mini-fake-dns-server http://www.tranquilidadtecnologica.com/2006/04/servidor-fake-dns-en-python.html Description: "You can redirect DNS requests to specific Domain Name with automated Resolving eg: * -> mydomain.dyndns-server.com This script will redirect all domain names to mydomain.dyndns-server.com" Changes: -Added DNS resolving from ip to Domain Name for Dynamic IP support -Added threading and improved performance Instructions: 0. Edit Domain_Name and sleeptime variables in dns.py to your needs. Description of the variables is available in dns.py file 1. Run server: python dns.py 3. Exit: ctrl+c