summaryrefslogtreecommitdiff
path: root/usr.sbin/rebound/rebound.8
blob: e77effd4fbd39e0ff5fb8b8737bd21e304d3676d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
.\" $OpenBSD: rebound.8,v 1.13 2018/05/08 16:00:14 tedu Exp $
.\"
.\"Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
.\"
.\"Permission to use, copy, modify, and distribute this software for any
.\"purpose with or without fee is hereby granted, provided that the above
.\"copyright notice and this permission notice appear in all copies.
.\"
.\"THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\"WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\"MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\"ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\"WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\"ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\"OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd $Mdocdate: May 8 2018 $
.Dt REBOUND 8
.Os
.Sh NAME
.Nm rebound
.Nd DNS proxy
.Sh SYNOPSIS
.Nm rebound
.Op Fl d
.Op Fl c Ar config
.Op Fl l Ar address
.Sh DESCRIPTION
The
.Nm
daemon proxies and caches DNS requests.
It listens by default on localhost and forwards queries to another server.
.Pp
If sent a
.Dv SIGUSR1
signal,
.Nm
logs statistics to
.Pa /var/log/daemon .
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl c Ar config
Specify an alternative configuration file, instead of the default
.Pa /etc/resolv.conf .
.Nm
will reload the configuration file when sent a
.Dv SIGHUP
signal or when the file changes.
The nameserver option is used to indicate the next server to contact.
Localhost entries will be skipped, allowing the same file to be shared with
libc.
Minimal static records may also be specified as "record A name IP".
.It Fl d
Debug mode.
.Nm
does not
.Xr fork 2
into the background.
.It Fl l Ar address
Listen for connections by binding to
.Ar address ,
an IP specified in dotted quad notation, instead of the default of localhost.
.El
.Sh FILES
.Bl -tag -width "/etc/resolv.confXX" -compact
.It Pa /etc/resolv.conf
Default
.Nm
configuration file.
.El
.Sh SEE ALSO
.Xr resolv.conf 5 ,
.Xr unbound 8
.Sh HISTORY
The
.Nm
daemon first appeared in
.Ox 5.9 .
.Sh AUTHORS
.An Ted Unangst Aq Mt tedu@openbsd.org