foxcpp / go-mockdns

Boilerplate for testing of code involving DNS lookups, including unholy hacks to redirect net.Lookup* calls.
MIT License
43 stars 10 forks source link

[Feature Request] Options of server listen addresses #7

Open roy2220 opened 3 years ago

roy2220 commented 3 years ago

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).