Module hickory_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.