Add TCP/TLS pipelining dns resolver

This commit is contained in:
Daniel 2020-06-16 15:21:05 +02:00
parent fe3b61f1a3
commit f7320d760d
12 changed files with 672 additions and 208 deletions

View file

@ -22,6 +22,8 @@ var (
ErrBlocked = errors.New("query was blocked")
// ErrLocalhost is returned to *.localhost queries
ErrLocalhost = errors.New("query for localhost")
// ErrTimeout is returned when a query times out
ErrTimeout = errors.New("query timed out")
// detailed errors