aboutsummaryrefslogtreecommitdiff
path: root/testdata
AgeCommit message (Collapse)Author
2026-03-26all: refactoring DoT and DoH to use listen address instead portHEADmaindevShulhan
Using port makes the IP address of DoT and DoH listen on the same address with UDP. If we set ListenAddress to 0.0.0.0 and TLS termination is handled by proxy, this cause DoT and DoH will also listen on all addresses. This behaviour makes the server open DoT and DoH ports to the public, where it should be on local address only.
2026-02-03all: add option to set minimum TTLShulhan
In the rescached.cfg, we add option where user can force the minimum TTL in the DNS answer. This option is not a standard and not recommended used in public facing network. It should be used only for personal and private network.
2023-09-23go.mod: update all dependencies and set Go mod version to 1.20Shulhan
The update on share module affect the following changes, * lib/dns: removing dns.ZoneRecords, replacing it with map[string][]*dns.ResourceRecord * lib/dns: file Name in Zone renamed to Origin * lib/dns: replace call to Caches.InternalPopulate with InternalPopulateZone that accept zone as parameter
2022-06-09all: add integration tests for HTTP API related to block.dShulhan
The test is conducted by running the server and call the HTTP API using the Client methods.
2022-05-22all: change the test debug level from 2 to 1Shulhan
Since we move and watch doc files, running "make dev" with debug level set to 2 add more noise due to logs from converting .adoc files.
2022-04-20all: move all installation files into directory _sysShulhan
Previously, all files required for installing rescached scattered in different directories. This changes move all files into single directory _sys with the directory structure matched with target system.
2022-04-19all: remove malwaredomainlist.com from provider of hosts blockShulhan
The URL and contents from this provider is now empty and has not been updated.
2022-04-19all: refactoring the hosts blocks format and locationShulhan
This changes add new directory called "block.d" under rescached. This directory contains hosts file fetched from URL defined in hosts block configuration. In this way, we did not mixed between user created hosts file and external hosts file. In the configuration file, we changes the hosts block format from single line hosts_block = <URL> into subsection with dynamic name, [block.d "<name>"] name = <name> url = <URL>
2021-01-24all: update the configurations and expired certificatesShulhan
Remove empty options in configurations to minimize confusion and comment options that have default values.
2019-10-16all: refactoring configuration fileShulhan
The configuration file now group into two section: the '[rescached]' and '[dns "server"]' sections. All of the configuration values are loaded using ini.Unmarshal instead of using manual parsing.
2019-09-29all: remove the usage of writing PID fileShulhan
The concept of writing PID file when the program start on networking service is not applicable or relevant anymore on systemd or launchd. If the program already started, the second program will fail because the port is already used.
2019-01-29rescached: add more unit test for some methodsShulhan
The unit test only for New, WritePID, LoadMasterDir, LoadHostsDir, and processRequest with UDP.
2019-01-29all: change default parent nameservers to Cloudflare DNSShulhan
We believe in Cloudflare! Please read Cloudflare DNS policy for more information, https://developers.cloudflare.com/1.1.1.1/commitment-to-privacy/privacy-policy/privacy-policy/
2019-01-28all: fix the example certificate and key for DNS over HTTPSShulhan
Previously, the Common Name (CN) for certificate is not a valid local domain name, because we tested it using IP address instead of domain name. This commit use the "localhost" in certificate CN and in configuration for DoH in browser.
2018-09-29make: install an example of certificate filesShulhan
2018-08-26cmd/rescached: allow custom profiling address through environment variableShulhan
2018-08-26cmd/rescached: add flag "-f" for loading custom configurationShulhan