Commit Graph

12 Commits

Author SHA1 Message Date
Frank Olbricht c3abb402a9 Support retry on truncation (#171)
* Support retry on truncation

* Fix port in example

* Use Msg.Truncate() instead of comparing length

* Don't cache truncated responses and update examples

* Replace test.com with example.com
2021-08-08 07:36:00 -06:00
Frank Olbricht c0e135b786 Allow 4k responses (#95)
* Allow 4k responses

* Move UDP size config into the client
2020-10-11 08:12:18 -06:00
SeanBurford 482d40a5db Expvar (#84)
* Add metric tracking

* Clean up metrics structures.

* Add available route metric to router.
2020-09-06 09:55:30 -06:00
Frank Olbricht 896eb3f8c1 Validate resolver addresses during startup (#77)
* Validate resolver addresses during startup

* Validate the port number as well

* Move endpoint validation into the library
2020-08-02 09:57:58 -06:00
Frank Olbricht f9cb6aab39 Support setting source address of resolvers (#75)
* Support setting source address of resolvers

* Support LocalAddr option in UDP and TCP resolvers

* Support local-address option for DoQ and DoT
2020-07-21 07:12:09 -06:00
Frank Olbricht 94387020af Log query type (#69) 2020-06-22 20:19:36 -06:00
Frank Olbricht 6c59cb1a7c Improve logging (#51)
* Improve logging

* fix test
2020-06-07 13:24:51 -06:00
folbrich 5cb1c0b0e2 Add/strip padding according to RFC7830 and RFC8467 2019-07-20 16:02:00 -06:00
folbrich e0fc21813b Add structured logging and log levels 2019-07-20 09:08:09 -06:00
folbrich b73e663187 Add routing based on client/source IP and more router tests 2019-06-10 19:06:12 -06:00
folbrich 48980419a2 Use pipelining for plain tcp/udp DNS connections as well 2019-06-07 18:59:52 -06:00
folbrich 618639569b Initial commit 2019-06-06 19:52:17 -06:00