MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / AAAA

Method AAAA

mitmproxy/dns.py:221–225  ·  view source on GitHub ↗

Create an IPv6 resource record.

(
        cls, name: str, ip: IPv6Address, *, ttl: int = DEFAULT_TTL
    )

Source from the content-addressed store, hash-verified

219
220 @classmethod
221 def AAAA(
222 cls, name: str, ip: IPv6Address, *, ttl: int = DEFAULT_TTL
223 ) -> ResourceRecord:
224 """Create an IPv6 resource record."""
225 return cls(name, types.AAAA, classes.IN, ttl, ip.packed)
226
227 @classmethod
228 def CNAME(

Callers 1

test_strMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_strMethod · 0.64