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