<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rescached/httpd.go, branch dev</title>
<subtitle>DNS resolver cache daemon, DNS server with caches support.</subtitle>
<id>http://git.kilabit.info/rescached/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/rescached/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/'/>
<updated>2026-01-25T19:20:40Z</updated>
<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>internal/cmd/gocheck: add internal static analyzers</title>
<updated>2025-02-08T08:28:44Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-26T08:46:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=77e055b2e0da5d76ca6651020f0eb990a6787e88'/>
<id>urn:sha1:77e055b2e0da5d76ca6651020f0eb990a6787e88</id>
<content type='text'>
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.

</content>
</entry>
<entry>
<title>all: comply with linters</title>
<updated>2024-03-26T17:15:33Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-26T16:58:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=88085dfc4f3b38489968038ce33533d87ed55876'/>
<id>urn:sha1:88085dfc4f3b38489968038ce33533d87ed55876</id>
<content type='text'>
Fix the code as recommended by linters, for example using context for
HTTP client request, using 0600 for file permission, using string
concatenation instead of fmt, using "%w" for error, and reorder defer.
</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>all: apply recommendation from linter revive</title>
<updated>2024-02-04T08:06:46Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-02-04T08:06:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=1b8a3151bbb15322bd22bbff841803c6bc9cd7d0'/>
<id>urn:sha1:1b8a3151bbb15322bd22bbff841803c6bc9cd7d0</id>
<content type='text'>
</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: update go doc comments</title>
<updated>2023-04-01T09:15:08Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-04-01T09:11:24Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=3e188c30249222b58504ca87da66564b31f63d11'/>
<id>urn:sha1:3e188c30249222b58504ca87da66564b31f63d11</id>
<content type='text'>
While at it, use "_" for unused parameter on methods.
</content>
</entry>
<entry>
<title>all: un-export HostsFiles and Zones fields on Environment</title>
<updated>2022-06-12T07:29:31Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-06-12T07:29:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=95622f8904b8448f97e46a55b2da2273f511a8b8'/>
<id>urn:sha1:95622f8904b8448f97e46a55b2da2273f511a8b8</id>
<content type='text'>
Previously those fields exported because web client need it to initialize
the content for /hosts.d and /zone.d pages.

Since we now have HTTP API for that, web client can call get request
to the respective API without depends on the environment.
</content>
</entry>
<entry>
<title>all: trim the zone's name from request on HTTP API zone.d record delete</title>
<updated>2022-06-12T06:02:22Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-06-12T05:28:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=dbbf768254182ad12be3ecedf61685f8e18201a3'/>
<id>urn:sha1:dbbf768254182ad12be3ecedf61685f8e18201a3</id>
<content type='text'>
When calling API for zone.d record delete, client send the fully
qualified domain name on record to be deleted, but caches store only
the subdomains internally.
This cause the delete action fail, because no internal record match
with request.
</content>
</entry>
<entry>
<title>all: make GET /api/hosts.d to return list of hosts.d if name is empty</title>
<updated>2022-06-12T06:02:21Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-06-10T18:48:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=b76e182e94f55ce542ba336ea35bcb108e924c3f'/>
<id>urn:sha1:b76e182e94f55ce542ba336ea35bcb108e924c3f</id>
<content type='text'>
This is to provide an HTTP API to fetch list of hosts.d files on the
server.
</content>
</entry>
</feed>
