diff options
author | 2020-10-29 17:28:12 +0000 | |
---|---|---|
committer | 2020-10-29 17:28:12 +0000 | |
commit | b0f9fe498ce8f1342971cb3a9753306d877b6b68 (patch) | |
tree | 8bcfdae20b1a8d6c39d5c46bfd8769df80ba2efa /sbin/unwind | |
parent | We need more memory barriers on powerpc. (diff) | |
download | wireguard-openbsd-b0f9fe498ce8f1342971cb3a9753306d877b6b68.tar.xz wireguard-openbsd-b0f9fe498ce8f1342971cb3a9753306d877b6b68.zip |
Add some documentation about the caching
done in unwind.
Inputs from jmc@ florian@
ok jmc@ florian@
Diffstat (limited to 'sbin/unwind')
-rw-r--r-- | sbin/unwind/unwind.8 | 11 | ||||
-rw-r--r-- | sbin/unwind/unwind.conf.5 | 5 |
2 files changed, 12 insertions, 4 deletions
diff --git a/sbin/unwind/unwind.8 b/sbin/unwind/unwind.8 index 8e6e3bedcfe..f1c8c5cc827 100644 --- a/sbin/unwind/unwind.8 +++ b/sbin/unwind/unwind.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: unwind.8,v 1.8 2020/04/21 17:03:44 florian Exp $ +.\" $OpenBSD: unwind.8,v 1.9 2020/10/29 17:28:12 solene Exp $ .\" .\" Copyright (c) 2018 Florian Obser <florian@openbsd.org> .\" Copyright (c) 2016 Kenneth R Westerback <kwesterback@gmail.com> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: April 21 2020 $ +.Dd $Mdocdate: October 29 2020 $ .Dt UNWIND 8 .Os .Sh NAME @@ -39,6 +39,13 @@ if it detects that DNS queries are blocked by the local network. It periodically probes if DNS is no longer blocked and switches back to querying nameservers itself. .Pp +.Nm +keeps the DNS answers in a cache shared by the different DNS name +server types. +.Nm +manages the cache size by deleting oldest entries when needed. +The cache is non-configurable and is lost upon process restart. +.Pp To have .Nm enabled at boot time, use diff --git a/sbin/unwind/unwind.conf.5 b/sbin/unwind/unwind.conf.5 index d0cfc20ab0b..14b92ed817b 100644 --- a/sbin/unwind/unwind.conf.5 +++ b/sbin/unwind/unwind.conf.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: unwind.conf.5,v 1.23 2019/12/08 09:47:50 florian Exp $ +.\" $OpenBSD: unwind.conf.5,v 1.24 2020/10/29 17:28:12 solene Exp $ .\" .\" Copyright (c) 2018 Florian Obser <florian@openbsd.org> .\" Copyright (c) 2005 Esben Norby <norby@openbsd.org> @@ -18,7 +18,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 8 2019 $ +.Dd $Mdocdate: October 29 2020 $ .Dt UNWIND.CONF 5 .Os .Sh NAME @@ -99,6 +99,7 @@ See .Xr asr_run 3 . Will never validate. Useful when running behind broken middle boxes that do not like edns0. +DNS answers from stub name servers are not cached. .It Ic dhcp Name servers learned via DHCP or SLAAC. .It Ic oDoT-dhcp |