Commit Graph

157 Commits

Author SHA1 Message Date
Mark Andrews
bd3a5fe9c1 add dns_db_getsize, dns_rdataslab_count, dns_zone_getmaxrecords, dns_zone_setmaxrecords
(cherry picked from commit aee76db9e3)
2016-11-03 10:48:33 +11:00
Mark Andrews
867ddf62f4 4461. [bug] win32: not all external data was properly marked
as external data for windows dll. [RT #43161]
2016-09-07 14:53:02 +10:00
Mark Andrews
cb73ec2f66 add dns_name_isrfc1918 and dns_name_isula 2016-03-08 12:01:40 +11:00
Evan Hunt
d4452d1926 [v9_9] removed /Gy- from VS project files
4302.	[port]		win32: fixed a build error in VS 2015. [RT #41426]
2016-01-27 15:33:02 -08:00
Francis Dupont
deb9d1b1e7 Updated WIN32 files (rt40877) 2016-01-04 18:44:27 +01:00
Mark Andrews
3cf5c97ae9 add dns_message_setclass
(cherry picked from commit 0d44dd6131)
2015-11-16 14:27:32 +11:00
Mark Andrews
b21f98c192 Introduce end-of-line normalization 2015-09-29 08:27:48 +10:00
Mark Andrews
c3563b72ca *.vcxproj.in should use CRLF as EOL 2015-08-27 22:00:44 +00:00
Mark Andrews
b7a02c9e9b eol -> crlf 2015-08-26 12:42:08 +10:00
Mark Andrews
79f23b271e 4191. [protocol] Accept DNS-SD non LDH PTR records in reverse zones
as per RFC 6763. [RT #37889]

(cherry picked from commit 5855fd79e3)
2015-08-25 14:46:41 +10:00
Mukund Sivaraman
4df82d6ab8 Remove missing symbols (Windows) 2015-07-31 20:33:06 +05:30
Evan Hunt
c1009e506a [v9_9] add missing functions 2015-07-09 00:04:25 -07:00
Evan Hunt
ea36796f82 [v9_9] DDoS mitigation features
3938.	[func]		Added quotas to be used in recursive resolvers
			that are under high query load for names in zones
			whose authoritative servers are nonresponsive or
			are experiencing a denial of service attack.

			- "fetches-per-server" limits the number of
			  simultaneous queries that can be sent to any
			  single authoritative server.  The configured
			  value is a starting point; it is automatically
			  adjusted downward if the server is partially or
			  completely non-responsive. The algorithm used to
			  adjust the quota can be configured via the
			  "fetch-quota-params" option.
			- "fetches-per-zone" limits the number of
			  simultaneous queries that can be sent for names
			  within a single domain.  (Note: Unlike
			  "fetches-per-server", this value is not
			  self-tuning.)
			- New stats counters have been added to count
			  queries spilled due to these quotas.

			These options are not available by default;
			use "configure --enable-fetchlimit" (or
			--enable-developer) to include them in the build.

			See the ARM for details of these options. [RT #37125]
2015-07-08 23:00:58 -07:00
Mukund Sivaraman
fc0797977d Fix a bug printing zone names with '/' character in XML and JSON stats (#39873)
(cherry picked from commit 08f0129732)

Conflicts:
	bin/tests/system/statistics/clean.sh

(cherry picked from commit f69f188b90)

Conflicts:
	bin/named/statschannel.c
	bin/tests/system/statistics/clean.sh
	bin/tests/system/statistics/ns1/named.conf
	bin/tests/system/statistics/tests.sh

Conflicts:
	CHANGES
2015-06-30 14:45:13 +05:30
Mark Andrews
f302a82da9 add dns_zone_cdscheck
(cherry picked from commit e7b7ede003)
2015-05-27 16:18:44 +10:00
Mark Andrews
983259ad48 add missing defs 2015-03-05 10:47:01 +11:00
Evan Hunt
25e41bb8f5 [v9_9] oops, win32 data exports work differently now 2015-02-10 17:27:52 -08:00
Evan Hunt
28de7317a5 [v9_9] export dns_zone_mkey_{month,day,hour} 2015-02-10 17:00:51 -08:00
Evan Hunt
e9d075681d [v9_9] further win32 fixes 2014-12-29 15:15:51 -08:00
Evan Hunt
2cf8236528 [v9_9] more missing entry points 2014-12-16 14:42:41 -08:00
Evan Hunt
d3ee1c6d57 [v9_9] add more missing entry points 2014-12-16 13:36:03 -08:00
Mark Andrews
632befd3de add missing entry points
(cherry picked from commit eb690e00e7)
2014-12-17 00:29:52 +11:00
Evan Hunt
03d0fb5be2 [v9_9] win32 build fix 2014-11-20 15:57:17 -08:00
Evan Hunt
2c73b0a857 [v9_9] dnssec-signzone -Q
3686.	[func]		"dnssec-signzone -Q" drops signatures from keys
			that are still published but no longer active.
			[RT #34990]

(cherry picked from commit 0bbe3273a2)
2013-12-11 13:25:44 -08:00
Mark Andrews
ea231f87c8 add dst_key_setexternal 2013-12-09 14:57:21 +11:00
Mark Andrews
3838fb0a4b add dst_key_isexternal 2013-12-09 14:12:58 +11:00
Mark Andrews
a0095a7c1a update copyrights 2013-12-05 15:13:01 +11:00
Mark Andrews
3b38a23089 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
2013-12-04 13:48:45 +11:00
Mark Andrews
2d1fd70e51 add dns_soa_buildrdata
(cherry picked from commit 415f8d470d)
2013-08-19 08:30:52 +00:00
Mark Andrews
cbc2132d2a 3632. [bug] Signature from newly inactive keys were not being
removed.  [RT #32178]

(cherry picked from commit 7ace327795)
2013-08-15 11:20:18 +10:00
Evan Hunt
6260eef2be [v9_9] backport RRL to 9.9.x
This incorporates the following changes, plus a new configure
option "--enable-rrl" to turn them on:

3575.	[func]		Changed the logging category for RRL events from
			'queries' to 'query-errors'. [RT #33540]

3554.	[bug]		RRL failed to correctly rate-limit upward
			referrals and failed to count dropped error
			responses in the statistics. [RT #33225]

3545.	[bug]		RRL slip behavior was incorrect when set to 1.
			[RT #33111]

3518.	[bug]		Increase the size of dns_rrl_key.s.rtype by one bit
			so that all dns_rrl_rtype_t enum values fit regardless
			of whether it is teated as signed or unsigned by
			the compiler. [RT #32792]

3494.	[func]		DNS RRL: Blunt the impact of DNS reflection and
			amplification attacks by rate-limiting substantially-
			identical responses. To enable, use "configure
			--enable-rrl". [RT #28130]
2013-06-07 12:47:11 -07:00
Mark Andrews
9fb5329995 add dns_message_buildopt 2013-04-30 17:38:53 +10:00
Evan Hunt
dc93e35701 [v9_9] better zone-statistics syntax
3501.	[func]		zone-statistics now takes three options: full,
			terse, and none. "yes" and "no" are retained as
			synonyms for full and terse, respectively. [RT #29165]
(cherry picked from commit 40a7e85f3e)
2013-02-27 12:03:29 -08:00
Evan Hunt
55bbac8bfe [v9_9] 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. --enable-rpz-nsip and
                        --enable-rpz-nsdname are now the default. [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
2013-02-25 14:32:36 -08:00
Evan Hunt
1d737374e4 [v9_9] add zone memory context pools
3492.	[bug]		Fixed a regression in zone loading performance
			due to lock contention. [RT #30399]
(cherry picked from commit df925e6c66)
2013-02-20 21:40:25 -08:00
Evan Hunt
90579b072b [v9_9] fix typo in libdns.def 2013-01-21 11:52:10 -08:00
Mark Andrews
5d6056f25d Merge branch 'v9_9_3_patch' into v9_9 2013-01-11 17:13:31 +11:00
Mark Andrews
ece1c3d9ca fix typo 2013-01-11 17:12:52 +11:00
Mark Andrews
7d68c87f35 add dns_zone_clearqueryaoncl, dns_zone_getqueryaoncl 2013-01-11 16:53:48 +11:00
Mark Andrews
f49a601fe1 add dns_zone_clearqueryaoncl, dns_zone_getqueryaoncl 2013-01-11 16:46:46 +11:00
Evan Hunt
7cec7ec1d2 [v9_9] backport performance changes from 9.10
3316.   [tuning]        Improved locking performance when recursing.
                        [RT #28836]

3315.   [tuning]        Use multiple dispatch objects for sending upstream
                        queries; this can improve performance on busy
                        multiprocessor systems by reducing lock contention.
                        [RT #28605]
2012-10-26 10:14:29 -07:00
Mark Andrews
799c467a90 v9_8_4rc2 2012-08-23 23:39:14 +10:00
Mark Andrews
53cf25c993 add missing defs 2012-07-20 17:41:15 +10:00
Mark Andrews
9b5ca4f479 dns_zone_synckeyzone 2012-02-23 07:16:04 +00:00
Mark Andrews
bc298cd0f7 3268. [bug] Convert RRSIG expiry times to 64 timestamps to work
out the earliest expiry time. [RT #23311]
2012-01-27 01:43:53 +00:00
Evan Hunt
53e58ba9fa oops missed one. 2011-12-22 19:14:15 +00:00
Evan Hunt
891c6eb907 add missing symbols 2011-12-22 18:58:50 +00:00
Mark Andrews
2256c13194 --- 9.9.0b2 released ---
3219.   [bug]           Disable NOEDNS caching following a timeout.
2011-11-16 22:18:53 +00:00
Mark Andrews
74d7615fc5 9.9.0b1 2011-10-28 13:25:44 +00:00
Mark Andrews
1946c596b4 3174. [bug] Always compute to revoked key tag from scratch.
[RT #24711]
2011-10-20 21:20:02 +00:00