go-mockdns
go-mockdns copied to clipboard
Boilerplate for testing of code involving DNS lookups, including unholy hacks to redirect net.Lookup* calls.
Thanks for the awesome library! It's usage could be more extensive if there are options for `mockdns.NewServer` to specify server listen addresses (TCP/UDP).
Aloha again :wave: We've been seeing a lot of these lately on our windows CI build. It runs without race detector on github actions. ``` panic: runtime error: invalid memory...
### Changes 
Hi, I'm using library for mocking some particular DNS records in test (because in real application real DNS records exist and don't exist in my laptop). But I stumble upon...
Now uses: * github.com/miekg/dns v1.1.59 * golang.org/x/net v0.26.0
Hi 👋 Nice lib for testing DNS stuff. But documentatron... 😉 As a novice Go hacker it took me hours fiddling around to get my tests work by reading the...
It would be convenient fi there was a way to UnPatch the mock server without risking a race condition. There is no mutex available to sync the unpatch