Commit Graph

101 Commits

Author SHA1 Message Date
Mark Andrews
09e36e1b91 2067. [bug] 'rndc' could close the socket too early triggering
a INSIST under Windows. [RT #16317]
2006-08-04 03:03:08 +00:00
Mark Andrews
9a538815a9 2052. [bug] 'rndc' improve connect failed message to report
the failing address. [RT #15978]
2006-07-20 03:48:05 +00:00
Mark Andrews
a53db79bae update copyright notice 2006-03-02 00:37:20 +00:00
Mark Andrews
95599b4221 1991. [cleanup] The configuration data, once read, should be treated
as readonly.  Expand the use of const to enforce this
                        at compile time. [RT #15813]
2006-02-28 06:32:54 +00:00
Mark Andrews
242ef7b98a update copyright notice 2005-03-17 03:58:33 +00:00
Mark Andrews
6878b44251 1795. [bug] "rndc dumpb" was not fully documented. Minor
formating issues with "rndc dumpdb -all".  [RT #13396]
2005-03-14 23:56:31 +00:00
Mark Andrews
a0df2e016f 1711. [func] 'rndc unfreeze' has been deprecated by 'rndc thaw'. 2004-09-03 03:43:32 +00:00
Mark Andrews
c3138c6928 doc regen / copyrights 2004-03-08 04:04:47 +00:00
Mark Andrews
a09e55f624 update copyrights 2004-03-06 10:22:54 +00:00
Mark Andrews
25a60b1d80 sync with HEAD 2003-10-15 05:32:25 +00:00
Mark Andrews
29c69bb338 pullup:
correct typo in usage message.
2003-08-22 03:20:09 +00:00
Mark Andrews
785e943834 1380. [func] 'rndc recursing' dump recursing queries to
'recursing-file = "named.recursing";'.
2003-08-21 14:05:47 +00:00
Mark Andrews
48c4c3d66b 1190. [func] Add the "rndc freeze" and "rndc unfreeze" commands.
[RT #2394]
2003-08-13 04:35:06 +00:00
Mark Andrews
fe73090122 pullup:
Split off the named.conf grammar into a source module separate
from the configuration parser, to facilitate reuse of the latter for
parsing non-BIND configuration files
2003-08-12 07:10:32 +00:00
Mark Andrews
3da9ba9a4c 1153. [func] 'rndc {stop|halt} -p' now reports the process id
of the instance of named being shutdown.
2003-08-11 05:42:52 +00:00
Mark Andrews
62acdc453a 1139. [func] It is now possible to flush a given name from the
cache(s) via 'rndc flushname name [view]'. [RT #2051]
2003-08-08 05:32:36 +00:00
Mark Andrews
6166435738 1127. [func] rndc: If the server to contact has multiple addresses,
try all of them.
2003-08-08 03:53:53 +00:00
Mark Andrews
72ceb8a6cc pullup:
@Add bind9_getaddresses(), a consistent version of the get_address function
from dig/host/nslookup, nsupdate, and rndc.  This should make it
easier to have the various programs support multiple addresses for a hostname.
2003-08-08 03:40:09 +00:00
Mark Andrews
043f46fcde 999. [func] "rndc retransfer zone [class [view]]" added.
[RT #1752]
2003-08-04 02:04:47 +00:00
Mark Andrews
f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews
edb8af0b14 1480. [bug] Provide replay protection for rndc commands. Full
replay protection requires both rndc and named to
                        be updated.  Partial replay protection (limited
                        exposure after restart) is provided if just named
                        is updated.
2003-07-17 06:36:47 +00:00
Mark Andrews
8d39478fe7 1219. [bug] Set AI_ADDRCONFIG when looking up addresses
via getaddrinfo() (affects dig, host, nslookup, rndc
                       and nsupdate).
2003-05-15 01:17:55 +00:00
Andreas Gustafsson
fa85eab969 belated pullup:
125.   [bug]           rndc: -k option was missing from usage message.
                        [RT #2057]
2001-11-28 23:37:50 +00:00
Andreas Gustafsson
6ca3f52bee pullup:
1056.   [bug]           Rndc could catch an assertion failure on SIGINT due
                        to an uninitialized variable. [RT #1908]
2001-10-17 18:26:01 +00:00
Andreas Gustafsson
0a77211c80 Wrapped long lines in an error message, and fixed two bugs:
1) rndc would crash if rndc.conf could not be read
2) rndc running in named.key mode required a working
DNS to resolve the default server name "localhost",
causing a chicken-and-egg problem when using rndc
to fix a broken DNS.  Fixed by changing the default
to 127.0.0.1.  This will probably offend some IPv6
people.
2001-08-06 11:40:46 +00:00
Mark Andrews
a769eca4e3 cleanup
document "rndc -k"
2001-08-06 04:25:08 +00:00
Mark Andrews
326bcfa0e2 rndc.key support 2001-08-03 05:56:22 +00:00
Andreas Gustafsson
929b55a64d consistency 2001-07-26 20:37:26 +00:00
Andreas Gustafsson
1ecd9d30a0 pass in the full name of the automatic configuration file from
the Makefile as RNDC_AUTOCONFFILE, so that it too can be overridden on Win32
if necessary
2001-07-26 20:14:46 +00:00
Andreas Gustafsson
dcfaeabc63 renamed RNDC_SYSCONFPATH to RNDC_CONFFILE; there's
nothing specifically SYS about it
2001-07-26 20:06:22 +00:00
Danny Mayer
922a15c7c0 Changes to support win32 2001-07-26 03:15:16 +00:00
Andreas Gustafsson
b0232b4bbe sloppy formatting 2001-07-23 16:32:40 +00:00
Danny Mayer
80b67b3a4f Modified to initialize conf path at run time and avoid redeclaring h_errno 2001-07-23 02:58:22 +00:00
Andreas Gustafsson
b233a7b9bb include <isc/netdb.h>, not <netdb.h>, as the latter one
may not exist on all platform
2001-07-09 22:02:15 +00:00
Brian Wellington
bfafdac061 defining program as a 'char []' in rndc.c and 'exterm char *' in util.c
doesn't work.
2001-07-02 00:07:09 +00:00
Brian Wellington
e1d05d3235 fix a call to fatal() where the entire mesage wasn't printed due to an
extra comma; add ISC_FORMAT_PRINTF() to the declaration of fatal.
[RT #1460]
2001-07-01 17:36:47 +00:00
David Lawrence
4cd7656507 Split fatal(), notify() into util.c.
Put DO() and the fatal()/notify() declarations in util.h.
Makefile adjusted to build rndc with util.o, and to also build and
install rndc-confgen.
2001-06-22 17:22:26 +00:00
Andreas Gustafsson
21bdba2f2d signed/unsigned warning on HP-UX 11 2001-06-15 01:20:09 +00:00
David Lawrence
504f7802d4 893. [func] Removed isc_file_test() and added isc_file_exists()
for the basic functionality that was being added
			with isc_file_test().
2001-06-08 21:53:49 +00:00
David Lawrence
73a691c373 Look for and use named.key if the main configuration file is not found.
Converted numerous fprintf()/exit() combinations to fatal()s.
Use isc_file_progname().
2001-05-31 10:42:49 +00:00
Brian Wellington
5455f30a75 842. [func] 'rndc flush' now takes an optional view. 2001-05-31 01:21:12 +00:00
Brian Wellington
b7ce2258ca change the description of 'rndc status' 2001-05-22 00:56:01 +00:00
Brian Wellington
e4cd5a1e5d Partial support for "rndc status". Not all of the fields are filled in yet. 2001-05-08 04:09:41 +00:00
Andreas Gustafsson
8b3fb4bded added reconfig command to usage message 2001-05-08 01:19:01 +00:00
Brian Wellington
e19501436a seed random(), so that the message serial number is not always the same. 2001-04-16 23:07:34 +00:00
Brian Wellington
71ca6e64b4 allow ^C to kill rndc while waiting for a response. 2001-04-16 22:00:21 +00:00
David Lawrence
8b0c51974b cleaned up IRIX warnings:
assigned the result of a comparison directly to an isc_boolean_t.
ipv4 was set but not used if USE_GETADDRINFO was not set.
2001-04-12 21:01:46 +00:00
David Lawrence
947295d886 warning cleanup for HPUX-10.20: trivial unsigned vs sign char pointer issues. 2001-04-12 20:39:04 +00:00
Brian Wellington
c20ffa38de 808. [func] Add 'rndc flush' to flush the server's cache. 2001-04-11 20:37:50 +00:00
Brian Wellington
35112a392f Call isccc_ccmsg_setmaxsize() on the ccmsg. This causes rndc to sometimes
output the slightly cryptic "out of range" message when connecting to a random
port instead of the just plain wrong "out of memory".
2001-04-10 22:00:41 +00:00