Commit graph

994 commits

Author SHA1 Message Date
Mark Andrews
6fda157766 ISC_LINK_*UNSAFE -> ISC_LINK_INITAND* 2000-12-07 20:15:58 +00:00
Andreas Gustafsson
856fa6405e James says this file is not actually used for anything 2000-12-06 20:09:37 +00:00
David Lawrence
8d5cba6826 In ns_server_togglequerylog(), assign server->log_queries the proper enumerated
type (not an integer)
2000-12-06 01:21:04 +00:00
Brian Wellington
5686f209b7 the example #include for sdb drivers should be "xxdb.h", not <xxdb.h> 2000-12-06 01:04:45 +00:00
Brian Wellington
76905f7fee remove extraneous spaces 2000-12-06 01:04:09 +00:00
Andreas Gustafsson
3c7ce471aa 593. [bug] If a secure zone was missing all its NXTs and
a dynamic update was attempted, the server entered
                        an infinite loop.
2000-12-05 22:48:56 +00:00
Andreas Gustafsson
985013e619 don't increment the referral counter when using the root hints (RT #527) 2000-12-05 19:17:32 +00:00
Andreas Gustafsson
c87a3af2d6 another missing NULL initialization 2000-12-05 17:23:45 +00:00
Andreas Gustafsson
20606121ea missing NULL initialization 2000-12-05 01:41:29 +00:00
Andreas Gustafsson
4d5c668a91 589. [bug] The server could deadlock if a zone was updated
while being transferred out.
2000-12-04 06:31:41 +00:00
Andreas Gustafsson
4104b26dd7 more DNS_OPT_NEWCODES sanitation 2000-12-02 05:57:16 +00:00
Andreas Gustafsson
90ad126bb3 more DNS_OPT_NEWCODES sanitation 2000-12-02 04:44:51 +00:00
Andreas Gustafsson
294ae26fb3 more DNS_OPT_NEWCODES sanitation 2000-12-02 04:30:08 +00:00
Andreas Gustafsson
5e9ed27c32 added /* DNS_OPT_NEWCODES */ after #endif to support sanitization 2000-12-02 02:07:37 +00:00
Andreas Gustafsson
ce1f5b8d0a rewrote much of the statistics counter code 2000-12-01 23:49:59 +00:00
Andreas Gustafsson
a3e41e3c03 obey the allow-update forwarding option for both signed and unsigned updates;
fold the upforwd system test README file and nsupdate input files into the tests.sh script;
other minor cleanup of the upforwd test
2000-12-01 21:37:17 +00:00
Andreas Gustafsson
f41a25ce77 document the fact that ns_client_sendraw() signals
the end of request processing
2000-12-01 21:30:20 +00:00
Andreas Gustafsson
9c566a852f 587. [func] A warning is now printed if the "allow-update"
option allows updates based on the source IP
                        address, to alert users to the fact that this
                        is insecure and becoming increasingly so as
                        servers capable of update forwarding are being
                        deployed.
2000-12-01 18:22:17 +00:00
Mark Andrews
a9dcc1d0cb typo 2000-12-01 08:58:10 +00:00
Andreas Gustafsson
2417f18be8 emulate the BIND 8 kludge of setting the query logging flag default
depending on whether a 'queries' log channel has been defined
2000-12-01 02:01:26 +00:00
Andreas Gustafsson
1d7204a98d Support reloading of any zone using rndc, not just zones in class IN,
using the command syntax "rndc reload zone [class [view]]".
2000-11-30 20:47:53 +00:00
Andreas Gustafsson
984ca288f1 rewrote Mike's code for reloading of individual zones completely,
thereby eliminating a large number of bugs including a buffer overflow
2000-11-30 19:38:04 +00:00
Stephen Jacob
c56fb9c0a5 2000-11-29 Stephen Jacob <sj@nominum.com>
* bin/named/Makefile.in: Added DBDRIVER_SRCS and included it
   in the SRCS variable. Equivalent of DBDRIVER_OBJS for OBJS.
