mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-26 16:47:31 -04:00
905. [bug] Creating a forward "zone" for the root domain
did not work. [RT #1418]
This commit is contained in:
parent
045c9678e2
commit
6a7a69e9f7
2 changed files with 9 additions and 4 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,4 +1,7 @@
|
|||
|
||||
905. [bug] Configuring a forward "zone" for the root domain
|
||||
did not work. [RT #1418]
|
||||
|
||||
904. [bug] The server would leak memory if attempting to use
|
||||
an expired TSIG key. [RT #1406]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.330 2001/06/04 21:51:24 bwelling Exp $ */
|
||||
/* $Id: server.c,v 1.331 2001/06/18 20:03:48 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -645,14 +645,16 @@ configure_view(dns_view_t *view, cfg_obj_t *config, cfg_obj_t *vconfig,
|
|||
dns_resolver_setlamettl(view->resolver, lame_ttl);
|
||||
|
||||
/*
|
||||
* Set resolver forwarding policy.
|
||||
* A global or view "forwarders" option, if present,
|
||||
* creates an entry for "." in the forwarding table.
|
||||
*/
|
||||
forwardtype = NULL;
|
||||
forwarders = NULL;
|
||||
(void)ns_config_get(maps, "forward", &forwardtype);
|
||||
(void)ns_config_get(maps, "forwarders", &forwarders);
|
||||
CHECK(configure_forward(config, view, dns_rootname, forwarders,
|
||||
forwardtype));
|
||||
if (forwarders != NULL)
|
||||
CHECK(configure_forward(config, view, dns_rootname,
|
||||
forwarders, forwardtype));
|
||||
|
||||
/*
|
||||
* We have default hints for class IN if we need them.
|
||||
|
|
|
|||
Loading…
Reference in a new issue