Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/resolv/res_mkquery.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/resolv/res_mkquery.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.15 retrieving revision 1.15.8.1 diff -u -p -r1.15 -r1.15.8.1 --- src/lib/libc/resolv/res_mkquery.c 2015/02/24 17:56:20 1.15 +++ src/lib/libc/resolv/res_mkquery.c 2017/10/25 06:56:41 1.15.8.1 @@ -1,4 +1,4 @@ -/* $NetBSD: res_mkquery.c,v 1.15 2015/02/24 17:56:20 christos Exp $ */ +/* $NetBSD: res_mkquery.c,v 1.15.8.1 2017/10/25 06:56:41 snj Exp $ */ /* * Portions Copyright (C) 2004, 2005, 2008 Internet Systems Consortium, Inc. ("ISC") @@ -72,7 +72,7 @@ static const char sccsid[] = "@(#)res_mkquery.c 8.1 (Berkeley) 6/4/93"; static const char rcsid[] = "Id: res_mkquery.c,v 1.10 2008/12/11 09:59:00 marka Exp"; #else -__RCSID("$NetBSD: res_mkquery.c,v 1.15 2015/02/24 17:56:20 christos Exp $"); +__RCSID("$NetBSD: res_mkquery.c,v 1.15.8.1 2017/10/25 06:56:41 snj Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -142,6 +142,7 @@ res_nmkquery(res_state statp, hp->id = htons(statp->id); hp->opcode = op; hp->rd = (statp->options & RES_RECURSE) != 0U; + hp->ad = (statp->options & RES_USE_DNSSEC) != 0U; hp->rcode = NOERROR; cp = buf + HFIXEDSZ; ep = buf + buflen;