mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
9 lines
212 B
Text
9 lines
212 B
Text
|
|
#!/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()))
|