diff options
author | Kai Blin <kai@samba.org> | 2012-03-27 15:00:01 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2012-03-27 17:39:26 +0200 |
commit | 26f7a676f9a0f6f8c5ae3bef9247c675734f35cd (patch) | |
tree | 5870c22fa36acada2a15ee3cf67d0c2b4fc96783 /utils | |
parent | 06dd4d8ee1c5440809fa87fd8a1f3cfac8e9036a (diff) | |
download | samba-26f7a676f9a0f6f8c5ae3bef9247c675734f35cd.tar.gz |
s4 dns: Only do recursive queries when allowed/desired
If recursive queries are switched off in smb.conf or the client doesn't ask for
recursion, don't recurse.
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Tue Mar 27 17:39:26 CEST 2012 on sn-devel-104
Diffstat (limited to 'utils')
-rw-r--r-- | utils/samba-dig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/samba-dig.c b/utils/samba-dig.c index 3fd2ecffc4f..ec0677a367f 100644 --- a/utils/samba-dig.c +++ b/utils/samba-dig.c @@ -42,7 +42,7 @@ static struct dns_name_packet *make_name_packet(TALLOC_CTX *mem_ctx, } packet->id = random(); - packet->operation |= operation; + packet->operation |= operation | DNS_FLAG_RECURSION_DESIRED; return packet; } |