fastdns
fastdns copied to clipboard
Fast DNS package for Go. Tuned for high performance. Zero memory allocations in almost paths. Up to 1M QPS on a single host.
Hey, in short term, im trying to use fastdig as an alternative for "dig". When im using "dig" everything works expected, but on fastdig the result is missing. Example: ```...
Unfortunately, no logging available, it was a random DNS lookup from the Internet (possibly a bot etc). Was `v0.8.2` ``` panic: runtime error: index out of range [107] with length...
Seems like this only supports UDP and DoH. Would be nice to have support for TCP too.
Would be nice to accept a `net.PacketConn` parameter as well as `addr string` (see examples below). https://github.com/phuslu/fastdns/blob/52d1cc6ef647a255b10ba0e78b3d492b96d405b7/server.go#L37 ```go func (s *Server) ListenAndServe(conn net.PacketConn) error { ``` I use [cloudflare/tableflip](https://github.com/cloudflare/tableflip) and...