about summary refs log tree commit diff
path: root/src/network/res_mkquery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/res_mkquery.c')
-rw-r--r--src/network/res_mkquery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/res_mkquery.c b/src/network/res_mkquery.c
index 6fa04a5c..33f50cb9 100644
--- a/src/network/res_mkquery.c
+++ b/src/network/res_mkquery.c
@@ -20,6 +20,7 @@ int __res_mkquery(int op, const char *dname, int class, int type,
 	/* Construct query template - ID will be filled later */
 	memset(q, 0, n);
 	q[2] = op*8 + 1;
+	q[3] = 32; /* AD */
 	q[5] = 1;
 	memcpy((char *)q+13, dname, l);
 	for (i=13; q[i]; i=j+1) {