summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorInternet Software Consortium, Inc <@isc.org>2012-01-18 10:10:47 -0700
committerInternet Software Consortium, Inc <@isc.org>2012-01-18 10:10:47 -0700
commit8b08ed79737eaec2fd64fbecce719fc5d91c0f48 (patch)
tree095e2e7eb68fcd1d4401915a8b8e65fc69bbe917 /contrib
parent52a7f63e4e1a5cc6705c88c2090499b2caaa0805 (diff)
downloadbind9-8b08ed79737eaec2fd64fbecce719fc5d91c0f48.tar.gz
9.9.0b2
Diffstat (limited to 'contrib')
-rw-r--r--contrib/dlz/config.dlz.in4
-rw-r--r--contrib/dlz/example/README9
-rw-r--r--contrib/dlz/example/dlz_minimal.h1
3 files changed, 9 insertions, 5 deletions
diff --git a/contrib/dlz/config.dlz.in b/contrib/dlz/config.dlz.in
index 0aa34fa8..9d5b8c34 100644
--- a/contrib/dlz/config.dlz.in
+++ b/contrib/dlz/config.dlz.in
@@ -250,7 +250,7 @@ case "$use_dlz_bdb" in
# Check other locations for includes.
# Order is important (sigh).
- bdb_incdirs="/ /db42/ /db41/ /db4/ /db/"
+ bdb_incdirs="/ /db48/ /db47/ /db46/ /db45/ /db44/ /db43/ /db42/ /db41/ /db4/ /db/"
for d in $bdb_incdirs
do
if test -f "$dd/include${d}db.h"
@@ -271,7 +271,7 @@ case "$use_dlz_bdb" in
# Look for libname other than libdb.so.
# Order is important (sigh).
- bdb_libnames="db42 db-4.2 db41 db-4.1 db"
+ bdb_libnames="db48 db-4.8 db47 db-4.7 db46 db-4.6 db45 db-4.5 db44 db-4.4 db43 db-4.3 db42 db-4.2 db41 db-4.1 db"
for d in $bdb_libnames
do
if test -f "$dd/lib/lib${d}.so"
diff --git a/contrib/dlz/example/README b/contrib/dlz/example/README
index 42d38ce4..3468b6d8 100644
--- a/contrib/dlz/example/README
+++ b/contrib/dlz/example/README
@@ -110,9 +110,12 @@ are mandatory, others optional).
- isc_result_t dlz_findzonedb(void *dbdata, const char *name);
- Required for all external DLZ modules. This indicates whether the
- DLZ module can answer for a given zone. Returns ISC_R_SUCCESS if
- so, otherwise ISC_R_NOTFOUND.
+ Required for all external DLZ modules. This indicates whether
+ the DLZ module can answer for the given name. Returns ISC_R_SUCCESS
+ if so, and ISC_R_NOTFOUND if not. As an optimization, it can
+ also return ISC_R_NOMORE: this indicates that the DLZ module has
+ no data for the given name or for any name above it in the DNS.
+ This prevents named from searching for a zone cut.
- isc_result_t dlz_lookup(const char *zone, const char *name, void *dbdata,
dns_sdlzlookup_t *lookup,
diff --git a/contrib/dlz/example/dlz_minimal.h b/contrib/dlz/example/dlz_minimal.h
index bfad3b2a..c72c1d4c 100644
--- a/contrib/dlz/example/dlz_minimal.h
+++ b/contrib/dlz/example/dlz_minimal.h
@@ -47,6 +47,7 @@ typedef uint32_t dns_ttl_t;
#define ISC_R_NOPERM 6
#define ISC_R_NOTFOUND 23
#define ISC_R_FAILURE 25
+#define ISC_R_NOMORE 29
/* boolean values */
#define ISC_TRUE 1