Skip to content

Instantly share code, notes, and snippets.

@tyzbit
Created August 22, 2023 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tyzbit/d4f1a364b5247b29dda90e1bc56d0049 to your computer and use it in GitHub Desktop.
Save tyzbit/d4f1a364b5247b29dda90e1bc56d0049 to your computer and use it in GitHub Desktop.
Setting cache-max-negative-ttl for Unbound on OPNSense 21.7 and later
cache-max-negative-ttl: 1
@tyzbit
Copy link
Author

tyzbit commented Aug 22, 2023

Place this file in /usr/local/etc/unbound.opnsense.d and then restart Unbound. It will survive reboots.

See this post on the forums.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment