knot-resolver: how to clear cache

This commit is contained in:
Casper V. Kristensen 2024-04-23 01:11:53 +02:00
parent d8144cbc60
commit be3faca11e

View file

@ -17,6 +17,7 @@
# Connect to control socket:
# > nix shell nixpkgs#socat -c sudo socat readline UNIX-CONNECT:/run/knot-resolver/control/1
# >> help()
# >> cache.clear("example.com")
# https://knot-resolver.readthedocs.io/en/stable/daemon-scripting.html
services.kresd = {
enable = true;