Answers for "how to write your own dns server in oython"

1

python dns server

from pydnserver import DNSServer

ip = u'192.168.0.10'  # Set this to the IP address of your network interface.

dns = DNSServer(interface=ip, port=53)
dns.start()

try:
    while True:
        pass

except KeyboardInterrupt:
    dns.stop()
Posted by: Guest on September-04-2020

Code answers related to "how to write your own dns server in oython"

Python Answers by Framework

Browse Popular Code Answers by Language