mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-05-04 17:26:34 -04:00
8 lines
212 B
Python
Executable file
8 lines
212 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import libknot.control
|
|
import libknot.dname
|
|
import libknot.probe
|
|
|
|
dname = libknot.dname.KnotDname("knot-dns.cz")
|
|
print("%s: wire: %s size: %u" % (dname.str(), dname.wire(), dname.size()))
|