summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2021-10-24 15:57:18 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2021-10-24 15:57:18 +0000
commitc5df6d2d0fcd3c5d3374a1c7c17d894560ddcc16 (patch)
tree81d181a6f17c3d81f7037a2627796b357a827721
parentca9401db9b5bdca21d32106b0da2800f017fb46f (diff)
Use braces in config examples
We document them as explicitly required, `unwind -dnvf...' spits them out like this and the last `force' example uses them as well.
-rw-r--r--sbin/unwind/unwind.conf.58
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/unwind/unwind.conf.5 b/sbin/unwind/unwind.conf.5
index eddf16fcb21..a8c50311c0d 100644
--- a/sbin/unwind/unwind.conf.5
+++ b/sbin/unwind/unwind.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: unwind.conf.5,v 1.30 2021/08/31 20:28:45 kn Exp $
+.\" $OpenBSD: unwind.conf.5,v 1.31 2021/10/24 15:57:17 kn 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: August 31 2021 $
+.Dd $Mdocdate: October 24 2021 $
.Dt UNWIND.CONF 5
.Os
.Sh NAME
@@ -150,8 +150,8 @@ block list "/etc/blocklist" log
.Pp
Define a DNS over TLS (DoT) forwarder and make it the preferred resolver:
.Bd -literal -offset indent
-forwarder 192.168.1.250 port 8080 authentication name "resolver.local" DoT
-preference DoT
+forwarder { 192.168.1.250 port 8080 authentication name "resolver.local" DoT }
+preference { DoT }
.Ed
.Pp
Where a domain requires a specific nameserver