MCPcopy Create free account

hub / github.com/rthalley/dnspython / functions

Functions3,382 in github.com/rthalley/dnspython

↓ 6 callersMethodas_name
Try to interpret the token as a DNS name. Raises dns.exception.SyntaxError if not a name. Returns a dns.name.Name.
dns/tokenizer.py:643
↓ 6 callersMethodcaught
(self, who, e)
tests/nanonameserver.py:156
↓ 6 callersMethoddelete
Delete records. The first argument is always a name. The other arguments can be: - *empty* - rdata
dns/update.py:188
↓ 6 callersFunctionexpand
(text)
tests/test_name.py:33
↓ 6 callersMethodfind_rdataset
Look for an rdataset with the specified name and type in the zone, and return an rdataset encapsulating it. The rdataset returned is
dns/zone.py:304
↓ 6 callersMethodflush
Flush the cache. If *key* is not ``None``, only that item is flushed. Otherwise the entire cache is flushed. *key*, a ``(dn
dns/resolver.py:485
↓ 6 callersMethodget_ttl
Read the next token and interpret it as a DNS TTL. Raises dns.exception.SyntaxError or dns.ttl.BadTTL if not an identifier or badly f
dns/tokenizer.py:694
↓ 6 callersMethodget_uint32
(self)
dns/wire.py:54
↓ 6 callersMethodget_wire
Return the wire format message.
dns/renderer.py:338
↓ 6 callersMethodis_superdomain
Is self a superdomain of other? Note that the notion of superdomain includes equality, e.g. "dnspython.org" is a superdomain of itsel
dns/name.py:513
↓ 6 callersMethodmake_immutable
Make the BTree immutable. Attempts to alter the BTree after making it immutable will raise an Immutable exception. This operation ca
dns/btree.py:646
↓ 6 callersMethodput
Associate key and value in the cache. *key*, a ``(dns.name.Name, dns.rdatatype.RdataType, dns.rdataclass.RdataClass)`` tuple whose va
dns/resolver.py:589
↓ 6 callersMethodrandom_between
(self, first: int, last: int)
dns/entropy.py:94
↓ 6 callersMethodrecv
(self, size, timeout)
dns/_asyncbackend.py:64
↓ 6 callersMethodto_text
Convert an rdata to text format. Returns a ``str``.
dns/rdata.py:203
↓ 6 callersMethodvalues
(self)
dns/zone.py:221
↓ 6 callersMethodwrite_header
Write the DNS message header. Writing the DNS message header is done after all sections have been rendered, but before the optional T
dns/renderer.py:317
↓ 6 callersMethodwriter
(self, replacement: bool = False)
dns/zone.py:872
↓ 5 callersMethod__init__
*cleaning_interval*, a ``float`` is the number of seconds between periodic cleanings.
dns/resolver.py:428
↓ 5 callersMethod__init__
Initialize a zone object. *origin* is the origin of the zone. It may be a ``dns.name.Name``, a ``str``, or ``None``. If ``None``, t
dns/zone.py:139
↓ 5 callersMethod__init__
(self)
dns/nameserver.py:10
↓ 5 callersMethod_as_bool
(cls, value)
dns/rdata.py:578
↓ 5 callersMethod_as_ipv4_address
(cls, value)
dns/rdata.py:556
↓ 5 callersMethod_as_uint48
(cls, value)
dns/rdata.py:538
↓ 5 callersFunction_config_domain
(domain)
dns/win32util.py:79
↓ 5 callersMethod_get_rdataset
Return the rdataset associated with *name*, *rdtype*, and *covers*, or `None` if not found.
dns/transaction.py:574
↓ 5 callersMethod_invalid_type
(cls, gateway_type)
dns/rdtypes/util.py:44
↓ 5 callersFunction_maybe_wait_for
(awaitable, timeout)
dns/_asyncio_backend.py:56
↓ 5 callersFunction_wait_for_writable
(s, expiration)
dns/query.py:248
↓ 5 callersMethodadd
Add records. The first argument is always a name. The other arguments can be: - rdataset... - ttl,
dns/update.py:173
↓ 5 callersMethodadd_rrset
Add the rrset to the specified section. Any keyword arguments are passed on to the rdataset's to_wire() routine.
dns/renderer.py:178
↓ 5 callersMethodclose
(self)
dns/quic/_sync.py:82
↓ 5 callersMethodclose
(self)
dns/quic/_trio.py:73
↓ 5 callersMethoddelete_node
Delete the specified node if it exists. *name*: the name of the node to find. The value may be a ``dns.name.Name`` or a ``str``. If
dns/zone.py:289
↓ 5 callersMethoddifference_update
Update the set, removing any elements from other which are in the set.
dns/set.py:132
↓ 5 callersMethodget_delegation
Get the delegation applicable to *name*, if it exists. If there delegation, then return a tuple consisting of the name of the delegat
dns/btreezone.py:109
↓ 5 callersMethodget_identifier
Read the next token, which should be an identifier. Raises dns.exception.SyntaxError if not an identifier. Returns a string.
dns/tokenizer.py:586
↓ 5 callersFunctionget_rdata_class
(rdclass, rdtype, use_generic=True)
dns/rdata.py:672
↓ 5 callersMethodget_soa
Get the zone SOA rdata. Raises ``dns.zone.NoSOA`` if there is no SOA RRset. Returns a ``dns.rdtypes.ANY.SOA.SOA`` Rdata.
dns/zone.py:773
↓ 5 callersMethodintersection_update
Update the set, removing any elements from other which are not in both sets.
dns/set.py:117
↓ 5 callersMethodis_maximal
Does this node have the maximal number of keys?
dns/btree.py:68
↓ 5 callersMethodis_minimal
Does this node have the minimal number of keys?
dns/btree.py:73
↓ 5 callersMethodis_whitespace
(self)
dns/tokenizer.py:72
↓ 5 callersMethodmake
( cls, v6: Answer | None = None, v4: Answer | None = None, add_empty: bool = T
dns/resolver.py:331
↓ 5 callersMethodreserve
Reserve *size* bytes.
dns/renderer.py:343
↓ 5 callersMethodresolve_chaining
Follow the CNAME chain in the response to determine the answer RRset. Raises ``dns.message.NotQueryResponse`` if the message is not
dns/message.py:999
↓ 5 callersMethodsendto
(self, data, where)
tests/test_query.py:703
↓ 5 callersMethodset_max_versions
Set a pruning policy that retains up to the specified number of versions
dns/versioned.py:199
↓ 5 callersMethodskip_whitespace
Consume input until a non-whitespace character is encountered. The non-whitespace character is then ungotten, and the number of white
dns/tokenizer.py:322
↓ 5 callersMethodto_dnskey
Return public key as DNSKEY
dns/dnssecalgs/base.py:32
↓ 5 callersMethodto_text
Convert the RRset into DNS zone file format. See ``dns.name.Name.choose_relativity`` for more information on how *origin* and *relati
dns/rrset.py:132
↓ 5 callersMethodto_wire
(self, file: Any | None = None)
dns/edns.py:301
↓ 5 callersMethodtry_ddr
Try to update the resolver's nameservers using Discovery of Designated Resolvers (DDR). If successful, the resolver will subsequently use
dns/resolver.py:1497
↓ 5 callersMethodverify
(self, expected)
dns/tsig.py:119
↓ 5 callersMethodwait_for
(self, amount, expiration)
dns/quic/_asyncio.py:36
↓ 4 callersFunction_MAX
The maximum number of keys in node for a BTree with the specified ``t``
dns/btree.py:35
↓ 4 callersMethod__init__
(self, a, akw=10)
tests/test_immutable.py:46
↓ 4 callersMethod_add
Add records. *replace* is the replacement mode. If ``False``, RRs are added to an existing RRset; if ``True``, the RRset is
dns/update.py:133
↓ 4 callersMethod_add_input
(self, data, is_end)
dns/quic/_sync.py:77
↓ 4 callersMethod_add_input
(self, data, is_end)
dns/quic/_asyncio.py:73
↓ 4 callersMethod_add_input
(self, data, is_end)
dns/quic/_trio.py:68
↓ 4 callersMethod_check_read_only
(self)
dns/transaction.py:155
↓ 4 callersMethod_check_value
(cls, value)
dns/enum.py:34
↓ 4 callersMethod_cmp
Compare an rdata with another rdata of the same rdtype and rdclass. For rdata with only absolute names: Return < 0 if sel
dns/rdata.py:288
↓ 4 callersMethod_ensure_algorithm_key_combination
(cls, key: DNSKEY)
dns/dnssecalgs/base.py:28
↓ 4 callersFunction_escapify
Escape the characters in label which need it. @returns: the escaped string @rtype: string
dns/name.py:146
↓ 4 callersMethod_get_char
Read a character from input.
dns/tokenizer.py:280
↓ 4 callersMethod_get_identifier
(self)
dns/zonefile.py:147
↓ 4 callersMethod_get_zonemd
(self, zone)
tests/test_zonedigest.py:110
↓ 4 callersMethod_make_copy_query
(self)
tests/test_message.py:236
↓ 4 callersMethod_make_opt
(flags=0, payload=DEFAULT_EDNS_PAYLOAD, options=None)
dns/message.py:788
↓ 4 callersFunction_net_read
Read the specified number of bytes from sock. Keep trying until we either get the desired amount, or we hit EOF. A Timeout exception will be
dns/query.py:1079
↓ 4 callersMethod_parse_rr_header
(self, section, name, rdclass, rdtype)
dns/message.py:943
↓ 4 callersFunction_read_exactly
Read the specified number of bytes from stream. Keep trying until we either get the desired amount, or we hit EOF.
dns/asyncquery.py:341
↓ 4 callersMethod_set_section
Set the renderer's current section. Sections must be rendered order: QUESTION, ANSWER, AUTHORITY, ADDITIONAL. Sections may be empty.
dns/renderer.py:137
↓ 4 callersFunction_source_tuple
(af, address, port)
dns/asyncquery.py:66
↓ 4 callersMethod_stir
(self, entropy: bytes | bytearray)
dns/entropy.py:48
↓ 4 callersMethod_timeout_from_expiration
(self, expiration)
dns/quic/_common.py:90
↓ 4 callersMethod_track_size
(self)
dns/renderer.py:153
↓ 4 callersFunction_unescape
(value: str)
dns/rdtypes/svcbbase.py:101
↓ 4 callersFunction_version_check
Is the requirement fulfilled? The requirement must be of the form package>=version
dns/_features.py:23
↓ 4 callersFunction_wait_for_readable
(s, expiration)
dns/query.py:244
↓ 4 callersMethod_wakeup
(self)
dns/quic/_asyncio.py:132
↓ 4 callersMethodclassify_rdataset
(cls, rdataset: dns.rdataset.Rdataset)
dns/node.py:67
↓ 4 callersMethodclose
(self)
dns/quic/_asyncio.py:78
↓ 4 callersMethodcommit
Commit the transaction. Normally transactions are used as context managers and commit or rollback automatically, but it may be done e
dns/transaction.py:298
↓ 4 callersMethodconcatenate
Return a new name which is the concatenation of self and other. Raises ``dns.name.AbsoluteConcatenation`` if the name is absolute and
dns/name.py:774
↓ 4 callersMethoddiscard
(self, value: KT)
dns/btree.py:849
↓ 4 callersMethodfrom_value
(cls, value)
dns/rdtypes/svcbbase.py:382
↓ 4 callersFunctionget_algorithm_cls
Get Private Key class from Algorithm. *algorithm*, a ``str`` or ``int`` specifying the DNSKEY algorithm. Raises ``UnsupportedAlgorithm`` if
dns/dnssecalgs/__init__.py:50
↓ 4 callersMethodgetpeername
(self)
dns/_asyncbackend.py:36
↓ 4 callersMethodhandle_wire
(self, wire, peer, local, connection_type)
tests/nanonameserver.py:262
↓ 4 callersMethodisdisjoint
(self, other)
dns/set.py:302
↓ 4 callersFunctionmake_example
(text: str, relativize: bool = False)
tests/test_btreezone.py:31
↓ 4 callersMethodmake_stream
(self, timeout=None)
dns/quic/_sync.py:233
↓ 4 callersMethodpredecessor
Return the maximal predecessor of *name* in the DNSSEC ordering in the zone whose origin is *origin*, or return the longest name under *origin
dns/name.py:857
↓ 4 callersMethodreceive
(self, timeout=None)
dns/quic/_sync.py:59
↓ 4 callersMethodrecvfrom
(self, size, timeout)
dns/_asyncbackend.py:56
↓ 4 callersMethodrecvfrom
(self, bufsize, expiration)
tests/test_async.py:765
↓ 4 callersMethodresponse
The response for query *qname*. Returns a ``dns.message.Message``.
dns/resolver.py:134
← previousnext →201–300 of 3,382, ranked by callers