11 Commits

Author SHA1 Message Date
Ali
e51f51e1bc move from logrus to slog (#422)
* Migrate from logrus to slog

* fully removing logrus

* should be working now

* Update pipeline.go

Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com>

* Update response-blocklist-name.go

Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com>

* added null logger

* Update pipeline.go

---------

Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com>
2025-01-13 08:43:30 +01:00
Frank Olbricht
017544e9f4 Copy queries prior to packing them in resolvers (#290)
* Copy queries prior to packing them in resolvers

* Fix race in quic restart logic

* Remove bad lock
2023-04-01 09:16:55 +02:00
Frank Olbricht
961a297d5a New 'query-timeout' option for resolvers (#295)
* New 'query-timeout' option for resolvers

* docs
2023-03-26 12:04:41 +02:00
Frank Olbricht
67a5b59f94 Fix DTLS connection handling (#180)
* Fix DTLS connection handling

* Add test
2021-08-28 12:00:29 -06:00
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
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
Frank Olbricht
dcf68f23bb Support for DNS-over-DTLS (#41)
* Support for DNS-over-DTLS

* Update deps
2020-06-05 06:08:36 -06:00