MCPcopy Create free account

hub / github.com/rthalley/dnspython / functions

Functions3,382 in github.com/rthalley/dnspython

↓ 4 callersMethodseek_first
Seek to the left boundary (i.e. just before the least element). A subsequent next() will return the least element if the BTree isn't empty.
dns/btree.py:575
↓ 4 callersMethodseen_end
(self)
dns/quic/_common.py:49
↓ 4 callersMethodsendto
(self, what, destination, timeout)
dns/_asyncbackend.py:53
↓ 4 callersMethodsettimeout
(self, value: Any)
dns/_no_ssl.py:47
↓ 4 callersMethodsleep
(self, interval)
dns/_asyncbackend.py:93
↓ 4 callersMethodsuccessor
Return the minimal successor of *name* in the DNSSEC ordering in the zone whose origin is *origin*, or return *origin* if the successor cannot
dns/name.py:875
↓ 4 callersMethodto_text
Convert the rdataset into DNS zone file format. See ``dns.name.Name.choose_relativity`` for more information on how *origin* and *rel
dns/rdataset.py:199
↓ 4 callersMethodto_wire
Convert an option to wire format. Returns a ``bytes`` or ``None``.
dns/edns.py:78
↓ 4 callersMethodto_wire
(self, file: Any)
dns/rdtypes/util.py:196
↓ 4 callersMethodwant_dnssec
Enable or disable 'DNSSEC desired' flag in requests. *wanted*, a ``bool``. If ``True``, then DNSSEC data is desired in the response,
dns/message.py:882
↓ 3 callersMethod__init__
*labels* is any iterable whose values are ``str`` or ``bytes``.
dns/name.py:374
↓ 3 callersMethod__init__
(self, family, stream, tls=False)
dns/_trio_backend.py:66
↓ 3 callersMethod__init__
(self, af, reader, writer)
dns/_asyncio_backend.py:102
↓ 3 callersMethod__init__
(self, flags: NodeFlags | None = None)
dns/btreezone.py:38
↓ 3 callersMethod_as_ipv6_address
(cls, value)
dns/rdata.py:567
↓ 3 callersMethod_as_rdatatype
(cls, value)
dns/rdata.py:477
↓ 3 callersMethod_close
(self)
dns/quic/_common.py:146
↓ 3 callersMethod_common_add_input
(self, data, is_end)
dns/quic/_common.py:137
↓ 3 callersMethod_connect
( self, address, port=853, source=None, source_port=0, want_se
dns/quic/_common.py:254
↓ 3 callersFunction_decode_size
(what, desc)
dns/rdtypes/ANY/LOC.py:83
↓ 3 callersMethod_encapsulate
(self, datagram)
dns/quic/_common.py:131
↓ 3 callersFunction_expiration_for_this_attempt
(timeout, expiration)
dns/query.py:62
↓ 3 callersMethod_get_node
Get the node associated with key and its index, doing copy-on-write if we have to descend. Returns a tuple of the node and the index,
dns/btree.py:117
↓ 3 callersMethod_get_section
Read the next I{count} records from the wire data and add them to the specified section. section_number: the section of the message t
dns/message.py:1169
↓ 3 callersMethod_get_timer_values
(self, closed_is_special=True)
dns/quic/_common.py:200
↓ 3 callersFunction_getaddrinfo
( host=None, service=None, family=socket.AF_UNSPEC, socktype=0, proto=0, flags=0 )
dns/resolver.py:1841
↓ 3 callersMethod_handle_timer
(self, expiration)
dns/quic/_common.py:213
↓ 3 callersFunction_inbound_xfr
Given a socket, does the zone transfer.
dns/query.py:1543
↓ 3 callersMethod_make_tsig
( keyname, algorithm, time_signed, fudge, mac, original_id, error, other )
dns/message.py:664
↓ 3 callersMethod_maybe_clean
Clean the cache if it's time to do so.
dns/resolver.py:438
↓ 3 callersFunction_message_factory_from_opcode
(opcode)
dns/message.py:1101
↓ 3 callersMethod_prefix
(cls)
dns/enum.py:100
↓ 3 callersMethod_prune_versions_unlocked
(self)
dns/versioned.py:181
↓ 3 callersMethod_raise_if_not_empty
(self, method, args)
dns/transaction.py:385
↓ 3 callersMethod_seek_greatest
(self)
dns/btree.py:413
↓ 3 callersMethod_seek_least
(self)
dns/btree.py:403
↓ 3 callersMethod_test_text_format
(self, alg)
tests/test_tsig.py:276
↓ 3 callersMethod_test_truncated_algorithm
(self, alg, length)
tests/test_tsig.py:257
↓ 3 callersMethod_unget_char
Unget a character. The unget buffer for characters is only one character large; it is an error to try to unget a character when the u
dns/tokenizer.py:306
↓ 3 callersFunction_validate_float_string
(what)
dns/rdtypes/ANY/GPOS.py:26
↓ 3 callersMethod_visit_preorder_by_node
Visit nodes in preorder. This method is only used for testing.
dns/btree.py:350
↓ 3 callersFunction_write_string
(file, s)
dns/rdtypes/IN/NAPTR.py:27
↓ 3 callersMethodadd
(self, value: KT)
dns/btree.py:845
↓ 3 callersFunctionadd_rdataset
(msg, name, rds)
tests/test_zone.py:297
↓ 3 callersFunctionaquery
(rdtype="A", connection=None)
examples/doq.py:49
↓ 3 callersMethodcheck_candidates
(self, flags, protocol, expected_number_of_candidates)
tests/test_dnssec.py:925
↓ 3 callersMethodclosed
(self, address, port)
dns/quic/_sync.py:285
↓ 3 callersMethoddelete_key
Delete the element matching *key* from the BTree. Returns the matching element or ``None`` if it does not exist.
dns/btree.py:711
↓ 3 callersMethoddo_handshake
(self)
dns/_no_ssl.py:44
↓ 3 callersFunctionforce
Force the status of *feature* to be *enabled*. This method is provided as a workaround for any cases where importlib.metadata is ineffective,
dns/_features.py:77
↓ 3 callersMethodfrom_pem
Create public key from PEM-encoded SubjectPublicKeyInfo as specified in RFC 5280
dns/dnssecalgs/base.py:50
↓ 3 callersMethodfrom_wire_parser
( cls, rdclass: dns.rdataclass.RdataClass, rdtype: dns.rdatatype.RdataType, pa
dns/rdata.py:418
↓ 3 callersMethodfrom_wire_parser
(cls, parser: "dns.wire.Parser")
dns/rdtypes/util.py:202
↓ 3 callersMethodfrom_wire_parser
(cls, otype, parser)
tests/test_edns.py:285
↓ 3 callersMethodget_all
(self)
dns/quic/_common.py:58
↓ 3 callersMethodget_element
Get the element matching *key* from the BTree, or return ``None`` if it does not exist.
dns/btree.py:688
↓ 3 callersMethodget_eol_as_token
Read the next token and raise an exception if it isn't EOL or EOF. Returns a string.
dns/tokenizer.py:677
↓ 3 callersMethodget_hits_for_key
Return the number of cache hits associated with the specified key.
dns/resolver.py:580
↓ 3 callersMethodget_uint16
Read the next token and interpret it as a 16-bit unsigned integer. Raises dns.exception.SyntaxError if not a 16-bit unsigned integer.
dns/tokenizer.py:516
↓ 3 callersMethodhas_key
(self, key)
dns/namedict.py:85
↓ 3 callersMethodhits
How many hits has the cache had?
dns/resolver.py:401
↓ 3 callersMethodintersection
Return a new set which is the intersection of ``self`` and ``other``. Returns the same Set type as this set.
dns/set.py:167
↓ 3 callersMethodis_comment
(self)
dns/tokenizer.py:81
↓ 3 callersMethodis_quoted_string
(self)
dns/tokenizer.py:78
↓ 3 callersFunctionkey_id
Return the key id (a 16-bit number) for the specified key. *key*, a ``dns.rdtypes.ANY.DNSKEY.DNSKEY`` Returns an ``int`` between 0 and 65535
dns/dnssec.py:108
↓ 3 callersFunctionkey_to_text
(key)
dns/rdtypes/svcbbase.py:80
↓ 3 callersFunctionmake_ssl_context
Make an SSL context If *verify* is ``True``, the default, then certificate verification will occur using the standard CA roots. If *verify*
dns/query.py:1285
↓ 3 callersMethodmaybe_cow
Return a clone of this Node if it was not created by *creator*, or ``None`` otherwise (i.e. copy for copy-on-write if we haven't already copie
dns/btree.py:357
↓ 3 callersMethodmessage
As much of the message as could be processed. Returns a ``dns.message.Message``.
dns/message.py:85
↓ 3 callersMethodminimum
The least element in this subtree.
dns/btree.py:261
↓ 3 callersMethodmisses
How many misses has the cache had?
dns/resolver.py:406
↓ 3 callersFunctionnode_set
(b)
tests/test_btree.py:326
↓ 3 callersMethodopen_sockets
(self, port, udp_type, tcp_type)
tests/nanonameserver.py:159
↓ 3 callersMethodorigin_information
( self, )
dns/zone.py:877
↓ 3 callersMethodquery
Query nameservers to find the answer to the question. This method calls resolve() with ``search=True``, and is provided for backwards
dns/resolver.py:1348
↓ 3 callersMethodrandom_8
(self)
dns/entropy.py:76
↓ 3 callersMethodreset
Reset all resolver configuration to the defaults.
dns/resolver.py:955
↓ 3 callersMethodresolve_address
Use a resolver to run a reverse query for PTR records. This utilizes the resolve() method to perform a PTR lookup on the specified IP
dns/resolver.py:1383
↓ 3 callersMethodsection_number
Return the "section number" of the specified section for use in indexing. *section* is one of the section attributes of this message.
dns/message.py:317
↓ 3 callersMethodseek_last
Seek to the right boundary (i.e. just after the greatest element). A subsequent prev() will return the greatest element if the BTree isn't em
dns/btree.py:587
↓ 3 callersMethodset_opcode
Set the opcode. *opcode*, a ``dns.opcode.Opcode``, is the opcode to set.
dns/message.py:921
↓ 3 callersFunctionsigtime_to_posixtime
(what)
dns/rdtypes/ANY/RRSIG.py:34
↓ 3 callersMethodsymmetric_difference_update
Update the set, retaining only elements unique to both sets.
dns/set.py:145
↓ 3 callersMethodto_pem
Return public-key as PEM-encoded SubjectPublicKeyInfo as specified in RFC 5280
dns/dnssecalgs/base.py:55
↓ 3 callersMethodto_text
(self)
dns/edns.py:86
↓ 3 callersMethodto_wire
Convert an rdata to wire format. Returns a ``bytes`` if no output file was specified, or ``None`` otherwise.
dns/rdata.py:225
↓ 3 callersMethodto_wire
(self, file: Any = None)
dns/edns.py:462
↓ 3 callersMethodunescape_to_bytes
(self)
dns/tokenizer.py:135
↓ 3 callersMethodunion
Return a new set which is the union of ``self`` and ``other``. Returns the same Set type as this set.
dns/set.py:157
↓ 3 callersMethodupdate_glue_flag
(self, name: dns.name.Name, is_glue: bool)
dns/btreezone.py:172
↓ 3 callersMethodvalue
(self)
dns/btree.py:774
↓ 3 callersMethodwrap_socket
(self, *args, **kwargs)
dns/_no_ssl.py:33
↓ 2 callersMethod__init__
(self, *args, **kwargs)
dns/exception.py:139
↓ 2 callersMethod__init__
(self, key: KT, value: VT)
dns/btree.py:767
↓ 2 callersMethod__init__
(self, connection, stream_id)
dns/quic/_sync.py:32
↓ 2 callersMethod__init__
(self, connection, stream_id)
dns/quic/_asyncio.py:28
↓ 2 callersMethod__init__
(self, connection, stream_id)
dns/quic/_trio.py:28
↓ 2 callersMethod__update_max_depth
(self, key)
dns/namedict.py:54
↓ 2 callersMethod_add
(self, replace, args)
dns/transaction.py:419
↓ 2 callersMethod_add_error
(self, e)
dns/message.py:1166
← previousnext →301–400 of 3,382, ranked by callers