| tag name | v4.1.0 (d65ed832ac0c504e75f960a955a7ec79426322e5) |
| tag date | 2021-12-04 00:53:35 +0700 |
| tagged by | Shulhan <ms@kilabit.info> |
| tagged object | commit fb234bbd79... |
| download | rescached-4.1.0.tar.xz |
|---|
Release rescached v4.1.0 (2021-12-03)
== Breaking changes
* all: remove using tcp scheme in config and documentation
Using TCP for parent name server is discouraged, because most of server
disallow keeping the connection alive.
The valid use case for TCP connection is when server received truncated
UDP answer.
Using UDP as parent scheme, will automatically assume that the server
also capable of handling query in TCP.
This is required when client (for example, your browser) re-send the query
after receiving truncated UDP answer.
Any query received by rescached through TCP will forwarded to the parent
name server as TCP too, using the same address and port defined in one of
UDP parent.
While at it, use Cloudflare DNS server as default in configuration
and as example in documentation.
== New features
* Add support to save and load caches to/from storage upon restart
rescached now able to save and load caches to local storage upon restart.
On POSIX, the caches is stored in /var/cache/rescached/rescached.gob,
encoded using gob.
Update #9
== Bug fixes
* make the TCP forwarders as complementary of UDP
The TCP forwarders only active when client send the DNS request as TCP.
When the server receive that request it should also forward the request
as TCP not as UDP to prevent the truncated response.
Another use case for TCP is when the response is truncated, the client
will send the query back through TCP connection. The server should
forward this request using TCP instead of UDP.
== Enhancements
* remove the fallback name servers (NS) from server options
The original idea of fallback NS is to send the query to the one
define in resolv.conf, instead of using the one defined by user in
ServerOptions NameServers, when an error occured.
But, most of error usually caused by network (disconnected, time out),
so re-sending query to fallback NS does not have any effect if the
network it self is not working.
This changes remove the unnecessary and complex fallback NS from
server.
* Do not cache truncated answer
Previously only answer with non-zero response code is ignored.
This changes ignore also answer where response header is truncated.
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEzvGqh+M3psOQ3lVQ+FB+6RSKTOMFAmGqWdwACgkQ+FB+6RSK
TOOsnwgAjJXMTnri/72oOfcNG8qpi42I+qk1sbZXQ5BKh7KMmkpE6gH/8zjbzI6l
IzR+pw1PNdb/fya+pW2WJA1gYwLFCiRokSQLChKywYKovxCgqBr8rLD37CLK59u+
oeUBipV9Xal2OYiZUbopPuYGmuVYMA/iyOpVSq1L8POr19MWXbpGk5oxwG1QzNh/
g/IZ1rlM92maiHVioDzZqb/BsQVHqJNawTx5OL4sInwW9xB37f5m1W5myNRoxz3V
MdpKxlG7EB8Bj2NKPiDAcAznHyoCiZCnzDMmTC1ZhgQZ6ITN96Ap5+A0EtqOH4iX
dqejo6rePOjt78WnLt5YaOzNg1EjkA==
=LdAX
-----END PGP SIGNATURE-----
