Chris Buijs
35c9051e6d
Add truncate option in static-responder to set TC bit ( #211 )
...
* Added "truncate" flag/config
* Update static.go
* Add truncate
* Truncate
* Update configuration.md
* Truncate Example
* Update static.go
* Add truncate
* Update static.go
* Update static.go
* Update static.go
* Update static.go
* Update static.go
* Update static.go
* Update static.go
* Update static.go
* Update static.go
* Update static.go
* Update static.go
* Update cmd/routedns/example-config/truncate.toml
Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com >
* Update doc/configuration.md
Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com >
* Revert to existing/original logic with truncate
* Update logging
Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com >
2022-02-05 07:29:34 -07:00
Frank Olbricht
acc8842fad
Support naming blocklists to help with logging ( #201 )
...
* Support naming blocklists to help with logging
* Support naming of lists in response blocklists too
* Add list name to client-blocklist as well
2022-01-09 07:44:53 -07:00
Charles Porth
0fafcce699
Update configuration.md ( #183 )
...
* Update configuration.md
Better documatation for `reset-after` clairifying usage.
* Update configuration.md
* Update configuration.md
2021-09-13 16:41:29 -06:00
Frank Olbricht
b75ffc78cb
New request-dedup group ( #181 )
...
* New request-dedup group
* Add logging
* Update docs and add example
2021-08-28 15:18:18 -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
Frank Olbricht
d7e1a578e3
Support flushing a cache remotely ( #168 )
2021-08-05 22:09:29 -06:00
Frank Olbricht
3b40a255ce
New fastest-tcp group to probe TCP connections ( #155 )
...
* Implement fastest-tcp group
* Add success-ttl option
* docs
* Change option to success-ttl-min
* Fix option in doc
2021-07-03 14:28:08 -06:00
Frank Olbricht
8a28f9f417
New flag to control SERVFAIL behavior in failover groups ( #166 )
2021-06-19 13:57:34 -06:00
Frank Olbricht
8014a4d305
Support routing by time and weekday ( #167 )
...
* Support routing by time and weekday
* Add note about impossible routes
2021-06-19 13:53:08 -06:00
Charles Porth
8779d341f4
Added regex formating to configure.md ( #164 )
2021-06-12 09:53:06 -06:00
Frank Olbricht
aa3a7fa537
Update docs and example to match doq-i02 ( #154 )
2021-05-29 17:02:19 -06:00
Frank Olbricht
59325942d9
Correct ALPN token for DOQ ( #148 )
2021-03-30 21:02:29 -06:00
Frank Olbricht
7fdf2fa44f
New cache-harden-below-nxdomain option ( #132 )
...
* New cache-harden-below-nxdomain option
* Wire in the config
2021-03-01 18:15:03 -07:00
Frank Olbricht
31a59c1ca1
New cache option to control the order of answers ( #128 )
...
* New cache option to control the order of answers
* Improve shuffle algorithms to only rotate A/AAAA
2021-02-08 17:51:21 -07:00
folbrich
d34b9e0a6d
Fix formatting in markdown
2021-01-01 11:50:07 -07:00
Frank Olbricht
ef5a8d1d0e
Option to change the response code after collapsing to zero ( #109 )
2020-12-28 11:42:19 -07:00
Frank Olbricht
4afe613b36
New 'fastest' group ( #112 )
2020-12-28 08:34:27 -07:00
Frank Olbricht
322c193ea7
New entity: edns0-modifier ( #106 )
...
* New entity: edns0-modifier
* Update docs and example
2020-12-19 11:13:00 -07:00
Frank Olbricht
39e42de5af
Fail over to another resolver if the current one returns SERVFAIL ( #101 )
...
* Fail over to another resolver if the current one returns SERVFAIL
* Handle drops in fail-rotate and fail-back groups
2020-11-12 07:05:54 -07:00
Frank Olbricht
58ead0bf21
Supporting multiple types in routes and inverting of routes ( #97 )
2020-11-01 07:03:58 -07: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
Frank Olbricht
84fdcd4d18
Add cache-dir option to HTTP blocklists ( #83 )
...
* Add cache-dir option to HTTP blocklists
* Write blocklist cache files to tmp location then rename
2020-09-06 10:18:31 -06:00
Frank Olbricht
0a27c61e61
Support Bootstrap Resolver ( #82 )
2020-09-06 10:17:23 -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
SeanBurford
ce96fdc8b4
Subnet ( #79 )
...
* Use CIDR for frontend proxy spec.
* Fix config variable name in error message
* Clean up trusted-proxy parsing
2020-07-30 06:55:40 -06:00
SeanBurford
5ef6051a46
Support X-Forwarded-For when it comes from a trusted proxy ( #78 )
...
* Support X-Forwarded-For when it comes from a trusted proxy
* Fix address in dohlistener test
* Add long proxy chain text
* Remove *IP and fix namespace Proxy->HTTPProxy
HTTPProxy is still ambigious until you consider that it's being used in the context of
a listener rather than a client. Since it's a listener the HTTPProxy is clearly incoming
rather than outgoing.
2020-07-27 07:06:11 -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
4596fbad3e
Cache based on query and ECS subnet address ( #73 )
2020-07-05 14:42:52 -06:00
Frank Olbricht
4496faf47b
Request rate-limiter ( #71 )
...
* Request rate-limiter
* Add limit-resolver and docs
2020-06-29 06:31:09 -06:00
Frank Olbricht
72a01a6fcc
Add example use-case with remote blocklists ( #70 )
...
* Document Use-Case 6
* Add missed files
* Update blocklists
2020-06-21 12:01:23 -06:00
Frank Olbricht
fb5f38882e
Support blocking on client IP with client-blocklist ( #63 )
...
* Support blocking on client IP with client-blocklist
* Support dropping of queries and add 'drop' entity
* Fix example
* Return REFUSED by default
2020-06-15 19:15:38 -06:00
Frank Olbricht
79cb6cc7e6
Add Random resolver group ( #53 )
2020-06-10 20:36:56 -06:00
Frank Olbricht
87075f18b1
New elements to minimize and collapse responses ( #54 )
...
* New elements to minimize and collapse responses
* Return NXDOMAIN when nothing is left after answer collapse
2020-06-08 16:22:14 -06:00
folbrich
6ae21640c8
Explain how to set TTL in static responder
2020-06-07 09:23:28 -06:00
Frank Olbricht
6898f6364e
Use alternative blocklist-resolver if available when filtering all an… ( #50 )
...
* Use alternative blocklist-resolver if available when filtering all answer records
* Remove check that prevents filter and blocklist-resolver options from being used together
2020-06-07 08:53:42 -06:00
Frank Olbricht
83f05f15f9
Geo-Location blocking ( #40 )
...
* Geo-Location blocking
* Support same-line comment and log IP that matches the blocklist
* Add IP to logs when filtering responses as well
* Remove the need for geo blocklist prefix
* Log the query as well when blocking an IP
* Don't eval responses that are not successful
* Also support blocking by Subdivision ID
2020-06-04 17:31:50 -06:00
Frank Olbricht
95687063e7
Improve docs and break out config guide ( #39 )
...
* Improve docs and break out config guide
* Fix broken links to config guide
2020-05-31 20:24:08 -06:00
Frank Olbricht
ab8a47f2ef
New cache options to limit the size and set negative-TTL and ttl-modifier ( #37 )
...
* New cache options to limit the size and set negative-TTL
* Add ttl-modifier
2020-05-31 14:29:32 -06:00
folbrich
2938c7b2fc
Remove accidentally committed lock file
2019-07-20 10:09:14 -06:00
folbrich
df8ebc0b08
Expand documentation
2019-07-20 10:06:32 -06:00