Skip to content

Instantly share code, notes, and snippets.

View dugduy's full-sized avatar
🏠
Working from home

dugduy

🏠
Working from home
View GitHub Profile
# coding=utf-8
"""
LICENSE http://www.apache.org/licenses/LICENSE-2.0
"""
import datetime
import sys
import time
import threading
import traceback
import SocketServer
@dugduy
dugduy / ddnsserver.py
Created April 10, 2022 03:23 — forked from pklaus/ddnsserver.py
Simple DNS server (UDP and TCP) in Python using dnslib.py
#!/usr/bin/env python
"""
LICENSE http://www.apache.org/licenses/LICENSE-2.0
"""
import argparse
import datetime
import sys
import time
import threading