User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:public:dns_knot_misc [2020/04/28 22:55]
vcunat Interactive command console: note about tty vs. control
en:public:dns_knot_misc [2020/06/01 09:06] (current)
vcunat [Interactive command console] also Turris OS 3.x is using the new socket location
Line 116: Line 116:
 All "​configuration"​ and other commands can also be entered into knot-resolver'​s interactive read-eval-print-loop console. All "​configuration"​ and other commands can also be entered into knot-resolver'​s interactive read-eval-print-loop console.
   * ssh to the router   * ssh to the router
-  * enter knot-resolver CLI via ''​socat - /​tmp/​kresd/​tty/​*'' ​ (on Turris OS >= use ''​control''​ instead of ''​tty''​)+  * enter knot-resolver CLI via ''​socat - /​tmp/​kresd/​tty/​*'' ​ (on Turris OS 5 or 3.11.(>= 17), use ''​control''​ instead of ''​tty''​)
   * enter the "​commands",​ e.g. ''​cache.clear()''​ -- see [[https://​knot-resolver.readthedocs.io/​en/​stable/​index.html | upstream documentation]]   * enter the "​commands",​ e.g. ''​cache.clear()''​ -- see [[https://​knot-resolver.readthedocs.io/​en/​stable/​index.html | upstream documentation]]
   * ''​ctrl+d''​ to exit the CLI   * ''​ctrl+d''​ to exit the CLI