MCPcopy Create free account

hub / github.com/rthalley/dnspython / functions

Functions3,382 in github.com/rthalley/dnspython

↓ 12 callersMethod_test_signature
( self, key, algorithm, rrset, signer=None, policy=None,
tests/test_dnssec.py:1484
↓ 12 callersMethodcheck_valid_inputs
(self, inputs)
tests/test_svcb.py:14
↓ 12 callersMethodconnect
( self, address, port=853, source=None, source_port=0, want_se
dns/quic/_sync.py:268
↓ 12 callersMethodequal_loc
(self, a, b)
tests/test_rdata.py:319
↓ 12 callersMethodfullcompare
Compare two names, returning a 3-tuple ``(relation, order, nlabels)``. *relation* describes the relation ship between the names,
dns/name.py:423
↓ 12 callersMethodis_eol_or_eof
(self)
dns/tokenizer.py:87
↓ 12 callersMethoditerate_rdatas
Return a generator which yields (name, ttl, rdata) tuples for all rdatas in the zone which have the specified *rdtype* and *covers*.
dns/zone.py:593
↓ 12 callersMethodpresent
Require that an owner name (and optionally an rdata type, or specific rdataset) exists as a prerequisite to the execution of the updat
dns/update.py:266
↓ 12 callersFunctionread_rrsets
Read one or more rrsets from the specified text, possibly subject to restrictions. *text*, a file object or a string, is the input to process
dns/zonefile.py:663
↓ 12 callersFunctionregister_algorithm_cls
Register Algorithm Private Key class. *algorithm*, a ``str`` or ``int`` specifying the DNSKEY algorithm. *algorithm_cls*: A `GenericPrivateK
dns/dnssecalgs/__init__.py:88
↓ 12 callersMethodremove
Remove an item from the set.
dns/set.py:55
↓ 12 callersMethodreplace_rdataset
Replace an rdataset. It is not an error if there is no rdataset matching *replacement*. Ownership of the *replacement* object is tra
dns/node.py:265
↓ 12 callersMethodrun
(self)
tests/doq.py:74
↓ 12 callersMethodto_file
Write a zone to a file. *f*, a file or `str`. If *f* is a string, it is treated as the name of a file to open. *sorted*, a
dns/zone.py:626
↓ 11 callersMethod_as_int
(cls, value, low=None, high=None)
dns/rdata.py:546
↓ 11 callersMethod_as_ttl
(cls, value)
dns/rdata.py:585
↓ 11 callersMethod_as_uint32
(cls, value)
dns/rdata.py:530
↓ 11 callersMethod_get_qnames_to_try
( self, qname: dns.name.Name, search: bool | None )
dns/resolver.py:1087
↓ 11 callersMethod_test_dnssec_alg
(self, private_cls, key_size=None)
tests/test_dnssecalgs.py:48
↓ 11 callersMethodcheck_invalid_inputs
(self, inputs)
tests/test_svcb.py:21
↓ 11 callersMethodderelativize
If the name is a relative name, return a new name which is the concatenation of the name and origin. Otherwise return the name. For
dns/name.py:805
↓ 11 callersMethodget_eol
(self)
dns/tokenizer.py:691
↓ 11 callersMethodgetsockname
(self)
dns/_asyncbackend.py:39
↓ 11 callersMethodprocessing_order
Return rdatas in a valid processing order according to the type's specification. For example, MX records are in preference order from
dns/rdataset.py:342
↓ 11 callersMethodrcode
Return the rcode. Returns a ``dns.rcode.Rcode``.
dns/message.py:896
↓ 11 callersMethodread_resolv_conf
Process *f* as a file in the /etc/resolv.conf format. If f is a ``str``, it is used as the name of the file to open; otherwise it is
dns/resolver.py:981
↓ 11 callersMethodupdate_ttl
Perform TTL minimization. Set the TTL of the rdataset to be the lesser of the set's current TTL or the specified TTL. If the set con
dns/rdataset.py:85
↓ 10 callersMethoddelete_exact
Delete *element* from the BTree. Returns the matching element or ``None`` if it was not in the BTree.
dns/btree.py:718
↓ 10 callersFunctionequal_rrsets
(a, b)
tests/test_rrset_reader.py:18
↓ 10 callersMethodfind_rrset
Find the RRset with the given attributes in the specified section. *section*, an ``int`` section number, a ``str`` section name, or one of
dns/message.py:348
↓ 10 callersMethodget_deepest_match
Find the deepest match to *name* in the dictionary. The deepest match is the longest name in the dictionary which is a superdomain of
dns/namedict.py:88
↓ 10 callersMethodmatch
Does this rrset match the specified attributes? Behaves as :py:func:`full_match()` if the first argument is a ``dns.name.Name``, and
dns/rrset.py:96
↓ 10 callersMethodresolve
Query nameservers asynchronously to find the answer to the question. *backend*, a ``dns.asyncbackend.Backend``, or ``None``. If ``None``,
dns/asyncresolver.py:48
↓ 10 callersMethodsection_from_number
Return the section list associated with the specified section number. *number* is a section number `int` or the text form of a sectio
dns/message.py:333
↓ 10 callersMethodsend
(self, datagram, is_end=False)
dns/quic/_sync.py:73
↓ 10 callersMethodwrite
(self, stream: int, data: bytes, is_end=False)
tests/doq.py:212
↓ 9 callersMethod_compute_timeout
( self, start: float, lifetime: float | None = None, errors: List[ErrorTuple]
dns/resolver.py:1063
↓ 9 callersFunction_remaining
(expiration)
dns/query.py:53
↓ 9 callersFunction_timeout
(expiration, now=None)
dns/asyncquery.py:82
↓ 9 callersFunctionhextowire
(hex)
tests/test_update.py:27
↓ 9 callersMethodis_delegation
(self)
dns/btreezone.py:48
↓ 9 callersMethodis_eol
(self)
dns/tokenizer.py:69
↓ 9 callersMethodis_h3
(self)
dns/quic/_common.py:316
↓ 9 callersMethodis_origin
(self)
dns/btreezone.py:54
↓ 9 callersMethodis_origin_or_glue
(self)
dns/btreezone.py:57
↓ 9 callersMethodsleep
(self, offset)
tests/test_resolver.py:219
↓ 9 callersMethodto_digestable
Convert rdata to a format suitable for digesting in hashes. This is also the DNSSEC canonical form. Returns a ``bytes``.
dns/rdata.py:258
↓ 9 callersMethodto_wire
Return a string containing the message in DNS compressed wire format. Additional keyword arguments are passed to the RRset ``to_wire(
dns/message.py:561
↓ 8 callersFunction_open
(what, err)
examples/zonediff.py:263
↓ 8 callersFunction_tuple_from_text
(version: str)
dns/_features.py:9
↓ 8 callersMethodabsent
Require that an owner name (and optionally an rdata type) does not exist as a prerequisite to the execution of the update.
dns/update.py:319
↓ 8 callersMethodcanonical_name
Return the unresolved canonical name.
dns/resolver.py:91
↓ 8 callersFunctioncompare_files
(test_name, a_name, b_name)
tests/test_zone.py:323
↓ 8 callersMethodcompute_digest
( self, hash_algorithm: DigestHashAlgorithm, scheme: DigestScheme = DigestScheme.SIMPL
dns/zone.py:835
↓ 8 callersMethodcovers
Return the type a Rdata covers. DNS SIG/RRSIG rdatas apply to a specific type; this type is returned by the covers() function. If th
dns/rdata.py:179
↓ 8 callersMethoddelete_rdataset
Delete the rdataset matching the specified properties in the current node. If a matching rdataset does not exist, it is not an error.
dns/node.py:243
↓ 8 callersMethodget
Get the answer associated with *key*. Returns None if no answer is cached for the key. *key*, a ``(dns.name.Name, dns.rdatatype.Rdat
dns/resolver.py:552
↓ 8 callersFunctionget_algorithm_cls_from_dnskey
Get Private Key class from DNSKEY. *dnskey*, a ``DNSKEY`` to get Algorithm class for. Raises ``UnsupportedAlgorithm`` if the algorithm is un
dns/dnssecalgs/__init__.py:70
↓ 8 callersFunctionget_default_resolver
Get the default resolver, initializing it if necessary.
dns/resolver.py:1533
↓ 8 callersMethodis_eof
(self)
dns/tokenizer.py:66
↓ 8 callersMethoditerate_rdatasets
Return a generator which yields (name, rdataset) tuples for all rdatasets in the zone which have the specified *rdtype* and *covers*.
dns/zone.py:561
↓ 8 callersMethodmake_address_response
(self, q)
tests/test_resolution.py:76
↓ 8 callersFunctionmake_socket
Make a socket. This function uses the module's ``socket_factory`` to make a socket of the specified address family and type. *af*, a ``s
dns/query.py:324
↓ 8 callersMethodread
Read a DNS zone file and build a zone object. @raises dns.zone.NoSOA: No SOA RR was found at the zone origin @raises dns.zone.NoNS: N
dns/zonefile.py:462
↓ 8 callersMethodrestrict_to
(self, size: int)
dns/wire.py:77
↓ 8 callersMethodsearch_in_node
Get the index of the ``Element`` matching ``key`` or the index of its least successor. Returns a tuple of the index and an ``equal``
dns/btree.py:78
↓ 8 callersMethodsection_count
Returns the number of records in the specified section. *section*, an ``int`` section number, a ``str`` section name, or one of the s
dns/message.py:500
↓ 7 callersFunction_MIN
The minimum number of keys in a non-root node for a BTree with the specified ``t``
dns/btree.py:28
↓ 7 callersFunction_maybe_timeout
(timeout)
dns/_trio_backend.py:19
↓ 7 callersMethodclear
Make the set empty.
dns/set.py:247
↓ 7 callersMethoddiscard
Remove an item from the set if present.
dns/set.py:63
↓ 7 callersMethodequivalent
(self, *args, **kwargs)
tests/test_resolver_override.py:91
↓ 7 callersMethodfull_match
Returns ``True`` if this rrset matches the specified name, class, type, covers, and deletion state.
dns/rrset.py:113
↓ 7 callersFunctionget_default_resolver
Get the default asynchronous resolver, initializing it if necessary.
dns/asyncresolver.py:266
↓ 7 callersMethodget_rdataset
Look for an rdataset with the specified name and type in the zone. This method is like ``find_rdataset()``, except it returns None instead
dns/zone.py:351
↓ 7 callersFunctionhave
Is *feature* available? This tests if all optional packages needed for the feature are available and recent enough. Returns ``True`` if
dns/_features.py:50
↓ 7 callersMethodis_wild
Is this name wild? (I.e. Is the least significant label '*'?) Returns a ``bool``.
dns/name.py:403
↓ 7 callersMethodissubset
Is this set a subset of *other*? Returns a ``bool``.
dns/set.py:276
↓ 7 callersMethodissuperset
Is this set a superset of *other*? Returns a ``bool``.
dns/set.py:289
↓ 7 callersMethodmake_negative_response
(self, q, nxdomain=False)
tests/test_resolution.py:86
↓ 7 callersMethodmaybe_cow_child
(self, index: int)
dns/btree.py:107
↓ 7 callersMethodrandom_16
(self)
dns/entropy.py:88
↓ 7 callersMethodresolve
(self, *args, **kwargs)
tests/test_resolver_override.py:210
↓ 7 callersMethodrun
()
tests/test_async.py:192
↓ 7 callersMethodto_generic
Creates a dns.rdata.GenericRdata equivalent of this rdata. Returns a ``dns.rdata.GenericRdata``.
dns/rdata.py:249
↓ 7 callersMethodto_rdataset
Convert an RRset into an Rdataset. Returns a ``dns.rdataset.Rdataset``.
dns/rrset.py:179
↓ 7 callersMethodunion_update
Update the set, adding any elements from other which are not already in the set.
dns/set.py:105
↓ 7 callersMethodverify_digest
( self, zonemd: dns.rdtypes.ANY.ZONEMD.ZONEMD | None = None )
dns/zone.py:846
↓ 6 callersMethod__init__
Initialize an option. *otype*, a ``dns.edns.OptionType``, is the option type.
dns/edns.py:71
↓ 6 callersMethod__setattr__
(self, name, value)
dns/_immutable_ctx.py:22
↓ 6 callersMethod_add_rr
Add a single RR to the update section.
dns/update.py:122
↓ 6 callersMethod_as_tuple
(cls, value, as_value)
dns/rdata.py:594
↓ 6 callersMethod_clone
Make a (shallow) copy of the set. There is a 'clone protocol' that subclasses of this class should use. To make a copy, first call y
dns/set.py:73
↓ 6 callersMethod_cmp
Compare an EDNS option with another option of the same type. Returns < 0 if < *other*, 0 if == *other*, and > 0 if > *other*.
dns/edns.py:111
↓ 6 callersFunction_connect
(s, address, expiration)
dns/query.py:1193
↓ 6 callersFunction_destination_and_source
( where, port, source, source_port, where_must_be_address=True )
dns/query.py:280
↓ 6 callersFunction_encode_size
(what, desc)
dns/rdtypes/ANY/LOC.py:76
↓ 6 callersMethodadd
Add the specified rdata to the rdataset. If the optional *ttl* parameter is supplied, then ``self.update_ttl(ttl)`` will be called pr
dns/rdataset.py:101
↓ 6 callersMethodadd_question
Add a question to the message.
dns/renderer.py:169
↓ 6 callersMethodanswer_port
(self)
dns/nameserver.py:25
← previousnext →101–200 of 3,382, ranked by callers