<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rescached/rescached.go, branch main</title>
<subtitle>DNS resolver cache daemon, DNS server with caches support.</subtitle>
<id>http://git.kilabit.info/rescached/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/rescached/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/'/>
<updated>2026-02-02T20:59:04Z</updated>
<entry>
<title>all: add option to set minimum TTL</title>
<updated>2026-02-02T20:59:04Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-02-02T20:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=d30b17c4db1392c19b11c3af7a47051f8dd6568a'/>
<id>urn:sha1:d30b17c4db1392c19b11c3af7a47051f8dd6568a</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>all: remove prefix "rescached:" on logging</title>
<updated>2026-01-25T19:20:40Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-25T19:20:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=9ba27374eea99b31d6d5b47c6358133c781e0a89'/>
<id>urn:sha1:9ba27374eea99b31d6d5b47c6358133c781e0a89</id>
<content type='text'>
Adding those prefix make the log context redundant in journald.
</content>
</entry>
<entry>
<title>Release rescached v4.4.4 (2025-12-27)</title>
<updated>2025-12-27T09:08:08Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-12-27T09:08:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=3bbfcd5d598f0aa0f4d1f840f3ba7df4a74dbe5c'/>
<id>urn:sha1:3bbfcd5d598f0aa0f4d1f840f3ba7df4a74dbe5c</id>
<content type='text'>
This release mostly chores.

**💧 all: replace golangci-lint with "go vet"**

**💧 all: replace debug package with internal Debug variabel**

The [debug.Value] will be removed in the next release of pakakeh.go.

**💧 internal/cmd/gocheck: add internal static analyzers**

Instead of using binary fieldalignment and shadow, run them by creating
command that call the same Analyzer internally.

This analyzers help finding possible panic on httpd.go.

**💧 make: remove build task from install tasks**

The build task should be run by user, while install tasks run by root.
If we make build depends on install then the binaries will rebuild by
user root.

**💧 Makefile: do not run "embed" when building rescached**

The embed command should be run once when the assets file in _www changes.

**💧 all: cleaning README and expand the index in documentation**

In the README, we remove the EXIT STATUS and AUTHOR sections.
Those sections are not informative.

In the index, we expand the preamble to include short information about
what is rescached.

**💧 make: fix building resolver**

Seems like the "go tool doc" subcommand has been removed on latest
release of Go.

</content>
</entry>
<entry>
<title>all: replace debug package with internal Debug variabel</title>
<updated>2025-01-26T08:44:04Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-26T08:44:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=3826603fb49edda796c2a5541b39b5bb00d3745c'/>
<id>urn:sha1:3826603fb49edda796c2a5541b39b5bb00d3745c</id>
<content type='text'>
The [debug.Value] will be removed in the next release of pakakeh.go.
</content>
</entry>
<entry>
<title>go.mod: update all dependencies</title>
<updated>2025-01-11T11:48:37Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-11T11:48:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=a87283b9236f24f62b0a8936ba0b7232c0407c45'/>
<id>urn:sha1:a87283b9236f24f62b0a8936ba0b7232c0407c45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release rescached v4.4.3 (2024-09-07)</title>
<updated>2024-09-07T16:55:55Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-07T16:54:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=2817846b12942dc0624c6b6ef7de6e608c41c3f7'/>
<id>urn:sha1:2817846b12942dc0624c6b6ef7de6e608c41c3f7</id>
<content type='text'>
=== Enhancements

* cmd/rescached: add sub command to print the current version

  Running "rescached version" now will print the program version.

* support SVCB record (type 64) and HTTPS record (type 65)

  The latest update on "lib/dns" package support RFC 9460, SVCB record
  (type 64) and HTTPS record (type 65).

=== Chores

* all: replace module "share" with "pakakeh.go"

  The module "share" has been moved to new repository at SourceHut and
  we rename it to make it more unique instead of common English words
  "share".

* all: move repository to SourceHut

  The new repository and project page for rescached is at
  https://sr.ht/~shulhan/rescached .
</content>
</entry>
<entry>
<title>all: replace module "share" with "pakakeh.go"</title>
<updated>2024-03-21T09:52:51Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-21T09:51:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=842206eacafa273b63beee4ab8a7de3b000dfa73'/>
<id>urn:sha1:842206eacafa273b63beee4ab8a7de3b000dfa73</id>
<content type='text'>
The module "share" has been moved to new repository at SourceHut and
we rename it to make it more unique instead of common English words
"share".
</content>
</entry>
<entry>
<title>Release rescached v4.4.2 (2023-11-10)</title>
<updated>2023-11-09T14:54:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-09T14:10:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=cddfc60f10b51b02f58f223fd7177e28c0343cb7'/>
<id>urn:sha1:cddfc60f10b51b02f58f223fd7177e28c0343cb7</id>
<content type='text'>
* all: remove loading system hosts file::

  Loading and caching system hosts file (for example, /etc/hosts in
  POSIX) will leaks internal hosts if the rescached server is open to
  public.

  The system hosts file are handled by nssswitch.conf "files" internally
  so no need to loading it.

* cmd/resolver: replace "math/rand" with "crypto/rand"::

  The random number from "math/rand" is predictable if the seed is
  known. Even though the random number here is only for generating unique
  request ID, we still need to prevent this by using more secure random
  number.
</content>
</entry>
<entry>
<title>go.mod: update all dependencies and set Go mod version to 1.20</title>
<updated>2023-09-23T06:55:28Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-23T06:48:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=1b10f5c1d9b0d91e9675963b8307180cbf222b4e'/>
<id>urn:sha1:1b10f5c1d9b0d91e9675963b8307180cbf222b4e</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>all: remove loading system hosts file</title>
<updated>2023-09-23T06:11:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-09-23T06:11:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=bbc3ebac7e823ca7bf9874d223c71f3270258c24'/>
<id>urn:sha1:bbc3ebac7e823ca7bf9874d223c71f3270258c24</id>
<content type='text'>
Loading and caching system hosts file (for example, /etc/hosts in POSIX)
will leaks internal hosts if the rescached server is open to public.

The system hosts file are handled by nssswitch.conf "files" internally
so no need to loading it.
</content>
</entry>
</feed>
