mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
switch database defaults from "rbt" to "qp"
replace the string "rbt" throughout BIND with "qp" so that qpdb databases will be used by default instead of rbtdb. rbtdb databases can still be used by specifying "database rbt;" in a zone statement.
This commit is contained in:
committed by
Matthijs Mekking
parent
845f832308
commit
bb4464181a
@@ -90,12 +90,12 @@ cache_create_db(dns_cache_t *cache, dns_db_t **db) {
|
||||
char *argv[1] = { 0 };
|
||||
|
||||
/*
|
||||
* For databases of type "rbt" (which is the only cache
|
||||
* For databases of type "qp" (which is the only cache
|
||||
* implementation currently in existence) we pass hmctx to
|
||||
* dns_db_create() via argv[0].
|
||||
*/
|
||||
argv[0] = (char *)cache->hmctx;
|
||||
result = dns_db_create(cache->mctx, "rbt", dns_rootname,
|
||||
result = dns_db_create(cache->mctx, "qp", dns_rootname,
|
||||
dns_dbtype_cache, cache->rdclass, 1, argv, db);
|
||||
if (result == ISC_R_SUCCESS) {
|
||||
dns_db_setservestalettl(*db, cache->serve_stale_ttl);
|
||||
|
Reference in New Issue
Block a user