This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last 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/06/01 09:06] 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/*'' | + | * 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 |