658 Commits
Author SHA1 Message Date
Mark Andrews bbca0d1e81 3908. [bug] rndc now differentiates between a zone in multiple
views and a zone that doesn't exist at all. [RT #36691]

(cherry picked from commit c38341ec43)
(cherry picked from commit 13ffd78910)
2014-08-02 15:09:29 +10:00
Mark Andrews 8c5c5de1bc silence win64 possible loss of data
(cherry picked from commit ff74829d81)
2014-06-23 14:07:53 +10:00
Mark Andrews 6f5b32bc57 3866. [bug] Named could die on disk full in generate_session_key.
[RT #36119]

(cherry picked from commit fa6308bd57)
2014-05-30 14:39:58 +10:00
Evan Hunt 5d59817b4f [v9_8] log static-stub correctly when removing
3822.	[bug]		Log the correct type of static-stub zones when
			removing them. [RT #35842]

(cherry picked from commit eb1a7730f0)
(cherry picked from commit 00e9952c41)
2014-04-26 10:20:40 -07:00
Evan Hunt ff3307bc04 [v9_8] warn when wrong address family used in listen-on/-v6
3778.	[bug]		Log a warning when the wrong address family is
			used in "listen-on" or "listen-on-v6". [RT #17848]

(cherry picked from commit 78f79084fc)
(cherry picked from commit 2b4781835c)
2014-03-07 11:36:46 -08:00
Mark Andrews 9a0e7b4b53 3743. [bug] delegation-only flag wasn't working in forward zone
declarations despite being documented.  This is
                        needed to support turning off forwarding and turning
                        on delegation only at the same name.  [RT #35392]

(cherry picked from commit 38eabfcee7)
2014-02-18 10:17:34 +11:00
Francis Dupont f30ddbed55 spurious space 2014-02-16 02:13:43 +01:00
Mark Andrews 3c7aa3b3a8 fix typo in comment
(cherry picked from commit 404d7c966c)
2014-02-08 09:38:40 +11:00
Evan Hunt 31bed7e679 [v9_8] add no-case-compress
3731.	[func]		Added a "no-case-compress" ACL, which causes
			named to use case-insensitive compression
			(disabling change #3645) for specified
			clients. (This is useful when dealing
			with broken client implementations that
			use case-sensitive name comparisons,
			rejecting responses that fail to match the
			capitalization of the query that was sent.)
			[RT #35300]

(cherry picked from commit 166341d554)
(cherry picked from commit c2d3d0eda5)
2014-02-06 19:44:27 -08:00
Evan Hunt ad3e926a40 [v9_8] silence coverity warnings
- remove dead code in server.c

(cherry picked from commit 48def18179)
2014-01-31 09:40:31 -08:00
Tinderbox User 51ef6746ac update copyright notice 2014-01-17 23:45:31 +00:00
Mark Andrews a50e0baf52 3710. [bug] Address double dns_zone_detach when switching to
using automatic empty zones from regular zones.
                        [RT #35177]

(cherry picked from commit db8938c993)
2014-01-17 10:08:09 +11:00
Mark Andrews e27bc9da05 cleanup
(cherry picked from commit 99c3e8e09c)
2013-12-10 09:55:48 +11:00
Mark Andrews 8036d41e86 use snprintf; check the result of putstr
(cherry picked from commit 06a0b00bb6)
2013-12-10 08:57:18 +11:00
Tinderbox User 769eef448d update copyright notice 2013-12-04 23:45:37 +00:00
Evan Hunt f436de08b5 [master] clearer "not found" message for rndc commands
3683.	[cleanup]	Add a more detailed "not found" message to rndc
			commands which specify a zone name. [RT #35059]

(cherry picked from commit bee9a28af0)
(cherry picked from commit 98a3bd57ca)
2013-12-04 13:11:45 -08:00
Mark Andrews 7c0b7f6847 3681. [port] Update the Windows build system to support feature
selection and WIN64 builds.  This is a work in
                        progress. [RT #34160]

(cherry picked from commit c3c8823fed)

Conflicts:
	CHANGES
	bin/check/win32/checktool.dsp.in
	bin/dnssec/win32/dnssectool.dsp.in
	bin/dnssec/win32/importkey.dsp.in
	bin/dnssec/win32/importkey.mak.in
	bin/named/geoip.c
	bin/named/include/named/geoip.h
	bin/tools/win32/rrchecker.dsp.in
	bin/tools/win32/rrchecker.mak.in
	config.h.win32
	lib/dns/geoip.c
	lib/dns/master.c
	lib/dns/win32/libdns.dsp.in
	lib/dns/win32/libdns.mak.in
	lib/isc/mem.c
	lib/isc/stats.c
	lib/isc/win32/file.c
	lib/isc/win32/libisc.def.in
	lib/isc/win32/libisc.mak.in
	lib/isc/win32/stdio.c
	lib/isccc/cc.c
	win32utils/BuildAll.bat
	win32utils/BuildSetup.bat
	win32utils/legacy/BINDBuild.dsw.in
	win32utils/makeversion.pl
	win32utils/setpk11provider.pl
	win32utils/updatelibxml2.pl
	win32utils/win32-build.txt

Conflicts:
	bin/dnssec/win32/verify.dsp.in
	bin/dnssec/win32/verify.mak.in
	bin/named/server.c
	bin/python/dnssec-checkds.py.in
	bin/python/dnssec-coverage.py.in
	lib/dns/nsec.c
	lib/dns/nsec3.c
	lib/dns/win32/libdns.mak.in
	lib/dns/zone.c
	lib/isc/win32/libisc.mak.in
	win32utils/BuildAll.bat
	win32utils/BuildSetup.bat
	win32utils/legacy/BINDBuild.dsw.in
	win32utils/updatelibxml2.pl
	win32utils/win32-build.txt
2013-12-04 14:08:17 +11:00
Mark Andrews f9b270d492 3653. [func] Create delegations for all "children" of empty zones
except "forward first". [RT #34826]

(cherry picked from commit 00043fc284)
2013-09-25 09:41:52 +10:00
Tinderbox User 8674d31987 update copyright notice 2013-09-19 23:45:30 +00:00
Evan Hunt 399394eb55 [v9_8] comment nzf files
3649.	[cleanup]	Include a comment in .nzf files, giving the name of
			the associated view. [RT #34765]
(cherry picked from commit c7965f84c2)
(cherry picked from commit 1e77160774)
2013-09-19 15:43:35 -07:00
Mark Andrews 0e1be72097 remove dead code 2013-08-19 12:54:08 +10:00
Mark Andrews 2269c9c9b7 3636. [bug] Automatic empty zones now behave better with
forward only "zones" beneath them. [RT #34583]

(cherry picked from commit e548e07a9a)
2013-08-16 14:27:35 +10:00
Mark Andrews 0865e8fa2d 3634. [func] Report build-id in rndc status. Report build-id
when building from a git repository. [RT #20422]

(cherry picked from commit 0e1dfb8ff5)
2013-08-15 12:57:13 +10:00
Tinderbox User c4b00f8c53 update copyright notice 2013-06-06 23:45:30 +00:00
Mark Andrews a4741ee1c7 3587. [func] 'named -g' now checks the logging configuration but
does not use it. [RT #33473]
(cherry picked from commit 8144dc702b)
2013-06-06 11:09:01 +10:00
Curtis Blackburn 94a24637d4 3581. [bug] Changed the tcp-listen-queue default to 10. [RT #33029] 2013-06-03 14:02:47 -05:00
Mark Andrews d55e94db58 3573. [bug] "rndc addzone" and "rndc delzone" incorrectly handled
zone names containing punctuation marks and other
			nonstandard characters. [RT #33419]
2013-05-29 17:56:42 +10:00
Evan Hunt caa3fd00ec [v9_8] silence ccc-analyzer
3567.	[bug]		Silence clang static analyzer warnings. [RT #33365]
2013-05-03 14:33:27 -07:00
Mark Andrews bb2505325b silence compiler warnings 2013-03-05 23:46:41 +11:00
Mark Andrews 870c402a7d check isc_task_beginexclusive result
(cherry picked from commit 189efe774e)
2013-02-28 13:23:34 +11:00
Mark Andrews be7574a755 update copyrights 2013-02-27 12:38:27 +11:00
Mark Andrews 6292e6f1d5 3498. [bug] zone statistics for zones which matched a potential
empty zone could have their zone-statistics setting
                        overridden.

reviewed via jabber.
2013-02-26 15:50:01 +11:00
Evan Hunt 3584937648 [v9_8] RPZ speed up (phase 1, single RPZ)
3496.	[func]		Improvements to RPZ performance. The "response-policy"
			syntax now includes a "min-ns-dots" clause, with
			default 1, to exclude top-level domains from
			NSIP and NSDNAME checking. [RT #32251]

    Response policy (rpz) changes to
      - add zone statistics
      - speed up by adding min-ns-dots to the response-policy syntax
         with a default of 1
      - detect and reject policy zones with a database other than rbt
         only rbtdb has rpz hooks
      - allow empty response-policy{} statement
      - make --enable-rpz-nsip and --enable-rpz-nsdname the default
(cherry picked from commit 8159e80279408be50d31db5d853ae2736bd1934d)
2013-02-25 14:32:00 -08:00
Mark Andrews f749dec99d 3437. [bug] isc_buffer_init -> isc_buffer_constinit to initialise
buffers with constant data. [RT #32064]

Squashed commit of the following:

commit 3433b96bf11f8c90ccbe412f01d02a6d8bbc2d33
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:41:16 2012 +1100

    isc_buffer_init -> isc_buffer_constinit

commit c22dbcc1122a0a44f7b46068e0ccbc25353a57d5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:38:39 2012 +1100

    isc_buffer_init -> isc_buffer_constinit

commit 900820416c45c1887d0d22d7a010df60a903bd56
Author: Mark Andrews <marka@isc.org>
Date:   Sat Dec 8 12:24:19 2012 +1100

    remove isc_buffer_reconstinit

commit f815711c17b05f9961786a90b9bae902d3c01494
Author: Mark Andrews <marka@isc.org>
Date:   Wed Dec 5 15:42:57 2012 +1100

    add isc_buffer_constinit
2012-12-08 12:53:31 +11:00
Mark Andrews 38b709b4a9 3395. [protocol] Add RFC 6598 reverse zones to built in empty zones
list, 64.100.IN-ADDR.ARPA ... 127.100.IN-ADDR.ARPA.
                        [RT #31336]
2012-10-16 12:40:51 +11:00
Evan Hunt 89ef143e3f fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-02 23:50:20 -07:00
Evan Hunt ff3c2231e1 handle nonexistent managed-keys-directory
3378.	[bug]		Handle missing 'managed-keys-directory' better.
			[RT #30625]
2012-09-25 18:28:39 -07:00
Mark Andrews ac6f11a584 3353. [bug] Use a single task for task exclusive operations.
[RT #29872]
2012-07-19 23:59:28 +10:00
Vernon Schryver 07d51fa5ba Squashed commit of the following:
commit 4d29cea2ea05491a7afebc343e41d9b6ad58f068
commit 3211da9716e5ecc0bb758666db70a667ca5a944e
commit 884b6f5d5e9b1f50757c606adafabe382b90c80b
commit 53f82565f72f091a46caed754db160e4a7a2d161
Merge: 8f73664 9698f42
commit 8f73664e7bdc04f766ddcccfb5fc5f857a22326a

for rt26172

Add
  - optional "recursive-only yes|no" to the response-policy statement
  - optional max-policy-ttl to limit the lies that "recursive-only no"
      can introduce into resolvers' caches
  - test that queries with RD=0 are not rewritten by default
  - performance smoke test

Change encoding of PASSTHRU action to "rpz-passthru".
      (The old encoding is still accepted.)
Fix rt26180  assert botch in zone_findrdataset() in this branch
     as well.

Fix missing signatures on NOERROR results despite RPZ hits
    when there are signatures and the client asks for DNSSEC,
2012-05-31 01:47:47 +00:00
Mark Andrews f0c93bef30 3306. [bug] Improve DNS64 reverse zone performance. [RT #28563]
3305.   [func]          Add wire format lookup method to sdb. [RT #28563]
2012-04-11 12:33:08 +10:00
Evan Hunt 15601edb93 3286. [bug] Managed key maintenance timer could fail to start
after 'rndc reconfig'. [RT #26786]
2012-02-22 00:33:33 +00:00
Automatic Updater f228a6b6cf update copyright notice 2012-02-06 23:45:58 +00:00
Evan Hunt 2a2657427f 3277. [bug] Make sure automatic key maintenance is started
when "auto-dnssec maintain" is turned on during
			"rndc reconfig". [RT #26805]
2012-02-06 21:27:52 +00:00
Mark Andrews 0700fb6e22 3256. [bug] Disable empty zones for lwresd -C. [RT #27139] 2011-12-22 08:25:16 +00:00
Mark Andrews 65f3e99e21 3209. [func] Add "dnssec-lookaside 'no'". [RT #24858] 2011-11-07 00:31:48 +00:00
Mark Andrews cecf9557f2 3171. [bug] Exclusively lock the task when adding a zone using
'rndc addzone'.  [RT #25600]
2011-10-14 05:45:20 +00:00
Evan Hunt 6a4d92efe5 3157. [tuning] Reduce the time spent in "rndc reconfig" by parsing
the config file before pausing the server. [RT #21373]
2011-10-07 04:42:49 +00:00
Evan Hunt 2f87b8f081 3136. [func] Add RFC 1918 reverse zones to the list of built-in
empty zones switched on by the 'empty-zones-enable'
			option. [RT #24990]
2011-08-02 04:58:46 +00:00
Automatic Updater 677d6d88ec update copyright notice 2011-07-08 23:47:16 +00:00
Scott Mann 5ed57781a8 9.8.1b3 2011-07-08 22:57:26 +00:00