<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rescached/_www/doc/resolver.adoc, 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-01-25T07:05:35Z</updated>
<entry>
<title>_www/doc: escape the links in the documentation</title>
<updated>2026-01-25T07:05:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-25T07:05:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=b7be49987ff0dc15868acf9ded769830cc157c64'/>
<id>urn:sha1:b7be49987ff0dc15868acf9ded769830cc157c64</id>
<content type='text'>
For link as an example or does not exist, escaped it from being rendered
into anchor.
</content>
</entry>
<entry>
<title>all: move repository to SourceHut</title>
<updated>2024-03-21T10:39:02Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-21T10:39:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=570b2f04afb2d78d3ddf4fe850988ce98bccac2f'/>
<id>urn:sha1:570b2f04afb2d78d3ddf4fe850988ce98bccac2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>_www/doc: update the index and resolver documentation</title>
<updated>2022-08-25T12:56:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-25T12:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=4af06e28b881ffcf660e9817ce24cb56c562134b'/>
<id>urn:sha1:4af06e28b881ffcf660e9817ce24cb56c562134b</id>
<content type='text'>
While at it, rename the README.adoc to README and made symlink
to it as README.adoc.
</content>
</entry>
<entry>
<title>_www/doc: format documentation for resolver</title>
<updated>2022-08-06T11:48:40Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-08-06T11:48:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=18e7218a60be84d7f2bc0aefdf8333e6855d2325'/>
<id>urn:sha1:18e7218a60be84d7f2bc0aefdf8333e6855d2325</id>
<content type='text'>
Some block code in the examples are not formatted correctly due to
spaces.
</content>
</entry>
<entry>
<title>cmd/resolver: implement command to list hosts in block.d</title>
<updated>2022-05-22T14:53:46Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-22T14:51:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=e62bf6a1a77f87487ad1fbeae5f30730d441cda4'/>
<id>urn:sha1:e62bf6a1a77f87487ad1fbeae5f30730d441cda4</id>
<content type='text'>
Given the following command

	$ resolver block.d

It will print all hosts in block.d in the JSON format, for example

{
  "pgl.yoyo.org": {
    "Name": "pgl.yoyo.org",
    "URL": "http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts\u0026showintro=0\u0026startdate[day]=\u0026startdate[month]=\u0026startdate[year]=\u0026mimetype=plaintext",
    "LastUpdated": "2022-04-20 01:54:30 WIB",
    "IsEnabled": false
  },
  "someonewhocares.org": {
    "Name": "someonewhocares.org",
    "URL": "http://someonewhocares.org/hosts/hosts",
    "LastUpdated": "2022-04-20 00:53:22 WIB",
    "IsEnabled": false
  },
  "winhelp2002.mvps.org": {
    "Name": "winhelp2002.mvps.org",
    "URL": "http://winhelp2002.mvps.org/hosts.txt",
    "LastUpdated": "2022-04-20 01:35:38 WIB",
    "IsEnabled": false
  }
}
</content>
</entry>
<entry>
<title>cmd/resolver: add command to print the program version</title>
<updated>2022-05-22T13:04:22Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-22T13:04:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=0522b55558bdf913b161fa81cb2938eff9a27a01'/>
<id>urn:sha1:0522b55558bdf913b161fa81cb2938eff9a27a01</id>
<content type='text'>
Executing "resolver version" will print the current version based
on the latest tag, number of commit, and latest commit hash:

  v&lt;TAG&gt;.r&lt;number-of-commit&gt;.&lt;commit-hash&gt;
</content>
</entry>
<entry>
<title>cmd/resolver: changes the help flag to command</title>
<updated>2022-05-22T12:21:26Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-22T12:20:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=a5f6725a3e35d549bf3a5b4d55820810e87a0549'/>
<id>urn:sha1:a5f6725a3e35d549bf3a5b4d55820810e87a0549</id>
<content type='text'>
Executing "resolver help" will print the command usage.
</content>
</entry>
<entry>
<title>all: simplify cmd/resolver documentation</title>
<updated>2022-05-22T11:55:00Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-22T11:55:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=b2b98d9fb700e0eb234ca486d19ab9be82221289'/>
<id>urn:sha1:b2b98d9fb700e0eb234ca486d19ab9be82221289</id>
<content type='text'>
It is hard to keep the documentation in sync between manual page,
the Go documentation, and command line usage.
A changes in manual page need to be copied into two different places.

To simplify this, we make the Go doc comment as summary and the command
line usage is set from output of `go tool doc ./cmd/resolver`.
</content>
</entry>
<entry>
<title>all: move the documentation under _www/doc directory</title>
<updated>2022-05-22T09:14:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-22T08:57:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=a676f04d2f8c1981fc953cc2e87adf059e23089a'/>
<id>urn:sha1:a676f04d2f8c1981fc953cc2e87adf059e23089a</id>
<content type='text'>
This also allow the latest/released documentation viewed on
the web user interface under /doc path.

While at it, reformat HTML and CSS files using js-beautify and
JavaScript files using clang-format [1].

[1] https://google.github.io/styleguide/jsguide.html#formatting
</content>
</entry>
</feed>
