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
Next 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/08/21 08:14] (current)
vcunat Adding static address records: clarify name of config section
Line 21: Line 21:
 ==== Adding static address records ==== ==== Adding static address records ====
  
-Extend section '​kresd'​ of ///​etc/​config/​resolver//​ by+Extend section ​''​config resolver ​'kresd' '' of ///​etc/​config/​resolver//​ by
  
 ''​ ''​
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