From 38d3ca624a5e6eb15077b0647de73810c67ba927 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 14 Jan 2019 06:23:07 +0000 Subject: There are cases where a program doing dns requests wants to set the Checking Disabled flag. Introduce a RES flag to do so. ok krw@ deraadt@ eric@ --- include/resolv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/resolv.h') diff --git a/include/resolv.h b/include/resolv.h index ba38c70968f..fb02483871e 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -1,4 +1,4 @@ -/* $OpenBSD: resolv.h,v 1.21 2016/09/12 19:35:31 guenther Exp $ */ +/* $OpenBSD: resolv.h,v 1.22 2019/01/14 06:23:06 otto Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -190,6 +190,7 @@ struct __res_state_ext { #define RES_USE_EDNS0 0x40000000 /* use EDNS0 */ /* DNSSEC extensions: use higher bit to avoid conflict with ISC use */ #define RES_USE_DNSSEC 0x20000000 /* use DNSSEC using OK bit in OPT */ +#define RES_USE_CD 0x10000000 /* set Checking Disabled flag */ #define RES_DEFAULT (RES_RECURSE | RES_DEFNAMES | RES_DNSRCH) -- cgit v1.2.3