trust_dns_resolver

Module testing

Source
Available on crate feature testing only.
Expand description

Unit tests compatible with different runtime.

Functionsยง

domain_search_test
Test domain search.
fqdn_test
Test fqdn.
hosts_lookup_testsystem-config
Test AsyncResolver created from system configuration with host lookups.
idna_test
Test idna.
ip_lookup_across_threads_test
Test IP lookup from IP literals across threads.
ip_lookup_test
Test IP lookup from IP literals.
large_ndots_test
Test large ndots with non-fqdn.
localhost_ipv4_test
Test ipv4 localhost.
localhost_ipv6_test
Test ipv6 localhost.
lookup_test
Test IP lookup from URLs.
ndots_test
Test ndots with non-fqdn.
search_ipv4_large_ndots_test
Test ipv4 search with large ndots.
search_ipv6_large_ndots_test
Test ipv6 search with large ndots.
search_ipv6_name_parse_fails_test
Test ipv6 name parse fails.
search_list_test
Test search lists.
sec_lookup_fails_testdnssec
Test IP lookup from domains that exist but unsigned with DNSSEC validation.
sec_lookup_testdnssec
Test IP lookup from URLs with DNSSEC validation.
system_lookup_testsystem-config
Test AsyncResolver created from system configuration with IP lookup.