/dns-server-simulator

Python 3 implementation of a dns server. Responds with random ip address

Primary LanguagePython

dns-server-simulator

Python 3 implementation of a dns server. Responds with random ip address

Usage(server)

$ python3 ./dns_server_simulator.py

Usage(client)

$ dig @127.0.0.1 -p 7753 foo.bar.com +short
10.12.28.175
$ dig @127.0.0.1 -p 7753 foo.bar.com +short
10.137.107.111
$ dig @127.0.0.1 -p 7753 foo.bar.com +short
10.78.155.120
$ dig @127.0.0.1 -p 7753 foo.bar.com +short
10.190.65.248
$ dig @127.0.0.1 -p 7753 foo.bar.com +short
10.41.132.128
$ dig @127.0.0.1 -p 7753 foo.bar.com +short
10.56.4.34