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
Method
get_response
( &mut self, )
src/net/client/redundant.rs:204
↓ 2 callers
Method
get_soa
Returns the SOA record for the given version if available.
src/zonetree/in_memory/nodes.rs:86
↓ 2 callers
Function
get_test_message
()
src/base/message.rs:1370
↓ 2 callers
Method
get_transport
( &self, )
src/resolv/stub/mod.rs:192
↓ 2 callers
Method
get_writable_child_node_for_owner
Given a zone record, obtain a [`WritableZoneNode`] for the owner. A [`Zone`] is a tree structure which can be modified by descending the tree from pa
src/zonetree/update.rs:408
↓ 2 callers
Method
hash
(&self, state: &mut H)
src/base/opt/cookie.rs:383
↓ 2 callers
Method
hash_len
(&self)
src/rdata/nsec3.rs:1362
↓ 2 callers
Method
head
Get the head label for this entry.
src/base/message_builder.rs:2538
↓ 2 callers
Method
header
Return the current value of the message header.
src/base/message_builder.rs:366
↓ 2 callers
Method
header
(&self)
src/net/client/request.rs:339
↓ 2 callers
Method
inc_nscount
Increases the value of the NSCOUNT field by one. If increasing the counter would result in an overflow, returns an error.
src/base/header.rs:667
↓ 2 callers
Method
inc_num_received_requests
Increment the number of received requests metric.
src/net/server/metrics.rs:142
↓ 2 callers
Method
inc_num_sent_responses
Increment the number of sent responses metric.
src/net/server/metrics.rs:164
↓ 2 callers
Method
inc_qdcount
Increases the value of the QDCOUNT field by one. If increasing the counter would result in an overflow, returns an error.
src/base/header.rs:589
↓ 2 callers
Function
inner
( stelline: &Stelline, step_value: &CurrStepValue, request: R, )
src/stelline/client.rs:123
↓ 2 callers
Method
insert_rrset
Inserts a related set of resource records. Inserts a [`SharedRrset`] for the given owner name.
src/zonetree/in_memory/builder.rs:89
↓ 2 callers
Method
into_absolute
Converts the name into an absolute name by appending the root label. This manipulates the name itself and thus is only available for octets sequences
src/base/name/relative.rs:321
↓ 2 callers
Method
into_iter
(self)
src/base/name/absolute.rs:913
↓ 2 callers
Method
into_record
Converts the header into an actual record.
src/base/record.rs:637
↓ 2 callers
Method
into_shared
Converts this [`Rrset`] to an [`SharedRrset`].
src/zonetree/types.rs:178
↓ 2 callers
Method
into_wire_slice
Returns a octet slice with the wire-format domain name for this value.
src/tsig/mod.rs:1691
↓ 2 callers
Method
is_async
(&self)
src/zonetree/in_memory/read.rs:288
↓ 2 callers
Function
is_dnssec
Check if a type is a DNSSEC type that needs to be removed.
src/net/client/cache.rs:1152
↓ 2 callers
Method
is_root
Returns whether the name is the root label only.
src/base/name/parsed.rs:78
↓ 2 callers
Method
is_suitable
(&self, entry: &Entry)
src/stelline/client.rs:394
↓ 2 callers
Method
is_zero
(&self)
src/base/record.rs:1315
↓ 2 callers
Method
is_zone_key
Returns whether the Zone Key flag is set. If the flag is not set, the key MUST NOT be used to verify RRSIGs that cover RRSETs. See [RFC 4034, Section
src/rdata/dnssec.rs:174
↓ 2 callers
Method
iter
Returns an iterator over the individual key tags.
src/base/opt/keytag.rs:152
↓ 2 callers
Method
iter_labels
(&self)
src/base/name/uncertain.rs:387
↓ 2 callers
Method
iter_suffixes
Returns an iterator over the suffixes of the name. The returned iterator starts with the full name and then for each additional step returns a name w
src/base/name/absolute.rs:416
↓ 2 callers
Method
key
Returns the key of the value.
src/rdata/svcb/params.rs:728
↓ 2 callers
Method
kind
Returns information about when the query has failed.
src/net/client/dgram.rs:433
↓ 2 callers
Method
last
Returns a reference to the last label. Because the last label in an absolute name is always the root label, this method can return a static reference
src/base/name/parsed.rs:147
↓ 2 callers
Method
last_published_version
(&self)
src/zonetree/in_memory/write.rs:112
↓ 2 callers
Method
len
(&self)
src/rdata/rfc1035/null.rs:110
↓ 2 callers
Method
limit_to
( self, )
src/base/message.rs:999
↓ 2 callers
Method
lookup_host
( &self, qname: impl ToName, )
src/resolv/stub/mod.rs:237
↓ 2 callers
Method
make_canonical
Converts the label into the canonical form. This form has all octets representing ASCII letters converted to their lower case form.
src/base/name/label.rs:227
↓ 2 callers
Function
map_dname
Apply a DNAME to a target name.
src/dnssec/validator/utilities.rs:151
↓ 2 callers
Function
map_maybe_secure
Keep track if the current validation result is still secure or if it has been downgraded to insecure or indeterminate.
src/dnssec/validator/utilities.rs:260
↓ 2 callers
Method
match_answer
Match the specified answer
src/stelline/matches.rs:283
↓ 2 callers
Method
match_msg
( &self, msg: &Message<Octs>, )
src/stelline/matches.rs:48
↓ 2 callers
Method
max_cname_dname
Return the value of max_cname_dname.
src/dnssec/validator/context.rs:310
↓ 2 callers
Method
metadata
Get the user defined metadata associated with this request.
src/net/server/message.rs:277
↓ 2 callers
Function
mk_answer
Helper fn to create a dummy response to send back to the client
examples/server-transports.rs:52
↓ 2 callers
Function
mk_axfr_request_for_transport
( qname: impl ToName, metadata: T, transport_specific: TransportSpecificContext, )
src/net/server/middleware/xfr/tests.rs:634
↓ 2 callers
Function
mk_empty_answer
( req: &Message<Bytes>, rcode: Rcode, )
src/zonetree/update.rs:1774
↓ 2 callers
Function
mk_ixfr_request_for_transport
( qname: impl ToName + Clone, serial: Serial, metadata: T, transport_specific: TransportSpecif
src/net/server/middleware/xfr/tests.rs:675
↓ 2 callers
Function
mk_nsec_rr
( owner: &str, next_name: &str, types: &str, )
src/dnssec/sign/test_util/mod.rs:95
↓ 2 callers
Function
mk_query
Create a mock DNS client request.
src/net/server/tests/unit.rs:359
↓ 2 callers
Function
mk_request
(qname: &str, qtype: Rtype)
src/zonetree/update.rs:1766
↓ 2 callers
Function
mk_request_msg
Make a query for the given RTYPE.
src/net/client/tsig.rs:921
↓ 2 callers
Function
mk_tsig_key
Make a TSIG key for signing test requests and responses with.
src/net/client/tsig.rs:932
↓ 2 callers
Function
mk_udp_ixfr_request
( qname: impl ToName + Clone, serial: Serial, metadata: T, )
src/net/server/middleware/xfr/tests.rs:662
↓ 2 callers
Method
mname
The primary name server for the zone.
src/rdata/rfc1035/soa.rs:69
↓ 2 callers
Method
name
Returns a reference to the name of this key.
src/tsig/mod.rs:240
↓ 2 callers
Method
native_len
Returns the native length of the signature from this key.
src/tsig/mod.rs:245
↓ 2 callers
Method
new_client
(&self, client_addr: Option<SocketAddr>)
src/stelline/channel.rs:225
↓ 2 callers
Method
next
(&mut self)
src/base/name/parsed.rs:592
↓ 2 callers
Function
next_word
Returns a reference to the next word or an error.
src/resolv/stub/conf.rs:662
↓ 2 callers
Function
no_more_words
Returns nothing but errors out if there are words left.
src/resolv/stub/conf.rs:672
↓ 2 callers
Method
nsec3_cache
Return a reference to the NSEC3 cache.
src/dnssec/validator/context.rs:1398
↓ 2 callers
Function
nsec3_for_nodata
Find an NSEC3 record for the target name that proves that no record that matches rtype exist. There is only one option: find an NSEC3 record that has
src/dnssec/validator/nsec.rs:411
↓ 2 callers
Function
nsec3_for_not_exists_no_ce
Prove that target does not exist using NSEC3 records. Assume that the closest encloser is already known and that we only have to check this specific n
src/dnssec/validator/nsec.rs:824
↓ 2 callers
Function
nsec3_label_to_hash
Convert a label to an NSEC3 hash value.
src/dnssec/validator/nsec.rs:1006
↓ 2 callers
Function
nsec_for_nodata
Find an NSEC record for the target name that proves that no record that matches rtype exist. We have two possibilities: we find an exact match for th
src/dnssec/validator/nsec.rs:41
↓ 2 callers
Method
num_connections
The number of current connections, if applicable. This will be zero for connection-less servers such as [`DgramServer`]. [`DgramServer`]: crate::net
src/net/server/metrics.rs:55
↓ 2 callers
Method
octet_0
Decodes the zeroth octet in a base 32 sequence.
src/utils/base32.rs:321
↓ 2 callers
Method
octet_1
Decodes the first octet in a base 32 sequence.
src/utils/base32.rs:327
↓ 2 callers
Method
octet_2
Decodes the second octet in a base 32 sequence.
src/utils/base32.rs:333
↓ 2 callers
Method
octet_3
Decodes the third octet in a base 32 sequence.
src/utils/base32.rs:339
↓ 2 callers
Method
op
(&self, rrset: &SharedRrset, at_zone_cut: bool)
src/zonetree/walk.rs:55
↓ 2 callers
Method
opt_mut
Returns a mutable reference to the OPT record. Adds one if necessary.
src/net/server/single_service.rs:76
↓ 2 callers
Method
options
(&self)
src/resolv/stub/mod.rs:102
↓ 2 callers
Method
other_time
Returns the other bytes as the server time. If the other bytes field is exactly 6 bytes long, this methods returns it as a `u64` representation of th
src/rdata/tsig.rs:231
↓ 2 callers
Method
parse
( parser: &mut Parser<'a, Src>, )
src/rdata/rfc1035/hinfo.rs:82
↓ 2 callers
Method
parse
Parses the configuration from a reader. The format is that of the `/etc/resolv.conf`` file.
src/resolv/stub/conf.rs:354
↓ 2 callers
Function
parse_bind_entry
Extract the next key-value pair in a BIND-format private key file.
src/crypto/sign.rs:706
↓ 2 callers
Function
parse_entry
(l: &mut Lines)
src/stelline/parse_stelline.rs:352
↓ 2 callers
Method
parse_into_any_record
Parses the remainder of the record. The method assumes that the parser is currently positioned right after the end of the record header.
src/base/record.rs:731
↓ 2 callers
Method
partial_cmp
( &self, other: &Ipseckey<OtherOcts, OtherName>, )
src/rdata/ipseckey.rs:406
↓ 2 callers
Method
peek_symbol
Returns the next symbol but doesn’t advance the buffer. Returns `None` if the current item is a line feed or end-of-file or if we have reached the en
src/zonefile/inplace.rs:1183
↓ 2 callers
Method
poll_recv
( &self, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/stelline/channel.rs:344
↓ 2 callers
Method
priority
(&self)
src/rdata/srv.rs:49
↓ 2 callers
Method
propagation1_complete
A report that the propagation of the first change has completed. The user reports that the changes have propagated and provides the required ttl valu
src/dnssec/sign/keys/keyset.rs:485
↓ 2 callers
Method
propagation2_complete
A report that the propagation of the second change has completed. The user reports that the changes have propagated and provides the required ttl val
src/dnssec/sign/keys/keyset.rs:532
↓ 2 callers
Function
push_soa
(builder: &mut TestAnswer)
tests/interop.rs:396
↓ 2 callers
Method
push_symbol
Pushes a symbol to the end of the domain name. The symbol is iterpreted as part of the presentation format of a domain name, i.e., an unescaped dot i
src/base/name/builder.rs:195
↓ 2 callers
Function
query
fetch_update will be try_update but our MSRV is too low for that.
examples/server-transports.rs:268
↓ 2 callers
Method
query_below_apex
( &self, label: &Label, qname: impl Iterator<Item = &'l Label> + Clone, qtype:
src/zonetree/in_memory/read.rs:45
↓ 2 callers
Method
query_children
( &self, children: &NodeChildren, label: &Label, qname: impl Iterator<Item = &
src/zonetree/in_memory/read.rs:243
↓ 2 callers
Method
query_node_here_but_not_below
( &self, node: &ZoneNode, qtype: Rtype, walk: WalkState, )
src/zonetree/in_memory/read.rs:150
↓ 2 callers
Method
range_from_unchecked
Returns the part of the name starting at a position without checking.
src/base/name/absolute.rs:607
↓ 2 callers
Method
rdlen
(&self, compress: bool)
src/base/rdata.rs:130
↓ 2 callers
Function
read_soa
( read: &Box<dyn ReadableZone>, qname: Name<Bytes>, )
src/net/server/middleware/xfr/util.rs:15
↓ 2 callers
Function
read_window
(data: &[u8])
src/rdata/dnssec.rs:2713
↓ 2 callers
Method
received_at
When was this message received?
src/net/server/message.rs:229
↓ 2 callers
Method
records
(&self)
src/dnssec/sign/records.rs:409
↓ 2 callers
Function
rel_name_rev_iter
Gets a reverse iterator to the relative part of a name. Can be used for example to get an iterator over the part of a name that is "under" a zone ape
src/zonetree/mod.rs:141
↓ 2 callers
Method
remove
(&mut self, version: Version)
src/zonetree/in_memory/nodes.rs:351
← previous
next →
801–900 of 3,926, ranked by callers