Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NLnetLabs/domain
/ functions
Functions
4,465 in github.com/NLnetLabs/domain
⨍
Functions
4,465
◇
Types & classes
838
↓ 17 callers
Method
qname
Returns a reference to the domain nmae in the question,
src/base/question.rs:77
↓ 17 callers
Method
rtype
The record data type.
src/new/rdata/mod.rs:535
↓ 16 callers
Method
extend_from_slice
Appends the given slice to the end of the buffer.
src/zonefile/inplace.rs:172
↓ 16 callers
Method
header_counts
Returns the header counts of the message.
src/base/message.rs:301
↓ 16 callers
Method
len
(&self)
src/base/name/label.rs:317
↓ 16 callers
Method
load
( read: &mut impl std::io::Read, )
src/zonefile/inplace.rs:129
↓ 16 callers
Method
set_rd
Sets the value of the [RD](Flags::rd) bit.
src/base/header.rs:238
↓ 15 callers
Method
as_mut
(&mut self)
src/rdata/aaaa.rs:177
↓ 15 callers
Method
as_ref
(&self)
src/base/message_builder.rs:542
↓ 15 callers
Method
find
Find the longest matching anchor.
src/dnssec/validator/anchor.rs:182
↓ 15 callers
Method
finish
Finishes the builder and returns TXT record data. If the builder is empty, appends an empty character string before returning. If that fails because
src/rdata/rfc1035/txt.rs:820
↓ 15 callers
Method
header
(&self)
src/base/header.rs:861
↓ 15 callers
Method
is_empty
(&self)
src/rdata/dnssec.rs:2170
↓ 15 callers
Method
iter_labels
(&self)
src/base/name/chain.rs:135
↓ 15 callers
Method
push
(&self, label: OwnedLabel)
src/zonetree/walk.rs:76
↓ 15 callers
Method
qclass
Returns the class of the question.
src/base/question.rs:87
↓ 15 callers
Method
to_name
Returns a domain name for this value.
src/tsig/mod.rs:1709
↓ 14 callers
Method
ancount
(self)
src/base/header.rs:615
↓ 14 callers
Method
append_label
Appends an octets slice as a complete label. If there currently is a label under construction, it will be ended before appending `label`. Returns an
src/base/name/builder.rs:258
↓ 14 callers
Function
display
Encodes binary data in *base64* and writes it into a format stream. This function is intended to be used in implementations of formatting traits: ``
src/utils/base64.rs:58
↓ 14 callers
Method
freeze
(self)
src/base/message_builder.rs:2151
↓ 14 callers
Method
id
(self)
src/base/header.rs:137
↓ 14 callers
Method
into_data
Trades the record for its record data.
src/base/record.rs:186
↓ 14 callers
Method
push
Appends a new option to the OPT data.
src/base/opt/mod.rs:234
↓ 14 callers
Method
push_data
Adds a resource record to the RRset. # Panics This function will panic if the provided record data is for a different type than the RRset.
src/zonetree/types.rs:158
↓ 14 callers
Method
qtype
Returns the query type of the first question, if any.
src/base/message.rs:482
↓ 14 callers
Method
rtype
Return the rtype of a group.
src/dnssec/validator/group.rs:285
↓ 14 callers
Method
scan_name
(&mut self)
src/base/scan.rs:972
↓ 14 callers
Method
sole_question
Returns the sole question of the message. This is like [`first_question`] but returns an error if there isn’t exactly one question or there is a pars
src/base/message.rs:470
↓ 14 callers
Method
write_comment
Write a comment This may be ignored.
src/base/zonefile_fmt.rs:310
↓ 13 callers
Method
as_wire
(&self)
src/new/base/name/label.rs:381
↓ 13 callers
Method
into_target
(self)
src/rdata/srv.rs:45
↓ 13 callers
Method
keys
Return the list of keys in the key set.
src/dnssec/sign/keys/keyset.rs:450
↓ 13 callers
Function
mk_empty_answer
( req: &Message<Bytes>, rcode: Rcode, )
src/net/xfr/protocol/tests.rs:577
↓ 13 callers
Function
mk_error_response
( msg: &Message<RequestOctets>, rcode: OptRcode, )
src/net/server/util.rs:193
↓ 13 callers
Function
mk_request
(qname: &str, qtype: Rtype)
src/net/xfr/protocol/tests.rs:569
↓ 13 callers
Method
next_entry
Returns the next entry in the zonefile. Returns `Ok(None)` if the end of the file has been reached. Returns an error if scanning the next entry faile
src/zonefile/inplace.rs:227
↓ 13 callers
Method
next_item
Prepares the next item. # Panics This method must only ever by called if the current item is not a token or if the current token has been read all t
src/zonefile/inplace.rs:1432
↓ 13 callers
Method
qdcount
(self)
src/base/header.rs:576
↓ 13 callers
Method
set_id
Sets the value of the ID field.
src/base/header.rs:142
↓ 13 callers
Method
ttl
Gets the TTL of this resource record.
src/zonetree/types.rs:62
↓ 12 callers
Function
add_answer_record
( req: &Message<O>, answer: &mut AnswerBuilder<BytesMut>, item: T, )
src/net/xfr/protocol/tests.rs:585
↓ 12 callers
Method
compose
Writes the tag into `target` using the standard length-prefixed wire format built from the ASCII characters of the tag.
src/rdata/caa.rs:437
↓ 12 callers
Method
compose
( self, target: &mut Target, )
src/base/opt/mod.rs:523
↓ 12 callers
Method
contains
(&self, rtype: Rtype)
src/rdata/dnssec.rs:2136
↓ 12 callers
Method
entry
(&mut self, name: StoredName)
src/zonetree/parsed.rs:377
↓ 12 callers
Method
flatten
( self, )
src/rdata/rp.rs:76
↓ 12 callers
Method
interpret_response
Process a single AXFR/IXFR response message. Returns an [`XfrZoneUpdateIterator`] over [`ZoneUpdate`]s emitted during processing. Call this function
src/net/xfr/protocol/interpreter.rs:71
↓ 12 callers
Method
into_octets
(self)
src/rdata/tsig.rs:704
↓ 12 callers
Method
iter
Returns an iterator over the labels of the domain name.
src/base/name/absolute.rs:407
↓ 12 callers
Method
question
Converts the message builder into a question builder.
src/base/message_builder.rs:383
↓ 12 callers
Method
rrsets
Returns the RRsets of this node.
src/zonetree/in_memory/nodes.rs:81
↓ 12 callers
Method
rtype
(&self)
src/dnssec/sign/records.rs:489
↓ 12 callers
Method
signer_name
Return the name of the secure zone that contains the group.
src/dnssec/validator/group.rs:962
↓ 12 callers
Method
update
Add input to the digest computation.
src/crypto/ring.rs:115
↓ 12 callers
Method
write
Gets a write interface to this zone.
src/zonetree/zone.rs:85
↓ 11 callers
Method
answer
Returns the answer section. Iterates over the question section in order to access the answer section. If you are accessing the question section anywa
src/base/message.rs:343
↓ 11 callers
Method
apex_name
Gets the apex name of this zone.
src/zonetree/zone.rs:75
↓ 11 callers
Method
as_ref
(&self)
src/new/base/record.rs:827
↓ 11 callers
Method
as_ref
(&self)
src/rdata/nsec3.rs:1045
↓ 11 callers
Method
as_ref
(&self)
src/rdata/rfc1035/null.rs:261
↓ 11 callers
Method
as_ref
(&self)
src/base/opt/algsig.rs:257
↓ 11 callers
Method
as_slice
Returns a slice of the underlying octets sequence.
src/rdata/svcb/params.rs:338
↓ 11 callers
Method
as_slice
(&self)
src/base/name/label.rs:214
↓ 11 callers
Method
clone
Clones only the server half, the client half cannot be cloned. The result can be used to connect a new client to an existing server.
src/stelline/channel.rs:198
↓ 11 callers
Method
count
Returns the correct record count for this section.
src/base/message.rs:897
↓ 11 callers
Function
decode
Decodes a string with *base64* encoded data. The function attempts to decode the entire string and returns the result as a `Octets` value.
src/utils/base64.rs:29
↓ 11 callers
Method
finish
Finishes building the name and returns the resulting relative name. If there currently is a label being built, ends the label first before returning
src/base/name/builder.rs:418
↓ 11 callers
Method
finish
(&mut self)
src/net/server/batcher.rs:303
↓ 11 callers
Method
first
Returns the first option of a given type if present. If trying to parse this first option fails, returns `None` as well.
src/base/opt/mod.rs:223
↓ 11 callers
Method
fmt_with_dot
Returns an object that displays an absolute name with a final dot. The chain itself displays without a final dot unless the chain results in an absol
src/base/name/chain.rs:114
↓ 11 callers
Function
from_slice
()
src/base/name/relative.rs:1175
↓ 11 callers
Method
get
(&self, i: usize)
src/dnssec/sign/records.rs:721
↓ 11 callers
Method
get_response
Get the result of a DNS request. This function is cancellation safe. If its future is dropped before it is resolved, you can call it again to get a n
src/net/client/multi_stream.rs:302
↓ 11 callers
Method
is_root
(&self)
src/base/name/label.rs:329
↓ 11 callers
Method
iter
(&self)
src/zonetree/in_memory/nodes.rs:297
↓ 11 callers
Method
key
Returns a reference to the transaction’s key.
src/tsig/mod.rs:622
↓ 11 callers
Method
key_tag
Return the key tag.
src/dnssec/sign/keys/keyset.rs:1189
↓ 11 callers
Function
mk_soa
(serial: Serial)
src/net/xfr/protocol/tests.rs:613
↓ 11 callers
Function
parse_file
Parse a `.rpl` file into a [`Stelline`] configuration
src/stelline/parse_stelline.rs:107
↓ 11 callers
Method
push
( &mut self, push: Push, inc: Inc, )
src/base/message_builder.rs:461
↓ 11 callers
Method
push
(&mut self, name: SearchSuffix)
src/resolv/stub/conf.rs:608
↓ 11 callers
Method
to_int
(self)
src/base/iana/rcode.rs:192
↓ 10 callers
Method
add
(&mut self, rtype: Rtype)
src/rdata/dnssec.rs:2487
↓ 10 callers
Method
algorithm
Return the public key algorithm.
src/dnssec/sign/keys/keyset.rs:1184
↓ 10 callers
Method
answer
Converts the message builder into an answer builder. This will leave the question section empty.
src/base/message_builder.rs:390
↓ 10 callers
Method
arcount
(self)
src/base/header.rs:693
↓ 10 callers
Method
as_builder
Returns a reference to the underlying message builder.
src/base/message_builder.rs:692
↓ 10 callers
Method
as_bytes
A byte representation of the [`Name`].
src/new/base/name/absolute.rs:95
↓ 10 callers
Method
as_message
Returns a message atop for the octets assembled so far. This message is atop the octets slices derived from the builder, so it can be created cheaply
src/base/message_builder.rs:452
↓ 10 callers
Method
as_ref
(&self)
src/base/name/label.rs:352
↓ 10 callers
Method
as_ref
(&self)
src/resolv/lookup/srv.rs:349
↓ 10 callers
Method
build_lowercased_bytes
Serialize a domain name with lowercased labels. This is subtly different from [`BuildBytes`]; it requires all the characters in the domain name to be
src/new/base/name/mod.rs:133
↓ 10 callers
Function
create_record
(data: Data)
src/base/zonefile_fmt.rs:328
↓ 10 callers
Function
do_client_simple
This function handles the client part of a Stelline script. If works only with SendRequest and is use to test the various client transport implementat
src/stelline/client.rs:118
↓ 10 callers
Function
encode_display
Returns a placeholder value that implements `Display` for encoded data.
src/utils/base64.rs:102
↓ 10 callers
Function
from_slice
()
src/base/name/label.rs:889
↓ 10 callers
Function
from_slice
()
src/base/name/absolute.rs:1284
↓ 10 callers
Function
generate_nsec3s
Generate RFC5155 NSEC3 and NSEC3PARAM records for this record set. This function enforces [RFC 9077] when it says that the "TTL of the NSEC(3) RR tha
src/dnssec/sign/denial/nsec3.rs:149
↓ 10 callers
Method
into_octet
Converts the symbol into an octet if it represents one. Both domain names and character strings operate on bytes instead of (Unicode) characters. The
src/base/scan.rs:644
← previous
next →
101–200 of 4,465, ranked by callers