Commit Graph
3791 Commits
Author SHA1 Message Date
Andreas Gustafsson ff92fcaff3 some isc_sockaddr_* functions were undocumented, and others were
documented in the source file rather than the header file
2000-08-09 19:09:09 +00:00
Andreas Gustafsson 5bba7216f3 added isc_sockaddr_anyofpf() 2000-08-09 18:57:16 +00:00
David Lawrence 76c6a504d8 rootname() is no longer necessary now that the rbt will always return a
relative name via the find or chain APIs
2000-08-09 04:54:17 +00:00
Brian Wellington e1818a34f7 Handle DNS_R_ZONETOOLARGE by unloading the zone and deleting the on-disk
database and journal.
2000-08-09 00:17:20 +00:00
Andreas Gustafsson e605e98f3e use DNS_NAME_MAXTEXT/DNS_NAME_FORMATSIZE 2000-08-09 00:09:36 +00:00
Andreas Gustafsson 1913796b78 typo 2000-08-08 23:49:28 +00:00
Andreas Gustafsson efadda9a7b added UNUSED() macros to suppress compiler warnings when
compiling with assertion checking turned off
2000-08-08 23:40:46 +00:00
Andreas Gustafsson 4870ad08e8 wired up and implemented the max-names zone option (for GNI) 2000-08-08 23:36:24 +00:00
Brian Wellington 3d136ddc82 missed a comma when adding the zone too large result text 2000-08-08 23:33:05 +00:00
Andreas Gustafsson 4a2af70858 added DNS_NAME_MAXTEXT and DNS_NAME_FORMATSIZE 2000-08-08 23:20:14 +00:00
Andreas Gustafsson f4bc158a46 in dns_name_isabsolute(), dns_name_fullcompare(),
and dns_name_compare(), do not require that the name has >0 labels
so that these functions can be used on the degenerate relative name @
2000-08-08 23:18:12 +00:00
Andreas Gustafsson 7048bc2b71 wired up and implemented the max-names zone option (for GNI) 2000-08-08 23:14:29 +00:00
Brian Wellington c18730e2c0 Protect all of the max-names stuff with NOMINUM_PUBLIC 2000-08-08 23:04:55 +00:00
Brian Wellington 0a4577a158 Added DNS_R_ZONETOOLARGE 2000-08-08 22:50:34 +00:00
Andreas Gustafsson 2821f5aeab createiterator() failed to set rbtdbiter->common.db
to NULL before attaching it
2000-08-08 21:41:58 +00:00
Andreas Gustafsson 2d63e8f8d2 dns_db_attach() failed to check the requirement that
the pointer being attached to is NULL
2000-08-08 18:41:42 +00:00
Brian Wellington cb8a455cd5 A few calls to dst_region_computeid() passed in regions with the wrong
length.
2000-08-08 16:13:40 +00:00
Andreas Gustafsson 7d823f705d deal with nonstandard MS extension 2000-08-07 20:37:34 +00:00
Andreas Gustafsson 7bf91d95eb tab sets for default and explicitttl styles were
swapped (?)
2000-08-07 19:54:50 +00:00
Andreas Gustafsson 979f959fb5 fixed incomplete sentence 2000-08-07 19:30:58 +00:00
Michael Graff 3d9892109d print out (debug level 2) the number of nodes in the zone on axfr, ixfr, and load 2000-08-04 13:26:48 +00:00
Brian Wellington 48d861c067 The node counting stuff didn't work. 2000-08-03 21:34:27 +00:00
Mark Andrews e06aebbe7b 371. [doc] document that dns_journal_rollforward can return
ISC_R_RANGE.
2000-08-03 21:31:41 +00:00
Mark Andrews 512661edd7 370. [bug] The error message for roll forward failures was
overly terse.
2000-08-03 21:24:49 +00:00
Brian Wellington 19f4d25fd5 Add dns_master_dumpnode, dns_master_dumpnodetostream, and
dns_master_style_explicitttl.
2000-08-03 19:50:12 +00:00
Brian Wellington 83e6eb0dfe Add routines to count the number of nodes in a database and an rbt. 2000-08-03 19:46:37 +00:00
David Lawrence a31bdafd5c Some seds do not support ? in regexps. 2000-08-03 15:29:40 +00:00
David Lawrence 5ba268d2ab Solaris yacc puts "#line" directives as "# line", so remove the latter as the
former already is on other platforms.
Also reduce Solaris const warnings by fixing the structure definition of
yytoktype and the declaration of yyreds.
2000-08-03 14:03:43 +00:00
David Lawrence 450e48205f Ensure argument to isdigit() is within valid range by "&"ing with 0xff. 2000-08-03 13:44:02 +00:00
Michael Graff dd7682a5de only check in the view if it isn't NULL 2000-08-03 00:41:26 +00:00
Michael Graff cb9aa603ab wire up the {min,max}-{refresh,retry}-time stuff 2000-08-02 22:29:16 +00:00
Andreas Gustafsson 44f1473596 conform to style guide in use of sizeof() 2000-08-02 21:58:19 +00:00
James Brister 385a9cb48a 369. [func] Support new named.conf options, view and zone
statements:

				max-retry-time, min-retry-time,
				max-refresh-time, min-refresh-time, max-names.
