Crate dns_mock_server
source ·Expand description
Implementation of a DNS server intended for use in tests.
This allows you to run a proper DNS server while setting up records to be mapped to specific IP addresses. Your test code can then target the locally bound server and make normal DNS requests.
Structs§
- A simple mock server for DNS requests.