<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rescached/cmd/resolver/main.go, branch dev-telemetry</title>
<subtitle>DNS resolver cache daemon, DNS server with caches support.</subtitle>
<id>http://git.kilabit.info/rescached/atom?h=dev-telemetry</id>
<link rel='self' href='http://git.kilabit.info/rescached/atom?h=dev-telemetry'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/'/>
<updated>2023-04-01T09:15:08Z</updated>
<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>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>cmd/resolver: implement command to add new record to zone</title>
<updated>2022-05-15T15:57:26Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-15T15:57:26Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=f21e7c468c4d4479919c4a483451c6672698ab0a'/>
<id>urn:sha1:f21e7c468c4d4479919c4a483451c6672698ab0a</id>
<content type='text'>
The command has the following signature,

  zone.d rr add &lt;zone&gt; &lt;"@" | subdomain&gt; &lt;ttl&gt; &lt;type&gt; &lt;class&gt; &lt;value&gt; ...::

The domain name can be set to origin using "@" or empty string, subdomain
(without ending with "."), or fully qualified domain name (end with ".").

If ttl is set to 0, it will default to 604800 (7 days).

List of valid type are A, NS, CNAME, PTR, MX, TXT, and AAAA.

List of valid class are IN, CS, HS.
</content>
</entry>
<entry>
<title>cmd/resolver: implement command to create and delete zone file</title>
<updated>2022-05-13T18:22:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-13T17:22:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=e4581728e5c6fd9287e2e60aa908b89cbf6feeaf'/>
<id>urn:sha1:e4581728e5c6fd9287e2e60aa908b89cbf6feeaf</id>
<content type='text'>
The command to create new zone file has the following signature:

  zone.d create &lt;name&gt;

While command to delete zone file has the following signature:

  zone.d delete &lt;name&gt;
</content>
</entry>
<entry>
<title>all: update documentation for resolver</title>
<updated>2022-05-13T18:22:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-13T15:58:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=69f34312061d5e5ef853fa28e271d93dbcfbbc6c'/>
<id>urn:sha1:69f34312061d5e5ef853fa28e271d93dbcfbbc6c</id>
<content type='text'>
Group each command and examples in its own section.
</content>
</entry>
<entry>
<title>cmd/resolver: implement command to delete record on hosts file</title>
<updated>2022-05-13T14:14:29Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-13T14:14:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=20c3f80e7dfd9e453d757199beb2137c09a9f536'/>
<id>urn:sha1:20c3f80e7dfd9e453d757199beb2137c09a9f536</id>
<content type='text'>
The command has the following signature,

      resolver hosts.d rr delete &lt;name&gt; &lt;domain&gt;

Given the hosts name "hosts" and domain "my.hosts" it will delete
all records that have domain name "my.hosts" inside the file.
</content>
</entry>
<entry>
<title>cmd/resolver: implement command to add new record to hosts file</title>
<updated>2022-05-10T18:55:01Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-05-10T18:55:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=1c3e6525b18f7c88d0155f856518a89415d0d95e'/>
<id>urn:sha1:1c3e6525b18f7c88d0155f856518a89415d0d95e</id>
<content type='text'>
The command has the following signature,

  resolver hosts.d rr add &lt;name&gt; &lt;domain&gt; &lt;value&gt;

Given the hosts file name "hosts" and domain "my.hosts" with value
"127.0.0.1", it will add new line "127.0.0.1 my.hosts" to the "hosts"
file.
If the domain name already exists, the new record will be appended
instead of replaced.
</content>
</entry>
<entry>
<title>cmd/resolver: move handling command env to resolver</title>
<updated>2022-04-24T05:19:32Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2022-04-24T05:19:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/rescached/commit/?id=f30942daafd60a629a17cb08beeca6e4bb86aa93'/>
<id>urn:sha1:f30942daafd60a629a17cb08beeca6e4bb86aa93</id>
<content type='text'>
</content>
</entry>
</feed>
