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
↓ 2 callers
Method
from_rdtypes
(cls, rdtypes: List[dns.rdatatype.RdataType])
dns/rdtypes/util.py:170
↓ 2 callers
Method
from_wire_origin
Origin to use in from_wire() calls.
dns/transaction.py:64
↓ 2 callers
Method
from_wire_parser
(cls, parser, origin=None)
dns/rdtypes/svcbbase.py:393
↓ 2 callers
Method
get
(self)
dns/win32util.py:67
↓ 2 callers
Method
get_class
The class of the transaction manager.
dns/transaction.py:60
↓ 2 callers
Function
get_context
Returns an HMAC context for the specified key. @rtype: HMAC context @raises NotImplementedError: I{algorithm} is not supported
dns/tsig.py:316
↓ 2 callers
Method
get_statistics_snapshot
Return a consistent snapshot of all the statistics. If running with multiple threads, it's better to take a snapshot than to call sta
dns/resolver.py:411
↓ 2 callers
Method
get_uint48
(self)
dns/wire.py:57
↓ 2 callers
Method
getpeercert
(self)
dns/_no_ssl.py:50
↓ 2 callers
Method
headers
(self)
dns/quic/_common.py:77
↓ 2 callers
Method
insert_element
Insert the element into the BTree. If *in_order* is ``True``, then extra work will be done to make left siblings full, which optimize
dns/btree.py:665
↓ 2 callers
Function
is_all_ascii
(text: str)
dns/name.py:978
↓ 2 callers
Method
is_always_max_size
(self)
dns/nameserver.py:19
↓ 2 callers
Method
is_immutable
(self)
dns/node.py:312
↓ 2 callers
Function
is_internet_reachable
Check if the Internet is reachable. Setting the environment variable `NO_INTERNET` will let this function always return False. The result is
tests/util.py:74
↓ 2 callers
Method
iterate_names
Iterate all the names in the transaction. Note that as is usual with python iterators, adding or removing names while iterating will
dns/transaction.py:372
↓ 2 callers
Method
kind
(self)
dns/nameserver.py:16
↓ 2 callers
Method
link_after
(self, node: "LRUCacheNode")
dns/resolver.py:514
↓ 2 callers
Method
make_long_chain_response
(self, q, count)
tests/test_resolution.py:105
↓ 2 callers
Function
make_ssl_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:357
↓ 2 callers
Method
make_tls_context
(self)
dns/_ddr.py:40
↓ 2 callers
Function
make_xfr
(zone)
tests/test_zone.py:305
↓ 2 callers
Method
maximum
The greatest element in this subtree.
dns/btree.py:268
↓ 2 callers
Method
maybe_wake_up
(self)
tests/doq.py:207
↓ 2 callers
Method
merge
Merge this node's parent and its right sibling into this node.
dns/btree.py:253
↓ 2 callers
Function
mock_udp_recv
(wire1, from1, wire2, from2)
tests/test_query.py:680
↓ 2 callers
Method
name
(self)
dns/_asyncbackend.py:74
↓ 2 callers
Method
next_name
(self, origin=None)
dns/rdtypes/ANY/NSEC3.py:119
↓ 2 callers
Method
opcode
Return the opcode. Returns a ``dns.opcode.Opcode``.
dns/message.py:914
↓ 2 callers
Method
origin_information
Returns a tuple (absolute_origin, relativize, effective_origin) giving the absolute name of the default origin for any r
dns/transaction.py:33
↓ 2 callers
Function
posixtime_to_sigtime
(what)
dns/rdtypes/ANY/RRSIG.py:48
↓ 2 callers
Method
put
(self, data, is_end)
dns/quic/_common.py:35
↓ 2 callers
Method
random_32
(self)
dns/entropy.py:91
↓ 2 callers
Method
read
Read a wire format DNS message and build a dns.message.Message object.
dns/message.py:1270
↓ 2 callers
Function
read_exactly
Read the specified number of bytes from stream. Keep trying until we either get the desired amount, or we hit EOF.
tests/nanonameserver.py:46
↓ 2 callers
Method
receive
(self, timeout: Optional[float] = None)
tests/doq.py:46
↓ 2 callers
Function
receive_tcp
Read a DNS message from a TCP socket. *sock*, a ``socket``. *expiration*, a ``float`` or ``None``, the absolute time at which a timeout
dns/query.py:1146
↓ 2 callers
Method
release_reserved
Release the reserved bytes.
dns/renderer.py:352
↓ 2 callers
Method
replace
Replace the existing rdataset at the name with the specified rdataset, or add the specified rdataset if there was no existing rdataset
dns/transaction.py:174
↓ 2 callers
Method
replace
Replace records. The first argument is always a name. The other arguments can be: - rdataset... -
dns/update.py:248
↓ 2 callers
Method
resolve_name
Use an asynchronous resolver to query for address records. This utilizes the resolve() method to perform A and/or AAAA lookups on the
dns/asyncresolver.py:141
↓ 2 callers
Method
responses
A map from queried names to their NXDOMAIN responses. Returns a dict mapping a ``dns.name.Name`` to a ``dns.message.Message``.
dns/resolver.py:126
↓ 2 callers
Function
run
()
tests/test_xfr.py:723
↓ 2 callers
Method
run
(self)
tests/nanonameserver.py:410
↓ 2 callers
Method
seen_end
(self)
tests/doq.py:71
↓ 2 callers
Method
send_h3
(self, url, datagram, post=True)
dns/quic/_common.py:103
↓ 2 callers
Function
send_tcp
Send a DNS message to the specified TCP socket. *sock*, a ``socket``. *what*, a ``bytes`` or ``dns.message.Message``, the message to send.
dns/query.py:1116
↓ 2 callers
Method
sendall
(self, what, timeout)
dns/_asyncbackend.py:61
↓ 2 callers
Method
set_max_size
(self, max_size: int)
dns/resolver.py:547
↓ 2 callers
Method
set_pruning_policy
Set the pruning policy for the zone. The *policy* function takes a `Version` and returns `True` if the version should be pruned, and
dns/versioned.py:217
↓ 2 callers
Method
split
Split a maximal node into two minimal ones and a central element.
dns/btree.py:186
↓ 2 callers
Function
tcp
Return the response obtained after sending a query via TCP. *sock*, a ``dns.asyncbacket.StreamSocket``, or ``None``, the socket to use for th
dns/asyncquery.py:385
↓ 2 callers
Function
tcp
Return the response obtained after sending a query via TCP. *q*, a ``dns.message.Message``, the query to send *where*, a ``str`` containing
dns/query.py:1204
↓ 2 callers
Method
to_text
Return a zone's text as though it were written to a file. *sorted*, a ``bool``. If True, the default, then the file will be written
dns/zone.py:715
↓ 2 callers
Method
to_text
(self)
dns/rdtypes/svcbbase.py:388
↓ 2 callers
Method
to_text
(self, origin=None, relativize=True, **kw)
dns/rdtypes/ANY/TKEY.py:61
↓ 2 callers
Function
to_timestamp
Convert various format to a timestamp
dns/dnssec.py:94
↓ 2 callers
Method
to_wire
(self, file: Any | None = None)
dns/edns.py:173
↓ 2 callers
Method
to_wire
(self, file: Any | None = None)
dns/edns.py:397
↓ 2 callers
Method
to_wire
(self, file: Any = None)
dns/edns.py:430
↓ 2 callers
Method
to_wire
(self, file, origin=None)
dns/rdtypes/svcbbase.py:397
↓ 2 callers
Method
try_right_steal
Try to steal from this Node's right sibling for balancing purposes. Returns ``True`` if the theft was successful, or ``False`` if not.
dns/btree.py:217
↓ 2 callers
Method
use_edns
Configure EDNS behavior. *edns*, an ``int``, is the EDNS level to use. Specifying ``None``, ``False``, or ``-1`` means "do not use E
dns/resolver.py:1144
↓ 2 callers
Method
visit_in_order
Call *visit* on all of the elements in order.
dns/btree.py:341
↓ 2 callers
Method
wait_for
(self, awaitable, timeout)
dns/_asyncbackend.py:99
↓ 2 callers
Method
wait_for
(self, amount, expiration)
dns/quic/_sync.py:37
↓ 2 callers
Method
wait_for
(self, amount)
dns/quic/_trio.py:32
↓ 2 callers
Method
wait_for
(self, amount: int)
tests/doq.py:37
↓ 1 callers
Method
__eq__
(self, other)
dns/rdata.py:338
↓ 1 callers
Method
__eq__
(self, other)
dns/set.py:251
↓ 1 callers
Method
__eq__
(self, other)
dns/node.py:116
↓ 1 callers
Method
__eq__
Two zones are equal if they have the same origin, class, and nodes. Returns a ``bool``.
dns/zone.py:169
↓ 1 callers
Method
__eq__
Two messages are equal if they have the same content in the header, question, answer, and authority sections. Returns a ``bool``.
dns/message.py:253
↓ 1 callers
Method
__eq__
(self, other)
dns/rdataset.py:185
↓ 1 callers
Method
__init__
Initialize an rdata. *rdclass*, an ``int`` is the rdataclass of the Rdata. *rdtype*, an ``int`` is the rdatatype of the Rdata.
dns/rdata.py:136
↓ 1 callers
Method
__init__
(self)
dns/win32util.py:27
↓ 1 callers
Method
__init__
(self)
dns/node.py:89
↓ 1 callers
Method
__init__
Initialize an inbound zone transfer. *txn_manager* is a :py:class:`dns.transaction.TransactionManager`. *rdtype* can be `dns.rdataty
dns/xfr.py:61
↓ 1 callers
Method
__init__
(self)
dns/dnssec.py:131
↓ 1 callers
Method
__init__
(self, id: int | None = None)
dns/message.py:148
↓ 1 callers
Method
__init__
( self, tok: dns.tokenizer.Tokenizer, rdclass: dns.rdataclass.RdataClass, txn:
dns/zonefile.py:91
↓ 1 callers
Method
__init__
Create a new rdataset of the specified class and type. *rdclass*, a ``dns.rdataclass.RdataClass``, the rdataclass. *rdtype*, an ``dn
dns/rdataset.py:53
↓ 1 callers
Method
__init__
( self, *args, local_port=0, bootstrap_address=None,
dns/query.py:131
↓ 1 callers
Method
__init__
(self, ech)
dns/rdtypes/svcbbase.py:378
↓ 1 callers
Method
__init__
(self)
tests/test_transaction.py:18
↓ 1 callers
Method
__init__
(self)
tests/test_query.py:700
↓ 1 callers
Method
__init__
(self)
tests/test_xfr.py:664
↓ 1 callers
Method
__str__
(self)
dns/name.py:573
↓ 1 callers
Function
_addresses_equal
(af, a1, a2)
dns/query.py:252
↓ 1 callers
Method
_as_rdataclass
(cls, value)
dns/rdata.py:473
↓ 1 callers
Method
_changed
Has this transaction changed anything?
dns/transaction.py:605
↓ 1 callers
Method
_changed
(self)
dns/zonefile.py:606
↓ 1 callers
Method
_check
(self)
dns/rdtypes/util.py:47
↓ 1 callers
Method
_check_kwargs
(self, **kwargs)
dns/exception.py:80
↓ 1 callers
Method
_check_params
Old exceptions supported only args and not kwargs. For sanity we do not allow to mix old and new behavior.
dns/exception.py:71
↓ 1 callers
Method
_checked_delete_name
(self, name)
dns/transaction.py:549
↓ 1 callers
Method
_commit_version
(self, txn, version, origin)
dns/zone.py:898
↓ 1 callers
Method
_compute_opt_reserve
Compute the size required for the OPT RR, padding excluded
dns/message.py:528
↓ 1 callers
Method
_compute_tsig_reserve
Compute the size required for the TSIG RR
dns/message.py:548
↓ 1 callers
Method
_config_search
(self, search)
dns/win32util.py:104
← previous
next →
501–600 of 3,382, ranked by callers