summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc')
-rw-r--r--src/lib/libc/net/res_init.316
1 files changed, 14 insertions, 2 deletions
diff --git a/src/lib/libc/net/res_init.3 b/src/lib/libc/net/res_init.3
index 4a4d0950a5..03e6fca747 100644
--- a/src/lib/libc/net/res_init.3
+++ b/src/lib/libc/net/res_init.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: res_init.3,v 1.4 2020/04/25 21:06:17 jca Exp $ 1.\" $OpenBSD: res_init.3,v 1.5 2021/11/22 20:18:27 jca Exp $
2.\" 2.\"
3.\" Copyright (c) 1985, 1991, 1993 3.\" Copyright (c) 1985, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE. 28.\" SUCH DAMAGE.
29.\" 29.\"
30.Dd $Mdocdate: April 25 2020 $ 30.Dd $Mdocdate: November 22 2021 $
31.Dt RES_INIT 3 31.Dt RES_INIT 3
32.Os 32.Os
33.Sh NAME 33.Sh NAME
@@ -179,6 +179,18 @@ This option has no effect.
179In the past, it turned off the legacy 179In the past, it turned off the legacy
180.Ev HOSTALIASES 180.Ev HOSTALIASES
181feature. 181feature.
182.It Dv RES_TRUSTAD
183If set, the resolver routines will set the AD flag in DNS queries and
184preserve the value of the AD flag in DNS replies.
185If not set, the resolver routines will clear the AD flag in responses.
186Direct use of this option to enable AD bit processing is discouraged.
187Instead the use of trusted name servers should be annotated with
188.Dq options trust-ad
189in
190.Xr resolv.conf 5 .
191This option is automatically enabled if
192.Xr resolv.conf 5
193only lists name servers on localhost.
182.It Dv RES_USE_INET6 194.It Dv RES_USE_INET6
183With this option 195With this option
184.Xr gethostbyname 3 196.Xr gethostbyname 3