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ยง
- Server
- A simple mock server for DNS requests.