go-mockdns

(★ 50)

Boilerplate for testing of code involving DNS lookups, including unholy hacks to redirect net.Lookup* calls.

  • .gitignore
  • example_test.go
  • go.mod
  • go.sum
  • LICENSE
  • notfound.go
  • notfound_non_go1.13.go
  • README.md
  • resolver.go
  • resolver_go1.18.go
  • resolver_go1.18_test.go
  • resolver_test.go
  • server.go
  • server_start_test.go
  • server_test.go
// repository documentation