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
↓ 1 callers
Method
opt
Appends and builds an OPT record. The actual building of the record is handled by a closure that receives an [`OptBuilder`] which can both change the
src/base/message_builder.rs:1463
↓ 1 callers
Method
opt
Returns a reference to the raw options.
src/base/opt/mod.rs:646
↓ 1 callers
Method
opt_out_flag
(&self)
src/rdata/nsec3.rs:518
↓ 1 callers
Method
origin
The [origin] of the zone. [origin]: https://datatracker.ietf.org/doc/html/rfc9499#section-7-2.8
src/zonetree/parsed.rs:184
↓ 1 callers
Method
origin
Returns the origin name of the zonefile.
src/zonefile/inplace.rs:240
↓ 1 callers
Method
owner_rrs
(&self)
src/dnssec/sign/traits.rs:502
↓ 1 callers
Function
p
(slice: &[u8], pos: usize)
src/base/name/parsed.rs:1052
↓ 1 callers
Function
p
(txt: &str)
src/net/server/middleware/xfr/tests.rs:583
↓ 1 callers
Method
params
Returns the parameters.
src/rdata/svcb/rdata.rs:262
↓ 1 callers
Method
parent
Returns the parent name. Returns `None` if the name was empty.
src/base/name/relative.rs:569
↓ 1 callers
Method
parent
Returns the parent of the current name. If the name consists of the root label only, returns `None`.
src/base/name/absolute.rs:680
↓ 1 callers
Function
parent_wec
(mut name: ParsedName<&[u8]>)
src/base/name/parsed.rs:1003
↓ 1 callers
Method
parse
( parser: &mut Parser<'a, Src>, )
src/rdata/rfc1035/minfo.rs:96
↓ 1 callers
Function
parse_adjust
(tokens: SplitWhitespace<'_>)
src/stelline/parse_stelline.rs:618
↓ 1 callers
Function
parse_compressed_rdata
Build a DNS message with compression pointers inside rdata, parse through `AllRecordData`, recompose, and verify the names survived the round-trip. No
src/rdata/mod.rs:472
↓ 1 callers
Function
parse_config
Parse the configuration part of a `.rpl` file This consumes the iterator of lines until the `CONFIG END` token is found.
src/stelline/parse_stelline.rs:123
↓ 1 callers
Method
parse_domain
( &mut self, mut words: SplitWhitespace<'_>, )
src/resolv/stub/conf.rs:395
↓ 1 callers
Function
parse_escape
Parses the contents of an escape sequence from `chars`. The backslash should already have been taken out of `chars`.
src/base/name/builder.rs:488
↓ 1 callers
Method
parse_file
Parses the configuration from a file.
src/resolv/stub/conf.rs:343
↓ 1 callers
Function
parse_match
(tokens: SplitWhitespace<'_>)
src/stelline/parse_stelline.rs:573
↓ 1 callers
Method
parse_nameserver
( &mut self, mut words: SplitWhitespace<'_>, )
src/resolv/stub/conf.rs:383
↓ 1 callers
Method
parse_options
( &mut self, words: SplitWhitespace<'_>, )
src/resolv/stub/conf.rs:433
↓ 1 callers
Function
parse_range
( mut tokens: SplitWhitespace<'_>, l: &mut Lines, )
src/stelline/parse_stelline.rs:196
↓ 1 callers
Function
parse_reply
Parse the reply section
src/stelline/parse_stelline.rs:656
↓ 1 callers
Function
parse_scenario
( l: &mut Lines, )
src/stelline/parse_stelline.rs:145
↓ 1 callers
Method
parse_search
( &mut self, words: SplitWhitespace<'_>, )
src/resolv/stub/conf.rs:404
↓ 1 callers
Function
parse_section
( mut tokens: SplitWhitespace<'_>, l: &mut Lines, )
src/stelline/parse_stelline.rs:433
↓ 1 callers
Function
parse_server_config
(config: &Config)
src/net/client/validator_test.rs:71
↓ 1 callers
Function
parse_server_config
(config: &Config)
src/net/server/tests/integration.rs:452
↓ 1 callers
Function
parse_step
( mut tokens: SplitWhitespace<'_>, l: &mut Lines, )
src/stelline/parse_stelline.rs:237
↓ 1 callers
Method
poll_accept
( &self, cx: &mut Context<'_>, )
src/net/server/sock.rs:147
↓ 1 callers
Method
poll_recv
( &self, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/net/client/protocol.rs:195
↓ 1 callers
Method
poll_send
( &self, cx: &mut Context<'_>, buf: &[u8], )
src/net/client/protocol.rs:269
↓ 1 callers
Method
poll_send_to
( &self, cx: &mut Context<'_>, data: &[u8], dest: &SocketAddr, )
src/net/server/sock.rs:68
↓ 1 callers
Method
port_iter
Returns an iterator over socket addresses gained from the lookup. The socket addresses are gained by combining the IP addresses with `port`. The retu
src/resolv/lookup/host.rs:199
↓ 1 callers
Method
prefetch_cookie_response
( &self, request: &Request<RequestOctets, RequestMeta>, )
src/net/server/middleware/cookies.rs:256
↓ 1 callers
Function
prepare_for_insert
Prepare a value for inserting in the cache by clearing the AA flag if set.
src/net/client/cache.rs:1221
↓ 1 callers
Method
preprocess
( &self, request: &mut Request<RequestOctets, RequestMeta>, )
src/net/server/middleware/edns.rs:101
↓ 1 callers
Method
preprocess
( &self, msg: &Message<RequestOctets>, )
src/net/server/middleware/mandatory.rs:215
↓ 1 callers
Method
preprocess
( &self, request: &Request<RequestOctets, RequestMeta>, )
src/net/server/middleware/cookies.rs:275
↓ 1 callers
Method
preprocess
(&self, request: &Request<RequestOctets, ()>)
examples/server-transports.rs:486
↓ 1 callers
Method
process_char
( &mut self, ch: char, )
src/utils/base64.rs:343
↓ 1 callers
Method
process_char
( &mut self, ch: char, )
src/utils/base32.rs:404
↓ 1 callers
Function
process_dig_style_args
( args: env::Args, )
examples/query-zone.rs:136
↓ 1 callers
Method
process_feedback
/ Acts on [`ServiceFeedback`] received from the [`Service`]. Calls the trait impl'd [`Self::reconfigure()`] on [`ServiceFeedback::Reconfigure`]. Cal
src/net/server/invoker.rs:161
↓ 1 callers
Method
process_queued_result
Process a single queued response.
src/net/server/connection.rs:575
↓ 1 callers
Method
process_record
( &mut self, rec: ParsedRecord, )
src/net/xfr/protocol/interpreter.rs:285
↓ 1 callers
Method
process_response_stream_item
Processing a single response stream item. Calls [`Self::process_feedback()`] if necessary. Extracts any response for further processing by the caller
src/net/server/invoker.rs:129
↓ 1 callers
Method
process_symbol
( &mut self, symbol: Sym, )
src/utils/base64.rs:406
↓ 1 callers
Method
process_tail
(&mut self)
src/utils/base64.rs:420
↓ 1 callers
Method
public_key
(&self)
src/rdata/dnssec.rs:128
↓ 1 callers
Method
publish_new_zone_version
(&mut self)
src/zonetree/in_memory/write.rs:208
↓ 1 callers
Method
push
Decodes one more character of data. Returns an error as soon as the encoded data is determined to be illegal. It is okay to push more data after the
src/utils/base32.rs:293
↓ 1 callers
Method
push
Decodes one more character of data. Returns an error as soon as the encoded data is determined to be illegal. It is okay to push more data after the
src/utils/base16.rs:224
↓ 1 callers
Method
push_raw_option
Appends a raw option to the OPT record. The method will append an option with the given option code. The data of the option will be written via the c
src/base/message_builder.rs:1776
↓ 1 callers
Method
push_record
Adds a resource record to the RRset, limiting the TTL to that of the new record. See [`Self::limit_ttl`] and [`Self::push_data`].
src/zonetree/types.rs:172
↓ 1 callers
Method
push_ref
Push a resource record into the current response. Invokes [`Callbacks::batch_started()`] and [`Callbacks::record_pushed()`] if appropriate.
src/net/server/batcher.rs:239
↓ 1 callers
Method
push_tsig
Produces a TSIG record from this value and some more data.
src/tsig/mod.rs:1558
↓ 1 callers
Method
push_version
( &mut self, version: Version, marker: Arc<VersionMarker>, )
src/zonetree/in_memory/write.rs:980
↓ 1 callers
Method
query_async
Asynchronous variant of [`query`][ReadableZone::query].
src/zonetree/traits.rs:116
↓ 1 callers
Method
query_async
( &self, qname: Name<Bytes>, qtype: Rtype, )
examples/other/mysql-zone.rs:249
↓ 1 callers
Method
query_at_cut
(&self, cut: &ZoneCut, qtype: Rtype)
src/zonetree/in_memory/read.rs:222
↓ 1 callers
Method
query_message
( &self, message: QueryMessage, )
src/resolv/stub/mod.rs:130
↓ 1 callers
Method
query_node
( &self, node: &ZoneNode, mut qname: impl Iterator<Item = &'l Label> + Clone,
src/zonetree/in_memory/read.rs:55
↓ 1 callers
Method
query_node_here_and_below
( &self, node: &ZoneNode, label: &Label, qname: impl Iterator<Item = &'l Label
src/zonetree/in_memory/read.rs:79
↓ 1 callers
Method
raw_secret_key
The raw secret key.
src/dnssec/sign/keys/signingkey.rs:64
↓ 1 callers
Method
rcode
(&self)
src/base/message_builder.rs:1810
↓ 1 callers
Function
rdata_wire
Compose `rdata` through `StaticCompressor` with `example.com` in the question section as the compression target. Returns the raw rdata bytes from the
src/rdata/mod.rs:248
↓ 1 callers
Method
rdlen
(&self, _compress: bool)
src/rdata/ipseckey.rs:288
↓ 1 callers
Method
rdlen
(&self, _compress: bool)
src/rdata/rp.rs:207
↓ 1 callers
Function
rebuild_msg
Create a new DNS message based on the original message that fixes any TTL issues and leaves out duplicate records.
src/dnssec/validator/utilities.rs:377
↓ 1 callers
Method
reconfigure
Reconfigure the server while running.
src/net/server/dgram.rs:401
↓ 1 callers
Method
ref_octets
Returns an equivalent name for a reference to the contained octets.
src/base/name/parsed.rs:93
↓ 1 callers
Method
refresh
The time interval before the zone should be refreshed.
src/rdata/rfc1035/soa.rs:84
↓ 1 callers
Method
remove_all
Convenience method to mark all nodes in the tree as removed. Current readers will not be affected until [`commit()`][Self::commit] is called.
src/zonetree/update.rs:635
↓ 1 callers
Method
remove_all
(&self, version: Version)
src/zonetree/in_memory/nodes.rs:102
↓ 1 callers
Function
remove_dnssec
Return a new message without the DNSSEC type DNSKEY, RRSIG, NSEC, and NSEC3. Only RRSIG needs to be removed from the answer section unless the qtype i
src/net/client/validator.rs:493
↓ 1 callers
Function
remove_dnssec
Return a new message without the DNSSEC type RRSIG, NSEC, and NSEC3.
src/net/client/cache.rs:1082
↓ 1 callers
Method
remove_first_by_name_class_rtype
Remove first records matching the owner name, class, and rtype. Class and Rtype can be None to match any. Returns: - true: if a matching record was f
src/dnssec/sign/records.rs:152
↓ 1 callers
Method
remove_last_additional
Drops the last additional record from the message. Does so by decreasing the ’arcount.’ Does, however, not change the underlying octet sequence. # P
src/base/message.rs:602
↓ 1 callers
Method
removed
(&self)
src/zonetree/types.rs:501
↓ 1 callers
Method
reopen
Replaces the current root node write interface with a new one. Call [`commit()`][Self::commit] before calling this method.
src/zonetree/update.rs:613
↓ 1 callers
Method
request
( &self, req: &Request<Octs, Option<Arc<Key>>>, _diff_from: Option<Serial>
src/net/server/middleware/xfr/tests.rs:527
↓ 1 callers
Method
request_impl
Implementation of the query method.
src/net/client/load_balancer.rs:313
↓ 1 callers
Method
request_impl
Implementation of the query method.
src/net/client/redundant.rs:145
↓ 1 callers
Method
resolve
Resolves the target.
src/resolv/lookup/srv.rs:352
↓ 1 callers
Method
response
( &self, )
src/net/server/service.rs:352
↓ 1 callers
Method
response_queue_emptied
Act on the fact that the connection handler caught up with processing all queued responses. Per RFC 7766 this resets the idle timer.
src/net/server/connection.rs:1009
↓ 1 callers
Function
retry_time
Compute the retry timeout based on the number of retries so far. The computation is a random value (in microseconds) between zero and two to the powe
src/net/client/multi_stream.rs:716
↓ 1 callers
Function
reverse
(resolver: &StubResolver, addr: IpAddr)
examples/lookup.rs:31
↓ 1 callers
Method
rewind_into
Rewinds to an empty answer and returns the answer builder. This can be handy when having to return early in an error case.
src/base/message_builder.rs:928
↓ 1 callers
Method
rollback
(&self, version: Version)
src/zonetree/in_memory/nodes.rs:97
↓ 1 callers
Method
rollstates
Return the current active rolls and their states.
src/dnssec/sign/keys/keyset.rs:455
↓ 1 callers
Function
root_bytes
()
src/base/name/absolute.rs:1278
↓ 1 callers
Method
rr_count
(&self)
src/net/xfr/protocol/interpreter.rs:439
↓ 1 callers
Method
rtype
(&self)
src/rdata/tlsa.rs:183
↓ 1 callers
Method
rtype
(&self)
src/rdata/sshfp.rs:166
↓ 1 callers
Method
rtype
(&self)
src/rdata/ipseckey.rs:282
↓ 1 callers
Method
rtype
(&self)
src/rdata/zonemd.rs:189
↓ 1 callers
Method
rtype
(&self)
src/rdata/openpgpkey.rs:115
← previous
next →
1,401–1,500 of 3,926, ranked by callers