2000-11-30 00:50:49 +00:00
Andreas Gustafsson
d3be9a9c6e 583. [func] "rndc querylog" will now toggle logging of
queries, like "ndc querylog" in BIND 8.
2000-11-30 00:25:49 +00:00
Mark Andrews
483958540f 581. [bug] log severity was not being correctly processed.
[RT #485]
2000-11-29 13:30:43 +00:00
Andreas Gustafsson
c7a793bddb missing spaces in resource limit error message 2000-11-28 21:32:32 +00:00
Andreas Gustafsson
06fef02803 removed 'nostatistics' lines from statistics dumps 2000-11-28 20:08:35 +00:00
Michael Sawyer
f9fa6b9a3b Don't reset counters on every reload 2000-11-28 19:58:14 +00:00
Andreas Gustafsson
7f317e65c2 simplified notify-source default processing 2000-11-28 19:15:12 +00:00
Mark Andrews
537d147d76 Allow "dialup passive" to work for stub zones. 2000-11-28 03:17:48 +00:00
Michael Sawyer
504b15de12 Use zone lock instead of zmgr lock on counters
Clean up global and local count adders.
2000-11-28 01:59:25 +00:00
Mark Andrews
644ef1972a Add INSIST(client->recursionquota == NULL) in various places to ensure that
we are not leaking.
2000-11-27 23:54:12 +00:00
Andreas Gustafsson
517ad698ee make ns_server_dumpstats() use dns_name_format(), not dns_name_totext() 2000-11-27 22:08:06 +00:00
Andreas Gustafsson
9259fed3d8 Continue move of lib/dns/*conf.c stuff to bin/named 2000-11-27 19:42:38 +00:00
Andreas Gustafsson
a5d079249c provide more clearly marked places to insert code for
database drivers
2000-11-27 19:12:23 +00:00
Michael Sawyer
3e8875db60 Don't crash the server when a user enters a NULL zone. 2000-11-25 03:55:43 +00:00
Michael Sawyer
6dc32b43da rndc [-v view] [-z zone] reload -> rndc reload [zone [view]]
Make the server not crash while I am at it.
2000-11-25 03:27:54 +00:00
Mark Andrews
dfd7798d8b 578. [func] Notify-source, specify the source address for notify
messages.
2000-11-25 02:43:56 +00:00
Mark Andrews
3b1a582101 lcfg was not being initalied to NULL. 2000-11-25 01:33:11 +00:00
Andreas Gustafsson
4e29e682f6 Allow master zones to not have a 'file' option, to support non-rbt
databases.  Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-23 02:26:37 +00:00
Andreas Gustafsson
86a4d80e06 565. [func] Log queries more like BIND 8: query logging is now
done to category queries, level info. [RT #169]
2000-11-23 01:32:48 +00:00
Andreas Gustafsson
ab13b279ae revert the change of 1.151->1.152 - it is more important to log
queries sanely than to log them the same way BIND 8 did
2000-11-23 01:18:34 +00:00
Andreas Gustafsson
de389382be when doing the automatic SOA serial update following a dynamic
update, delete the old SOA then add the updated one instead of the other way around
(otherwise the new database singleton type rules will cause the add to fail)
2000-11-22 02:49:57 +00:00
Bob Halley
6b5a6fbe1c only set AD if they asked for DNSSEC 2000-11-20 17:53:35 +00:00
Brian Wellington
cffe50abf6 Lots of copyright updates 2000-11-18 03:01:17 +00:00
Andreas Gustafsson
2bd70b6822 Allow master zones to not have a 'file' option, to support non-rbt
databases.  Zones with a nonpersistent database and no 'file' option will get
an error logged at load time.
2000-11-18 02:54:22 +00:00
Andreas Gustafsson
8bba70c48d renamed dns_zone_setdatabase() to dns_zone_setfile(),
and dns_zone_getdatabase() to dns_zone_getfile(), with the idea that
they (and the 'file' zone option) will always refer to the zone's
master file, regardless of the database implementation.  If a
non-rbt database uses a disk file for its internal storage, the
name of that file should be specified as an argument to the 'database'
option, not using the 'file' option.
2000-11-18 00:57:23 +00:00
Brian Wellington
a3c89c5e87 Comment the places where sdb drivers should be registered and unregistered. 2000-11-17 22:09:19 +00:00
Andreas Gustafsson
ba6fd25808 567. [bug] Setting the zone transfer timeout to zero caused an
assertion failure. [RT #302]

 566.   [func]          New public function dns_timer_setidle().
2000-11-17 19:04:51 +00:00
David Lawrence
c15babe580 In dns_zone_configure(), declare boolean in the block in which it is used,
since that block is conditionally compiled.
2000-11-16 19:32:13 +00:00