MCPcopy Create free account

hub / github.com/NLnetLabs/domain / functions

Functions4,465 in github.com/NLnetLabs/domain

↓ 2 callersMethodkind
Returns information about when the query has failed.
src/net/client/dgram.rs:433
↓ 2 callersMethodlabels
The labels in the [`Name`].
src/new/base/name/absolute.rs:100
↓ 2 callersMethodlen
(&self)
src/rdata/rfc1035/null.rs:110
↓ 2 callersMethodlimit_to
( self, )
src/base/message.rs:993
↓ 2 callersMethodlookup_host
( &self, qname: impl ToName, )
src/resolv/stub/mod.rs:237
↓ 2 callersMethodmake_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 callersFunctionmake_member
Construct a [`Member`] from a field and index.
macros/src/data.rs:88
↓ 2 callersFunctionmap_dname
Apply a DNAME to a target name.
src/dnssec/validator/utilities.rs:151
↓ 2 callersFunctionmap_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 callersMethodmatch_answer
Match the specified answer
src/stelline/matches.rs:283
↓ 2 callersMethodmatch_msg
( &self, msg: &Message<Octs>, )
src/stelline/matches.rs:48
↓ 2 callersMethodmetadata
Get the user defined metadata associated with this request.
src/net/server/message.rs:277
↓ 2 callersFunctionmk_answer
Helper fn to create a dummy response to send back to the client
examples/server-transports.rs:52
↓ 2 callersFunctionmk_axfr_request_for_transport
( qname: impl ToName, metadata: T, transport_specific: TransportSpecificContext, )
src/net/server/middleware/xfr/tests.rs:634
↓ 2 callersFunctionmk_empty_answer
( req: &Message<Bytes>, rcode: Rcode, )
src/zonetree/update.rs:1281
↓ 2 callersFunctionmk_ixfr_request_for_transport
( qname: impl ToName + Clone, serial: Serial, metadata: T, transport_specific: TransportSpecif
src/net/server/middleware/xfr/tests.rs:675
↓ 2 callersFunctionmk_nsec_rr
( owner: &str, next_name: &str, types: &str, )
src/dnssec/sign/test_util/mod.rs:95
↓ 2 callersFunctionmk_query
Create a mock DNS client request.
src/net/server/tests/unit.rs:359
↓ 2 callersFunctionmk_request
(qname: &str, qtype: Rtype)
src/zonetree/update.rs:1273
↓ 2 callersFunctionmk_request_msg
Make a query for the given RTYPE.
src/net/client/tsig.rs:921
↓ 2 callersFunctionmk_tsig_key
Make a TSIG key for signing test requests and responses with.
src/net/client/tsig.rs:932
↓ 2 callersFunctionmk_udp_ixfr_request
( qname: impl ToName + Clone, serial: Serial, metadata: T, )
src/net/server/middleware/xfr/tests.rs:662
↓ 2 callersMethodmname
The primary name server for the zone.
src/rdata/rfc1035/soa.rs:69
↓ 2 callersMethodname
Returns a reference to the name of this key.
src/tsig/mod.rs:249
↓ 2 callersMethodnative_len
Returns the native length of the signature from this key.
src/tsig/mod.rs:254
↓ 2 callersMethodnew_client
(&self, client_addr: Option<SocketAddr>)
src/stelline/channel.rs:225
↓ 2 callersMethodnew_lifetime
Generate a unique lifetime with the given prefix.
macros/src/impls.rs:191
↓ 2 callersMethodnext
(&mut self)
src/base/name/parsed.rs:585
↓ 2 callersFunctionnext_word
Returns a reference to the next word or an error.
src/resolv/stub/conf.rs:662
↓ 2 callersFunctionno_more_words
Returns nothing but errors out if there are words left.
src/resolv/stub/conf.rs:672
↓ 2 callersMethodnsec3_cache
Return a reference to the NSEC3 cache.
src/dnssec/validator/context.rs:1333
↓ 2 callersFunctionnsec3_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 callersFunctionnsec3_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:811
↓ 2 callersFunctionnsec3_label_to_hash
Convert a label to an NSEC3 hash value.
src/dnssec/validator/nsec.rs:993
↓ 2 callersFunctionnsec_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 callersMethodnum_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 callersMethodoctet_0
Decodes the zeroth octet in a base 32 sequence.
src/utils/base32.rs:321
↓ 2 callersMethodoctet_1
Decodes the first octet in a base 32 sequence.
src/utils/base32.rs:327
↓ 2 callersMethodoctet_2
Decodes the second octet in a base 32 sequence.
src/utils/base32.rs:333
↓ 2 callersMethodoctet_3
Decodes the third octet in a base 32 sequence.
src/utils/base32.rs:339
↓ 2 callersMethodop
(&self, rrset: &SharedRrset, at_zone_cut: bool)
src/zonetree/walk.rs:55
↓ 2 callersMethodopt_mut
Returns a mutable reference to the OPT record. Adds one if necessary.
src/net/server/single_service.rs:76
↓ 2 callersMethodoptions
(&self)
src/resolv/stub/mod.rs:102
↓ 2 callersMethodother_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 callersMethodparse
( parser: &mut Parser<'a, Src>, )
src/rdata/rfc1035/hinfo.rs:82
↓ 2 callersMethodparse
Parses the configuration from a reader. The format is that of the `/etc/resolv.conf`` file.
src/resolv/stub/conf.rs:354
↓ 2 callersFunctionparse_bind_entry
Extract the next key-value pair in a BIND-format private key file.
src/crypto/sign.rs:706
↓ 2 callersFunctionparse_entry
(l: &mut Lines)
src/stelline/parse_stelline.rs:352
↓ 2 callersMethodparse_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 callersFunctionparse_segment
Parse an encoded and potentially-compressed domain name, without following any compression pointer.
src/new/base/name/absolute.rs:494
↓ 2 callersMethodpartial_cmp
( &self, other: &Ipseckey<OtherOcts, OtherName>, )
src/rdata/ipseckey.rs:354
↓ 2 callersMethodpeek_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:1184
↓ 2 callersMethodpoll_recv
( &self, cx: &mut Context<'_>, buf: &mut ReadBuf<'_>, )
src/stelline/channel.rs:344
↓ 2 callersMethodpriority
(&self)
src/rdata/srv.rs:49
↓ 2 callersMethodpropagation1_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 callersMethodpropagation2_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 callersMethodpush
Append a single byte to the label. The length octet will be adjusted automatically. Also see [`Self::append()`]. ``` # use domain::new::base::name:
src/new/base/name/label.rs:840
↓ 2 callersFunctionpush_soa
(builder: &mut TestAnswer)
tests/interop.rs:396
↓ 2 callersMethodpush_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 callersFunctionquery
fetch_update will be try_update but our MSRV is too low for that.
examples/server-transports.rs:268
↓ 2 callersMethodquery_below_apex
( &self, label: &Label, qname: impl Iterator<Item = &'l Label> + Clone, qtype:
src/zonetree/in_memory/read.rs:45
↓ 2 callersMethodquery_children
( &self, children: &NodeChildren, label: &Label, qname: impl Iterator<Item = &
src/zonetree/in_memory/read.rs:243
↓ 2 callersMethodquery_node_here_but_not_below
( &self, node: &ZoneNode, qtype: Rtype, walk: WalkState, )
src/zonetree/in_memory/read.rs:150
↓ 2 callersMethodrange_from_unchecked
Returns the part of the name starting at a position without checking.
src/base/name/absolute.rs:607
↓ 2 callersMethodrdlen
(&self, compress: bool)
src/base/rdata.rs:130
↓ 2 callersFunctionread_soa
( read: &Box<dyn ReadableZone>, qname: Name<Bytes>, )
src/net/server/middleware/xfr/util.rs:15
↓ 2 callersFunctionread_window
(data: &[u8])
src/rdata/dnssec.rs:2706
↓ 2 callersMethodreceived_at
When was this message received?
src/net/server/message.rs:229
↓ 2 callersMethodrecords
(&self)
src/dnssec/sign/records.rs:403
↓ 2 callersFunctionrel_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 callersMethodremove
(&mut self, version: Version)
src/zonetree/in_memory/nodes.rs:335
↓ 2 callersFunctionremove_edns_opt_record
Removes any OPT records present in the response.
src/net/server/util.rs:301
↓ 2 callersMethodremove_rrset
(&self, rtype: Rtype)
src/zonetree/in_memory/write.rs:564
↓ 2 callersMethodremove_rtype
Removes the RRset for the given type.
src/zonetree/in_memory/nodes.rs:275
↓ 2 callersFunctionrequest_as_groups
Issue a DNS request for DS or DNSKEY records and return the result as two group sets (one for the answer section and one for the authority section and
src/dnssec/validator/context.rs:2200
↓ 2 callersMethodrequest_axfr
( mut self, apex: N, )
src/base/message_builder.rs:298
↓ 2 callersMethodrequire_line_feed
Requires that we have reached a line feed.
src/zonefile/inplace.rs:1172
↓ 2 callersMethodreserve_bytes
Request that an additional number of bytes be reserved in the response to this message.
src/net/server/message.rs:250
↓ 2 callersMethodreset_idle_timer
Reset the idle timer to now.
src/net/server/connection.rs:987
↓ 2 callersMethodresponse_with_cookie
Create a DNS response message for the given request, including cookie.
src/net/server/middleware/cookies.rs:191
↓ 2 callersMethodretry
The time before a failed refresh is retried.
src/rdata/rfc1035/soa.rs:89
↓ 2 callersMethodrname
The mailbox for the person responsible for this zone.
src/rdata/rfc1035/soa.rs:74
↓ 2 callersMethodroll_done
The user reports that all actions have been performed and that the key roll is now complete.
src/dnssec/sign/keys/keyset.rs:573
↓ 2 callersFunctionrp_zonefile_parse_expect
A helper function that takes a single resource record in zonefile format as input for the Zonefile parser, and compares it to the expected rdata octet
src/rdata/rp.rs:330
↓ 2 callersMethodrrsig_label_count
Returns the number of labels for the RRSIG Labels field. This is the actual number of labels without counting the root label or a possible initial as
src/base/name/traits.rs:342
↓ 2 callersFunctionrsa_encode
Encode the RSA exponent and modulus components in DNSKEY record data format. Leading zeroes will be ignored per RFC 3110 section 2.
src/crypto/common.rs:256
↓ 2 callersFunctionrsa_exponent_modulus
Return the RSA exponent and modulus components from DNSKEY record data.
src/crypto/common.rs:209
↓ 2 callersFunctionrun
( mut fut_list_tcp: FuturesUnordered<TcpFut>, mut fut_list_udp_tcp: FuturesUnordered<UdpTcpFut>, )
src/resolv/stub/mod.rs:208
↓ 2 callersMethodsalt_len
(&self)
src/rdata/nsec3.rs:879
↓ 2 callersMethodsaturating_add
(self, rhs: Ttl)
src/base/record.rs:1355
↓ 2 callersMethodsaturating_sub
(self, rhs: Ttl)
src/base/record.rs:1398
↓ 2 callersMethodsave
Writes the configuration to a file.
tests/common/nsd.rs:61
↓ 2 callersMethodscan_octets
(&mut self)
src/zonefile/inplace.rs:639
↓ 2 callersMethodscan_symbols
(&mut self, mut op: F)
src/base/scan.rs:877
↓ 2 callersMethodsend_response
Send a response from the [`Service`] impl to the client.
src/net/server/dgram.rs:675
↓ 2 callersMethodset_flag
Set the specified flag bit.
src/new/rdata/dnssec/dnskey.rs:147
↓ 2 callersMethodset_max_parallel
Sets the maximum number of parallel requests. Once this many number of requests are currently outstanding, additional requests will wait. If this va
src/net/client/dgram.rs:91
↓ 2 callersMethodset_opcode
Set the OPCODE field.
src/new/base/message.rs:300
↓ 2 callersMethodset_push_limit
Limit how much of the underlying buffer may be used. When a limit is set, calling `push()` on a message section (e.g. [`AdditionalBuilder::push()`])
src/base/message_builder.rs:323
↓ 2 callersMethodset_read_timeout
Sets the read timeout. The read timeout is the maximum amount of time to wait for any response after a request was sent. If this value is too small
src/net/client/dgram.rs:106
← previousnext →901–1,000 of 4,465, ranked by callers