Module trust_dns_resolver::testing
source · [−]Available on crate feature
testing
only.Expand description
Unit tests compatible with different runtime.
Functions
Test domain search.
Test fqdn.
hosts_lookup_test
system-config
Test AsyncResolver created from system configuration with host lookups.
Test idna.
Test IP lookup from IP literals across threads.
Test IP lookup from IP literals.
Test large ndots with non-fqdn.
Test ipv4 localhost.
Test ipv6 localhost.
Test IP lookup from URLs.
Test ndots with non-fqdn.
Test ipv4 search with large ndots.
Test ipv6 search with large ndots.
Test ipv6 name parse fails.
Test search lists.
sec_lookup_fails_test
dnssec
Test IP lookup from domains that exist but unsigned with DNSSec validation.
sec_lookup_test
dnssec
Test IP lookup from URLs with DNSSec validation.
system_lookup_test
system-config
Test AsyncResolver created from system configuration with IP lookup.