semvec/pypi-packages huggingface dataset:
dnslog 0.0.2
A wrapper for dnslog.cn
Requires Python: >=3.8

# dnslog
A wrapper for dnslog.cn

## install

`pip3 install dnslog`

## usage

``` python

import dnslog
import time

s = dnslog.dnslog()

domain = s.new()
print(domain)

try:
    requests.get(f"http://{domain}", timeout=1)
except:
    pass

time.sleep(2)

for i in s.getlog():
    print(i)


```