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 [2018/06/26 13:42]
ricmik Wrong file name in 'rm'
en:public:dns_knot_misc [2018/07/04 12:40] (current)
vcunat add: interactive command console
Line 84: Line 84:
 All done. Turris should be using dns over tls via Cloudflare’s 1.1.1.1. To test result use [[http://​dnsleaktest.com|dnsleaktest]],​ only entries from Cloudflare should be returned. All done. Turris should be using dns over tls via Cloudflare’s 1.1.1.1. To test result use [[http://​dnsleaktest.com|dnsleaktest]],​ only entries from Cloudflare should be returned.
  
 +
 +==== Interactive command console ====
 +
 +All "​configuration"​ and other commands can also be entered into knot-resolver'​s interactive read-eval-print-loop console.
 +  * ssh to the router
 +  * enter knot-resolver CLI via ''​socat - /​tmp/​kresd/​tty/​*''​
 +  * enter the "​commands",​ e.g. ''​cache.clear()''​ -- see [[http://​knot-resolver.readthedocs.io/​en/​stable/​daemon.html#​configuration-reference | upstream documentation]]
 +  * ''​ctrl+d''​ to exit the CLI