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
↓ 5 callers
Method
iter
Returns an iterator over the character strings as slices. The returned iterator will always return at least one octets slice.
src/rdata/rfc1035/txt.rs:216
↓ 5 callers
Method
iter
Iterator over the octets of the label.
src/base/name/label.rs:193
↓ 5 callers
Method
labels
(&self)
src/rdata/dnssec.rs:953
↓ 5 callers
Method
len
Returns the length of the already assembled domain name.
src/base/name/builder.rs:136
↓ 5 callers
Function
mk_counting_batcher
()
src/net/server/batcher.rs:396
↓ 5 callers
Method
name
(&self)
src/zonetree/in_memory/nodes.rs:111
↓ 5 callers
Method
next
(&mut self)
src/zonetree/tree.rs:206
↓ 5 callers
Method
next
(&mut self)
src/rdata/dnssec.rs:2640
↓ 5 callers
Method
next
(&mut self)
src/base/name/absolute.rs:1122
↓ 5 callers
Method
next_ascii_symbol
Hard disagree.
src/zonefile/inplace.rs:1303
↓ 5 callers
Method
next_back
(&mut self)
src/base/name/chain.rs:278
↓ 5 callers
Method
next_owner
(&self)
src/rdata/nsec3.rs:101
↓ 5 callers
Method
opt_rcode
Get the extended rcode of a message or the normal rcode converted to an extended rcode if no opt record is present.
src/base/message.rs:659
↓ 5 callers
Method
original_id
Returns the original message ID. Since the message ID is part of the signature generation but may be changed for a forwarded message, it is included
src/rdata/tsig.rs:210
↓ 5 callers
Method
parent
Reduces the name to the parent of the current name. If the name consists of the root label only, returns `false` and does nothing. Otherwise, drops t
src/base/name/parsed.rs:201
↓ 5 callers
Method
pop
(&self)
src/zonetree/walk.rs:82
↓ 5 callers
Method
port
(&self)
src/rdata/srv.rs:57
↓ 5 callers
Method
push
Adds a new value to the builder. The method will return an error if a value with this key is already present or if there isn’t enough space left in t
src/rdata/svcb/params.rs:936
↓ 5 callers
Method
rrsets
(&self)
src/dnssec/sign/records.rs:196
↓ 5 callers
Method
set_ancount
Sets the value of the ANCOUNT field.
src/base/header.rs:620
↓ 5 callers
Method
set_arcount
Sets the value of the ARCOUNT field.
src/base/header.rs:698
↓ 5 callers
Method
set_dnssec_ok
Sets the DNSSEC OK (DO) bit to the given value.
src/base/opt/mod.rs:515
↓ 5 callers
Method
set_nscount
Sets the value of the NSCOUNT field.
src/base/header.rs:659
↓ 5 callers
Method
set_qdcount
Sets the value of the QDCOUNT field.
src/base/header.rs:581
↓ 5 callers
Method
set_rcode
Sets the extended rcode of the message. The method will update both the message header and the OPT header.
src/base/message_builder.rs:1818
↓ 5 callers
Method
sign
Applies the variables to a signing context. This applies the full variables including key information.
src/tsig/mod.rs:1593
↓ 5 callers
Method
signed_data
( &self, buf: &mut B, records: &mut [impl AsRef<Record<N, D>>], )
src/dnssec/validator/base.rs:203
↓ 5 callers
Function
skip
(name: ParsedName<&[u8]>, len: usize)
src/base/name/parsed.rs:1045
↓ 5 callers
Method
update
Updates an RRset.
src/zonetree/in_memory/nodes.rs:278
↓ 5 callers
Function
wildcard
()
src/base/name/relative.rs:1156
↓ 4 callers
Method
aa
(self)
src/base/header.rs:211
↓ 4 callers
Function
add_edns_options
Adds one or more EDNS OPT options to a response. If the response already has an OPT record the options will be added to that. Otherwise an OPT record
src/net/server/util.rs:232
↓ 4 callers
Method
append_slice
( &mut self, slice: &[u8], )
src/base/charstr.rs:837
↓ 4 callers
Method
as_mut
(&mut self)
src/base/name/label.rs:358
↓ 4 callers
Method
as_record
Converts the OPT record into a regular record.
src/base/opt/mod.rs:578
↓ 4 callers
Method
as_ref
(&self)
src/base/name/builder.rs:478
↓ 4 callers
Method
as_rrset
Gets a reference to the inner [`Rrset`].
src/zonetree/types.rs:210
↓ 4 callers
Method
as_slice
Returns a slice to the underlying octets sequence.
src/base/message.rs:249
↓ 4 callers
Method
as_slice
Returns the data as an octets slice.
src/base/opt/algsig.rs:193
↓ 4 callers
Method
as_str
(self)
src/base/scan.rs:1075
↓ 4 callers
Method
build
Exchange this builder instnace for an immutable [`ZoneDiff`]. The start serial should be the zone version to which the diffs should be applied. The e
src/zonetree/types.rs:329
↓ 4 callers
Method
cache_insert
Insert new entry in the cache. Do not insert if the validity is zero. Make sure to clear the AA flag.
src/net/client/cache.rs:698
↓ 4 callers
Function
cached_nsec3_hash
Return an NSEC3 hash using a cache.
src/dnssec/validator/nsec.rs:987
↓ 4 callers
Method
can_compress
(&self)
src/base/wire.rs:60
↓ 4 callers
Method
canonical_name
Returns a reference to the canonical name for the host. # Notes This method expects the canonical name to be same in both A/AAAA responses, if it is
src/resolv/lookup/host.rs:156
↓ 4 callers
Method
clone
(&self)
src/net/client/redundant.rs:165
↓ 4 callers
Function
cmp_iter
(mut iter: I, labels: &[&[u8]])
src/base/name/absolute.rs:1404
↓ 4 callers
Method
compare_signatures
Compares two signatures. The first signature is the expected value, the second the provided one. This considers signature truncation limited to whate
src/tsig/mod.rs:341
↓ 4 callers
Method
compose_canonical
( &self, target: &mut Target, )
src/base/record.rs:222
↓ 4 callers
Method
compose_head
( &self, target: &mut Target, )
src/rdata/dnssec.rs:546
↓ 4 callers
Method
compose_len
Returns the length in octets of the encoded name.
src/base/name/traits.rs:44
↓ 4 callers
Method
compose_len
(&self)
src/base/name/parsed.rs:474
↓ 4 callers
Method
compose_rdata
( &self, target: &mut Target, )
src/rdata/svcb/rdata.rs:500
↓ 4 callers
Method
compose_rdata
( &self, target: &mut Target, )
src/base/rdata.rs:134
↓ 4 callers
Method
contains
(&self, name: &StoredName)
src/zonetree/parsed.rs:385
↓ 4 callers
Method
content
Gets the answer section content for this answer.
src/zonetree/answer.rs:274
↓ 4 callers
Method
deref
(&self)
src/zonetree/types.rs:220
↓ 4 callers
Function
display_hex
Encodes binary data in *base32hex* and writes it into a format stream. This function is intended to be used in implementations of formatting traits:
src/utils/base32.rs:69
↓ 4 callers
Method
enabled
(&self)
src/zonetree/walk.rs:51
↓ 4 callers
Method
error
(&self)
src/tsig/mod.rs:1802
↓ 4 callers
Method
extend
(&mut self, data: Vec<u8>)
src/stelline/channel.rs:51
↓ 4 callers
Method
first
Gets the first RRset record, if any.
src/zonetree/types.rs:135
↓ 4 callers
Method
flags
The flags attached to the key.
src/dnssec/sign/keys/signingkey.rs:59
↓ 4 callers
Method
for_slice
Returns a character string atop a slice of the content.
src/base/charstr.rs:244
↓ 4 callers
Function
from_str
()
src/base/name/absolute.rs:1876
↓ 4 callers
Method
get
( &mut self, _entry: &Entry, )
src/stelline/client.rs:326
↓ 4 callers
Method
get_rrset
( &self, rtype: Rtype, )
src/zonetree/in_memory/write.rs:628
↓ 4 callers
Method
get_u16
Returns the value of the 16 bit integer starting at a given offset.
src/base/header.rs:788
↓ 4 callers
Method
header_section
Returns the entire header section.
src/base/message.rs:306
↓ 4 callers
Method
inception
(&self)
src/rdata/dnssec.rs:965
↓ 4 callers
Method
insert_zone
Inserts the given [`Zone`]. Returns a [`ZoneTreeModificationError`] if a zone with the same apex and CLASS already exists in the tree.
src/zonetree/tree.rs:44
↓ 4 callers
Method
into_original_id
(self)
src/tsig/mod.rs:1511
↓ 4 callers
Method
is_empty
(&self)
src/rdata/rfc1035/null.rs:114
↓ 4 callers
Method
is_empty
(&self)
src/resolv/stub/conf.rs:620
↓ 4 callers
Method
is_word_char
(self)
src/base/scan.rs:719
↓ 4 callers
Method
len
(&self)
src/resolv/stub/conf.rs:616
↓ 4 callers
Method
mac
Returns a reference to the bytes value containing the MAC.
src/rdata/tsig.rs:189
↓ 4 callers
Method
max_response_size_hint
Optional maximum response size hint. `None` if the server had no specific configuration regarding maximum allowed response size, `Some(n)` otherwise
src/net/server/message.rs:59
↓ 4 callers
Method
minimum
The minimum TTL to be exported with any RR from this zone.
src/rdata/rfc1035/soa.rs:99
↓ 4 callers
Function
mk_dummy_rr
(text: &[u8])
src/net/server/batcher.rs:404
↓ 4 callers
Function
n
(name: &str)
src/net/server/middleware/xfr/tests.rs:579
↓ 4 callers
Method
next
(&mut self)
src/dnssec/sign/records.rs:618
↓ 4 callers
Method
next_name
(&self)
src/rdata/dnssec.rs:1457
↓ 4 callers
Method
octets_builder
(&mut self)
src/base/scan.rs:1038
↓ 4 callers
Method
opt_header
Returns a reference to the full OPT header.
src/base/message_builder.rs:1856
↓ 4 callers
Method
opt_header_mut
Returns a mutual reference to the full OPT header.
src/base/message_builder.rs:1861
↓ 4 callers
Method
original_ttl
(&self)
src/rdata/dnssec.rs:957
↓ 4 callers
Method
owner
Get the RR owner name for the error, if any.
src/zonetree/error.rs:114
↓ 4 callers
Method
parse
( parser: &mut Parser<'_, Octs>, )
src/base/header.rs:885
↓ 4 callers
Function
parse_slice
(data: &[u8], op: F)
src/base/wire.rs:271
↓ 4 callers
Method
parser
Returns a correctly positioned parser.
src/base/name/parsed.rs:83
↓ 4 callers
Method
prepare_name
( &self, qname: &'l impl ToName, )
src/zonetree/in_memory/nodes.rs:73
↓ 4 callers
Method
process_symbol
( &mut self, symbol: Sym, )
src/rdata/nsec3.rs:956
↓ 4 callers
Method
process_tail
(&mut self)
src/rdata/nsec3.rs:985
↓ 4 callers
Method
query
( &self, question: Q, )
src/resolv/stub/mod.rs:121
↓ 4 callers
Method
query
( &self, _qname: Name<Bytes>, _qtype: Rtype, )
examples/other/mysql-zone.rs:327
↓ 4 callers
Method
query_rrsets
( &self, rrsets: &NodeRrsets, qtype: Rtype, walk: WalkState, )
src/zonetree/in_memory/read.rs:164
↓ 4 callers
Method
range
Returns a part of the name indicated by start and end positions. The returned name will start at position `begin` and end right before position `end`
src/base/name/relative.rs:496
↓ 4 callers
Method
recv
Receive a single DNS message. # Cancel safety This function is NOT cancel safe.
src/net/server/connection.rs:841
↓ 4 callers
Function
remove_tsig
(original_id: u16, message: &mut Message<Octs>)
src/tsig/mod.rs:1751
← previous
next →
401–500 of 3,926, ranked by callers