Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NLnetLabs/domain
/ functions
Functions
4,465 in github.com/NLnetLabs/domain
⨍
Functions
4,465
◇
Types & classes
838
↓ 2 callers
Method
set_response_timeout
Sets the response timeout. For requests where ComposeRequest::is_streaming() returns true see set_streaming_response_timeout() instead. Excessive va
src/net/client/stream.rs:113
↓ 2 callers
Method
set_status
(&mut self, status: InvokerStatus)
src/net/server/dgram.rs:761
↓ 2 callers
Method
set_ttl
Sets the record’s time-to-live.
src/base/record.rs:171
↓ 2 callers
Method
sign
Sign some data.
src/crypto/openssl.rs:649
↓ 2 callers
Function
sign_sorted_rrset_in
Generate `RRSIG` records for a given RRset. This function generates an `RRSIG` record for the given RRset based on the given signing key, according t
src/dnssec/sign/signatures/rrsigs.rs:273
↓ 2 callers
Method
signed_subsequent
Signs a subsequent message. Resets the context.
src/tsig/mod.rs:1439
↓ 2 callers
Function
split
()
src/base/name/relative.rs:1553
↓ 2 callers
Method
split
Splits the name into two at the given position. Returns a pair of the left and right part of the split name. # Panics The method will panic if `mid
src/base/name/absolute.rs:627
↓ 2 callers
Method
split_first
Splits off the first label. If there is at least one label in the name, returns the first label as a relative domain name with exactly one label and
src/base/name/relative.rs:553
↓ 2 callers
Method
split_first
Splits off the first label. If this name is longer than just the root label, returns a pair of that label and the remaining name. If the name is only
src/base/name/absolute.rs:666
↓ 2 callers
Function
split_rtype
Splits an Rtype value into window number, octet number, and octet mask.
src/rdata/dnssec.rs:2695
↓ 2 callers
Method
stale
Return whether this key is no long in use.
src/dnssec/sign/keys/keyset.rs:1279
↓ 2 callers
Method
start_roll
Start a key roll. The parameters are the type of key roll, a list of old keys that need to be rolled out and a list of new keys that on their way in.
src/dnssec/sign/keys/keyset.rs:465
↓ 2 callers
Function
step
(name: ParsedName<&[u8]>, result: &[u8])
src/base/name/parsed.rs:1152
↓ 2 callers
Method
sum
(iter: I)
src/base/record.rs:1641
↓ 2 callers
Function
supported_nsec3_hash
Return if the NSEC3 hash algorithm is supported by the nsec3_hash function.
src/dnssec/validator/nsec.rs:969
↓ 2 callers
Method
timeout
Create a new timeout error.
src/net/client/dgram.rs:418
↓ 2 callers
Method
timestamp
(self)
src/base/opt/cookie.rs:607
↓ 2 callers
Method
to_cow
(&self)
src/base/name/traits.rs:219
↓ 2 callers
Method
to_mnemonic_str
(self)
src/base/iana/rcode.rs:207
↓ 2 callers
Method
to_name
Converts the name into a single, uncompressed name. This is the same as [`try_to_name`][ToName::try_to_name] but for builder types with an unrestrict
src/base/name/traits.rs:134
↓ 2 callers
Method
to_parts
(self)
src/base/iana/rcode.rs:549
↓ 2 callers
Method
to_relative_name
Converts the name into a single, continous name. This is the same as [`try_to_relative_name`][ToRelativeName::try_to_relative_name] but for builder t
src/base/name/traits.rs:423
↓ 2 callers
Method
to_vec
(&self)
src/base/name/traits.rs:229
↓ 2 callers
Method
truncate
Truncates the name before `len`. Because truncating converts the name into a relative name, the method consumes self. # Panics The method will pani
src/base/name/absolute.rs:652
↓ 2 callers
Method
unsized_member
The name of the last field of this 'struct'.
macros/src/data.rs:68
↓ 2 callers
Method
update_child
Get a write interface to a child node of the tree. Use this to modify child nodes in the tree.
src/zonetree/update.rs:599
↓ 2 callers
Function
update_message
Update a Message in a Value by creating a new Value with a new Message if the Message needs to be changed. Return the original Value if no change is
src/net/client/cache.rs:1258
↓ 2 callers
Method
uses_lowercase_canonical_form
Whether this type uses lowercased domain names in canonical form. As specified by [RFC 4034, section 6.2] (and updated by [RFC 6840, section 5.1]), t
src/new/base/record.rs:395
↓ 2 callers
Function
validity
Compute how long a response can be cached.
src/net/client/cache.rs:937
↓ 2 callers
Method
verify_signed_data
( &self, dnskey: &Dnskey<impl AsRef<[u8]>>, signed_data: &impl AsRef<[u8]>, )
src/dnssec/validator/base.rs:297
↓ 2 callers
Method
versions
(&self)
src/zonetree/in_memory/nodes.rs:107
↓ 2 callers
Method
walk
(&self, op: WalkOp)
src/zonetree/in_memory/read.rs:308
↓ 2 callers
Method
with
(chars: Chars, op: F)
src/base/scan.rs:797
↓ 2 callers
Method
with_denied_ips
( mut self, ip_deny_list: T, )
src/net/server/middleware/cookies.rs:106
↓ 2 callers
Method
with_feedback
(mut self, feedback: ServiceFeedback)
src/net/server/service.rs:339
↓ 2 callers
Method
with_opt_out
(mut self)
src/dnssec/sign/denial/nsec3.rs:93
↓ 1 callers
Method
_scan_entry
Scans a single entry from the zone file. This is identical to `scan_entry` but with a more convenient error type.
src/zonefile/inplace.rs:335
↓ 1 callers
Method
accept
Wait for and accept a single stream connection. TODO: This may be obsoleted when Rust gains more support for async fns in traits.
src/net/server/stream.rs:686
↓ 1 callers
Method
actions
Return the actions that need to be performed for the current roll state.
src/dnssec/sign/keys/keyset.rs:588
↓ 1 callers
Method
actual_xfr_type
(&self)
src/net/xfr/protocol/interpreter.rs:443
↓ 1 callers
Method
ad
The AD bit.
src/new/base/message.rs:348
↓ 1 callers
Method
add_cname
Adds a CNAME to the answer section.
src/zonetree/answer.rs:93
↓ 1 callers
Method
add_diff
(&self, diff: InMemoryZoneDiff)
examples/serve-zone.rs:346
↓ 1 callers
Method
add_extra
Add extra records that are associated with a group. The main use at the moment is to store the courtesy CNAME that comes with a DNAME. We need to kee
src/dnssec/validator/group.rs:225
↓ 1 callers
Function
add_list_to_section
Add a list of `ValidatedGroup` objects to a section of a new DNS message.
src/dnssec/validator/utilities.rs:430
↓ 1 callers
Function
add_opt
Return a new message that adds an `ExtendedError` option to an existing message.
src/net/client/validator.rs:598
↓ 1 callers
Method
add_record_to_rrset
Add a resource record to a new or existing RRset.
src/zonetree/update.rs:456
↓ 1 callers
Function
add_rr_to_section
Add a record to a section of a new DNS message. If needed, adjust the TTL.
src/dnssec/validator/utilities.rs:452
↓ 1 callers
Method
add_soa_add_diff_entry
( &mut self, new_soa_rr: Option<SharedRr>, diff: &mut InMemoryZoneDiffBuilder, )
src/zonetree/in_memory/write.rs:177
↓ 1 callers
Method
add_soa_remove_diff_entry
( &mut self, old_soa_rr: Option<SharedRr>, diff: &mut InMemoryZoneDiffBuilder, )
src/zonetree/in_memory/write.rs:147
↓ 1 callers
Method
add_u8
Add trust anchors from a byte string to an existing set of trust anchors. The trust anchors are `DS` or `DNSKEY` records in zonefile format.
src/dnssec/validator/anchor.rs:141
↓ 1 callers
Method
added
(&self)
src/zonetree/types.rs:438
↓ 1 callers
Method
additional_builder_stream_target
( &self, )
src/net/server/single_service.rs:122
↓ 1 callers
Method
algorithm
(&self)
src/crypto/ring.rs:511
↓ 1 callers
Method
answer_first
Checks the first answer in the sequence.
src/tsig/mod.rs:859
↓ 1 callers
Method
answer_subsequent
Checks any subsequent answer in the sequence.
src/tsig/mod.rs:895
↓ 1 callers
Method
answer_with_fudge
Produces a signed answer with a given fudge. This method is similar to [`answer`] but lets you explicitly state the `fudge`, i.e., the number of seco
src/tsig/mod.rs:701
↓ 1 callers
Method
append
Appends a decoded octet to the target.
src/utils/base16.rs:244
↓ 1 callers
Method
append_charstr
Appends a complete character string. If a character string had previously been started by a call to [`append_slice`][Self::append_slice], this string
src/rdata/rfc1035/txt.rs:790
↓ 1 callers
Method
append_dec_u8_label
Appends a label with the decimal representation of `u8`. If there currently is a label under construction, it will be ended before appending `label`.
src/base/name/builder.rs:276
↓ 1 callers
Method
append_hex_digit_label
Appends a label with the hex digit. If there currently is a label under construction, it will be ended before appending `label`. Returns an error if
src/base/name/builder.rs:301
↓ 1 callers
Function
append_origin
(base32hex_label: String, apex_owner: &N)
src/dnssec/sign/denial/nsec3.rs:726
↓ 1 callers
Method
append_u8
Appends a single octet. This method calls [`append_slice`][Self::append_slice], so all the caveats described there apply.
src/rdata/rfc1035/txt.rs:775
↓ 1 callers
Function
apply_bit_mask
Only keeps the left-most `mask` bits and zeros out the rest. Returns whether the buffer has been modified.
src/base/opt/subnet.rs:309
↓ 1 callers
Function
arc_into_inner
(this: Arc<Mutex<T>>)
src/zonetree/in_memory/write.rs:352
↓ 1 callers
Method
as_array
Represent these counts as an array.
src/new/base/message.rs:467
↓ 1 callers
Method
as_bytes_mut
Represent this as a mutable byte sequence. Given `&mut self`, it is already possible to individually modify the message header and contents; since ne
src/new/base/message.rs:37
↓ 1 callers
Method
as_days
(&self)
src/base/record.rs:1210
↓ 1 callers
Method
as_flat_slice
(&self)
src/base/name/parsed.rs:473
↓ 1 callers
Method
as_hours
(&self)
src/base/record.rs:1194
↓ 1 callers
Method
as_label
(&self)
src/new/base/name/label.rs:947
↓ 1 callers
Method
as_minutes
(&self)
src/base/record.rs:1178
↓ 1 callers
Method
as_mut
(&mut self)
src/base/opt/cookie.rs:375
↓ 1 callers
Method
as_mut
(&mut self)
src/base/opt/mod.rs:1010
↓ 1 callers
Method
as_mut
(&mut self)
src/base/opt/keytag.rs:183
↓ 1 callers
Method
as_mut_label
(&mut self)
src/new/base/name/label.rs:962
↓ 1 callers
Method
as_octets
Returns a reference to the underlying octets sequence.
src/rdata/svcb/params.rs:331
↓ 1 callers
Method
as_octets
Returns a reference to the underlying octets sequence.
src/base/name/uncertain.rs:263
↓ 1 callers
Method
as_out_slice
Read-only slice based access to the record collection being written to.
src/dnssec/sign/mod.rs:268
↓ 1 callers
Method
as_ref
(&self)
src/crypto/common.rs:148
↓ 1 callers
Method
as_ref
(&self)
src/zonetree/types.rs:221
↓ 1 callers
Method
as_ref
(&self)
src/base/record.rs:257
↓ 1 callers
Method
as_ref
(&self)
src/base/name/uncertain.rs:332
↓ 1 callers
Method
as_ref
(&self)
src/resolv/stub/conf.rs:652
↓ 1 callers
Method
as_slice
(&self)
src/rdata/dnssec.rs:2128
↓ 1 callers
Method
as_slice
(&self)
src/base/header.rs:113
↓ 1 callers
Method
as_slice
Returns a reference to an octets slice with the content of the name.
src/base/name/relative.rs:280
↓ 1 callers
Method
as_slice
(&self)
src/resolv/stub/conf.rs:628
↓ 1 callers
Method
as_slice_mut
Returns a mutable slice of the value.
src/rdata/svcb/params.rs:746
↓ 1 callers
Method
as_slice_mut
Returns a reference to the octets slice of the content.
src/base/message_builder.rs:2024
↓ 1 callers
Method
as_slice_mut
Returns a mutable reference to the octets slice of the header counts.
src/base/header.rs:556
↓ 1 callers
Method
as_slice_mut
Returns a mutable slice to the underlying octets sequence. Because it is possible to utterly break the message using this slice, the method is privat
src/base/message.rs:260
↓ 1 callers
Method
as_slice_mut
Returns a mutable reference to the underlying octets slice.
src/base/name/label.rs:219
↓ 1 callers
Method
as_target_mut
Returns a mutable reference to the underlying octets builder. Since one could entirely mess up the message with this reference, the method is private
src/base/message_builder.rs:436
↓ 1 callers
Method
as_wire_slice
(&self)
src/base/name/label.rs:525
↓ 1 callers
Function
assert_to_name
(_: &T)
src/base/name/chain.rs:391
↓ 1 callers
Function
assert_to_relative_name
(_: &T)
src/base/name/chain.rs:392
↓ 1 callers
Function
async_test_cache
(filename: &str)
tests/net-client-cache.rs:25
↓ 1 callers
Function
async_test_no_cache
(filename: &str)
tests/net-client-cache.rs:42
← previous
next →
1,001–1,100 of 4,465, ranked by callers