Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/rthalley/dnspython
/ functions
Functions
3,382 in github.com/rthalley/dnspython
⨍
Functions
3,382
◇
Types & classes
528
↳
Endpoints
3
↓ 4 callers
Method
seek_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 callers
Method
seen_end
(self)
dns/quic/_common.py:49
↓ 4 callers
Method
sendto
(self, what, destination, timeout)
dns/_asyncbackend.py:53
↓ 4 callers
Method
settimeout
(self, value: Any)
dns/_no_ssl.py:47
↓ 4 callers
Method
sleep
(self, interval)
dns/_asyncbackend.py:93
↓ 4 callers
Method
successor
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 callers
Method
to_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 callers
Method
to_wire
Convert an option to wire format. Returns a ``bytes`` or ``None``.
dns/edns.py:78
↓ 4 callers
Method
to_wire
(self, file: Any)
dns/rdtypes/util.py:196
↓ 4 callers
Method
want_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 callers
Method
__init__
*labels* is any iterable whose values are ``str`` or ``bytes``.
dns/name.py:374
↓ 3 callers
Method
__init__
(self, family, stream, tls=False)
dns/_trio_backend.py:66
↓ 3 callers
Method
__init__
(self, af, reader, writer)
dns/_asyncio_backend.py:102
↓ 3 callers
Method
__init__
(self, flags: NodeFlags | None = None)
dns/btreezone.py:38
↓ 3 callers
Method
_as_ipv6_address
(cls, value)
dns/rdata.py:567
↓ 3 callers
Method
_as_rdatatype
(cls, value)
dns/rdata.py:477
↓ 3 callers
Method
_close
(self)
dns/quic/_common.py:146
↓ 3 callers
Method
_common_add_input
(self, data, is_end)
dns/quic/_common.py:137
↓ 3 callers
Method
_connect
( self, address, port=853, source=None, source_port=0, want_se
dns/quic/_common.py:254
↓ 3 callers
Function
_decode_size
(what, desc)
dns/rdtypes/ANY/LOC.py:83
↓ 3 callers
Method
_encapsulate
(self, datagram)
dns/quic/_common.py:131
↓ 3 callers
Function
_expiration_for_this_attempt
(timeout, expiration)
dns/query.py:62
↓ 3 callers
Method
_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 callers
Method
_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 callers
Method
_get_timer_values
(self, closed_is_special=True)
dns/quic/_common.py:200
↓ 3 callers
Function
_getaddrinfo
( host=None, service=None, family=socket.AF_UNSPEC, socktype=0, proto=0, flags=0 )
dns/resolver.py:1841
↓ 3 callers
Method
_handle_timer
(self, expiration)
dns/quic/_common.py:213
↓ 3 callers
Function
_inbound_xfr
Given a socket, does the zone transfer.
dns/query.py:1543
↓ 3 callers
Method
_make_tsig
( keyname, algorithm, time_signed, fudge, mac, original_id, error, other )
dns/message.py:664
↓ 3 callers
Method
_maybe_clean
Clean the cache if it's time to do so.
dns/resolver.py:438
↓ 3 callers
Function
_message_factory_from_opcode
(opcode)
dns/message.py:1101
↓ 3 callers
Method
_prefix
(cls)
dns/enum.py:100
↓ 3 callers
Method
_prune_versions_unlocked
(self)
dns/versioned.py:181
↓ 3 callers
Method
_raise_if_not_empty
(self, method, args)
dns/transaction.py:385
↓ 3 callers
Method
_seek_greatest
(self)
dns/btree.py:413
↓ 3 callers
Method
_seek_least
(self)
dns/btree.py:403
↓ 3 callers
Method
_test_text_format
(self, alg)
tests/test_tsig.py:276
↓ 3 callers
Method
_test_truncated_algorithm
(self, alg, length)
tests/test_tsig.py:257
↓ 3 callers
Method
_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 callers
Function
_validate_float_string
(what)
dns/rdtypes/ANY/GPOS.py:26
↓ 3 callers
Method
_visit_preorder_by_node
Visit nodes in preorder. This method is only used for testing.
dns/btree.py:350
↓ 3 callers
Function
_write_string
(file, s)
dns/rdtypes/IN/NAPTR.py:27
↓ 3 callers
Method
add
(self, value: KT)
dns/btree.py:845
↓ 3 callers
Function
add_rdataset
(msg, name, rds)
tests/test_zone.py:297
↓ 3 callers
Function
aquery
(rdtype="A", connection=None)
examples/doq.py:49
↓ 3 callers
Method
check_candidates
(self, flags, protocol, expected_number_of_candidates)
tests/test_dnssec.py:925
↓ 3 callers
Method
closed
(self, address, port)
dns/quic/_sync.py:285
↓ 3 callers
Method
delete_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 callers
Method
do_handshake
(self)
dns/_no_ssl.py:44
↓ 3 callers
Function
force
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 callers
Method
from_pem
Create public key from PEM-encoded SubjectPublicKeyInfo as specified in RFC 5280
dns/dnssecalgs/base.py:50
↓ 3 callers
Method
from_wire_parser
( cls, rdclass: dns.rdataclass.RdataClass, rdtype: dns.rdatatype.RdataType, pa
dns/rdata.py:418
↓ 3 callers
Method
from_wire_parser
(cls, parser: "dns.wire.Parser")
dns/rdtypes/util.py:202
↓ 3 callers
Method
from_wire_parser
(cls, otype, parser)
tests/test_edns.py:285
↓ 3 callers
Method
get_all
(self)
dns/quic/_common.py:58
↓ 3 callers
Method
get_element
Get the element matching *key* from the BTree, or return ``None`` if it does not exist.
dns/btree.py:688
↓ 3 callers
Method
get_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 callers
Method
get_hits_for_key
Return the number of cache hits associated with the specified key.
dns/resolver.py:580
↓ 3 callers
Method
get_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 callers
Method
has_key
(self, key)
dns/namedict.py:85
↓ 3 callers
Method
hits
How many hits has the cache had?
dns/resolver.py:401
↓ 3 callers
Method
intersection
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 callers
Method
is_comment
(self)
dns/tokenizer.py:81
↓ 3 callers
Method
is_quoted_string
(self)
dns/tokenizer.py:78
↓ 3 callers
Function
key_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 callers
Function
key_to_text
(key)
dns/rdtypes/svcbbase.py:80
↓ 3 callers
Function
make_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 callers
Method
maybe_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 callers
Method
message
As much of the message as could be processed. Returns a ``dns.message.Message``.
dns/message.py:85
↓ 3 callers
Method
minimum
The least element in this subtree.
dns/btree.py:261
↓ 3 callers
Method
misses
How many misses has the cache had?
dns/resolver.py:406
↓ 3 callers
Function
node_set
(b)
tests/test_btree.py:326
↓ 3 callers
Method
open_sockets
(self, port, udp_type, tcp_type)
tests/nanonameserver.py:159
↓ 3 callers
Method
origin_information
( self, )
dns/zone.py:877
↓ 3 callers
Method
query
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 callers
Method
random_8
(self)
dns/entropy.py:76
↓ 3 callers
Method
reset
Reset all resolver configuration to the defaults.
dns/resolver.py:955
↓ 3 callers
Method
resolve_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 callers
Method
section_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 callers
Method
seek_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 callers
Method
set_opcode
Set the opcode. *opcode*, a ``dns.opcode.Opcode``, is the opcode to set.
dns/message.py:921
↓ 3 callers
Function
sigtime_to_posixtime
(what)
dns/rdtypes/ANY/RRSIG.py:34
↓ 3 callers
Method
symmetric_difference_update
Update the set, retaining only elements unique to both sets.
dns/set.py:145
↓ 3 callers
Method
to_pem
Return public-key as PEM-encoded SubjectPublicKeyInfo as specified in RFC 5280
dns/dnssecalgs/base.py:55
↓ 3 callers
Method
to_text
(self)
dns/edns.py:86
↓ 3 callers
Method
to_wire
Convert an rdata to wire format. Returns a ``bytes`` if no output file was specified, or ``None`` otherwise.
dns/rdata.py:225
↓ 3 callers
Method
to_wire
(self, file: Any = None)
dns/edns.py:462
↓ 3 callers
Method
unescape_to_bytes
(self)
dns/tokenizer.py:135
↓ 3 callers
Method
union
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 callers
Method
update_glue_flag
(self, name: dns.name.Name, is_glue: bool)
dns/btreezone.py:172
↓ 3 callers
Method
value
(self)
dns/btree.py:774
↓ 3 callers
Method
wrap_socket
(self, *args, **kwargs)
dns/_no_ssl.py:33
↓ 2 callers
Method
__init__
(self, *args, **kwargs)
dns/exception.py:139
↓ 2 callers
Method
__init__
(self, key: KT, value: VT)
dns/btree.py:767
↓ 2 callers
Method
__init__
(self, connection, stream_id)
dns/quic/_sync.py:32
↓ 2 callers
Method
__init__
(self, connection, stream_id)
dns/quic/_asyncio.py:28
↓ 2 callers
Method
__init__
(self, connection, stream_id)
dns/quic/_trio.py:28
↓ 2 callers
Method
__update_max_depth
(self, key)
dns/namedict.py:54
↓ 2 callers
Method
_add
(self, replace, args)
dns/transaction.py:419
↓ 2 callers
Method
_add_error
(self, e)
dns/message.py:1166
← previous
next →
301–400 of 3,382, ranked by callers