};
zone "axfr-too-big" {
- type master;
- file "axfr-too-big.db";
+ type master;
+ file "axfr-too-big.db";
};
zone "ixfr-too-big" {
- type master;
+ type master;
allow-update { any; };
- file "ixfr-too-big.db";
+ file "ixfr-too-big.db";
};
{ "masters", SLAVEZONE | STUBZONE | REDIRECTZONE },
{ "max-ixfr-log-size", MASTERZONE | SLAVEZONE | STREDIRECTZONE },
{ "max-records", MASTERZONE | SLAVEZONE | STUBZONE | STREDIRECTZONE |
- STATICSTUBZONE | REDIRECTZONE },
+ STATICSTUBZONE | REDIRECTZONE },
{ "max-refresh-time", SLAVEZONE | STUBZONE | STREDIRECTZONE },
{ "max-retry-time", SLAVEZONE | STUBZONE | STREDIRECTZONE },
{ "max-transfer-idle-in", SLAVEZONE | STUBZONE | STREDIRECTZONE },
isc_result_t
dns_db_getsize(dns_db_t *db, dns_dbversion_t *version, isc_uint64_t *records,
- isc_uint64_t *bytes);
+ isc_uint64_t *bytes);
/*%<
* Get the number of records in the given version of the database as well
* as the number bytes used to store those records.
static isc_result_t
getsize(dns_db_t *db, dns_dbversion_t *version, isc_uint64_t *records,
- isc_uint64_t *bytes)
+ isc_uint64_t *bytes)
{
dns_rbtdb_t *rbtdb;
isc_result_t result = ISC_R_SUCCESS;
isc_uint32_t
dns_zone_getmaxrecords(dns_zone_t *zone) {
- REQUIRE(DNS_ZONE_VALID(zone));
+ REQUIRE(DNS_ZONE_VALID(zone));
return (zone->maxrecords);
}
void
dns_zone_setmaxrecords(dns_zone_t *zone, isc_uint32_t val) {
- REQUIRE(DNS_ZONE_VALID(zone));
+ REQUIRE(DNS_ZONE_VALID(zone));
zone->maxrecords = val;
}
arc4random_addrandom((u_char *) &seed, sizeof(isc_uint32_t));
#else
/*
- * If arcrandom() is available and no corresponding seeding
- * function arc4random_addrandom() is available, no seeding is
- * done on such platforms (e.g., OpenBSD 5.5). This is because
- * the OS itself is supposed to seed the RNG and it is assumed
- * that no explicit seeding is required.
- */
+ * If arcrandom() is available and no corresponding seeding
+ * function arc4random_addrandom() is available, no seeding is
+ * done on such platforms (e.g., OpenBSD 5.5). This is because
+ * the OS itself is supposed to seed the RNG and it is assumed
+ * that no explicit seeding is required.
+ */
UNUSED(seed);
#endif
}