Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168145538
D16607.id46344.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16607.id46344.diff
View Options
Index: lib/libc/resolv/res_init.c
===================================================================
--- lib/libc/resolv/res_init.c
+++ lib/libc/resolv/res_init.c
@@ -679,6 +679,8 @@
statp->options |= RES_INSECURE2;
} else if (!strncmp(cp, "rotate", sizeof("rotate") - 1)) {
statp->options |= RES_ROTATE;
+ } else if (!strncmp(cp, "use-vc", sizeof("use-vc") - 1)) {
+ statp->options |= RES_USEVC;
} else if (!strncmp(cp, "no-check-names",
sizeof("no-check-names") - 1)) {
statp->options |= RES_NOCHECKNAME;
Index: share/man/man5/resolver.5
===================================================================
--- share/man/man5/resolver.5
+++ share/man/man5/resolver.5
@@ -28,7 +28,7 @@
.\" @(#)resolver.5 8.1 (Berkeley) 6/5/93
.\" $FreeBSD$
.\"
-.Dd October 12, 2015
+.Dd August 6, 2018
.Dt RESOLVER 5
.Os
.Sh NAME
@@ -127,6 +127,10 @@
sets
.Dv RES_DEBUG
in _res.options.
+.It Sy use-vc
+sets
+.Dv RES_USEVC
+to use TCP instead of UDP for queries.
.It Sy ndots: Ns Ar n
sets a threshold for the number of dots which must appear in a name given to
.Fn res_query
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Aug 27, 2:22 PM (13 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37392716
Default Alt Text
D16607.id46344.diff (1 KB)
Attached To
Mode
D16607: Allow revolver(5) to set RES_USEVC
Attached
Detach File
Event Timeline
Log In to Comment