Commit Graph
3557 Commits
Author SHA1 Message Date
Mark Andrews e8d86192fc 978. [bug] dns_db_attachversion() had an invalid REQUIRE()
condition.
2001-09-04 12:17:13 +00:00
Danny Mayer aa7638fce5 Fix some signed/unsigned mismatches when comparing offsets 2001-09-04 04:14:31 +00:00
Mark Andrews bae5d9fcb4 977. [bug] Improve "not at top of zone" error message. 2001-09-04 00:35:19 +00:00
Mark Andrews a9c2c07c96 zone_settimer() nolonger needs to calculate the interval between two times.
[RT #1691]
2001-09-03 01:21:19 +00:00
Andreas Gustafsson 0674850fcb in dns_zone_notifyreceive(), the variable 'now' was
set but never used
2001-08-31 19:27:22 +00:00
Andreas Gustafsson 130904d648 in zone_settimer(), it seems cleaner to check whether
the variable 'next' is set to the epoch (which is used as a sentinel value
meaning 'not set') before comparing it to another time value rather than
after, since the other comparison is meaningless when 'next' is the epoch
2001-08-31 19:25:51 +00:00
Mark Andrews cfa3ab7f89 Timers now use isc_time_t rather than isc_stdtime_t.
zone->expiretime now has a consistant epoch [RT #1686]
2001-08-31 02:01:56 +00:00
Mark Andrews 6668eca26b 972. [bug] The file modification time code in zone.c was using the
wrong epoch.  [RT #1667]
2001-08-30 06:48:43 +00:00
Mark Andrews 06a960c681 971. [func] 'try-edns' can be use to disable edns on all queries. 2001-08-30 05:52:18 +00:00
Mark Andrews bd3091eb7d compact journals on succesful dumps to the zone file. 2001-08-30 05:24:44 +00:00
Mark Andrews fa59c08f71 abort transfer if SOA response is not authoritative. 2001-08-30 05:12:39 +00:00
Mark Andrews 2c64908ae0 DNS_R_NOTAUTHORITATIVE 2001-08-30 05:10:55 +00:00
Mark Andrews 53e3724e23 dns_journal_compact() 2001-08-30 05:04:18 +00:00
Andreas Gustafsson 8068ceb2a9 The request object would fail to send its completion event
when the control event was delivered if a response was received between sending and delivery
of the completion event [RT #1676]
2001-08-29 23:52:28 +00:00
Andreas Gustafsson 9cb39bbe40 fix locking hierarchy violation [RT #1672] 2001-08-29 21:15:56 +00:00
Mark Andrews 7231717254 Ensure that the files contents have been synced to disk prior to renaming. 2001-08-29 05:52:49 +00:00
Mark Andrews 28fc90e6c8 #857 was incomplete, ISC_MAGIC was not being used everwhere it should have been.
'magic' was not being declared consistantly.
some #include <isc/magic.h> were missing from other include files.
NS_SERVER_VALID was not using ISC_MAGIC_VALID.
2001-08-28 03:58:29 +00:00
Andreas Gustafsson 9c067741f1 don't #define DNS_STATS_NCOUNTERS in two different places [RT #1666] 2001-08-27 21:47:00 +00:00
Andreas Gustafsson c7eb99970e consistently use single quotes around varying text
in log messages
2001-08-27 17:21:56 +00:00
Andreas Gustafsson 135c1c53b8 don't INSIST() that calling dns_db_find() on the root hints
only binds the rdataset when returning ISC_R_SUCCESS, because that's not the case -
for example, if the root hints are '. 300 IN CNAME .', DNS_R_CNAME is returned and
the rdataset is bound
2001-08-27 17:20:10 +00:00
Mark Andrews 89555ff443 965. [bug] Using non root hints caused a rbtdb node reference
leak.    [RT #1581, RT #1618]
2001-08-27 06:10:17 +00:00
Mark Andrews 440906ce59 INSIST that the rdataset is unassociated. 2001-08-27 03:58:44 +00:00
Mark Andrews 73ac1894ea 964. [func] Warn if non root hints data is found in hints file. 2001-08-27 03:36:00 +00:00
Andreas Gustafsson 76c8294c81 format string bugs and improved format string checking [RT #1578] 2001-08-08 22:54:55 +00:00
Mark Andrews 907ec2c618 952. [bug] The server required manual intervention to serve the
affected zones if it died between creating a journal
                        and committing the first change to it.
2001-08-06 02:10:59 +00:00
Danny Mayer a59a1d313a Updated .mak files to remove dependancies 2001-08-02 07:05:43 +00:00
Andreas Gustafsson 23a020bc13 950. [bug] Explicit TTLs did not properly override
due to a bug in change 834. [RT #1558]
2001-08-01 17:58:45 +00:00
Mark Andrews 43e2ec89d8 redundate #include 2001-07-31 03:45:04 +00:00
Mark Andrews c38b92000c 947. [bug] dns_rdata_soa_t had a badly name element "mname" which
was really the RNAME field from RFC1035.  To avoid
                        confusion and silent errors that would occur it ther
                        "origin" and "mname" elements were given their correct
                        names "mname" and "rname" respectively, the "mname"
                        element is renamed to "contact".
2001-07-30 01:09:14 +00:00
Andreas Gustafsson 90e289c59f A6 has an RFC now 2001-07-26 21:34:02 +00:00
Brian Wellington 26a5f97dd8 Don't refer to keys as "TSIG keys", since they might be used for rndc only,
and this could be confusing.
2001-07-26 20:54:35 +00:00
Brian Wellington ee3ab6063d 945. [func] Add the new view-specific options
"match-destinations" and "match-recursive-only".
2001-07-26 20:42:46 +00:00
Andreas Gustafsson 38f0e0520c tabified 2001-07-26 20:31:48 +00:00
Danny Mayer 922a15c7c0 Changes to support win32 2001-07-26 03:15:16 +00:00
Brian Wellington d81622b537 944. [func] Check for expired signatures on load. 2001-07-24 18:49:06 +00:00
Danny Mayer b61c97cebd Changed initialize to include void. This keeps the VC++ compiler from complaining about the isc_once_do code arguments 2001-07-24 05:23:38 +00:00
Andreas Gustafsson 831bbce008 commented trust levels 2001-07-23 17:55:37 +00:00
Danny Mayer 22a0a2c432 Fixed variable declarations 2001-07-22 06:22:28 +00:00
Danny Mayer 71542eaf04 Added make file and updated scripts 2001-07-22 06:21:05 +00:00
Mark Andrews 2033e30585 940. [bug] Double zone locking failure on error path. [RT #1510] 2001-07-19 05:08:03 +00:00
Andreas Gustafsson 07dcadc6e2 update_copyrights 2001-07-17 20:29:36 +00:00
Andreas Gustafsson 4954945531 coding style 2001-07-17 19:17:02 +00:00
Mark Andrews 0176adc7c5 937. [bug] A race when shutting down a zone could trigger a
INSIST() failure. [RT #1034]
2001-07-17 02:49:44 +00:00
Andreas Gustafsson 5827c8e0a6 80 columns 2001-07-16 17:15:08 +00:00
Andreas Gustafsson 83018d6cf9 removed spurious empty line inserted in previous commit 2001-07-16 17:14:38 +00:00
Brian Wellington cabaeca9ae missing assertion checks 2001-07-16 09:48:05 +00:00
Danny Mayer f621719829 Added support for Win32 2001-07-16 05:10:30 +00:00
Mark Andrews bddfe77128 936. [func] Warn when non dotted decimal quad's are used.
[RT #1084]

 935.   [bug]           inet_pton failed to reject leading zeros.
2001-07-16 03:06:53 +00:00
Mark Andrews 39ebcd5955 #927
check for DUMPNEEDED in dns_zone_flush.
check for zone->masterfile != NULL in zone_dump().
2001-07-11 23:15:14 +00:00
Brian Wellington b6d7e96688 LOCK_ZONE/UNLOCK_ZONE, not LOCK/UNLOCK 2001-07-11 19:12:53 +00:00