a Python DNSLog
def send_header(self, keyword, value):
...
("%s: %s\r\n" % (keyword, value)).encode('utf8', 'strict') # 将 latin-1 修改为 utf8
pip install -r requirements.txt
python dnslog.py -dm yourdomain -i yourip
chmod u+x dnslog
sudo ./dnslog -dm yourdomain -i yourip