Commit Graph

47 Commits

Author SHA1 Message Date
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
a4c4295268 update copyright notice 2006-01-04 23:50:21 +00:00
Mark Andrews
8019162f81 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2006-01-04 03:43:20 +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
388732593d cleanup spaces before semicolons. 2003-09-24 03:47:21 +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
9052beb238 pullup
Check return values or cast them to (void), as required by the coding
standards; add exceptions to the coding standards for cases where this is
not desirable
2003-08-11 05:28:23 +00:00
Mark Andrews
f4d86cfcea update_copyrights 2003-07-22 04:03:54 +00:00
Mark Andrews
8393fa9490 1466. [bug] lwresd configuration errors resulted in memory
and lock leaks.  [RT #5228]
2003-05-21 02:44:15 +00:00
Mark Andrews
de9833be77 955. [bug] When using views, the zone's class was not being
inherited from the view's class.  [RT #1583]
2001-08-07 01:58:59 +00:00
Brian Wellington
599bf3aca7 The code to convert a resolv.conf sortlist into a named.conf sortlist was
broken in many ways.
2001-04-02 22:52:07 +00:00
Brian Wellington
ff14db20fb check that the address family is supported before binding ports. 2001-03-24 02:31:41 +00:00
Andreas Gustafsson
c434887bd5 compiler warning 2001-03-07 22:07:06 +00:00
Andreas Gustafsson
c1e4e35ee4 #include <isc/print.h> 2001-03-07 22:04:11 +00:00
Brian Wellington
668acc6107 remove a few references to deleted headers 2001-03-06 02:49:29 +00:00
Brian Wellington
90c099e88e 762. [feature] named now uses the new configuration parser. 2001-03-04 21:21:39 +00:00
Brian Wellington
a12d9cfa59 710. [func] The forwarders statement now takes an optional port.
Also some assorted cleanup, which resulted in a lot of duplicated code removal.
2001-01-25 02:33:53 +00:00
Brian Wellington
1ec527b712 693. [bug] An empty lwres statement in named.conf caused
the server to crash while loading.
2001-01-19 01:20:00 +00:00
Brian Wellington
499b34cea0 copyright update 2001-01-09 22:01:04 +00:00
David Lawrence
10e6498d6d * Removed max-names (as well as DNS_R_ZONETOOLARGE, which was
never returned by any function and was presumably cruft
        related to max-names).
  * Made allow-notify part of the public source and documented it.
  * Made master server TSIG keys part of the public source and documented it.
  * Removed a define of DNS_OPT_NEWCODES supposedly used by GNS, with
        the approval of Mike.
  * Made DNS_ZONE_FORCELOAD flag, used by rndc reload, work in the
        public source.  After the NOMINUM_PUBLIC cleanup, I'll
        fix the rndc reload issues we've been discussing here at IETF.

I left in NOMIMUM_PUBLIC around the forward-notify stuff, with the
expectation that Michael will give the go-ahead next week to remove it.
2000-12-13 00:15:39 +00:00
Brian Wellington
dd16d9d9e7 564. [func] Add sortlist support to lwresd. 2000-11-15 23:56:23 +00:00
Brian Wellington
6a55a9f083 yet another reload related fix. 2000-11-04 01:11:27 +00:00
Brian Wellington
97c323e9d8 A couple failure cases weren't handled correctly. 2000-11-01 23:56:29 +00:00
Brian Wellington
783055c0a6 Big lwresd restructuring. The code is a lot more modular now (the lwresd
structure containing search path, view, etc. is split from the listener
object), and should work correctly on reload.
2000-10-31 22:39:30 +00:00
Brian Wellington
38a5d999de #include cleanup 2000-10-30 20:15:20 +00:00
Brian Wellington
dadd8860bb Support for the search and ndots config options in lwresd. 2000-10-24 04:27:25 +00:00
Mark Andrews
5e589b5356 Uninitalised link fixes, batch 1. 2000-10-20 02:21:58 +00:00
Michael Graff
fcf6c37b16 Make this compile after Andreas forgot to remove the now defunct third argument 2000-10-19 02:55:20 +00:00
Brian Wellington
7d34762a96 sanitizer stuff 2000-10-10 23:05:01 +00:00
Brian Wellington
8f80322fb5 Support for lwresd on addresses other than 127.0.0.1. 2000-10-05 22:27:54 +00:00
Brian Wellington
8a23742754 lwres can now be served by named, with the lwres{} block in named.conf.
If run as lwresd, look for /etc/lwresd.conf or a replacement specified
with -c, otherwise read /etc/resolv.conf or a replacement specified with -C.
2000-10-04 23:19:01 +00:00
Michael Graff
4e96d1fc06 restructure creating and cleanup to more closely fit the other subsystem's methods. This removes one more todo item from my list. 2000-09-07 21:54:40 +00:00
Brian Wellington
30e6ea9ded 405. [func] Add support for selective forwarding (forward zones) 2000-08-24 22:15:40 +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
15a4474541 word wrap copyright notice at column 70 2000-07-27 09:55:03 +00:00
Brian Wellington
8d790f3e95 When lwresd is shutting down, don't explicitly send shutdown events to the
clientmgr tasks, since the task manager already sends them.
2000-07-12 19:03:08 +00:00
Brian Wellington
57506ed769 Fix memory context leak. 2000-06-28 00:06:25 +00:00
Brian Wellington
a1f8303b1b don't print the configuration to stderr by default 2000-06-27 22:50:43 +00:00
David Lawrence
9c3531d72a add RCS id string 2000-06-22 22:00:42 +00:00
Brian Wellington
165250c403 Move entropy and dispatchmgr create/destroy to more correct places. 2000-06-21 22:12:02 +00:00
Brian Wellington
208e3e410d lwresd bug fixes, command line updates, configurability stuff 2000-06-21 01:16:27 +00:00
Brian Wellington
1eee03d8cf Use the -p port option to start lwresd on a different port 2000-06-19 22:30:11 +00:00
Brian Wellington
f6c700247a Failing to open/bind the lwresd socket should be a fatal error, since
it's only attempted if the user explicitly calls named with -r.
2000-06-16 07:42:41 +00:00
Brian Wellington
bb54e57a8e Fix shutdown problems associated with lwresd. 2000-06-16 07:21:13 +00:00
Brian Wellington
ab39ce8a64 Added <isc/print.h> for snprintf 2000-06-16 01:40:36 +00:00
Brian Wellington
878d3073b1 First pass at merging lwresd into named. Seems to work, but doesn't shut down
properly.  Run named with 'named -r' to test.
2000-06-16 01:39:02 +00:00