MCPcopy Create free account

hub / github.com/NLnetLabs/domain / functions

Functions3,926 in github.com/NLnetLabs/domain

↓ 1 callersMethodopt
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 callersMethodopt
Returns a reference to the raw options.
src/base/opt/mod.rs:646
↓ 1 callersMethodopt_out_flag
(&self)
src/rdata/nsec3.rs:518
↓ 1 callersMethodorigin
The [origin] of the zone. [origin]: https://datatracker.ietf.org/doc/html/rfc9499#section-7-2.8
src/zonetree/parsed.rs:184
↓ 1 callersMethodorigin
Returns the origin name of the zonefile.
src/zonefile/inplace.rs:240
↓ 1 callersMethodowner_rrs
(&self)
src/dnssec/sign/traits.rs:502
↓ 1 callersFunctionp
(slice: &[u8], pos: usize)
src/base/name/parsed.rs:1052
↓ 1 callersFunctionp
(txt: &str)
src/net/server/middleware/xfr/tests.rs:583
↓ 1 callersMethodparams
Returns the parameters.
src/rdata/svcb/rdata.rs:262
↓ 1 callersMethodparent
Returns the parent name. Returns `None` if the name was empty.
src/base/name/relative.rs:569
↓ 1 callersMethodparent
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 callersFunctionparent_wec
(mut name: ParsedName<&[u8]>)
src/base/name/parsed.rs:1003
↓ 1 callersMethodparse
( parser: &mut Parser<'a, Src>, )
src/rdata/rfc1035/minfo.rs:96
↓ 1 callersFunctionparse_adjust
(tokens: SplitWhitespace<'_>)
src/stelline/parse_stelline.rs:618
↓ 1 callersFunctionparse_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 callersFunctionparse_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 callersMethodparse_domain
( &mut self, mut words: SplitWhitespace<'_>, )
src/resolv/stub/conf.rs:395
↓ 1 callersFunctionparse_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 callersMethodparse_file
Parses the configuration from a file.
src/resolv/stub/conf.rs:343
↓ 1 callersFunctionparse_match
(tokens: SplitWhitespace<'_>)
src/stelline/parse_stelline.rs:573
↓ 1 callersMethodparse_nameserver
( &mut self, mut words: SplitWhitespace<'_>, )
src/resolv/stub/conf.rs:383
↓ 1 callersMethodparse_options
( &mut self, words: SplitWhitespace<'_>, )
src/resolv/stub/conf.rs:433
↓ 1 callersFunctionparse_range
( mut tokens: SplitWhitespace<'_>, l: &mut Lines, )
src/stelline/parse_stelline.rs:196
↓ 1 callersFunctionparse_reply
Parse the reply section
src/stelline/parse_stelline.rs:656
↓ 1 callersFunctionparse_scenario
( l: &mut Lines, )
src/stelline/parse_stelline.rs:145
↓ 1 callersMethodparse_search
( &mut self, words: SplitWhitespace<'_>, )
src/resolv/stub/conf.rs:404
↓ 1 callersFunctionparse_section
( mut tokens: SplitWhitespace<'_>, l: &mut Lines, )
src/stelline/parse_stelline.rs:433
↓ 1 callersFunctionparse_server_config
(config: &Config)
src/net/client/validator_test.rs:71
↓ 1 callersFunctionparse_server_config
(config: &Config)
src/net/server/tests/integration.rs:452
↓ 1 callersFunctionparse_step
( mut tokens: SplitWhitespace<'_>, l: &mut Lines, )
src/stelline/parse_stelline.rs:237
↓ 1 callersMethodpoll_accept
( &self, cx: &mut Context<'_>, )
src/net/server/sock.rs:147
↓ 1 callersMethodpoll_recv
( &self, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/net/client/protocol.rs:195
↓ 1 callersMethodpoll_send
( &self, cx: &mut Context<'_>, buf: &[u8], )
src/net/client/protocol.rs:269
↓ 1 callersMethodpoll_send_to
( &self, cx: &mut Context<'_>, data: &[u8], dest: &SocketAddr, )
src/net/server/sock.rs:68
↓ 1 callersMethodport_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 callersMethodprefetch_cookie_response
( &self, request: &Request<RequestOctets, RequestMeta>, )
src/net/server/middleware/cookies.rs:256
↓ 1 callersFunctionprepare_for_insert
Prepare a value for inserting in the cache by clearing the AA flag if set.
src/net/client/cache.rs:1221
↓ 1 callersMethodpreprocess
( &self, request: &mut Request<RequestOctets, RequestMeta>, )
src/net/server/middleware/edns.rs:101
↓ 1 callersMethodpreprocess
( &self, msg: &Message<RequestOctets>, )
src/net/server/middleware/mandatory.rs:215
↓ 1 callersMethodpreprocess
( &self, request: &Request<RequestOctets, RequestMeta>, )
src/net/server/middleware/cookies.rs:275
↓ 1 callersMethodpreprocess
(&self, request: &Request<RequestOctets, ()>)
examples/server-transports.rs:486
↓ 1 callersMethodprocess_char
( &mut self, ch: char, )
src/utils/base64.rs:343
↓ 1 callersMethodprocess_char
( &mut self, ch: char, )
src/utils/base32.rs:404
↓ 1 callersFunctionprocess_dig_style_args
( args: env::Args, )
examples/query-zone.rs:136
↓ 1 callersMethodprocess_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 callersMethodprocess_queued_result
Process a single queued response.
src/net/server/connection.rs:575
↓ 1 callersMethodprocess_record
( &mut self, rec: ParsedRecord, )
src/net/xfr/protocol/interpreter.rs:285
↓ 1 callersMethodprocess_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 callersMethodprocess_symbol
( &mut self, symbol: Sym, )
src/utils/base64.rs:406
↓ 1 callersMethodprocess_tail
(&mut self)
src/utils/base64.rs:420
↓ 1 callersMethodpublic_key
(&self)
src/rdata/dnssec.rs:128
↓ 1 callersMethodpublish_new_zone_version
(&mut self)
src/zonetree/in_memory/write.rs:208
↓ 1 callersMethodpush
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 callersMethodpush
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 callersMethodpush_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 callersMethodpush_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 callersMethodpush_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 callersMethodpush_tsig
Produces a TSIG record from this value and some more data.
src/tsig/mod.rs:1558
↓ 1 callersMethodpush_version
( &mut self, version: Version, marker: Arc<VersionMarker>, )
src/zonetree/in_memory/write.rs:980
↓ 1 callersMethodquery_async
Asynchronous variant of [`query`][ReadableZone::query].
src/zonetree/traits.rs:116
↓ 1 callersMethodquery_async
( &self, qname: Name<Bytes>, qtype: Rtype, )
examples/other/mysql-zone.rs:249
↓ 1 callersMethodquery_at_cut
(&self, cut: &ZoneCut, qtype: Rtype)
src/zonetree/in_memory/read.rs:222
↓ 1 callersMethodquery_message
( &self, message: QueryMessage, )
src/resolv/stub/mod.rs:130
↓ 1 callersMethodquery_node
( &self, node: &ZoneNode, mut qname: impl Iterator<Item = &'l Label> + Clone,
src/zonetree/in_memory/read.rs:55
↓ 1 callersMethodquery_node_here_and_below
( &self, node: &ZoneNode, label: &Label, qname: impl Iterator<Item = &'l Label
src/zonetree/in_memory/read.rs:79
↓ 1 callersMethodraw_secret_key
The raw secret key.
src/dnssec/sign/keys/signingkey.rs:64
↓ 1 callersMethodrcode
(&self)
src/base/message_builder.rs:1810
↓ 1 callersFunctionrdata_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 callersMethodrdlen
(&self, _compress: bool)
src/rdata/ipseckey.rs:288
↓ 1 callersMethodrdlen
(&self, _compress: bool)
src/rdata/rp.rs:207
↓ 1 callersFunctionrebuild_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 callersMethodreconfigure
Reconfigure the server while running.
src/net/server/dgram.rs:401
↓ 1 callersMethodref_octets
Returns an equivalent name for a reference to the contained octets.
src/base/name/parsed.rs:93
↓ 1 callersMethodrefresh
The time interval before the zone should be refreshed.
src/rdata/rfc1035/soa.rs:84
↓ 1 callersMethodremove_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 callersMethodremove_all
(&self, version: Version)
src/zonetree/in_memory/nodes.rs:102
↓ 1 callersFunctionremove_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 callersFunctionremove_dnssec
Return a new message without the DNSSEC type RRSIG, NSEC, and NSEC3.
src/net/client/cache.rs:1082
↓ 1 callersMethodremove_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 callersMethodremove_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 callersMethodremoved
(&self)
src/zonetree/types.rs:501
↓ 1 callersMethodreopen
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 callersMethodrequest
( &self, req: &Request<Octs, Option<Arc<Key>>>, _diff_from: Option<Serial>
src/net/server/middleware/xfr/tests.rs:527
↓ 1 callersMethodrequest_impl
Implementation of the query method.
src/net/client/load_balancer.rs:313
↓ 1 callersMethodrequest_impl
Implementation of the query method.
src/net/client/redundant.rs:145
↓ 1 callersMethodresolve
Resolves the target.
src/resolv/lookup/srv.rs:352
↓ 1 callersMethodresponse
( &self, )
src/net/server/service.rs:352
↓ 1 callersMethodresponse_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 callersFunctionretry_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 callersFunctionreverse
(resolver: &StubResolver, addr: IpAddr)
examples/lookup.rs:31
↓ 1 callersMethodrewind_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 callersMethodrollback
(&self, version: Version)
src/zonetree/in_memory/nodes.rs:97
↓ 1 callersMethodrollstates
Return the current active rolls and their states.
src/dnssec/sign/keys/keyset.rs:455
↓ 1 callersFunctionroot_bytes
()
src/base/name/absolute.rs:1278
↓ 1 callersMethodrr_count
(&self)
src/net/xfr/protocol/interpreter.rs:439
↓ 1 callersMethodrtype
(&self)
src/rdata/tlsa.rs:183
↓ 1 callersMethodrtype
(&self)
src/rdata/sshfp.rs:166
↓ 1 callersMethodrtype
(&self)
src/rdata/ipseckey.rs:282
↓ 1 callersMethodrtype
(&self)
src/rdata/zonemd.rs:189
↓ 1 callersMethodrtype
(&self)
src/rdata/openpgpkey.rs:115
← previousnext →1,401–1,500 of 3,926, ranked by callers