Browse Source

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@
OPENBSD_6_5
otto 5 years ago
parent
commit
2393c3e306
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/include/resolv.h

+ 2
- 1
src/include/resolv.h View File

@ -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)


Loading…
Cancel
Save