2000-08-02 20:44:27 +00:00
David Lawrence 5896a3af18 In lwres_getaddrinfo() when checking for numeric addresses, the ntmp char array
was only initialized and used when LWRES_HAVE_SIN6_SCOPE_ID was defined,
but was declared and used outside a protective #ifdef.  I moved the
declaration and one use of it into #ifdef protection.
2000-08-02 16:08:41 +00:00
David Lawrence 078b05bc26 In hmacmd5_sign, stack variable "digest" changed from char * to unsigned char *
to be compatible with digest parameter of isc_hmacmd5_sign().
2000-08-02 15:33:11 +00:00
David Lawrence e15ecf08f2 use ISC_TF() to set an isc_boolean_t return value 2000-08-02 15:28:13 +00:00
David Lawrence c037bf9c8e My last change caused new warnings on systems that were already making the
text arrays const.
2000-08-01 19:12:10 +00:00
Michael Graff 5ffd3b6473 rewrite bits of strange code. Now xfer-00 doesn't crash. 2000-08-01 14:48:59 +00:00
David Lawrence 15b196c28e Signficantly reduced the const warnings from confparser.c.
I did not copy this to all platforms to test it everywhere, but I will keep
an eye on the build status page to be sure it did not mess up anything else.
2000-08-01 14:34:11 +00:00
Michael Sawyer a4c4df8be7 Expand out NOMINUM_PUBLIC test-out by one instruction. 2000-08-01 14:12:58 +00:00
Michael Graff 4421383e30 only dereference l->keys if it isn't NULL 2000-08-01 13:53:38 +00:00
David Lawrence 40f53fa8d9 Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts.  Maybe not.
Blame Graff for getting me to trim all trailing whitespace.
2000-08-01 01:33:37 +00:00
David Lawrence c5944292e9 361. [func] When the RBT find or chain functions set the name and
origin for a node that stores the root label
			the name is now set to an empty name, instead of ".",
			to simplify later use of the name and origin by
			dns_name_concatenate(), dns_name_totext() or
			dns_name_format().

 360.	[func]		dns_name_totext() and dns_name_format() now allow
			an empty name to be passed, which is formatted as "@".
2000-07-31 23:27:25 +00:00
David Lawrence 051d1879fe dns_name_totext() now allows names with 0 labels, which format as "@" 2000-07-31 23:09:49 +00:00
David Lawrence 9658892dbc revert the changes to dns_name_format() back to dns_name_totext() because
dns_name_format() does not print absolute names
2000-07-31 22:34:01 +00:00
David Lawrence 003e911541 tsig.c:136: warning: unused variable `tmp' -- removed 2000-07-31 21:07:11 +00:00
Michael Graff 6d3496c045 Implement additional-from-{glue,auth} [ yes | no ] ;
with yes being the default.  These control searching in the cache and
other zones we are authorative for.  This is mostly for gdib, but
may be useful elsewhere.

The config changes are renaming from glue-from-* to additional-from-*,
since this also prevents DNAME, CNAME, NS, MX, etc. additional data
from being followed.
2000-07-31 21:07:07 +00:00
David Lawrence 23b251fbf2 needs <dns/name.h> for dns_name_t 2000-07-31 20:57:06 +00:00
David Lawrence 65260de947 needs <dns/fixedname.h> now that it rdatastruct.h does not provide it 2000-07-31 20:53:56 +00:00
Brian Wellington 153d59973f Allow keyboard operations to be interrupted by the interrupt or quit
character.
2000-07-31 20:36:08 +00:00