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
↓ 2 callers
Function
remove_edns_opt_record
Removes any OPT records present in the response.
src/net/server/util.rs:301
↓ 2 callers
Method
remove_rrset
(&self, rtype: Rtype)
src/zonetree/in_memory/write.rs:674
↓ 2 callers
Function
request_as_groups
Issue a DNS request for DS or DNSKEY records and return the result as two group sets (one for the answer section and one for the authority section and
src/dnssec/validator/context.rs:2284
↓ 2 callers
Method
request_axfr
( mut self, apex: N, )
src/base/message_builder.rs:316
↓ 2 callers
Method
require_line_feed
Requires that we have reached a line feed.
src/zonefile/inplace.rs:1171
↓ 2 callers
Method
reserve_bytes
Request that an additional number of bytes be reserved in the response to this message.
src/net/server/message.rs:250
↓ 2 callers
Method
reset_idle_timer
Reset the idle timer to now.
src/net/server/connection.rs:988
↓ 2 callers
Method
response_with_cookie
Create a DNS response message for the given request, including cookie.
src/net/server/middleware/cookies.rs:191
↓ 2 callers
Method
retry
The time before a failed refresh is retried.
src/rdata/rfc1035/soa.rs:89
↓ 2 callers
Method
rname
The mailbox for the person responsible for this zone.
src/rdata/rfc1035/soa.rs:74
↓ 2 callers
Method
roll_done
The user reports that all actions have been performed and that the key roll is now complete.
src/dnssec/sign/keys/keyset.rs:573
↓ 2 callers
Function
rp_zonefile_parse_expect
A helper function that takes a single resource record in zonefile format as input for the Zonefile parser, and compares it to the expected rdata octet
src/rdata/rp.rs:321
↓ 2 callers
Method
rrsig_label_count
Returns the number of labels for the RRSIG Labels field. This is the actual number of labels without counting the root label or a possible initial as
src/base/name/traits.rs:342
↓ 2 callers
Function
rsa_encode
Encode the RSA exponent and modulus components in DNSKEY record data format. Leading zeroes will be ignored per RFC 3110 section 2.
src/crypto/common.rs:273
↓ 2 callers
Function
rsa_exponent_modulus
Return the RSA exponent and modulus components from DNSKEY record data.
src/crypto/common.rs:226
↓ 2 callers
Function
run
( mut fut_list_tcp: FuturesUnordered<TcpFut>, mut fut_list_udp_tcp: FuturesUnordered<UdpTcpFut>, )
src/resolv/stub/mod.rs:208
↓ 2 callers
Method
salt_len
(&self)
src/rdata/nsec3.rs:885
↓ 2 callers
Method
saturating_add
(self, rhs: Ttl)
src/base/record.rs:1355
↓ 2 callers
Method
save
Writes the configuration to a file.
tests/common/nsd.rs:61
↓ 2 callers
Method
scan_octets
(&mut self)
src/zonefile/inplace.rs:639
↓ 2 callers
Method
send_response
Send a response from the [`Service`] impl to the client.
src/net/server/dgram.rs:675
↓ 2 callers
Method
set_max_parallel
Sets the maximum number of parallel requests. Once this many number of requests are currently outstanding, additional requests will wait. If this va
src/net/client/dgram.rs:91
↓ 2 callers
Method
set_origin
Sets the origin of the zonefile. The origin is append to relative domain names encountered in the data. Ininitally, there is no origin set. It will b
src/zonefile/inplace.rs:200
↓ 2 callers
Method
set_push_limit
Limit how much of the underlying buffer may be used. When a limit is set, calling `push()` on a message section (e.g. [`AdditionalBuilder::push()`])
src/base/message_builder.rs:341
↓ 2 callers
Method
set_read_timeout
Sets the read timeout. The read timeout is the maximum amount of time to wait for any response after a request was sent. If this value is too small
src/net/client/dgram.rs:106
↓ 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:650
↓ 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:1431
↓ 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:2702
↓ 2 callers
Method
stale
Return whether this key is no long in use.
src/dnssec/sign/keys/keyset.rs:1279
↓ 2 callers
Method
start_error
Starts creating an error for the given message. Like [`try_start_answer()`][Self::try_start_answer] but both result cases rolled into one.
src/base/message_builder.rs:300
↓ 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:1159
↓ 2 callers
Function
supported_nsec3_hash
Return if the NSEC3 hash algorithm is supported by the nsec3_hash function.
src/dnssec/validator/nsec.rs:982
↓ 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:208
↓ 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:550
↓ 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
try_start_answer
Tries creating the start of an answer for the given message. This is mostly the same as [`start_answer`][Self::start_answer] but returns an answer bu
src/base/message_builder.rs:271
↓ 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:646
↓ 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
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:803
↓ 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
↓ 2 callers
Method
zone_cut
Get the zone cut present at this node, if any.
src/zonetree/in_memory/nodes.rs:218
↓ 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
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:226
↓ 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:608
↓ 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:185
↓ 1 callers
Method
add_soa_remove_diff_entry
( &mut self, old_soa_rr: Option<SharedRr>, diff: &mut InMemoryZoneDiffBuilder, )
src/zonetree/in_memory/write.rs:155
↓ 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:497
↓ 1 callers
Method
additional_builder_stream_target
( &self, )
src/net/server/single_service.rs:122
↓ 1 callers
Method
algorithm
(&self)
src/crypto/ring.rs:512
↓ 1 callers
Method
answer_first
Checks the first answer in the sequence.
src/tsig/mod.rs:849
↓ 1 callers
Method
answer_subsequent
Checks any subsequent answer in the sequence.
src/tsig/mod.rs:885
↓ 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:692
↓ 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:797
↓ 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:782
↓ 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:362
↓ 1 callers
Method
as_days
(&self)
src/base/record.rs:1210
↓ 1 callers
Method
as_flat_slice
(&self)
src/base/name/parsed.rs:480
↓ 1 callers
Method
as_hours
(&self)
src/base/record.rs:1194
↓ 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_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:165
← previous
next →
901–1,000 of 3,926, ranked by callers