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
↓ 3 callers
Method
into_iter
(self)
src/rdata/dnssec.rs:2261
↓ 3 callers
Method
into_iter
(self)
src/base/name/label.rs:429
↓ 3 callers
Method
into_iter
(self)
src/resolv/lookup/addr.rs:69
↓ 3 callers
Method
into_octets
Converts the name into the underlying octets.
src/base/name/relative.rs:267
↓ 3 callers
Method
into_qname
Converts the question into the qname.
src/base/question.rs:68
↓ 3 callers
Method
into_target
(self)
src/base/message_builder.rs:854
↓ 3 callers
Method
is_answer
(&self, answer: &Message<[u8]>)
src/net/client/tsig.rs:636
↓ 3 callers
Method
is_empty
Returns true if this RRset has no resource records, false otherwise.
src/zonetree/types.rs:130
↓ 3 callers
Method
is_empty
(&self)
src/resolv/lookup/host.rs:112
↓ 3 callers
Method
is_finished
Is the transfer finished? Returns true if the end of the transfer has been detected, false otherwise.
src/net/xfr/protocol/interpreter.rs:96
↓ 3 callers
Method
is_glue
Returns true if this record type is a type used for Glue records. See the definition of "glue" in [RFC 9499](https://datatracker.ietf.org/doc/rfc9499
src/base/iana/rtype.rs:478
↓ 3 callers
Method
is_in_zone
(&self, apex: &N)
src/dnssec/sign/records.rs:422
↓ 3 callers
Method
is_udp
Was the message received over a UDP transport?
src/net/server/message.rs:135
↓ 3 callers
Method
is_valid_at
Returns whether the record is valid at the given time. The method checks whether the given time is within [`fudge`] seconds of the [`time_signed`].
src/rdata/tsig.rs:249
↓ 3 callers
Method
is_zone_cut
(&self, apex: &N)
src/dnssec/sign/records.rs:413
↓ 3 callers
Function
iter
()
src/base/name/parsed.rs:807
↓ 3 callers
Method
iter
Returns an iterator over the host names.
src/resolv/lookup/addr.rs:45
↓ 3 callers
Method
iter_charstrs
Returns an iterator over the character strings. The returned iterator will always return at least one octets slice.
src/rdata/rfc1035/txt.rs:223
↓ 3 callers
Function
lookup_host
Creates a future that resolves a host name into its IP addresses. The future will use the resolver given in `resolv` to query the DNS for the IPv4 an
src/resolv/lookup/host.rs:24
↓ 3 callers
Method
match_section
( &self, match_section: &[ZonefileEntry], msg_section: RecordSection<'_, Octs>,
src/stelline/matches.rs:192
↓ 3 callers
Method
metrics
(&self)
src/net/server/dgram.rs:373
↓ 3 callers
Method
min_ttl
Return the minimum TTL in the RRset of a group. This value is used to limit how long the RRset can be cached. Al records should have the same TTL, bu
src/dnssec/validator/group.rs:691
↓ 3 callers
Function
mk_axfr_request
( qname: impl ToName, metadata: T, )
src/net/server/middleware/xfr/tests.rs:612
↓ 3 callers
Function
mk_rrsig_rr
( name: &str, covered_rtype: Rtype, labels: u8, signer_name: &str, dns
src/dnssec/sign/signatures/rrsigs.rs:1191
↓ 3 callers
Method
next
(&mut self)
src/base/name/relative.rs:943
↓ 3 callers
Method
next
(&mut self)
src/resolv/stub/mod.rs:514
↓ 3 callers
Function
nsec3_for_not_exists
Prove that target does not exist using NSEC3 records.
src/dnssec/validator/nsec.rs:658
↓ 3 callers
Function
nsec3_hash
Compute an [RFC 5155] NSEC3 hash. Computes an NSEC3 hash according to [RFC 5155] section 5: > IH(salt, x, 0) = H(x || salt) > IH(salt, x, k) = H(IH(
src/dnssec/common.rs:117
↓ 3 callers
Function
nsec3_in_range
Is targethash in the range between ownerhash and nexthash?
src/dnssec/validator/nsec.rs:1018
↓ 3 callers
Function
nsec_for_not_exists
Find an NSEC record for the target name that proves that the target name does not exist.
src/dnssec/validator/nsec.rs:174
↓ 3 callers
Function
nsec_in_range
Check if a name is covered by an NSEC record.
src/dnssec/validator/nsec.rs:289
↓ 3 callers
Method
num_inflight_requests
The number of requests received but not yet responded to.
src/net/server/metrics.rs:86
↓ 3 callers
Method
num_pending_writes
The number of responses generated but not yet sent back to the client.
src/net/server/metrics.rs:109
↓ 3 callers
Method
open
( &self, create_diff: bool, )
src/zonetree/in_memory/write.rs:260
↓ 3 callers
Method
opt_mut
Returns a mutable reference to the OPT record. Adds one if necessary.
src/net/client/request.rs:241
↓ 3 callers
Method
opt_out
(&self)
src/rdata/nsec3.rs:89
↓ 3 callers
Method
owner
The owner name of an anchor.
src/dnssec/validator/anchor.rs:69
↓ 3 callers
Method
padding
(&mut self, len: u16)
src/base/opt/padding.rs:187
↓ 3 callers
Method
parse_into_record
Parses the remainder of the record if the record data type supports it. The method assumes that the parser is currently positioned right after the en
src/base/record.rs:708
↓ 3 callers
Function
prefix_bytes
Returns the number of bytes needed for a prefix of a given length
src/base/opt/subnet.rs:302
↓ 3 callers
Method
present
Return whether the key is present in the DNSKEY RRset.
src/dnssec/sign/keys/keyset.rs:1269
↓ 3 callers
Function
print_dig_style_response
( query: &Message<Octs1>, response: &Message<Octs2>, short: bool, )
examples/common/serve-utils.rs:29
↓ 3 callers
Function
push_a
(builder: &mut TestAnswer, zero: u8, one: u8, two: u8)
tests/interop.rs:414
↓ 3 callers
Method
ra
(self)
src/base/header.rs:244
↓ 3 callers
Method
range
Returns the part of the name indicated by start and end positions. The returned name will start at position `begin` and end right before position `en
src/base/name/absolute.rs:573
↓ 3 callers
Method
rdlen
Returns the data length of the record.
src/base/record.rs:632
↓ 3 callers
Method
read
(self: Arc<Self>)
examples/other/mysql-zone.rs:215
↓ 3 callers
Method
recv_from
Receive a single datagram using the user supplied network socket.
src/net/server/dgram.rs:608
↓ 3 callers
Method
remove
(&mut self, version: Version)
src/zonetree/in_memory/versioned.rs:79
↓ 3 callers
Method
remove_rtype
Removes the RRset for the given type.
src/zonetree/in_memory/nodes.rs:291
↓ 3 callers
Method
response_mut
( &mut self, )
src/net/server/service.rs:360
↓ 3 callers
Function
rrsig_verify_dnskey
(ksk: Dnskey, zsk: Dnskey, rrsig: Rrsig)
src/dnssec/validator/base.rs:660
↓ 3 callers
Method
saturating_sub
(self, rhs: Ttl)
src/base/record.rs:1398
↓ 3 callers
Method
scan_ascii_str
(&mut self, op: F)
src/base/scan.rs:966
↓ 3 callers
Method
scan_octets
(&mut self)
src/base/scan.rs:951
↓ 3 callers
Method
scan_owner_record
Scans a regular record with an explicit owner name.
src/zonefile/inplace.rs:384
↓ 3 callers
Method
send_request
( &self, request_msg: CR, )
src/net/client/tsig.rs:175
↓ 3 callers
Method
set_max_retries
Sets the maximum number of times a request is retried before giving up. If this value is too small or too large, it will be capped.
src/net/client/dgram.rs:119
↓ 3 callers
Method
sig_iter
Return an iterator over the signature records in a group.
src/dnssec/validator/group.rs:311
↓ 3 callers
Method
signature
(&self)
src/rdata/dnssec.rs:977
↓ 3 callers
Method
signature_slice
Returns a the possibly truncated slice of the signature.
src/tsig/mod.rs:226
↓ 3 callers
Method
skip_before
(&mut self, apex: &N)
src/dnssec/sign/records.rs:596
↓ 3 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 panics if the posi
src/base/name/relative.rs:517
↓ 3 callers
Method
split_first
Splits off the first label. If this name is longer than just the root label, returns the first label as a relative name and removes it from the name
src/base/name/parsed.rs:166
↓ 3 callers
Method
time_signed
Returns the Unix time when the signature is created. Despite its type, this is actually a 48 bit number. The upper 16 bits will never be set.
src/rdata/tsig.rs:176
↓ 3 callers
Method
to_bool
(&self)
src/dnssec/sign/keys/keyset.rs:1492
↓ 3 callers
Method
try_remove
Tries to remove and return the query at the given index. Returns `None` if there was no query there.
src/net/client/stream.rs:1400
↓ 3 callers
Function
ttl_for_sig
Compute the TTL for a signature. Take the original_ttl and the remaining signature lifetime into account.
src/dnssec/validator/utilities.rs:169
↓ 3 callers
Function
update_header
Update the Header of a Message in a Value by creating a new Value with a new Message if the Header needs to be changed. Return the original Value if
src/net/client/cache.rs:1236
↓ 3 callers
Method
update_shim
Updates the length value to the current length of the target.
src/base/message_builder.rs:1943
↓ 3 callers
Method
validation_state
Get the validation state.
src/dnssec/validator/context.rs:1723
↓ 3 callers
Method
weight
(&self)
src/rdata/srv.rs:53
↓ 3 callers
Method
with_new_metadata
Set user defined metadata to associate with this request.
src/net/server/message.rs:265
↓ 3 callers
Method
with_or_default
Executes a closure for a child, creating a new child if necessary. The closure receives a reference to the node and a boolean expressing whether the
src/zonetree/in_memory/nodes.rs:389
↓ 3 callers
Method
write
Gets a write interface to this zone.
src/zonetree/zone.rs:85
↓ 3 callers
Method
write
( self: Arc<Self>, )
examples/other/mysql-zone.rs:222
↓ 2 callers
Method
_next_symbol
(&mut self, want: F)
src/zonefile/inplace.rs:1364
↓ 2 callers
Method
add
Try to add a record to a group. This function returns an error if it is not possible to add the record to the current group.
src/dnssec/validator/group.rs:124
↓ 2 callers
Method
add
Add a name and service to the router.
src/net/server/qname_router.rs:49
↓ 2 callers
Method
add_answer
Adds an RRset to the answer section.
src/zonetree/answer.rs:98
↓ 2 callers
Function
add_answer_record
( req: &Message<O>, answer: &mut AnswerBuilder<BytesMut>, item: T, )
src/zonetree/update.rs:1782
↓ 2 callers
Method
add_error
Add an error to the set.
src/zonetree/error.rs:193
↓ 2 callers
Method
add_key_csk
Add a CSK.
src/dnssec/sign/keys/keyset.rs:169
↓ 2 callers
Method
add_key_ksk
Add a KSK.
src/dnssec/sign/keys/keyset.rs:105
↓ 2 callers
Method
add_key_zsk
Add a ZSK.
src/dnssec/sign/keys/keyset.rs:137
↓ 2 callers
Method
add_opt_impl
Add an option that is to be included in the final message.
src/net/server/single_service.rs:69
↓ 2 callers
Method
add_record_to_rrset
Add a resource record to a new or existing RRset.
src/zonetree/update.rs:497
↓ 2 callers
Function
addr_apply_mask
Zeros out unused bits in a address prefix of the given length Returns the new address and whether it was changed.
src/base/opt/subnet.rs:343
↓ 2 callers
Method
adjust_ttl
Return an optinal TTL. The TTL is used to adjust the TTLs of the records in the group.
src/dnssec/validator/group.rs:1006
↓ 2 callers
Method
allow_invalid
Disables RFC 1035 section 5.2 zonefile validity checks.
src/zonefile/inplace.rs:108
↓ 2 callers
Method
append_message
Used by the stream transport.
src/net/client/tsig.rs:568
↓ 2 callers
Method
append_message_impl
Appends the message to a composer.
src/net/client/request.rs:246
↓ 2 callers
Method
append_symbols
Appends a name from a sequence of symbols. If there currently is a label under construction, it will be ended before appending `chars`. The characte
src/base/name/builder.rs:373
↓ 2 callers
Method
as_builder_mut
Returns a mutable reference to the underlying message builder.
src/base/message_builder.rs:715
↓ 2 callers
Method
as_mut
(&mut self)
src/rdata/svcb/params.rs:769
↓ 2 callers
Method
as_mut
(&mut self)
src/rdata/rfc1035/a.rs:191
↓ 2 callers
Method
as_slice
Returns a reference to the underlying octets slice. The slice will contain the domain name in wire format.
src/base/name/absolute.rs:351
↓ 2 callers
Method
as_slice
Returns a slice of the padding octets.
src/base/opt/padding.rs:90
↓ 2 callers
Method
as_slice
(&self)
src/base/opt/exterr.rs:374
↓ 2 callers
Method
as_slice_mut
Returns a mutable slice of the option data.
src/base/opt/mod.rs:970
← previous
next →
601–700 of 3,926, ranked by callers