Commit Graph

6316 Commits

Author SHA1 Message Date
Andreas Gustafsson
562cc4924b when sending notifies is suppressed due to the zone being
unloaded, clear the NEEDNOTIFY flag so that we don't reschedule the
notify every second
2000-08-10 19:50:02 +00:00
Brian Wellington
c758ad35e7 Check that the zone is still loaded in the notify event handler. 2000-08-10 19:34:49 +00:00
Brian Wellington
d1e4b08844 Comment the PR_SET_KEEPCAPS definition. 2000-08-10 18:56:58 +00:00
Andreas Gustafsson
4508b24fcd nuked zone2_test 2000-08-10 18:38:27 +00:00
Andreas Gustafsson
c03ce72a3b log error messages for attempts to use nonexistent database types 2000-08-10 18:38:10 +00:00
Andreas Gustafsson
eea2865fec 385. [cleanup] Removed function dns_zone_equal(). 2000-08-10 18:35:46 +00:00
Andreas Gustafsson
a9eeaeb1c2 nuked zone2_test 2000-08-10 18:30:19 +00:00
Brian Wellington
2271edc0b4 Changed a comment. 2000-08-10 18:06:13 +00:00
Brian Wellington
147b0c9ba7 The server would crash trying to unload an unloaded zone if the initial
AXFR had more than maxnames records.
2000-08-10 17:11:23 +00:00
Brian Wellington
64fa945ab6 The default value of zone->maxnames should be 0, not DNS_ZONE_MINRETRY (?) 2000-08-10 16:57:25 +00:00
Andreas Gustafsson
6007bd1c1e updated drafts 2000-08-10 16:52:10 +00:00
Brian Wellington
a81dd161f7 The +cdflag and +adflag lines in the help text were duplicated. 2000-08-10 15:45:54 +00:00
David Lawrence
8af0b86ade 384. [bug] nsupdate was incorrectly limiting TTLs to 65535 instead
of 2147483647.
2000-08-10 02:32:14 +00:00
Brian Wellington
8eb6e41bfb A zone is now considered secure if there is a zone key at the apex. 2000-08-10 02:02:10 +00:00
Brian Wellington
41654670e7 Added dns_dnssec_iszonekey() to determine if a KEY is a zone key without
the overhead of converting it to a dst key.
2000-08-10 02:00:35 +00:00
Brian Wellington
2f507825cf _tostruct had a few typos. 2000-08-10 01:59:39 +00:00
Brian Wellington
674f1cfb1d 383. [func] When writing a master file, print the SOA and NS
records (and their SIGs) before other records.
2000-08-10 01:02:00 +00:00
Andreas Gustafsson
886b96ebfd 382. [func] The function dns_zone_setdbtype() now takes
an argc/argv style vector of words and sets
                        both the zone database type and its arguments,
                        making the functions dns_zone_adddbarg()
                        and dns_zone_cleardbargs() unnecessary.
2000-08-10 00:53:36 +00:00
Brian Wellington
da76a8046e 382. [bug] named -u failed on Debian Linux. 2000-08-10 00:31:59 +00:00
Brian Wellington
cd7ffa4c12 381. [bug] Check for IPV6_RECVPKTINFO and use it instead of
IPV6_PKTINFO if found. [RT #229]
2000-08-10 00:05:45 +00:00
David Lawrence
63fa0d3cf4 removed XXXDCL comment regarding putting program name and args in named.pid
as sendmail does with sendmail.pid.  concensus was that it was annoying.
2000-08-09 23:40:16 +00:00
Brian Wellington
281fce5ed7 When tracing allocations, don't die with an assertion failure if
isc_mem_setdestroycheck(mctx, ISC_FALSE) was called.  Also, print the
context in the trace statement.
2000-08-09 23:03:15 +00:00
Brian Wellington
8b858da2bb An error message was printing a result code as a number, not a string. 2000-08-09 21:15:32 +00:00
Andreas Gustafsson
1199d0ee34 use isc_sockaddr_anyofpf() 2000-08-09 19:11:27 +00:00
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
Brian Wellington
0cff88818a 380. [bug] nsupdate didn't work with IPv6. 2000-08-09 19:00:42 +00:00
Andreas Gustafsson
5bba7216f3 added isc_sockaddr_anyofpf() 2000-08-09 18:57:16 +00:00
Brian Wellington
95e47f4552 ipv6 support 2000-08-09 18:44:13 +00:00
Andreas Gustafsson
88301f84d1 print the deprecation warning message to stderr, not stdout 2000-08-09 18:35:40 +00:00
Andreas Gustafsson
aeb26739dd added draft-ietf-dnsext-dhcid-rr-00.txt 2000-08-09 18:26:46 +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
David Lawrence
a6be86b41b "@" is now the relative name returned for a chain that points to the absolute
root of the rbt.
2000-08-09 04:50:21 +00:00
David Lawrence
37cd2a0d29 style lint 2000-08-09 04:49:44 +00:00
David Lawrence
816e576f77 new URL for the copyright notice 2000-08-09 04:37:43 +00:00
David Lawrence
7cad5b3dbb use isc_log_wouldlog() to see whether to call log_rr(), and in log_rr()
don't bother using isc_buffer_usedregion() since the desired region
values are easily accessible with the isc_buffer_used{,length}() functions.
2000-08-09 04:17:49 +00:00
David Lawrence
e5f5ec73a7 tabify 2000-08-09 04:15:50 +00:00
David Lawrence
40817ed9c1 378. [func] named and lwresd will log the command line arguments
they were started with in the "starting ..." message.
[RT #165]
2000-08-09 03:44:42 +00:00
Brian Wellington
128da6abae use putc instead of fwrite, since only 1 character is being written at a time. 2000-08-09 01:37:33 +00:00
Brian Wellington
14cd2549a4 Accidentally left in a call to htons(). 2000-08-09 00:57:48 +00:00
Brian Wellington
ac0e6a081f Always produce the same random data. 2000-08-09 00:30:57 +00:00
Brian Wellington
babeb4b142 Added copyright. 2000-08-09 00:21:26 +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
ff56121a98 use isc_log_wouldlog() 2000-08-08 23:57:13 +00:00
Andreas Gustafsson
b232fc9f06 style 2000-08-08 23:56:10 +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
20df5357b1 edited 2000-08-08 23:37:21 +00:00
Andreas Gustafsson
0df41d7b0f more decrufting 2000-08-08 23:37:05 +00:00
Andreas Gustafsson
4870ad08e8 wired up and implemented the max-names zone option (for GNI) 2000-08-08 23:36:24 +00:00