2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

5305 Commits

Author SHA1 Message Date
Andreas Gustafsson
bffe4c151c no need to verify that servers are up as start.sh now
takes care of that; no need to remove dig output before test
2000-06-05 19:07:46 +00:00
James Brister
029f5aa861 Conversion of various config file values to isc_uint32_t. 2000-06-05 09:17:14 +00:00
James Brister
40f349ad1f Convert all config structure integer values to unsigned integer
(isc_uint32_t) to match grammer.
2000-06-05 09:17:01 +00:00
Mark Andrews
ac3b769801 232. [bug] Allow slave zones to not have a file. 2000-06-05 03:44:17 +00:00
James Brister
69b691c962 Support new 'port' clause in config file options section. Causes
'listen-on', 'masters' and 'also-notify' statements to use its value
instead of default (53).
2000-06-04 19:51:22 +00:00
Michael Graff
527bf54995 s/u_int32_t/isc_uint32_t/g 2000-06-03 05:38:29 +00:00
Michael Graff
2f1059efb7 checkpoint 2000-06-03 02:15:08 +00:00
Brian Wellington
aeca99a602 Don't dereference a pointer before assigning it. 2000-06-03 00:43:46 +00:00
Brian Wellington
e27021ee1f Certain negative responses could crash the validator.
The insecurity proof code didn't check to see if the name was below a security
root.
2000-06-03 00:18:43 +00:00
Brian Wellington
e8325473bc typos 2000-06-02 23:44:52 +00:00
Andreas Gustafsson
f266030dc3 RT #129: the journalling code assumed (and indeed INSISTed) that the
in-core and on-disk representations of a journal file offset be the same size.
This restriction has now been lifted.
2000-06-02 23:43:17 +00:00
Brian Wellington
182706b2e9 more dst updates 2000-06-02 23:36:14 +00:00
Andreas Gustafsson
e2774cae38 no need to remove dig.out.* before test 2000-06-02 20:54:30 +00:00
Andreas Gustafsson
1de8cd761e verify that servers started successfully, so that the
individual tests don't need to
2000-06-02 20:44:21 +00:00
Michael Graff
9f732d73da put the correct (new) socket on the linked list, not the existing (listen) socket. 2000-06-02 20:09:01 +00:00
Brian Wellington
dba20696eb dst update 2000-06-02 19:04:12 +00:00
Brian Wellington
83b32cc342 print memory stats when verbose>10 2000-06-02 19:02:52 +00:00
Brian Wellington
4fe8755480 Use the new DST API 2000-06-02 18:59:33 +00:00
Brian Wellington
011463c376 New DST API for signing/verifying, as well as some reorganization, cleanup,
and bug fixes.
2000-06-02 18:57:51 +00:00
Andreas Gustafsson
487791cd9c exit with nonzero exit status if ifconfig.sh fails 2000-06-02 18:51:35 +00:00
Michael Sawyer
d12ed0876f Add ixfr support to dig, as:
dig domain.nil. ixfr=12345
where 12345 is version you are ixrf'ing against
(testing still in progress of this option)
2000-06-02 18:45:33 +00:00
Brian Wellington
ac37a32d23 If isc_log_settag() was used to set a non-NULL tag, the allocated memory
was never freed.
2000-06-02 18:15:45 +00:00
Andreas Gustafsson
35af0018dd made isc_sockaddr_totext() return failure rather than catch an
assertion when confronted with an unsupported address family, like it used to
before it was changed to use isc_netaddr_totext() internally
2000-06-02 17:48:31 +00:00
Andreas Gustafsson
e4eed779ed removed item [230], it was a duplicate of [217] 2000-06-02 17:33:07 +00:00
Andreas Gustafsson
11d0a4a55e wired up the sig-validity-interval option; renamed its
access functions in the config code to be consistent with the option name
2000-06-02 17:31:43 +00:00
James Brister
98c2f9a111 Support config file trusted-keys and also-notify statemenets in views.
Support config file sig-validity-interval statement in options, views
and zone statements (master zones only).

Logging messages in config module stripped of trailing period.
2000-06-02 15:12:36 +00:00
David Lawrence
f8faa9fe09 my last revision created a dns_rdataclass_* enum that had a comma after the
last idenfier, and IRIX whined about it.  Repeatedly.  Sigh.
2000-06-02 03:26:17 +00:00
David Lawrence
97741ef83e ndata and offsets for dns_rootname and dns_wildcardname need to be
unsigned char * (not char *) to match the ndata and offsets in dns_name_t.
2000-06-02 03:18:12 +00:00
David Lawrence
705cb05a18 227. [cleanup] The enumerated identifiers dns_rdataclass_*,
dns_rcode_*, dns_opcode_*, and dns_trust_* are
                        also now cast to their appropriate types.
