Commit Graph

2115 Commits

Author SHA1 Message Date
Brian Wellington
736aab3076 626. [bug] The lightweight resolver daemon no longer crashes
when asked for a SIG rrset. [RT #558]
2000-12-20 03:40:20 +00:00
Andreas Gustafsson
9de6daa628 use ISC_SOCKADDR_FORMATSIZE 2000-12-19 19:21:39 +00:00
Brian Wellington
c8fc692fa1 618. [bug] Queries to a signed zone could sometimes cause
an assertion failure.
2000-12-16 02:30:58 +00:00
Andreas Gustafsson
f19771c55d 617. [bug] When using dynamic update to add a new RR to an
existing RRset with a different TTL, the journal
                        entries generated from the update did not include
                        explicit deletions and re-additions of the existing
                        RRs to update their TTL to the new value.
2000-12-16 00:58:03 +00:00
Andreas Gustafsson
113b8ef973 renamed dns_view_dumpcachetostream() to dns_view_dumpdbtostream()
and changed header comments to make it clear that it is for debugging/analysis purposes and may
dump other stuff in addition to the cache in the future.  Also changed the dump style to the
'explict TTL' one, which makes more sense than usin  when dumping cache files since the TTLs
tend to be different in each rrset, and added a comment banner at the top of each cache dump
containing the view name.
2000-12-15 21:11:38 +00:00
Andreas Gustafsson
e194e0e04b #include <masterdump.h> not needed; loop style 2000-12-15 19:38:07 +00:00
Andreas Gustafsson
416b0c2f10 don't include function names in non-debug log messages 2000-12-15 19:32:55 +00:00
Andreas Gustafsson
3253eb8c09 brace style 2000-12-15 19:29:57 +00:00
Andreas Gustafsson
8c18a5cfc2 oops, previous change did not compile 2000-12-15 01:07:52 +00:00
Andreas Gustafsson
eacc01e117 not being able to open a socket on port 53 is not
an 'unexpected error'
2000-12-15 00:31:27 +00:00
Andreas Gustafsson
f77a1793d0 commented 2000-12-15 00:29:59 +00:00
Mark Andrews
8fd925169f keep CAP_SYS_RESOURCE 2000-12-14 18:29:57 +00:00
David Lawrence
3d509f54ac 613. [bug] "rndc reload zone" now reloads primary zones.
It previously only updated slave and stub zones,
			if an SOA query indicated an out of date serial.
2000-12-13 07:18:44 +00:00
David Lawrence
10e6498d6d * Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
never returned by any function and was presumably cruft
        related to max-names).
  * Made allow-notify part of the public source and documented it.
  * Made master server TSIG keys part of the public source and documented it.
  * Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
        the approval of Mike.
  * Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
        public source.  After the NOMINUM_PUBLIC cleanup, I'll
        fix the rndc reload issues we've been discussing here at IETF.

I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
58082ab8a8 The "cachefile" option now loads the file on startup. The "temporary" -x
option to named is no more.
2000-12-12 23:05:59 +00:00
Brian Wellington
8b6293c6ca oops, forgot to add "dumpdb" 2000-12-12 23:03:16 +00:00
Brian Wellington
eb8713ed94 Add support for the 'rndc dumpdb' command. Also add the 'cachefile'
option to the config file, which will be used for persistent cache
storage.
2000-12-12 21:33:21 +00:00
Brian Wellington
bf00f50cf4 609. [bug] getrrsetbyname() would crash lwresd if the server
found more SIGs than answers. [RT #554]
2000-12-12 07:25:04 +00:00
Mark Andrews
88a6fef494 init dns_rdata_t's 2000-12-11 23:09:47 +00:00
Brian Wellington
78838d3e0c 8 space -> tab conversion 2000-12-11 19:24:30 +00:00
Brian Wellington
911ed0d3be Split journal.[ch] into journal.[ch] and diff.[ch] 2000-12-09 02:17:12 +00:00
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