]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
docs: remove references to kresd-host.lua and kresd-query.lua
authorPetr Špaček <petr.spacek@nic.cz>
Thu, 2 Jan 2020 17:16:12 +0000 (18:16 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Wed, 15 Jan 2020 09:38:14 +0000 (10:38 +0100)
These are hacks and we do not support them in any way.

daemon/README.rst

index 7e98c753d26b3f387dbd028cec69fcd2cbd5e5da..52000f2587261485485895e544471530706e290f 100644 (file)
@@ -600,42 +600,6 @@ To spawn the daemon manually and configure it to run every second, use:
 
    $ kres-cache-gc -c /var/cache/knot-resolver -d 1000
 
-
-Using CLI tools
-===============
-
-* ``kresd-host.lua`` - a drop-in replacement for *host(1)* utility
-
-Queries the DNS for information.
-The hostname is looked up for IP4, IP6 and mail.
-
-Example:
-
-.. code-block:: bash
-
-       $ kresd-host.lua -f root.key -v nic.cz
-       nic.cz. has address 217.31.205.50 (secure)
-       nic.cz. has IPv6 address 2001:1488:0:3::2 (secure)
-       nic.cz. mail is handled by 10 mail.nic.cz. (secure)
-       nic.cz. mail is handled by 20 mx.nic.cz. (secure)
-       nic.cz. mail is handled by 30 bh.nic.cz. (secure)
-
-* ``kresd-query.lua`` - run the daemon in zero-configuration mode, perform a query and execute given callback.
-
-This is useful for executing one-shot queries and hooking into the processing of the result,
-for example to check if a domain is managed by a certain registrar or if it's signed.
-
-Example:
-
-.. code-block:: bash
-
-       $ kresd-query.lua www.sub.nic.cz 'assert(kres.dname2str(req:resolved().zone_cut.name) == "nic.cz.")' && echo "yes"
-       yes
-       $ kresd-query.lua -C 'trust_anchors.add_file("root.keys")' nic.cz 'assert(req:resolved().flags.DNSSEC_WANT)'
-       $ echo $?
-       0
-
-
 .. _`JSON-encoded`: http://json.org/example
 .. _`Learn Lua in 15 minutes`: http://tylerneylon.com/a/learn-lua/
 .. _`PowerDNS Recursor`: https://doc.powerdns.com/md/recursor/scripting/