2000-06-02 02:53:31 +00:00
Michael Graff
0a161e9da7 use a linked list, rather than a counter, to keep track of sockets. This makes
debugging easier.  Also, while here, s/EMPTY/ISC_LIST_EMPTY/g
2000-06-02 01:27:27 +00:00
David Lawrence
1c70c5ee90 227. [cleanup] The enumerated identifiers dns_rdataclass_*,
dns_rcode_*, dns_opcode_*, and dns_trust_* are
                        also now cast to their appropriate types.
2000-06-02 01:07:05 +00:00
Andreas Gustafsson
3098bf3ce3 added rfc2133 (defines gai_strerror()) 2000-06-02 01:02:34 +00:00
Andreas Gustafsson
3755da41db reformatting; no functional change 2000-06-02 00:20:46 +00:00
Andreas Gustafsson
c7298a2f0e dns_name_totext() now always prints the root name as '.',
even when omit_final_dot is true
2000-06-02 00:19:37 +00:00
Andreas Gustafsson
a3c0a79b61 dns_name_totext() now always prints the root name as '.',
even when omit_final_dot is true
2000-06-02 00:14:02 +00:00
Andreas Gustafsson
8edbb66acd #include <errno.h> no longer needed now that we use isc_file_* 2000-06-02 00:05:30 +00:00
Michael Sawyer
81a253a185 One more missing file. 2000-06-01 23:45:24 +00:00
Michael Sawyer
f4f73ec517 Add missing files 2000-06-01 23:42:19 +00:00
Andreas Gustafsson
9e411a82b2 terminology: 'zone transfers', not 'domain name transfers';
'zones', not 'domains'
2000-06-01 23:36:59 +00:00
Andreas Gustafsson
b54bfc7cb8 terminology: 'zone transfers', not 'domain name transfers' 2000-06-01 23:26:20 +00:00
Andreas Gustafsson
bf1a55e97b specify the correct master name in the SOA MNAME field;
this should help eliminate unnecessary sending of notifies to the master
2000-06-01 23:24:52 +00:00
Andreas Gustafsson
658dc22047 no need to check for a port number of zero in master addresses as
the configuration code now guarantees that the port numbers have been
set in the masters list
2000-06-01 23:17:46 +00:00
Andreas Gustafsson
a892ddd1bd changed the zone type of the version.bind. CH zone from 'none'
to 'master', as the semantics of zones of type 'none' are not well defined.
Allow zone->dbname to be NULL to support this usage.
2000-06-01 23:11:26 +00:00
Andreas Gustafsson
b3352f568a removed outdated comment 2000-06-01 22:34:03 +00:00
Andreas Gustafsson
11a91ac55e call isc_task_setname() on the dispatch tasks 2000-06-01 22:00:09 +00:00
Andreas Gustafsson
7d040ee1bd don't log the message 'now using logging configuration from
config file' when said configuration has been overridden with -g
2000-06-01 21:45:45 +00:00
David Lawrence
0b056755b2 225. [cleanup] The enumerated dns_rdatatype_* identifiers are now
cast to dns_rdatatype_t via macros of their same name
                        so that they are of the proper integral type wherever
                        a dns_rdatatype_t is needed.

(And a few prototypes that I recently bogusly changed to take "int" parameters
in place of "dns_rdatatype_t" to accomodate the type of an enum identifier
have been reverted to again properly take a dns_rdatatype_t.)
2000-06-01 21:42:42 +00:00
Andreas Gustafsson
7b0fae507e created file with notes on CVS usage 2000-06-01 21:00:44 +00:00
David Lawrence
174a4f7b80 224. [cleanup] The entire project builds cleanly with gcc's
-Wcast-qual and -Wwrite-strings warnings enabled,
                        which is now the default when using gcc.  (Warnings
                        from confparser.c, because of yacc's code, are
                        unfortunately to be expected.)

 223.   [func]          Several functions were reprototyped to qualify one
                        or more of their arguments with "const".  Similarly,
                        several functions that return pointers now have
                        those pointers qualified with const.
2000-06-01 19:39:26 +00:00
David Lawrence
4777033803 add -Wcast-qual and -Wwrite-strings to standard gcc warnings 2000-06-01 19:38:05 +00:00