MCPcopy Create free account
hub / github.com/avicoder/spoodle / DNSLabel

Class DNSLabel

dnslib/label.py:17–139  ·  view source on GitHub ↗

Container for DNS label Supports IDNA encoding for unicode domain names >>> l1 = DNSLabel("aaa.bbb.ccc.") >>> l2 = DNSLabel([b"aaa",b"bbb",b"ccc"]) >>> l1 == l2 True >>> l3 = DNSLabel("AAA.BBB.CCC") >>> l1 == l3 True >>> l1 == 'AAA.BBB.CCC' True >>>

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

labelFunction · 0.90
set_qnameMethod · 0.90
set_rnameMethod · 0.90
set_labelMethod · 0.90
set_labelMethod · 0.90
set_mnameMethod · 0.90
set_rnameMethod · 0.90
set_targetMethod · 0.90
set_replacementMethod · 0.90
__init__Method · 0.90
__init__Method · 0.90
parse_labelMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected