This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:public:dns_knot_misc [2020/04/04 11:20] vcunat update after time, mainly links to changed upstream docs |
en:public:dns_knot_misc [2020/04/28 22:55] vcunat Interactive command console: note about tty vs. control |
||
---|---|---|---|
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/*'' | + | * enter knot-resolver CLI via ''socat - /tmp/kresd/tty/*'' (on Turris OS >= 5 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 |