1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/dns_server
Aaron Haslett ef37988003 dns: changing onelevel search for wildcard to subtree
SCOPE_ONELEVEL is used on wildcard dns searches, but onelevel searches
currently have a performance problem related to GUID indexing, so this
patch changes the search scope to SCOPE_SUBTREE.
In this case, as the onelevel and subtree sets of records are roughly
the same, and the query is matching against the DN itself, we don't
believe there's any benefit in using SCOPE_ONELEVEL over SCOPE_SUBTREE.

The onelevel performance problem will be fixed separately later, but in
the meantime this solves the DNS performance problem.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13738

Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2019-01-11 02:55:01 +01:00
..
dlz_bind9.c s4:bind_dlz: Only copy the dn once 2018-11-22 22:13:26 +01:00
dlz_minimal.h dlz-bind: Add support for BIND 9.12.x 2018-08-10 02:44:36 +02:00
dns_crypto.c dns: Do NULL checks in dns_sign_tsig 2019-01-10 02:41:29 +01:00
dns_query.c CVE-2018-14629 dns: fix CNAME loop prevention using counter regression 2018-12-04 08:52:29 +01:00
dns_server.c source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
dns_server.h dns: moving name_equal func into common 2018-07-12 04:31:54 +02:00
dns_update.c dns: static records 2018-07-12 04:31:56 +02:00
dns_utils.c dns_server: Remove unused "dns_generate_options" 2018-01-04 00:37:21 +01:00
dnsserver_common.c dns: changing onelevel search for wildcard to subtree 2019-01-11 02:55:01 +01:00
dnsserver_common.h CVE-2018-16852 dcerpc dnsserver: refactor common properties handling 2018-11-28 08:22:24 +01:00
pydns.c python: Port dsdb_dns module to Python 3 compatible form. 2018-02-15 00:18:28 +01:00
TODO dns: Update TODO list 2013-07-29 09:12:17 +02:00
wscript_build dlz-bind: Add support for BIND 9.12.x 2018-08-10 02:44:36 +02:00