Commit graph

186 commits

Author SHA1 Message Date
Mark Andrews
d775887f01 cfg_obj_asnetprefix() check that the destinations are non NULL before writing to them 2010-11-16 00:41:32 +00:00
Evan Hunt
cfd262045c 2936. [func] Improved configuration syntax and multiple-view
support for addzone/delzone feature (see change
			#2930).  Removed "new-zone-file" option, replaced
			with "allow-new-zones (yes|no)".  The new-zone-file
			for each view is now created automatically, with
			a filename generated from a hash of the view name.
			It is no longer necessary to "include" the
			new-zone-file in named.conf; this happens
			automatically.  Zones that were not added via
			"rndc addzone" can no longer be removed with
			"rndc delzone". [RT #19447]
2010-08-11 18:14:20 +00:00
Automatic Updater
b8d4e96e95 update copyright notice 2010-06-23 23:46:58 +00:00
Mark Andrews
48dfee7150 2920. [func] Allow 'filter-aaaa-on-v4' to be applied selectively
to IPv4 clients.  New acl 'filter-aaaa' (default any).
2010-06-22 04:03:38 +00:00
Evan Hunt
e7c38ca963 - define isc_mem_reallocate() in the abstract API for export lib [rt20208]
- define BIND9 in config.h.win32
- fix problems in mem.h caused by the win32 preprocessor failing to
  expand macros used within macros
- silence a win32 compiler warning in hip_55.c
2009-09-02 23:43:54 +00:00
Automatic Updater
754cb8a2b3 update copyright notice 2009-06-11 23:47:56 +00:00
Evan Hunt
351b62535d 2609. [func] Simplify the configuration of dynamic zones:
- add ddns-confgen command to generate
			  configuration text for named.conf
			- add zone option "ddns-autoconf yes;", which
			  causes named to generate a TSIG session key
			  and allow updates to the zone using that key
			- add '-l' (localhost) option to nsupdate, which
			  causes nsupdate to connect to a locally-running
			  named process using the session key generated
			  by named
			[RT #19284]
2009-06-10 00:27:22 +00:00
Automatic Updater
3398334b3a update copyright notice 2008-09-25 04:02:39 +00:00
Mark Andrews
6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Evan Hunt
dabe7f50bb Fixed some memory management problems in sortlist code [rt17216] 2007-10-12 04:17:18 +00:00
Mark Andrews
12e0477d4e Part 2 of:
2233.   [func]          Add support for O(1) ACL processing, based on
                        radix tree code originally written by kevin
                        brintnall. [RT #16288]
2007-09-14 01:46:06 +00:00
Automatic Updater
70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater
ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews
45e1bd6358 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 02:39:52 +00:00
Mark Andrews
0cfc2b930c update copyright notice 2006-02-19 06:50:48 +00:00
Mark Andrews
7d4a465de0 1597. [func] Allow notify-source and query-source to be specified
on a per server basis similar to transfer-source.
2006-02-17 00:24:21 +00:00
Mark Andrews
2674e1a455 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2005-11-30 03:33:49 +00:00
Mark Andrews
03e200df5d 1913. [func] Integrate contibuted DLZ code into named. [RT #11382] 2005-09-05 00:12:29 +00:00
Mark Andrews
4e1d3e67cd 1914. [bug] Strings returned from cfg_obj_asstring() should be
treated as read-only.  The prototype for
                        cfg_obj_asstring() has been updated to reflect this.
                        [RT #15256]
2005-08-23 02:36:11 +00:00
Rob Austein
ab023a6556 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 04:57:32 +00:00
Mark Andrews
ebf264ea10 update copyright 2005-01-17 23:58:33 +00:00
Mark Andrews
4844ed026a 1798. [func] The server syntax has been extended to support a
range of servers.  [RT #11132]
2005-01-17 00:46:05 +00:00
Mark Andrews
c4f9e613e1 1680. [func] rndc: the source address can now be specified. 2004-07-23 04:15:27 +00:00
Tatuya JINMEI 神明達哉
ec3f1d3517 1629. [func] dig now supports IPv6 scoped addresses with the
extended format in the local-server part. [RT #8753]
2004-05-15 03:37:34 +00:00
Mark Andrews
1676408640 pullup silence compiler fixes
ifconfig.sh for Solaris 9
README updates
2004-03-18 02:58:08 +00:00
Mark Andrews
dafcb997e3 update copyright notice 2004-03-05 05:14:21 +00:00
Mark Andrews
ad4b2f37e0 1479. [bug] cfg_create_tuple() failed to handle out of
memory cleanup.  parse_list() would leak memory
                        on syntax errors.
2003-07-03 01:50:25 +00:00
Mark Andrews
3425cd6803 1473. [bug] create_map() and create_string() failed to handle out
of memory cleanup.  [RT #6813]
2003-07-03 00:43:28 +00:00
Mark Andrews
0cb25226fb 1473. [bug] free_map() and free_string() failed to handle out
of memory cleanup.  [RT #6813]
2003-06-20 02:50:48 +00:00
Mark Andrews
806c235ecf 1458. [cleanup] sprintf() -> snprintf(). 2003-04-11 07:25:31 +00:00
Mark Andrews
2fd63cf561 1455. [bug] <netaddr> missing from server grammar in
doc/misc/options. [RT #5616]
2003-04-10 02:16:11 +00:00
Mark Andrews
646182a67f missing include
adjust prototype for isc_netscope_pton() to use void *.
2002-11-26 04:36:46 +00:00
Mark Andrews
925c021f1f u_int32_t -> isc_uint32_t 2002-10-28 02:35:36 +00:00
Mark Andrews
6526fd032f 1391. [func] Add support for IPv6 scoped addresses in named. 2002-10-24 03:52:35 +00:00
Mark Andrews
a7038d1a05 copyrights 2002-02-20 03:35:59 +00:00
Mark Andrews
de36c606c5 1202. [func] New functions: cfg_obj_line() and cfg_obj_file().
This should allow duplicate reports to identify the location of both objects.
2002-02-13 03:32:56 +00:00
Andreas Gustafsson
45ddf396e9 spacing 2002-02-01 02:33:26 +00:00
Andreas Gustafsson
47af71b523 use token.value.as_textregion.base, not token.value.pointer 2002-01-22 19:31:57 +00:00
Mark Andrews
9c827a3997 initalise warning
initalise token
only print known token types.
2002-01-04 06:19:20 +00:00
Mark Andrews
adbb11147c 1170. [bug] Don't attempt to print the token when a I/O error
occurs when parsing named.conf.  [RT #2275]
2002-01-04 05:42:12 +00:00
Andreas Gustafsson
669e9657c7 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
2002-01-04 02:32:16 +00:00
Mark Andrews
66291de206 1165. [bug] We were rejecting notify-source{-v6} in zone clauses. 2001-12-18 23:23:32 +00:00
Andreas Gustafsson
9cec4ca6ca 1162. [bug] The allow-notify option was not accepted in slave
zone statements.
2001-12-13 06:31:00 +00:00
Andreas Gustafsson
91cd0f93ad sizeof style 2001-11-27 01:56:32 +00:00
Mark Andrews
ae29b66fbf BIND 8.3 compat "suppress-initial-notify". 2001-11-13 06:57:11 +00:00
Andreas Gustafsson
bad3251d3f Undo the parts of 1113. pertaining to the allow-update option; simplify grammar 2001-11-08 21:13:42 +00:00
Mark Andrews
773e64ec15 try-edns is no more 2001-11-07 04:25:19 +00:00
Mark Andrews
be9932698b max-adb-size is no more.
1073.  [bug]           The adb cache should also be space driven.
                       [RT #1915, #1938]
2001-11-07 03:52:20 +00:00
Andreas Gustafsson
06278dd28a grammar summary output for named maps was missing the name field 2001-11-05 22:24:31 +00:00
Andreas Gustafsson
67145f44e5 don't say "'foo' unexpected near 'foo'" - once is enough 2001-11-05 18:21:22 +00:00
Andreas Gustafsson
7e2f4ceafa 1104. [bug] Invalid arguments to the transfer-format option
could cause an assertion failure. [RT #1995]
2001-11-05 18:19:46 +00:00
Andreas Gustafsson
c8ab83c08e 1075. [bug] Out-of-range network prefix lengths were not
reported. [RT #1954]
2001-10-26 19:35:03 +00:00
Mark Andrews
081cff0c33 1073. [bug] The adb cache should also be space driven,
max-adb-size.  [RT #1915, #1938]
2001-10-25 04:57:46 +00:00
Andreas Gustafsson
1ae369c9d2 some variables that should have been static weren't 2001-10-23 01:49:35 +00:00
Andreas Gustafsson
b8685833f1 expand the qstringornone type in the grammar summary 2001-10-19 18:08:27 +00:00
Andreas Gustafsson
3c3fe07225 1055. [func] Version and hostname queries can now be disabled
using "version none;" and "hostname none;",
                        respectively.
(for consistency with "pid-file none" and each other)
2001-10-16 22:18:59 +00:00
Andreas Gustafsson
8d2b885018 The option for disabling the PID file is now pid-file none, not pid-file "none" 2001-10-16 20:04:41 +00:00
Andreas Gustafsson
62a3dbe63e 1050. [bug] Log messages reporting malformed IP addresses in
address lists such as that of the forwarders option
                        failed to include the correct error code, file
                        name, and line number. [RT #1890]
2001-10-12 22:00:31 +00:00
Mark Andrews
df7596a03e 1032. [func] hostname.bind/txt/chaos now returns the name of
the machine hosting the nameserver.  This is useful
                        in diagnosing problems with anycast servers.
2001-10-08 07:46:11 +00:00
Andreas Gustafsson
8cccaeaee1 New named.conf option "ixfr-from-differences" [RT #1727] 2001-09-08 00:21:49 +00:00
Andreas Gustafsson
fe5146716e host-statistics is not implemented,
maintain-ixfr-base is obsolete [RT #1717]
2001-09-06 21:52:46 +00:00
Andreas Gustafsson
847ed3fccf new configuration data type cfg_type_sizenodefault,
which can be a size or the string 'unlimited' but not the string
'default'.  This is used for max-cache-size and max-journal-size,
and obsoletes the special check for 'default' in check.c.
2001-09-01 01:41:40 +00:00
Andreas Gustafsson
0c5233171f allow setting a default max-journal-size in the options or view 2001-09-01 01:24:29 +00:00
Andreas Gustafsson
cb8fd52bbe call the new option for setting the maximum journal
size 'max-journal-size', not 'journal-size', in the tradition of the
historical option 'max-ixfr-log-size'
2001-09-01 01:13:41 +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
cc0a5f7142 journal-size can now be set from named.conf 2001-08-30 05:23:00 +00:00
Andreas Gustafsson
b21320abb5 brace style 2001-08-08 20:52:34 +00:00
Mark Andrews
326bcfa0e2 rndc.key support 2001-08-03 05:56:22 +00:00
Andreas Gustafsson
5c213fcd1d mark rrset-order as unimplemented [RT #1561] 2001-08-02 23:36:23 +00:00
Andreas Gustafsson
ab54086529 print detailed description of grammar of socket addresses instead
of obscure names like 'v6addrportwild'; misc cleanup
2001-07-31 20:07:48 +00:00
Andreas Gustafsson
657a6a6f3c some unimplemented options were not marked as such in the grammar summary output 2001-07-26 21:27:51 +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
Danny Mayer
dfca19a1aa Added LIBISCCFG_EXTERNAL_DATA macros to 3 declarations 2001-07-23 05:00:44 +00:00
Andreas Gustafsson
33654a83db const correctness [RT #1011] 2001-07-23 00:23:30 +00:00
Andreas Gustafsson
96ed624253 923. [bug] Multiline TSIG secrets (and other multiline strings)
were not accepted in named.conf. [RT #1469]
2001-07-06 20:34:12 +00:00
Andreas Gustafsson
37c961df41 extra space in error message string 2001-07-03 17:12:19 +00:00
Mark Andrews
b8c618c852 remove unreachable code.
move&correct error statement.
2001-07-03 07:43:02 +00:00
Andreas Gustafsson
2b8e5a5254 errors were logged as warnings and vice versa 2001-07-02 17:48:27 +00:00
Andreas Gustafsson
207c7c1ea3 added ISC_FORMAT_PRINTF checks 2001-07-02 17:05:46 +00:00
Andreas Gustafsson
97e1692460 New function cfg_print_grammar(), which generates a human-readable
summary of the grammar for a given configuration type from its syntax
tables.  Running bin/tests/cfg_test --grammar --named will print a
named.conf grammar summary, and bin/tests/cfg_test --grammar --rndc
will print the rndc.conf grammar summary.
2001-06-29 18:36:13 +00:00
Andreas Gustafsson
56877490bc 865. [bug] The new configuration parser did not allow
the optional debug level in a "severity debug"
                        clause of a logging channel to be omitted.
                        This is now allowed and treated as "severity
                        debug 1;" like it did in BIND 8.2.4, not as
                        "severity debug 0;" like it did in BIND 9.1.
                        [RT #1367]
2001-06-08 01:03:00 +00:00
Andreas Gustafsson
8b9fa5b005 redid RT #1353 fix in 1.53 so that it does not free
file names while they are still referenced from the parse tree
2001-06-07 01:58:49 +00:00
Mark Andrews
989f808405 851. [cleanup] support-ixfr is obsolete, use request-ixfr. 2001-06-01 15:17:19 +00:00
Brian Wellington
cf74d05a50 840. [bug] The config file parser could print the wrong file
name if an error was detected after an included file
			was parsed. [RT #1353]
2001-05-28 06:05:24 +00:00
Andreas Gustafsson
120cf12320 folded lines >80 chars; added comments; removed some unused code 2001-05-09 03:17:02 +00:00
Brian Wellington
d7ba3622ff 794. [func] Implement the "port" and "default-port" statements
in rndc.conf.
2001-03-28 00:16:09 +00:00
Brian Wellington
6eccf5bd07 788. [feature] Add the "match-mapped-addresses" options, which
causes IPv6 v4mapped addresses to be treated as
			IPv4 addresses for the purpose of acl matching.
2001-03-26 21:33:07 +00:00
Andreas Gustafsson
1824b43f62 parse_mapbody() could return ISC_R_SUCCESS when it failed, triggering
an assertion
2001-03-21 19:01:36 +00:00
Brian Wellington
54d64c7994 782. [feature] Implement the serial-query-rate option. 2001-03-19 22:34:14 +00:00
Bob Halley
d911284333 add support for minimal-responses 2001-03-14 21:53:29 +00:00
Andreas Gustafsson
52c17deb58 some variables which should have been static weren't 2001-03-14 00:30:06 +00:00
Andreas Gustafsson
b31c8af1d9 name libisccfg logging functions consistently with
other libisccfg functions [RT #1020]
2001-03-13 03:04:09 +00:00
Brian Wellington
d25dd5b056 770. [func] Add the "edns yes_or_no" statement to the server
clause. [RT #524]
2001-03-06 23:54:37 +00:00
Andreas Gustafsson
2c476880d6 parse_sockaddrsub() assumed current token was string
token withouth checking that it actually was; reformatted for
80 columns
2001-03-06 19:13:01 +00:00
Brian Wellington
72b7d215f7 The directory option didn't have the CFG_CLAUSEFLAG_CALLBACK bit set, so the
callback wasn't executed. [RT #978]
2001-03-06 18:17:52 +00:00
Andreas Gustafsson
3ee9853eb4 return sizes as 64-bit integers, not strings 2001-03-03 02:18:13 +00:00
Andreas Gustafsson
0d453b0ef2 'versions' and 'size' are not log channel clauses 2001-03-03 01:08:02 +00:00
Andreas Gustafsson
d39e9cdfd0 logging statement file clause syntax was still wrong 2001-03-03 00:52:39 +00:00
Andreas Gustafsson
fac0a17b66 fix syntax of the logging statement file clause 2001-03-02 20:00:17 +00:00
Brian Wellington
bdc79a7164 The constants CFG_CLAUSEFLAG_NEWDEFAULT and CFG_CLAUSEFLAG_NYI should have
different values.
2001-03-02 07:03:55 +00:00