Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NLnetLabs/domain
/ functions
Functions
3,926 in github.com/NLnetLabs/domain
⨍
Functions
3,926
◇
Types & classes
732
↓ 4 callers
Method
root
(&self)
src/zonetree/update.rs:663
↓ 4 callers
Function
root_pubkey
Returns current root KSK/ZSK for testing (2048b)
src/dnssec/validator/base.rs:348
↓ 4 callers
Method
rr_iter
Return an iterator over the RRset in a group.
src/dnssec/validator/group.rs:301
↓ 4 callers
Method
scan_charstr
(&mut self)
src/base/scan.rs:987
↓ 4 callers
Method
set_random_id
(&mut self)
src/base/header.rs:148
↓ 4 callers
Method
set_u16
Sets the value of the 16 bit integer starting at a given offset.
src/base/header.rs:793
↓ 4 callers
Method
set_udp_payload_size
Sets the UDP payload size value.
src/base/opt/mod.rs:467
↓ 4 callers
Method
shutdown
Stop the server. In-flight requests will continue being processed but no new messages will be accepted. Pending responses will be written as long as
src/net/server/dgram.rs:420
↓ 4 callers
Function
sign_rrset
Generate `RRSIG` records for a given RRset. See [`sign_sorted_rrset_in()`]. If signing multiple RRsets, calling [`sign_sorted_rrset_in()`] directly
src/dnssec/sign/signatures/rrsigs.rs:229
↓ 4 callers
Method
signer
Return whether the key is a signer, i.e. signs the DNSKEY RRset or the zone.
src/dnssec/sign/keys/keyset.rs:1264
↓ 4 callers
Method
signing_context
Creates a signing context for this key.
src/tsig/mod.rs:221
↓ 4 callers
Method
skip
(parser: &mut Parser<'a, Octs>)
src/base/record.rs:1025
↓ 4 callers
Method
sort_by
(records: &mut Vec<Record<N, D>>, compare: F)
src/dnssec/sign/records.rs:52
↓ 4 callers
Method
start
Returns a reference to the start point. The start point is the name furthest along the chain to which the requester already has all necessary records
src/base/opt/chain.rs:62
↓ 4 callers
Method
target
(&self)
src/rdata/srv.rs:61
↓ 4 callers
Method
text_slice
Returns the text as an octets slice.
src/base/opt/exterr.rs:137
↓ 4 callers
Method
to_owned
(&self)
src/base/name/label.rs:369
↓ 4 callers
Function
to_pcap_text
Create a string of hex encoded bytes representing the given byte sequence. The created string is compatible with the Wireshark text2pcap tool and the
src/net/server/util.rs:170
↓ 4 callers
Method
try_flatten_into
(self)
src/rdata/rp.rs:128
↓ 4 callers
Method
try_to_name
Converts the name into a single, uncompressed name. The default implementation provided by the trait iterates over the labels of the name and adds th
src/base/name/traits.rs:116
↓ 4 callers
Method
ttl
(&self)
src/dnssec/sign/records.rs:526
↓ 4 callers
Method
type_covered
(&self)
src/rdata/dnssec.rs:945
↓ 4 callers
Method
unique_key_tag
(&self, key_tag: u16)
src/dnssec/sign/keys/keyset.rs:412
↓ 4 callers
Method
update_rrset
(&self, new_rrset: SharedRrset)
src/zonetree/in_memory/write.rs:456
↓ 4 callers
Method
validate_with_node
Try to validate the signature using a node. A successfull result contists of 1) The validation state. 2) optionally the name of the closest encloser
src/dnssec/validator/group.rs:416
↓ 4 callers
Method
variables
(&self)
src/tsig/mod.rs:1502
↓ 4 callers
Method
walk
( &self, walk: WalkState, op: impl Fn(WalkState, (&OwnedLabel, &Arc<ZoneNode>)), )
src/zonetree/in_memory/nodes.rs:418
↓ 3 callers
Method
_append_slice
Attempts to append a slice to the underlying builder. This method doesn’t perform any checks but only does the necessary error conversion.
src/base/name/builder.rs:164
↓ 3 callers
Method
ad
(self)
src/base/header.rs:268
↓ 3 callers
Method
add
Add a record to an anchor.
src/dnssec/validator/anchor.rs:57
↓ 3 callers
Method
add
Add a transport connection.
src/net/client/redundant.rs:132
↓ 3 callers
Method
add_opt
( &mut self, opt: &impl crate::base::opt::ComposeOptData, )
src/net/client/tsig.rs:629
↓ 3 callers
Method
add_opt
( &mut self, opt: &impl ComposeOptData, )
src/net/server/single_service.rs:114
↓ 3 callers
Function
add_to_stream
( call_result: T, response_tx: &UnboundedSender<ServiceResult<Target>>, )
src/net/server/middleware/xfr/util.rs:27
↓ 3 callers
Method
additional
Converts the message builder into an additional builder. This will leave the question, answer, and authority sections empty.
src/base/message_builder.rs:422
↓ 3 callers
Method
addr
(&self)
src/rdata/aaaa.rs:41
↓ 3 callers
Method
algorithm
(&self)
src/crypto/openssl.rs:709
↓ 3 callers
Method
algorithm
(&self)
src/dnssec/sign/signatures/rrsigs.rs:1223
↓ 3 callers
Method
append_chars
Appends a name from a sequence of characters. If there currently is a label under construction, it will be ended before appending `chars`. The chara
src/base/name/builder.rs:397
↓ 3 callers
Method
append_data
Appends output data. If the data fits into the portion of the buffer before the current read positiion, puts it there. Otherwise creates a new builde
src/zonefile/inplace.rs:944
↓ 3 callers
Method
append_slice
( &mut self, slice: &[u8], )
src/base/message_builder.rs:1996
↓ 3 callers
Method
as_label_mut
Returns a mutable reference to the label.
src/base/name/label.rs:518
↓ 3 callers
Method
as_mut
(&mut self)
src/base/charstr.rs:464
↓ 3 callers
Method
as_ref
(&self)
src/crypto/openssl.rs:152
↓ 3 callers
Method
as_ref
(&self)
src/base/opt/exterr.rs:386
↓ 3 callers
Method
as_slice
Returns an octets slice of the octets assembled so far.
src/base/message_builder.rs:459
↓ 3 callers
Method
as_slice
Returns a slice of the option data.
src/base/opt/mod.rs:962
↓ 3 callers
Method
as_stream_slice
Returns an octets slice of the message for stream transports. The slice will start with the length octets and can be send as is through a stream tran
src/base/message_builder.rs:1959
↓ 3 callers
Method
at_parent
Return whether the key needs to have a DS record at the parent.
src/dnssec/sign/keys/keyset.rs:1274
↓ 3 callers
Function
bytes_to_records
( mut zonefile: impl Read, )
src/dnssec/sign/test_util/mod.rs:29
↓ 3 callers
Method
check_answer_time
Checks the timing values of an answer TSIG. This is the second part of the code shared between the various answer methods of [`ClientTransaction`] an
src/tsig/mod.rs:1267
↓ 3 callers
Method
check_index
Like `is_label_start` but panics if it isn’t.
src/base/name/relative.rs:438
↓ 3 callers
Method
check_nx_domain
Makes sure a NXDomain special is set or removed as necesssary.
src/zonetree/in_memory/write.rs:797
↓ 3 callers
Method
check_sig_cached
Check a signature over an RRset using a cache.
src/dnssec/validator/group.rs:646
↓ 3 callers
Method
checked_mul
(self, rhs: u32)
src/base/record.rs:1419
↓ 3 callers
Method
class
(&self)
src/dnssec/sign/records.rs:401
↓ 3 callers
Method
clear_push_limit
Clear the push limit, if set. Removes any push limit previously set via `[set_push_limit()`].
src/base/message_builder.rs:348
↓ 3 callers
Method
clone
(&self)
src/net/server/connection.rs:219
↓ 3 callers
Method
closest_encloser
Return an optional name that is the closest encloser if the RRset in the group was the result of wildcard expansion.
src/dnssec/validator/group.rs:980
↓ 3 callers
Method
cmp
(&self, other: &Self)
src/base/rdata.rs:409
↓ 3 callers
Function
cmp_iter_back
(mut iter: I, labels: &[&[u8]])
src/base/name/absolute.rs:1433
↓ 3 callers
Method
complete_message
Completes a message by adding a TSIG record. A TSIG record will be added to the additional section. It will be constructed from the information obtai
src/tsig/mod.rs:369
↓ 3 callers
Method
compose
( &self, target: &mut Target, )
src/base/name/traits.rs:186
↓ 3 callers
Method
compose_canonical
( &self, target: &mut Target, )
src/base/name/traits.rs:200
↓ 3 callers
Method
compose_len
(&self)
src/rdata/svcb/params.rs:838
↓ 3 callers
Method
compose_len
(&self)
src/base/name/absolute.rs:893
↓ 3 callers
Method
compose_len
(&self)
src/base/name/chain.rs:139
↓ 3 callers
Method
compose_option
( &self, target: &mut Target, )
src/base/opt/mod.rs:1046
↓ 3 callers
Method
compose_record
( &self, target: &mut Target, )
src/base/record.rs:484
↓ 3 callers
Method
compose_value
( &self, target: &mut Target, )
src/rdata/svcb/params.rs:842
↓ 3 callers
Method
connect
Create a new connect error.
src/net/client/dgram.rs:400
↓ 3 callers
Method
current
(&self)
src/zonetree/in_memory/write.rs:1009
↓ 3 callers
Function
decode_hex
Decodes a string with *base32hex* encoded data. The function attempts to decode the entire string and returns the result as an `Octets` value.
src/utils/base32.rs:40
↓ 3 callers
Method
deref_octets
(&self)
src/base/name/parsed.rs:105
↓ 3 callers
Function
deserialize
( deserializer: D, )
src/utils/base64.rs:143
↓ 3 callers
Method
digest_type
(&self)
src/rdata/cds.rs:436
↓ 3 callers
Function
display
Encodes binary data in Base 16 and writes it into a format stream. This function is intended to be used in implementations of formatting traits: ```
src/utils/base16.rs:66
↓ 3 callers
Method
display_quoted
Returns an object that formats in quoted presentation format. The returned object will display the content surrounded by double quotes. It will escap
src/base/charstr.rs:400
↓ 3 callers
Function
do_multiple_responses
( invalidate_signature: bool, dont_sign_last_response: bool, )
src/net/client/tsig.rs:798
↓ 3 callers
Method
ede
Return the optional extended error.
src/dnssec/validator/group.rs:985
↓ 3 callers
Function
encode_string
(bytes: &B)
src/utils/base64.rs:95
↓ 3 callers
Method
fill
(&mut self, target: &mut ReadBuf<'_>)
src/stelline/channel.rs:56
↓ 3 callers
Method
flags
(&self)
src/rdata/dnssec.rs:116
↓ 3 callers
Method
flags
Returns the flags. If the value is set to "1", the Property is critical. A CA MUST NOT issue certificates for any FQDN if the Relevant RRset for that
src/rdata/caa.rs:115
↓ 3 callers
Method
fmt_token
(&mut self, args: fmt::Arguments<'_>)
src/base/zonefile_fmt.rs:117
↓ 3 callers
Method
freeze
Freezes the builder to a parameter sequence. Because the values may need to be resorted, this method actually produces a new octets sequence. This is
src/rdata/svcb/params.rs:1039
↓ 3 callers
Function
from_str
()
src/base/name/uncertain.rs:652
↓ 3 callers
Method
get
Returns a known position of a domain name if there is one.
src/base/message_builder.rs:2099
↓ 3 callers
Method
get_answer_tsig
Extracts the TSIG record from an anwer. This is the first part of the code shared by the various answer functions of [`ClientTransaction`] and [`Clie
src/tsig/mod.rs:1220
↓ 3 callers
Function
get_checked_nsec3
( group: &ValidatedGroup, signer_name: &Name<Bytes>, config: &Config, )
src/dnssec/validator/nsec.rs:1042
↓ 3 callers
Method
get_node
( &self, mut name: impl Iterator<Item = &'l Label>, )
src/zonetree/in_memory/builder.rs:206
↓ 3 callers
Method
get_request
Returns a request handler for a request.
src/net/client/stream.rs:252
↓ 3 callers
Method
get_response
( &mut self, )
src/net/client/tsig.rs:424
↓ 3 callers
Method
in_label
Returns whether there currently is a label under construction. This returns `false` if the name is still empty or if the last thing that happend was
src/base/name/builder.rs:156
↓ 3 callers
Method
inc_ancount
Increases the value of the ANCOUNT field by one. If increasing the counter would result in an overflow, returns an error.
src/base/header.rs:628
↓ 3 callers
Method
inc_arcount
Increases the value of the ARCOUNT field by one. If increasing the counter would result in an overflow, returns an error.
src/base/header.rs:706
↓ 3 callers
Method
insert_cname
Inserts a CNAME resource record. See: [`Cname`] [`Cname`]: crate::rdata::rfc1035::Cname
src/zonetree/in_memory/builder.rs:196
↓ 3 callers
Method
insert_zone_cut
Insert one or more resource records that represent a zone cut. A zone cut is the _"delimitation point between two zones where the origin of one of th
src/zonetree/in_memory/builder.rs:173
↓ 3 callers
Method
into_duration
(&self)
src/base/record.rs:1228
↓ 3 callers
Method
into_hmac_algorithm
Returns the ring HMAC algorithm for this TSIG algorithm.
src/tsig/mod.rs:1681
← previous
next →
501–600 of 3,926, ranked by callers