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
↓ 4 callers
Method
max_response_size_hint
Optional maximum response size hint. `None` if the server had no specific configuration regarding maximum allowed response size, `Some(n)` otherwise
src/net/server/message.rs:59
↓ 4 callers
Method
members
The names of the fields of this 'struct'.
macros/src/data.rs:55
↓ 4 callers
Method
minimum
The minimum TTL to be exported with any RR from this zone.
src/rdata/rfc1035/soa.rs:99
↓ 4 callers
Function
mk_dummy_rr
(text: &[u8])
src/net/server/batcher.rs:404
↓ 4 callers
Function
mk_soa
(serial: Serial)
src/zonetree/update.rs:1266
↓ 4 callers
Function
n
(name: &str)
src/net/server/middleware/xfr/tests.rs:579
↓ 4 callers
Method
next
(&mut self)
src/dnssec/sign/records.rs:586
↓ 4 callers
Method
next
(&mut self)
src/new/base/name/label.rs:1441
↓ 4 callers
Method
next_name
(&self)
src/rdata/dnssec.rs:1450
↓ 4 callers
Method
octets_builder
(&mut self)
src/base/scan.rs:1032
↓ 4 callers
Method
opcode
(self)
src/base/header.rs:170
↓ 4 callers
Method
opt_header
Returns a reference to the full OPT header.
src/base/message_builder.rs:1793
↓ 4 callers
Method
opt_header_mut
Returns a mutual reference to the full OPT header.
src/base/message_builder.rs:1798
↓ 4 callers
Method
original_ttl
(&self)
src/rdata/dnssec.rs:950
↓ 4 callers
Method
owner
Get the RR owner name for the error, if any.
src/zonetree/error.rs:111
↓ 4 callers
Method
parse
( parser: &mut Parser<'_, Octs>, )
src/base/header.rs:885
↓ 4 callers
Function
parse_slice
(data: &[u8], op: F)
src/base/wire.rs:271
↓ 4 callers
Method
parser
Returns a correctly positioned parser.
src/base/name/parsed.rs:83
↓ 4 callers
Method
prepare_name
( &self, qname: &'l impl ToName, )
src/zonetree/in_memory/nodes.rs:73
↓ 4 callers
Method
process_symbol
( &mut self, symbol: Sym, )
src/rdata/nsec3.rs:947
↓ 4 callers
Method
process_tail
(&mut self)
src/rdata/nsec3.rs:976
↓ 4 callers
Method
ptr_with_addr
(&self, addr: *const ())
src/utils/dst.rs:244
↓ 4 callers
Method
query
( &self, question: Q, )
src/resolv/stub/mod.rs:121
↓ 4 callers
Method
query
( &self, _qname: Name<Bytes>, _qtype: Rtype, )
examples/other/mysql-zone.rs:327
↓ 4 callers
Method
query_rrsets
( &self, rrsets: &NodeRrsets, qtype: Rtype, walk: WalkState, )
src/zonetree/in_memory/read.rs:164
↓ 4 callers
Method
range
Returns a part of the name indicated by start and end positions. The returned name will start at position `begin` and end right before position `end`
src/base/name/relative.rs:496
↓ 4 callers
Method
rd
The RD bit.
src/new/base/message.rs:328
↓ 4 callers
Method
recv
Receive a single DNS message. # Cancel safety This function is NOT cancel safe.
src/net/server/connection.rs:840
↓ 4 callers
Function
remove_tsig
(original_id: u16, message: &mut Message<Octs>)
src/tsig/mod.rs:1759
↓ 4 callers
Method
root
(&self)
src/zonetree/update.rs:616
↓ 4 callers
Function
root_pubkey
Returns current root KSK/ZSK for testing (2048b)
src/dnssec/validator/base.rs:348
↓ 4 callers
Method
rr_iter
Return an iterator over the RRset in a group.
src/dnssec/validator/group.rs:300
↓ 4 callers
Method
scan_charstr
(&mut self)
src/base/scan.rs:981
↓ 4 callers
Method
set_cd
Sets the value of the [CD](Flags::cd) bit.
src/base/header.rs:284
↓ 4 callers
Method
set_dnssec_ok
Indicate support for DNSSEC to the server. See [RFC 3225](https://datatracker.ietf.org/doc/html/rfc3225).
src/new/edns/mod.rs:339
↓ 4 callers
Method
set_random_id
(&mut self)
src/base/header.rs:148
↓ 4 callers
Method
set_tc
Set the TC bit.
src/new/base/message.rs:323
↓ 4 callers
Method
set_u16
Sets the value of the 16 bit integer starting at a given offset.
src/base/header.rs:793
↓ 4 callers
Method
set_udp_payload_size
Sets the UDP payload size value.
src/base/opt/mod.rs:467
↓ 4 callers
Method
shutdown
Stop the server. In-flight requests will continue being processed but no new messages will be accepted. Pending responses will be written as long as
src/net/server/dgram.rs:420
↓ 4 callers
Function
sign_rrset
Generate `RRSIG` records for a given RRset. See [`sign_sorted_rrset_in()`]. If signing multiple RRsets, calling [`sign_sorted_rrset_in()`] directly
src/dnssec/sign/signatures/rrsigs.rs:229
↓ 4 callers
Method
signer
Return whether the key is a signer, i.e. signs the DNSKEY RRset or the zone.
src/dnssec/sign/keys/keyset.rs:1264
↓ 4 callers
Method
signing_context
Creates a signing context for this key.
src/tsig/mod.rs:230
↓ 4 callers
Function
skip
(name: ParsedName<&[u8]>, len: usize)
src/base/name/parsed.rs:1038
↓ 4 callers
Method
sort_by
(records: &mut Vec<Record<N, D>>, compare: F)
src/dnssec/sign/records.rs:52
↓ 4 callers
Method
split_first
Split the first label from the name.
src/new/base/name/unparsed.rs:109
↓ 4 callers
Method
start
Returns a reference to the start point. The start point is the name furthest along the chain to which the requester already has all necessary records
src/base/opt/chain.rs:62
↓ 4 callers
Method
target
(&self)
src/rdata/srv.rs:61
↓ 4 callers
Method
tc
The TC bit.
src/new/base/message.rs:318
↓ 4 callers
Method
text_slice
Returns the text as an octets slice.
src/base/opt/exterr.rs:137
↓ 4 callers
Method
to_owned
(&self)
src/base/name/label.rs:369
↓ 4 callers
Function
to_pcap_text
Create a string of hex encoded bytes representing the given byte sequence. The created string is compatible with the Wireshark text2pcap tool and the
src/net/server/util.rs:170
↓ 4 callers
Method
truncate
Truncate the contents of this message to the given size. The returned value will have a `contents` field of the given size.
src/new/base/message.rs:67
↓ 4 callers
Method
try_flatten_into
(self)
src/rdata/rp.rs:128
↓ 4 callers
Method
try_to_name
Converts the name into a single, uncompressed name. The default implementation provided by the trait iterates over the labels of the name and adds th
src/base/name/traits.rs:116
↓ 4 callers
Method
ttl
(&self)
src/dnssec/sign/records.rs:496
↓ 4 callers
Method
type_covered
(&self)
src/rdata/dnssec.rs:938
↓ 4 callers
Method
types
The types in this bitmap.
src/new/rdata/dnssec/nsec.rs:92
↓ 4 callers
Method
unique_key_tag
(&self, key_tag: u16)
src/dnssec/sign/keys/keyset.rs:412
↓ 4 callers
Method
update_rrset
(&self, new_rrset: SharedRrset)
src/zonetree/in_memory/write.rs:446
↓ 4 callers
Method
validate_with_node
Try to validate the signature using a node. A successfull result contists of 1) The validation state. 2) optionally the name of the closest encloser
src/dnssec/validator/group.rs:415
↓ 4 callers
Method
variables
(&self)
src/tsig/mod.rs:1510
↓ 4 callers
Method
walk
( &self, walk: WalkState, op: impl Fn(WalkState, (&OwnedLabel, &Arc<ZoneNode>)), )
src/zonetree/in_memory/nodes.rs:402
↓ 4 callers
Method
with_special
( &self, version: Version, op: impl FnOnce(Option<&Special>) -> R, )
src/zonetree/in_memory/nodes.rs:199
↓ 3 callers
Method
_append_slice
Attempts to append a slice to the underlying builder. This method doesn’t perform any checks but only does the necessary error conversion.
src/base/name/builder.rs:164
↓ 3 callers
Method
aa
(self)
src/base/header.rs:211
↓ 3 callers
Method
ad
(self)
src/base/header.rs:268
↓ 3 callers
Method
add
Add a record to an anchor.
src/dnssec/validator/anchor.rs:57
↓ 3 callers
Method
add
Add a transport connection.
src/net/client/redundant.rs:132
↓ 3 callers
Method
add_opt
( &mut self, opt: &impl crate::base::opt::ComposeOptData, )
src/net/client/tsig.rs:629
↓ 3 callers
Method
add_opt
( &mut self, opt: &impl ComposeOptData, )
src/net/server/single_service.rs:114
↓ 3 callers
Function
add_to_stream
( call_result: T, response_tx: &UnboundedSender<ServiceResult<Target>>, )
src/net/server/middleware/xfr/util.rs:27
↓ 3 callers
Method
additional
Converts the message builder into an additional builder. This will leave the question, answer, and authority sections empty.
src/base/message_builder.rs:404
↓ 3 callers
Method
addr
(&self)
src/rdata/aaaa.rs:41
↓ 3 callers
Method
algorithm
(&self)
src/crypto/openssl.rs:708
↓ 3 callers
Method
algorithm
(&self)
src/dnssec/sign/signatures/rrsigs.rs:1223
↓ 3 callers
Method
append
Append bytes to the label. The length octet will be adjusted automatically. ``` # use domain::new::base::name::LabelBuf; # let mut buffer = LabelBuf
src/new/base/name/label.rs:787
↓ 3 callers
Method
append_chars
Appends a name from a sequence of characters. If there currently is a label under construction, it will be ended before appending `chars`. The chara
src/base/name/builder.rs:397
↓ 3 callers
Method
append_data
Appends output data. If the data fits into the portion of the buffer before the current read positiion, puts it there. Otherwise creates a new builde
src/zonefile/inplace.rs:945
↓ 3 callers
Method
append_slice
( &mut self, slice: &[u8], )
src/base/message_builder.rs:1933
↓ 3 callers
Method
as_bytes
Interpret this value as a sequence of bytes. ## Invariants For the statement `let bytes = this.as_bytes();`, - `bytes.as_ptr() as usize == this as
src/new/base/wire/build.rs:203
↓ 3 callers
Method
as_label_mut
Returns a mutable reference to the label.
src/base/name/label.rs:518
↓ 3 callers
Method
as_mut
(&mut self)
src/base/charstr.rs:464
↓ 3 callers
Method
as_ref
(&self)
src/crypto/openssl.rs:151
↓ 3 callers
Method
as_ref
(&self)
src/base/opt/exterr.rs:386
↓ 3 callers
Method
as_slice
Returns an octets slice of the octets assembled so far.
src/base/message_builder.rs:441
↓ 3 callers
Method
as_slice
Returns a slice of the option data.
src/base/opt/mod.rs:962
↓ 3 callers
Method
as_stream_slice
Returns an octets slice of the message for stream transports. The slice will start with the length octets and can be send as is through a stream tran
src/base/message_builder.rs:1896
↓ 3 callers
Method
at_parent
Return whether the key needs to have a DS record at the parent.
src/dnssec/sign/keys/keyset.rs:1274
↓ 3 callers
Method
build
Exchange this builder instnace for an immutable [`ZoneDiff`]. The start serial should be the zone version to which the diffs should be applied. The e
src/zonetree/types.rs:312
↓ 3 callers
Method
build_bytes
( &self, bytes: &'b mut [u8], )
src/new/base/name/reversed.rs:164
↓ 3 callers
Method
build_bytes
( &self, mut bytes: &'b mut [u8], )
src/new/edns/mod.rs:185
↓ 3 callers
Method
build_in_message
( &self, contents: &mut [u8], start: usize, _compressor: &mut NameCompressor,
src/new/base/name/label.rs:284
↓ 3 callers
Function
bytes_to_records
( mut zonefile: impl Read, )
src/dnssec/sign/test_util/mod.rs:29
↓ 3 callers
Method
canonical_name
Returns a reference to the canonical name for the host. # Notes This method expects the canonical name to be same in both A/AAAA responses, if it is
src/resolv/lookup/host.rs:129
↓ 3 callers
Method
cd
(self)
src/base/header.rs:279
↓ 3 callers
Method
check_answer_time
Checks the timing values of an answer TSIG. This is the second part of the code shared between the various answer methods of `ClientTransaction` and
src/tsig/mod.rs:1281
↓ 3 callers
Method
check_index
Like `is_label_start` but panics if it isn’t.
src/base/name/relative.rs:438
↓ 3 callers
Method
check_nx_domain
Makes sure a NXDomain special is set or removed as necesssary.
src/zonetree/in_memory/write.rs:641
↓ 3 callers
Method
check_sig_cached
Check a signature over an RRset using a cache.
src/dnssec/validator/group.rs:645
← previous
next →
501–600 of 4,465, ranked by callers