diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2019-01-14 06:23:07 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2019-01-14 06:23:07 +0000 |
commit | 38d3ca624a5e6eb15077b0647de73810c67ba927 (patch) | |
tree | fb9ad1c01583a078d1a4adcb42bbeed2dd67c071 /include/resolv.h | |
parent | 90039b9cc261286416188fdaffb0de63f325dbc1 (diff) |
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@
Diffstat (limited to 'include/resolv.h')
-rw-r--r-- | include/resolv.h | 3 |
1 files changed, 2 insertions, 1 deletions
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) |