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

2623 Commits

Author SHA1 Message Date
David Lawrence
229f8a97f7 duplicate log message filtering functionality via isc_log_write1() and
isc_log_vwrite1(), configurable over X seconds using
isc_log_setduplicateinterval().

isc_log_vwrite renamed to static isc_log_doit(), isc_log_vwrite() created
as wrapper for isc_log_doit().

don't do a second test on ISC_LOG_PRINTLEVEL when logging the message to add
a colon-space, since the colon-space is already in level_string.

print "no_module: " if a module has not been specified (but PRINTMODULE was),
to keep tokenization nice and clean for future log-file parsing programs
without looking quite like a bug, which is what happens with:
  Oct 25 15:51:07 dns_general: : notice: This should be in file 1/1
instead of
  Oct 25 15:51:07 dns_general: no_module: notice: This should be in file 1/1
1999-10-25 19:55:06 +00:00
David Lawrence
1b038dbf06 Prototypes and documentation for isc_log_write1(), isc_log_vwrite1(),
isc_log_setduplicateinterval() and isc_log_getduplicateinterval().
1999-10-25 19:47:42 +00:00
Bob Halley
1fc4929aa6 syslog support 1999-10-25 18:59:38 +00:00
Bob Halley
73ca2fa486 cache loading 1999-10-25 18:59:20 +00:00
Bob Halley
925c6e6f4d minor tweaks; add -x to load cache 1999-10-25 18:58:43 +00:00
Bob Halley
d7778ed2d3 remove \n from calls to isc_log_write() 1999-10-25 18:57:27 +00:00
Bob Halley
c03e11d62f eliminate \n in calls to isc_log_write() 1999-10-25 18:51:54 +00:00
Bob Halley
bad8294771 add const to filename args 1999-10-25 18:42:09 +00:00
Bob Halley
b9fd2590a7 add const to filename args, cleanups 1999-10-25 18:41:36 +00:00
Mark Andrews
b57bb9136a Ensure that islower is called with int. 1999-10-25 17:04:55 +00:00
Mark Andrews
acf87ed0b5 suppress ambigious else messages even when they are not. 1999-10-25 17:01:30 +00:00
Mark Andrews
88ba491496 char is signed on some platforms. ensure that isupper() & isdigit() are
called with positive ints.
1999-10-25 16:58:21 +00:00
Mark Andrews
6166e52816 move zone loading out of callback 1999-10-25 16:46:15 +00:00
Mark Andrews
42c479991f in6addr_any and in6addr_loopback should be "const" 1999-10-25 16:33:13 +00:00
Mark Andrews
0f0ed7ea47 Add "const" to input only arguements. 1999-10-25 14:37:04 +00:00
Mark Andrews
936f1c128f add log context to dns_zone_copy()
fix various locking problems in zone.
1999-10-25 13:44:53 +00:00
Mark Andrews
86014b3223 add dns_view_load 1999-10-25 13:38:00 +00:00
Mark Andrews
28e9bc1bd2 add dns_zt_apply() 1999-10-25 13:34:17 +00:00
Mark Andrews
ad61b7e789 add prototype dns_zt_apply() 1999-10-25 13:32:52 +00:00
Mark Andrews
0358d65e07 add prototype dns_view_load() 1999-10-25 13:31:18 +00:00
Mark Andrews
a9bbe392e5 sort #include <dns/*.h> 1999-10-25 13:25:43 +00:00
Mark Andrews
8cdac11df1 Correct comment 1999-10-25 13:11:13 +00:00
Mark Andrews
4c494e429c Perform explict attach of db to xfr stucture. Calling function to detach. 1999-10-25 12:18:43 +00:00
Mark Andrews
76771c089c Add prototype for dns_zt_print(). 1999-10-25 11:23:06 +00:00
Mark Andrews
70f6053bd1 Add DNS_LOGMODULE_ZONE 1999-10-25 11:21:03 +00:00
Mark Andrews
3449209bf6 Suppress benign error message about unused parameter 'view' 1999-10-25 11:19:22 +00:00
James Brister
54570ba7ff Added isc_sockaddr_eqaddr and its protoype: compares only the addresses
(and not the port values) of two isc_sockaddr_t.
1999-10-25 10:07:37 +00:00
James Brister
6f9fbf8b48 Prototypes for tkey-domain and tkey-dhkey related functions. 1999-10-25 10:04:18 +00:00
James Brister
bb4b118f9b Added tkey-domain and tkey-dhkey support. 1999-10-25 10:00:38 +00:00
James Brister
57840f518a Changes to config generators.
Added tkey-domain and tkey-dhkey to options block.
1999-10-25 09:55:40 +00:00
James Brister
285ae3ab80 Minor changes to config file generators.
Added a lookup function for server lists.
1999-10-25 09:52:42 +00:00
Bob Halley
d18e956d56 add 1999-10-23 16:47:08 +00:00
Michael Graff
970cccf46e forgot to commit this. Changes to match the API, and more test cases. 1999-10-23 04:02:05 +00:00
William King
c34b793ca8 perl test api equivalent to the C api used in the regression tests 1999-10-23 01:26:41 +00:00
Bob Halley
9b2267b5ba add 1999-10-23 01:08:57 +00:00
Bob Halley
f41948fc23 os-specific init 1999-10-23 01:07:22 +00:00
Bob Halley
19f88bd7ad build unix 1999-10-23 01:06:51 +00:00
Bob Halley
1cafbcfa6f add bin/named/unix/Makefile 1999-10-23 01:06:31 +00:00
Andreas Gustafsson
8327c62a49 added logging modules and categories for update, xfer-in, xfer-out 1999-10-23 00:44:40 +00:00
Bob Halley
deb12179be do not BEGIN/END C++ DECLS 1999-10-23 00:42:52 +00:00
Bob Halley
378d26619d catch assertion failures and library fatal errors 1999-10-23 00:33:04 +00:00
Bob Halley
8582a1e113 cleanups 1999-10-23 00:32:48 +00:00
Bob Halley
f0f28e6ac3 nitpicking 1999-10-23 00:28:53 +00:00
Bob Halley
b8257bd2d8 logging tweaks and fixes 1999-10-23 00:02:23 +00:00
Andreas Gustafsson
8f6a8ce904 IXFR-over-UDP conditional was backwards 1999-10-22 19:42:38 +00:00
Bob Halley
a4b6a1622b really basic logging instead of printf 1999-10-22 19:35:19 +00:00
Bob Halley
202d738d87 add 1999-10-22 19:34:03 +00:00
Bob Halley
1687985cdf add log.c 1999-10-22 19:33:40 +00:00
Bob Halley
2c2cda0045 add resolver category and module 1999-10-22 19:33:13 +00:00
Bob Halley
6fe8621e7f convert tracing into debug logging 1999-10-22 19:32:49 +00:00