Commit Graph
4917 Commits
Author SHA1 Message Date
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
David Lawrence dbb33bdc76 progname and conffile made const 2000-06-01 19:16:20 +00:00
David Lawrence b8f0fedbe7 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 19:14:59 +00:00
David Lawrence 50bd180f4b lwres_gai_strerror()'s return value is massaged to remove the const qualifier,
as specified by RFC 2133.   It's still ultimately const, just not with
the qualifier.
2000-06-01 19:11:21 +00:00
David Lawrence 1b6d529cb5 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Several unused functions removed from dispatch_tcp_test.c (left over
from when it was copied from dispatch_test.c).

Minor other ISC style cleanups.
2000-06-01 19:11:07 +00:00
David Lawrence 63ed655d8f "test" target depends on the relevant program being built 2000-06-01 19:09:37 +00:00
David Lawrence e3f5561ec9 DP()'s format argument prototyped as const.
A pointers-to-function should not be cast to a pointer-to-object.
2000-06-01 18:53:53 +00:00
David Lawrence 7efc8c3f69 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 18:49:22 +00:00
David Lawrence a5e5d67faa gai_strerror is spec'd by RFC 2133 as char *, with no const qualifier.
I'll have to see about how this can be handled more suitably by the code,
but for now, the return value has been revered to not being const qualified.
2000-06-01 18:29:27 +00:00
David Lawrence 6d12fdf966 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

The macro DE_CONST is used to deal with a handful of very special
places where something is qualified as const but really needs to have
its const qualifier removed.

rdata.c now defines macros for the prototypes of the basic rdata functions,
and all of the lib/dns/rdata/**/*.c files now use them.

Some minor integer-compatibility issues.  (IE, ~0x03 is a signed int,
so assigning it to an unsigned int should use a cast.  The type of an
enum member is int, so there are some conversion issues there, too.)

A pointers-to-function should not be cast to a pointer-to-object.

Variables should not be named for C reserved identifiers.

One or two set-but-not-used variables removed.

Minor other ISC style cleanups.
2000-06-01 18:26:56 +00:00
David Lawrence 8612a0d515 gai_strerror returns const char * now; this change was (erroneously) only made
to netdb.h in my local tree, not to the file that generates it ...
2000-06-01 18:10:37 +00:00
Michael Sawyer ba80bec980 Add query-source 2000-06-01 18:07:48 +00:00
Brian Wellington 89dabedbd0 make lwres_gai_strerror return char *, not const char *. This now matches the
prototype in include/lwres/netdb.h (which was causing a compile failure) and
the strerror man pages.
2000-06-01 18:06:31 +00:00
Andreas Gustafsson b8c7678461 style; no functional change 2000-06-01 18:04:37 +00:00
Michael Sawyer a2b565626b Add additional test to determine if NOTIFY messages are properly handled
during zone transfers.
2000-06-01 17:56:40 +00:00
David Lawrence ca81c3971c Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

Minor other ISC style cleanups.
2000-06-01 17:39:26 +00:00
David Lawrence 44bd41cce3 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
2000-06-01 17:33:39 +00:00
David Lawrence 87cafc5e70 Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const.  Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.

The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.

Also cleaned up a few places where variable names clashed with reserved
identifiers.  (Which mostly works fine, but strictly speaking is undefined
by the standard.)

Minor other ISC style cleanups.
2000-06-01 17:20:56 +00:00
Andreas Gustafsson fd6de7af32 refer to RFC2845, not draft-ietf-dnsext-tsig-00.txt 2000-06-01 16:47:26 +00:00
Andreas Gustafsson 62b2da0aef added rfc2845.txt (TSIG), removed the I-D it replaced 2000-06-01 16:44:08 +00:00
Andreas Gustafsson 4831695ebe no need to include <isc/netaddr.h> to get in_port_t; <isc/net.h> suffices 2000-06-01 16:40:23 +00:00
David Lawrence ee205e0662 [rt #128] removed redundant result check from dns_xfrin_create.
char *msg parameter to xfrin_fail made const.
2000-06-01 13:48:55 +00:00
Jim Reid a88ba6982b Import of PRM 2000-06-01 03:19:06 +00:00
Brian Wellington 399fe4aa0f Lots of bugs fixed in _fromfile and _fromdns. There were enough of them that
they managed to hide each other in most cases.
2000-06-01 02:33:26 +00:00
Brian Wellington 5cfa06cee3 enabling verbose could crash the program 2000-06-01 02:32:12 +00:00
Brian Wellington b058593410 Passed incorrect size to isc_mem_get. 2000-06-01 02:04:38 +00:00
Brian Wellington 2321de58e5 Added #include <isc/netaddr.h>, since in_port_t wasn't defined. 2000-06-01 02:04:01 +00:00
Brian Wellington 7a97b7630f dns_message_gettsig/getsig0 cleanup 2000-06-01 01:30:55 +00:00
Michael Sawyer c4bd4b1a8e Fix up includes and remove a warning 2000-06-01 01:06:40 +00:00
Andreas Gustafsson fea398993b also-notify and trusted-keys are now supported in the view statement 2000-06-01 00:48:13 +00:00
Andreas Gustafsson 92a31c0f86 support view-specific and global 'also-notify' 2000-06-01 00:41:23 +00:00
Andreas Gustafsson 0640343258 222. [bug] The global 'also-notify' option was ignored. 2000-06-01 00:39:45 +00:00
Andreas Gustafsson c8df84cb38 edited entry 217: also-notify and trusted-keys
are now supported in view statements (it said 'supported in config
files', which is true but not a recent change)
2000-06-01 00:39:09 +00:00
Andreas Gustafsson dccfe96a44 RT #127 2000-06-01 00:32:37 +00:00
Michael Graff d98c74e2ec set the default destination port in the view, and use it when returning addresses from the adb. 2000-06-01 00:30:58 +00:00
Brian Wellington d03d452499 Signed truncated messages more correctly follow the respective specs. 2000-06-01 00:28:43 +00:00
Andreas Gustafsson eb3807ea54 support per-view security roots 2000-06-01 00:21:12 +00:00
Brian Wellington fe0e3c7707 Rename message->tsigset/querytsigset to tsig/querytsig. 2000-05-31 23:58:35 +00:00
Brian Wellington 91268e69b0 Don't directly access the TSIG field of the message. 2000-05-31 23:57:45 +00:00