MCPcopy Create free account

hub / github.com/NLnetLabs/domain / functions

Functions3,926 in github.com/NLnetLabs/domain

↓ 2 callersFunctionremove_edns_opt_record
Removes any OPT records present in the response.
src/net/server/util.rs:301
↓ 2 callersMethodremove_rrset
(&self, rtype: Rtype)
src/zonetree/in_memory/write.rs:674
↓ 2 callersFunctionrequest_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 callersMethodrequest_axfr
( mut self, apex: N, )
src/base/message_builder.rs:316
↓ 2 callersMethodrequire_line_feed
Requires that we have reached a line feed.
src/zonefile/inplace.rs:1171
↓ 2 callersMethodreserve_bytes
Request that an additional number of bytes be reserved in the response to this message.
src/net/server/message.rs:250
↓ 2 callersMethodreset_idle_timer
Reset the idle timer to now.
src/net/server/connection.rs:988
↓ 2 callersMethodresponse_with_cookie
Create a DNS response message for the given request, including cookie.
src/net/server/middleware/cookies.rs:191
↓ 2 callersMethodretry
The time before a failed refresh is retried.
src/rdata/rfc1035/soa.rs:89
↓ 2 callersMethodrname
The mailbox for the person responsible for this zone.
src/rdata/rfc1035/soa.rs:74
↓ 2 callersMethodroll_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 callersFunctionrp_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 callersMethodrrsig_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 callersFunctionrsa_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 callersFunctionrsa_exponent_modulus
Return the RSA exponent and modulus components from DNSKEY record data.
src/crypto/common.rs:226
↓ 2 callersFunctionrun
( mut fut_list_tcp: FuturesUnordered<TcpFut>, mut fut_list_udp_tcp: FuturesUnordered<UdpTcpFut>, )
src/resolv/stub/mod.rs:208
↓ 2 callersMethodsalt_len
(&self)
src/rdata/nsec3.rs:885
↓ 2 callersMethodsaturating_add
(self, rhs: Ttl)
src/base/record.rs:1355
↓ 2 callersMethodsave
Writes the configuration to a file.
tests/common/nsd.rs:61
↓ 2 callersMethodscan_octets
(&mut self)
src/zonefile/inplace.rs:639
↓ 2 callersMethodsend_response
Send a response from the [`Service`] impl to the client.
src/net/server/dgram.rs:675
↓ 2 callersMethodset_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 callersMethodset_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 callersMethodset_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 callersMethodset_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 callersMethodset_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 callersMethodset_status
(&mut self, status: InvokerStatus)
src/net/server/dgram.rs:761
↓ 2 callersMethodset_ttl
Sets the record’s time-to-live.
src/base/record.rs:171
↓ 2 callersMethodsign
Sign some data.
src/crypto/openssl.rs:650
↓ 2 callersFunctionsign_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 callersMethodsigned_subsequent
Signs a subsequent message. Resets the context.
src/tsig/mod.rs:1431
↓ 2 callersFunctionsplit
()
src/base/name/relative.rs:1553
↓ 2 callersMethodsplit
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 callersMethodsplit_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 callersMethodsplit_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 callersFunctionsplit_rtype
Splits an Rtype value into window number, octet number, and octet mask.
src/rdata/dnssec.rs:2702
↓ 2 callersMethodstale
Return whether this key is no long in use.
src/dnssec/sign/keys/keyset.rs:1279
↓ 2 callersMethodstart_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 callersMethodstart_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 callersFunctionstep
(name: ParsedName<&[u8]>, result: &[u8])
src/base/name/parsed.rs:1159
↓ 2 callersFunctionsupported_nsec3_hash
Return if the NSEC3 hash algorithm is supported by the nsec3_hash function.
src/dnssec/validator/nsec.rs:982
↓ 2 callersMethodtimeout
Create a new timeout error.
src/net/client/dgram.rs:418
↓ 2 callersMethodtimestamp
(self)
src/base/opt/cookie.rs:607
↓ 2 callersMethodto_cow
(&self)
src/base/name/traits.rs:219
↓ 2 callersMethodto_mnemonic_str
(self)
src/base/iana/rcode.rs:208
↓ 2 callersMethodto_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 callersMethodto_parts
(self)
src/base/iana/rcode.rs:550
↓ 2 callersMethodto_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 callersMethodto_vec
(&self)
src/base/name/traits.rs:229
↓ 2 callersMethodtruncate
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 callersMethodtry_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 callersMethodupdate_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 callersFunctionupdate_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 callersFunctionvalidity
Compute how long a response can be cached.
src/net/client/cache.rs:937
↓ 2 callersMethodverify_signed_data
( &self, dnskey: &Dnskey<impl AsRef<[u8]>>, signed_data: &impl AsRef<[u8]>, )
src/dnssec/validator/base.rs:297
↓ 2 callersMethodversions
(&self)
src/zonetree/in_memory/nodes.rs:107
↓ 2 callersMethodwalk
(&self, op: WalkOp)
src/zonetree/in_memory/read.rs:308
↓ 2 callersMethodwith
(chars: Chars, op: F)
src/base/scan.rs:803
↓ 2 callersMethodwith_denied_ips
( mut self, ip_deny_list: T, )
src/net/server/middleware/cookies.rs:106
↓ 2 callersMethodwith_feedback
(mut self, feedback: ServiceFeedback)
src/net/server/service.rs:339
↓ 2 callersMethodwith_opt_out
(mut self)
src/dnssec/sign/denial/nsec3.rs:93
↓ 2 callersMethodzone_cut
Get the zone cut present at this node, if any.
src/zonetree/in_memory/nodes.rs:218
↓ 1 callersMethod_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 callersMethodaccept
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 callersMethodactions
Return the actions that need to be performed for the current roll state.
src/dnssec/sign/keys/keyset.rs:588
↓ 1 callersMethodactual_xfr_type
(&self)
src/net/xfr/protocol/interpreter.rs:443
↓ 1 callersMethodadd_cname
Adds a CNAME to the answer section.
src/zonetree/answer.rs:93
↓ 1 callersMethodadd_diff
(&self, diff: InMemoryZoneDiff)
examples/serve-zone.rs:346
↓ 1 callersMethodadd_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 callersFunctionadd_list_to_section
Add a list of `ValidatedGroup` objects to a section of a new DNS message.
src/dnssec/validator/utilities.rs:430
↓ 1 callersFunctionadd_opt
Return a new message that adds an `ExtendedError` option to an existing message.
src/net/client/validator.rs:608
↓ 1 callersFunctionadd_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 callersMethodadd_soa_add_diff_entry
( &mut self, new_soa_rr: Option<SharedRr>, diff: &mut InMemoryZoneDiffBuilder, )
src/zonetree/in_memory/write.rs:185
↓ 1 callersMethodadd_soa_remove_diff_entry
( &mut self, old_soa_rr: Option<SharedRr>, diff: &mut InMemoryZoneDiffBuilder, )
src/zonetree/in_memory/write.rs:155
↓ 1 callersMethodadd_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 callersMethodadded
(&self)
src/zonetree/types.rs:497
↓ 1 callersMethodadditional_builder_stream_target
( &self, )
src/net/server/single_service.rs:122
↓ 1 callersMethodalgorithm
(&self)
src/crypto/ring.rs:512
↓ 1 callersMethodanswer_first
Checks the first answer in the sequence.
src/tsig/mod.rs:849
↓ 1 callersMethodanswer_subsequent
Checks any subsequent answer in the sequence.
src/tsig/mod.rs:885
↓ 1 callersMethodanswer_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 callersMethodappend
Appends a decoded octet to the target.
src/utils/base16.rs:244
↓ 1 callersMethodappend_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 callersMethodappend_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 callersMethodappend_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 callersFunctionappend_origin
( base32hex_label: String, apex_owner: &N, )
src/dnssec/sign/denial/nsec3.rs:726
↓ 1 callersMethodappend_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 callersFunctionapply_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 callersFunctionarc_into_inner
(this: Arc<Mutex<T>>)
src/zonetree/in_memory/write.rs:362
↓ 1 callersMethodas_days
(&self)
src/base/record.rs:1210
↓ 1 callersMethodas_flat_slice
(&self)
src/base/name/parsed.rs:480
↓ 1 callersMethodas_hours
(&self)
src/base/record.rs:1194
↓ 1 callersMethodas_minutes
(&self)
src/base/record.rs:1178
↓ 1 callersMethodas_mut
(&mut self)
src/base/opt/cookie.rs:375
↓ 1 callersMethodas_mut
(&mut self)
src/base/opt/mod.rs:1010
↓ 1 callersMethodas_mut
(&mut self)
src/base/opt/keytag.rs:183
↓ 1 callersMethodas_octets
Returns a reference to the underlying octets sequence.
src/rdata/svcb/params.rs:331
↓ 1 callersMethodas_octets
Returns a reference to the underlying octets sequence.
src/base/name/uncertain.rs:263
↓ 1 callersMethodas_out_slice
Read-only slice based access to the record collection being written to.
src/dnssec/sign/mod.rs:268
↓ 1 callersMethodas_ref
(&self)
src/crypto/common.rs:165
← previousnext →901–1,000 of 3,926, ranked by callers