Compare commits

...

2188 Commits

Author SHA1 Message Date
Mark Andrews
6e349439f0 reorder 2015-02-11 16:43:01 +11:00
Mark Andrews
5a13ad9f79 add CVEs 2015-02-11 16:42:20 +11:00
Mark Andrews
1c8ba856ab 4027. [port] Net::DNS 0.81 compatibility. [RT #38165
(cherry picked from commit 511ec77fca)
2015-02-11 16:12:24 +11:00
Tinderbox User
f4958a83af regenerate 2015-02-10 23:53:28 +00:00
Tinderbox User
839396c0f1 regen v9_9_6_patch 2015-02-10 23:41:22 +00:00
Evan Hunt
391878fca2 [v9_9_6_patch] prep 9.9.6-P2 2015-02-03 18:34:23 -08:00
Evan Hunt
2e9d79f169 [v9_9_6_patch] avoid crash due to managed-key rollover
4053.	[security]	Revoking a managed trust anchor and supplying
			an untrusted replacement could cause named
			to crash with an assertion failure.
			(CVE-2015-1349) [RT #38344]
2015-02-03 18:30:38 -08:00
Evan Hunt
3612d8fb12 [v9_9_6_patch] win32 build fix 2014-11-20 15:59:27 -08:00
Evan Hunt
f90523dd69 [v9_9_6_patch] add missing grammar 2014-11-20 15:59:11 -08:00
Tinderbox User
7aa056b492 regenerate 2014-11-20 23:09:53 +00:00
Tinderbox User
0cf6129e8e regen v9_9_6_patch 2014-11-20 23:08:47 +00:00
Evan Hunt
5db51208b4 [v9_9_6_patch] Merge branch 'v9_9_6_patch' of ssh://repo/proj/git/prod/bind9 into v9_9_6_patch 2014-11-20 13:03:15 -08:00
Evan Hunt
f76edf8680 [v9_9_6_patch] prep 9.9.6-S1 release 2014-11-20 12:58:11 -08:00
Evan Hunt
cbd432ef46 [v9_9_6_patch] remove inadvertently-retained content from quota.h 2014-11-20 12:55:47 -08:00
Mark Andrews
f4fd3efc7a update copyrights 2014-11-21 07:54:26 +11:00
Evan Hunt
bf835cb1aa [v9_9_6_patch] remove tests to minimize patch delta 2014-11-20 12:42:51 -08:00
Evan Hunt
6cd340997b [v9_9_6_patch] refactor max-recursion-queries
- the counters weren't set correctly when fetches timed out.
  instead we now pass down a counter object.

(cherry picked from commit 05e448935c)
(cherry picked from commit 6c049c57d9)
(cherry picked from commit 1d47cb124d)
2014-11-19 18:39:06 -08:00
Evan Hunt
73e42f8b26 [v9_9_6_patch] fix reclimit test (remove servfail-ttl) 2014-11-19 00:18:08 -08:00
Evan Hunt
40503e4d2c [v9_9_6_patch] add max-recursion-queries
also fixes and documentation for max-recursion-depth

(cherry picked from commit c4f54e5bd1)
(cherry picked from commit b3aa528d7e)
(cherry picked from commit 711e833921)
2014-11-18 22:17:37 -08:00
Evan Hunt
78c45b9750 [v9_9_6_patch] fix RT number 2014-11-18 08:59:33 -08:00
Evan Hunt
c1627d3eab [v9_9_6_patch] limit recursion depth and iterative queries
4006.	[security]	A flaw in delegation handling could be exploited
			to put named into an infinite loop.  This has
			been addressed by placing limits on the number
			of levels of recursion named will allow (default 7),
			and the number of iterative queries that it will
			send (default 50) before terminating a recursive
			query (CVE-2014-8500).

			The recursion depth limit is configured via the
			"max-recursion-depth" option.  [RT #35780]

(cherry picked from commit 3230429e17)
(cherry picked from commit 29ea88667cc1ed7953c8d4eb758889650504ad84)
(cherry picked from commit 451d7c969b3df1c7bfe1cf6e3d8daf2fde244c75)
2014-11-17 23:29:28 -08:00
Evan Hunt
ea4e9ef83b [v9_9] update contact info in README and confiure --help 2014-09-16 12:27:20 -07:00
Tinderbox User
e3a3b2fce3 regenerate 2014-09-16 17:45:08 +00:00
Tinderbox User
4761380c7a regen v9_9 2014-09-16 16:51:10 +00:00
Evan Hunt
9ce5221877 [v9_9] prep 9.9.6 2014-09-16 09:35:23 -07:00
Tinderbox User
22d9cb3a87 regenerate 2014-09-16 16:34:56 +00:00
Evan Hunt
17c9e5f31d [v9_9] spelling 2014-09-15 18:19:39 -07:00
Mark Andrews
d7baef56d7 make depend fails in bin/python 2014-09-15 14:11:01 +10:00
Tinderbox User
0bc7a16fe3 regen v9_9 2014-09-13 01:13:48 +00:00
Evan Hunt
9385828b30 [v9_9] [rt36993] work around a bmake bug in BSD
3950.	[port]		Changed the bin/python Makefile to work around a
			bmake bug in FreeBSD 10 and NetBSD 6. [RT #36993]

(cherry picked from commit 8dba0e7d87)
(cherry picked from commit 357cce8964)
2014-09-12 15:22:42 -07:00
Mark Andrews
c0416dd92b update named-checkzone manpage for SPF changes 2014-09-13 07:56:19 +10:00
Mark Andrews
54fac545ba spelling 2014-09-08 12:13:15 +10:00
Tinderbox User
e438b6de1e update copyright notice 2014-09-05 23:46:22 +00:00
Mark Andrews
4058488c52 README gets TXT.BRIEF 2014-09-06 09:44:09 +10:00
Tinderbox User
03c755ea89 newcopyrights 2014-09-05 23:30:46 +00:00
Tinderbox User
e025ff45dc regenerate 2014-09-05 21:42:26 +00:00
Tinderbox User
586041d248 regen v9_9 2014-09-05 19:34:55 +00:00
Evan Hunt
9002937bf4 [v9_9] add package version to scope statement 2014-09-05 12:18:45 -07:00
Evan Hunt
0ad93b79ee [v9_9] retain release info when updating copyright 2014-09-05 11:29:18 -07:00
Tinderbox User
2d42321cea regenerate 2014-09-05 18:04:47 +00:00
Evan Hunt
40d8a124e5 [v9_9] prep 9.9.6rc2 2014-09-05 10:36:29 -07:00
Evan Hunt
38398c590a [v9_9] [rt36786] use INSTALL_PROGRAM for shared libs
3947.	[cleanup]	Set the executable bit on libraries when using
			libtool. [RT #36786]

(cherry picked from commit f687e639f0)
2014-09-05 10:28:57 -07:00
Evan Hunt
be52ed7a85 [v9_9] improve python probing
3946.	[cleanup]	Improved "configure" search for a python interpreter.
			[RT #36992]

(cherry picked from commit 523f3d6302)
2014-09-05 10:20:58 -07:00
Evan Hunt
039e58e905 [v9_9] [rt37057] server-id tests
3944.	[test]		Added a regression test for "server-id". [RT #37057]

(cherry picked from commit c9e976dc43)
(cherry picked from commit 9f6a6d24dc)
2014-09-05 10:12:28 -07:00
Mark Andrews
0ef83e5b5d 3945. [bug] Invalid wildcard expansions could be incorrectly
accepted by the validator. [RT #37093]

(cherry picked from commit 2fa1fc5332)
2014-09-05 12:12:08 +10:00
Tinderbox User
d575f45931 regen v9_9 2014-09-05 01:14:12 +00:00
Tinderbox User
a47e3bc876 update copyright notice 2014-09-04 23:46:13 +00:00
Tinderbox User
ce8cd477c5 newcopyrights 2014-09-04 23:30:30 +00:00
Mark Andrews
d2ac59302c 3942. [bug] Wildcard responses from a optout range should be
marked as insecure. [RT #37072]
2014-09-04 13:59:50 +10:00
Evan Hunt
d0c4884c86 [v9_9] add version number to ARM
3941.	[doc]		Include the BIND version number in the ARM. [RT #37067]

(cherry picked from commit 7ae9399897)
(cherry picked from commit 8cd1082584)
2014-09-03 20:30:27 -07:00
Evan Hunt
17d84b0ec9 [v9_9] check correctly for duplicate zone error message 2014-09-03 12:58:43 -07:00
Evan Hunt
95ac626e8d [v9_9] missed an api change 2014-08-29 18:38:35 -07:00
Evan Hunt
ff21403ec5 [v9_9] prep 9.9.6rc1 2014-08-29 18:36:49 -07:00
Tinderbox User
bfee70fa25 regenerate 2014-08-29 22:08:41 +00:00
Mark Andrews
42b68f99bc update-copyrights 2014-08-29 10:18:38 +10:00
Evan Hunt
d5669ee77c [v9_9] fixes to checkconf test, HIP casecompare
3933.	[bug]		Corrected the implementation of dns_rdata_casecompare()
			for the HIP rdata type.  [RT #36911]

3932.	[test]		Improved named-checkconf tests. [RT #36911]

(cherry picked from commit 0c2313eb36)
2014-08-27 21:37:40 -07:00
Mark Andrews
ddf4e45cad 3931. [cleanup] Cleanup how dlz grammer is defined. [RT #36879]
(cherry picked from commit 1164997311)
2014-08-26 15:26:05 +10:00
Tinderbox User
0c63629a58 regen v9_9 2014-08-26 01:14:24 +00:00
Mark Andrews
28f24102e2 3929. [bug] 'host -a' needed to clear idnoptions. [RT #36963]
(cherry picked from commit 905ba39e10)
2014-08-26 08:28:00 +10:00
Mark Andrews
71eb09764a dlz clauses are not inheritable
(cherry picked from commit be5d42f255)
2014-08-25 14:53:00 +10:00
Mark Andrews
f5f0ec4b1f silence unused variable warning
(cherry picked from commit 179f515691)
2014-08-25 07:27:31 +10:00
Tinderbox User
d840bfefa8 update copyright notice 2014-08-23 23:46:05 +00:00
Tinderbox User
1fcaa11800 newcopyrights 2014-08-23 23:30:11 +00:00
Tinderbox User
999de1f94a regen v9_9 2014-08-23 01:15:32 +00:00
Tinderbox User
9b86fb9fda update copyright notice 2014-08-22 23:46:15 +00:00
Evan Hunt
2df405f519 [v9_9] add to rndc test
3928.	[test]		Improve rndc system test. [RT #36898]

(cherry picked from commit 2401ee51d83a4cd9101398f30679fa4e6046c582)
(cherry picked from commit 06677f0b08e789ca91e59a5eed42605c16f28531)
2014-08-22 16:40:59 -07:00
Tinderbox User
ff867afd30 newcopyrights 2014-08-22 23:30:17 +00:00
Evan Hunt
9ff9b9f71b [v9_9] complete change #3925
- don't use fwdname in dns_view_findzonecut()

(cherry picked from commit 27d6642e8b)
2014-08-22 14:58:28 -07:00
Mark Andrews
007ef6f18e 3925. [bug] DS lookup of RFC 1918 empty zones failed. [RT #36917
(cherry picked from commit 840d6a4614)
2014-08-22 16:33:11 +10:00
Mark Andrews
c5b8fa83d7 add [ 2014-08-22 16:29:27 +10:00
Mark Andrews
9f23fea978 3924. [bug] Improve 'rndc addzone' error reporting. RT #35187
(cherry picked from commit d4859b0b2a)
2014-08-22 16:26:19 +10:00
Mark Andrews
4014adc78b 3923. [bug] Sanity check the xml2-config output. [RT #22246]
(cherry picked from commit 53f91cbd80)
2014-08-22 16:11:55 +10:00
Evan Hunt
f7f3bd0c6e [v9_9] don't clear signatures from zone cuts
3922.	[bug]		When resigning, dnssec-signzone was removing
			all signatures from delegation nodes. It now
			retains	DS and (if applicable) NSEC signatures.
			[RT #36946]

(cherry picked from commit eeb13c7cd2)
2014-08-21 22:57:31 -07:00
Mark Andrews
fb7f157cd8 3921. [bug] AD was inappopriately set on RPZ responses. [RT #36833]
(cherry picked from commit cef76ee5bd)
(cherry picked from commit 0597c5fd5e)
2014-08-22 15:46:54 +10:00
Mark Andrews
2e0bf5cddf 3919. [bug] dig: continue to next line if a address lookup fails
in batch mode. [RT #36755]

(cherry picked from commit adb503242bc427972afb9bf012e8e2af30852b5a)
2014-08-22 15:35:43 +10:00
Mark Andrews
4c122c77c8 3918. [doc] Update check-spf documentation. [RT #36910] 2014-08-22 11:50:17 +10:00
Tinderbox User
7c39d7ea4c update copyright notice 2014-08-21 23:46:04 +00:00
Tinderbox User
7a82592cb1 newcopyrights 2014-08-21 23:30:27 +00:00
Mark Andrews
966b901a67 3917. [bug] dig, nslookup and host now continue on names that are
too long after applying a search list elements.
                        [RT #36892]
2014-08-21 18:09:27 +10:00
Tinderbox User
4c19f7c6b2 update copyright notice 2014-08-20 23:46:02 +00:00
Tinderbox User
7761e0c095 newcopyrights 2014-08-20 23:30:12 +00:00
Mark Andrews
b527580258 3916. [contrib] zone2sqlite checked wrong result code. Address
compiler warnings. [RT #36931]

(cherry picked from commit 58f1ac8dad)
2014-08-20 23:15:20 +10:00
Tinderbox User
b607733b23 regen v9_9 2014-08-19 01:14:52 +00:00
Tinderbox User
3bb7a8aeb0 update copyright notice 2014-08-18 23:46:05 +00:00
Tinderbox User
ef8964bc30 newcopyrights 2014-08-18 23:30:10 +00:00
Evan Hunt
c1989110d4 [v9_9] backport doc fixes from master 2014-08-18 14:08:19 -07:00
Evan Hunt
c4a8cecd96 [v9_9] standardize [RT #<number>] formatting 2014-08-14 14:14:53 -07:00
Tinderbox User
3da21f5bfa newcopyrights 2014-08-08 23:30:06 +00:00
Mark Andrews
8e22b517fd sycn with master 2014-08-08 15:46:36 +10:00
Mark Andrews
520ce21755 add importkey 2014-08-08 15:41:30 +10:00
Tinderbox User
d0e76c0f42 update copyright notice 2014-08-07 23:46:01 +00:00
Tinderbox User
03661be627 newcopyrights 2014-08-07 23:30:11 +00:00
Evan Hunt
4cdc56f375 [v9_9] files missing for win32 build 2014-08-06 20:51:46 -07:00
Evan Hunt
783095a208 [v9_9] need local strlcpy() in VS2005 2014-08-06 19:57:31 -07:00
Tinderbox User
90719a230f update copyright notice 2014-08-07 01:14:39 +00:00
Evan Hunt
a09795132f [v9_9] copyrights 2014-08-06 18:13:28 -07:00
Evan Hunt
09c788d707 [v9_9] [36737] allow zero-length URI and CAA fields
3914.	[bug]		Allow the URI target and CAA value fields to
			be zero length. [RT #36737]

(cherry picked from commit cfe32752a6)
(cherry picked from commit a766d4c1d2)
2014-08-06 17:41:33 -07:00
Tinderbox User
3e06445503 update copyright notice 2014-08-06 23:46:09 +00:00
Tinderbox User
fa2a8f816f newcopyrights 2014-08-06 23:30:16 +00:00
Mark Andrews
a369b29fa3 3913. [bug] Address race issue in dispatch. [RT #36731]
(cherry picked from commit 493f3eb297)
2014-08-06 18:51:16 +10:00
Tinderbox User
74da561369 regenerate 2014-08-06 05:34:30 +00:00
Evan Hunt
39502f01f8 [v9_9] install new include file 2014-08-05 22:11:30 -07:00
Evan Hunt
c0f5302894 [v9_9] prep 9.9.6b2 2014-08-05 22:07:37 -07:00
Evan Hunt
114b5d99b5 [v9_9] make lwres/stdlib.h and lwres/string.h instead of compat.h 2014-08-05 22:01:40 -07:00
Mark Andrews
81a09f0df7 silence signed/unsigned comparision warning
(cherry picked from commit f38a398033)
2014-08-06 12:25:36 +10:00
Mark Andrews
b065c4f75b alphabetize zone_clauses 2014-08-06 11:56:08 +10:00
Mukund Sivaraman
37cfebcaee [36720] Free event early (fixes race to free)
Patch contributed by yhu2 <yadi.hu@windriver.com>.

(cherry picked from commit a338c2d947)
2014-08-05 17:09:58 +05:30
Evan Hunt
fe5e0de485 [v9_9] fix CHANGES number 2014-08-02 21:11:01 -07:00
Mark Andrews
e3876830c6 3910. [bug] When computing the number of elements required for a
acl count_acl_elements could have a short count leading
                        to a assertion failure.  Also zero out new acl elements
                        in dns_acl_merge.  [RT #36675]

(cherry picked from commit 3e90f6c373)
2014-08-03 10:07:40 +10:00
Tinderbox User
e009a733fa update copyright notice 2014-08-02 23:46:02 +00:00
Tinderbox User
1273d59c53 newcopyrights 2014-08-02 23:30:22 +00:00
Mark Andrews
13ffd78910 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)
2014-08-02 15:09:03 +10:00
Mark Andrews
50a77aefec 3907. [cleanup] Alphabetise rndc help. [RT#36683] 2014-08-01 10:32:18 +10:00
Tinderbox User
3a1808bb0c update copyright notice 2014-07-31 23:46:06 +00:00
Mark Andrews
f4168d27df remove trailing whitespace 2014-08-01 00:30:31 +10:00
Mark Andrews
752a82533e adjust stats numbers
(cherry picked from commit efab32b289)
2014-07-31 14:45:36 +10:00
Evan Hunt
f1b4e7c31a [v9_9] [rt36642] fix URI RR format
3906.	[protocol]	Update URI record format to comply with
			draft-faltstrom-uri-08. [RT #36642]

(cherry picked from commit 7712d1660a)
2014-07-30 20:43:46 -07:00
Mark Andrews
5e746ab61e [rt36341]
3905.   [bug]           Address deadlock between view.c and adb.c. [RT #36341]
2014-07-31 11:39:17 +10:00
Mark Andrews
570effe386 3904. [func] Add the RPZ SOA to the additional section. [RT36507]
(cherry picked from commit 3a55d43527)
2014-07-31 10:53:33 +10:00
Mark Andrews
7aaba3a7e0 update copyrights 2014-07-31 09:57:21 +10:00
Mark Andrews
8d3e18713e [rt36611]
3903.   [bug]           Improve the accuracy of DiG's reported round trip
                        time. [RT 36611]

(cherry picked from commit bc5db10d72)
2014-07-31 07:46:01 +10:00
Evan Hunt
f7b865ef55 [v9_9] typo in CHANGES 2014-07-30 12:02:27 -07:00
Mark Andrews
8dc8b723e0 #include print_p.h
(cherry picked from commit 1e5fd07d16)
2014-07-31 00:26:46 +10:00
Mark Andrews
91ae28a075 [rt36039]
3902.   bug]            liblwres wasn't handling link-local addresses in
                        nameserver clauses in resolv.conf. [RT #36039]

(cherry picked from commit 70be388974)
2014-07-30 23:33:58 +10:00
Tinderbox User
ea2a029ec8 update copyright notice 2014-07-29 23:46:00 +00:00
Tinderbox User
b35b271afc newcopyrights 2014-07-29 23:30:19 +00:00
Evan Hunt
eed75b89a1 [v9_9] use correct length 2014-07-29 15:24:20 -07:00
Evan Hunt
ef6688fb24 [v9_9] copypaste error in change number 2014-07-29 08:44:23 -07:00
Evan Hunt
001e08f10d [v9_9] add CAA rdata support
3056.	[protocol]	Added support for CAA record type (RFC 6844).
			[RT #36625]

(cherry picked from commit eb898fa698)
2014-07-29 08:41:23 -07:00
Mukund Sivaraman
67ce49d3ab 3900. [bug] Fix a crash in PostgreSQL DLZ driver. [RT #36637]
Squashed commit of the following:

commit ebdade4dfe59fc11d3c4ad8111729f722aab2008
Author: Mukund Sivaraman <muks@isc.org>
Date:   Thu Jul 24 22:52:54 2014 +0530

    Move statement to be after comment

commit 4b5d6a33350a469afb8e273bc552055824a32570
Author: Mukund Sivaraman <muks@isc.org>
Date:   Thu Jul 24 21:42:52 2014 +0530

    Return NULL in *rs so that caller doesn't PQclear() it again

(cherry picked from commit 586db4a3e4)
2014-07-28 08:46:00 +05:30
Tinderbox User
4e54aa4806 newcopyrights 2014-07-25 23:30:18 +00:00
Mark Andrews
2e921e858e 3899. [bug] "request-ixfr" is only applicable to slave and redirect
zones. [RT #36608]

(cherry picked from commit 275a8affe7)
2014-07-25 14:25:46 +10:00
Evan Hunt
084c6035ba [v9_9] spelling 2014-07-22 12:20:40 -07:00
Mark Andrews
d2fc38f1b9 alphabetize optionstable 2014-07-22 14:17:02 +10:00
Mark Andrews
6c4da2c68b alphabetize server_clauses 2014-07-22 14:01:57 +10:00
Mark Andrews
90e563bb16 3898. [bug] To small a buffer in tohexstr() calls in test code.
[RT #36598]

(cherry picked from commit 6a6838f973)
2014-07-22 11:27:43 +10:00
Mark Andrews
ae777149d1 7314:Extension Mechanisms for DNS (EDNS) EXPIRE Option
(cherry picked from commit bc98d5a4c6)
2014-07-18 10:25:51 +10:00
Mark Andrews
dcb7b3ce31 silence "Value stored to 'length' is never read" by removing assignment
(cherry picked from commit 2e6d7a724a)
2014-07-17 09:45:32 +10:00
Tinderbox User
3f05845322 update copyright notice 2014-07-15 23:46:00 +00:00
Tinderbox User
96d1bfb7ab newcopyrights 2014-07-15 23:30:21 +00:00
Mark Andrews
d85255bdc3 3894. [bug] Buffers in isc_print_vsnprintf were not properly
initialized leading to potential overflows when
                        printing out quad values. [RT #36505]

(cherry picked from commit 71ec6d0940)
2014-07-15 22:57:57 +10:00
Tinderbox User
8525155ecc update copyright notice 2014-07-10 23:45:57 +00:00
Tinderbox User
9cd93a1875 newcopyrights 2014-07-10 23:30:16 +00:00
Mark Andrews
514b23e6f3 update description to match code; doxygen fixes 2014-07-10 10:38:32 +10:00
Mark Andrews
738cf8c80c Revert "update description to match code; doxygen fixes"
This reverts commit 3f187abcc2.
2014-07-10 10:38:28 +10:00
Mark Andrews
3f187abcc2 update description to match code; doxygen fixes 2014-07-10 10:33:31 +10:00
Evan Hunt
db5cf52adf [v9_9] correct syntax for addzone/delzone in rndc -h 2014-07-08 09:10:30 -07:00
Mark Andrews
d4616282ad error -> warn_error 2014-07-08 16:00:40 +10:00
Mark Andrews
8506cbe54d allow -Werror to be enabled; turn on -Werror by default with --enable-developer
(cherry picked from commit 2be0f12aaf)
2014-07-08 15:51:58 +10:00
Mark Andrews
e9ddca0df0 update copyrights 2014-07-08 12:42:19 +10:00
Mark Andrews
e8cdd87363 rename dnssec/ns7/split-rrsig.in 2014-07-08 11:13:06 +10:00
Tinderbox User
8adb0a202a update copyright notice 2014-07-07 23:46:02 +00:00
Mark Andrews
1df30622d6 3892. [bug] Setting '-t aaaa' in .digrc had unintended side
effects. [RT #36452]
2014-07-08 02:01:44 +10:00
Francis Dupont
f1556921a9 update OpenSSL bases (#36447) 2014-07-07 14:55:19 +02:00
Mark Andrews
f76fa30e8a 3891. [bug] Use ${INSTALL_SCRIPT} rather than ${INSTALL_PROGRAM}
to install python programs.

(cherry picked from commit d734818278)
2014-07-07 16:06:23 +10:00
Mark Andrews
025efe0cd5 3890. [bug] RRSIG sets that were not loaded in a single transaction
at start up where not being correctly added to
                        re-signing heaps.  [RT #36302]

(cherry picked from commit 63e1ac1e09)
2014-07-07 12:18:29 +10:00
Mark Andrews
45a48c5338 state fw_copy is never used; n only needs to be set for fw_ordinary;
(cherry picked from commit d956d9689c13b093fff5faf6b10f06338354dcfc)
2014-07-04 08:52:33 +10:00
Mark Andrews
1d828183c8 silence coverity warnings
(cherry picked from commit e58154a6ec)
2014-07-02 15:28:29 +10:00
Mark Andrews
7856e63cd4 silence coverity - reviewed by Evan over jabber
(cherry picked from commit e31a37787b)
2014-07-01 09:53:07 +10:00
Mark Andrews
a4e8344569 make test for nsec3param more robust
(cherry picked from commit 62275d5306)
2014-06-27 15:51:36 +10:00
Mark Andrews
72397ede08 3889. [port] hurd: configure fixes as per:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746540

(cherry picked from commit 89119e3caf)
2014-06-26 11:48:05 +10:00
Mark Andrews
539d13af30 rename closesocket to socketclose to avoid coverity model for window's closesocket 2014-06-26 10:55:54 +10:00
Mark Andrews
310b5b5d6a cleanup nsupdate.out 2014-06-25 16:17:00 +10:00
Mark Andrews
d6aabf7e03 dump unexpected update failures 2014-06-25 16:17:00 +10:00
Mark Andrews
9a0f6d0772 add init_count 2014-06-25 12:43:09 +10:00
Mark Andrews
8e046deca5 more statics that were optimised out 2014-06-25 11:23:07 +10:00
Mark Andrews
60079a5c0a add is a structure element name
(cherry picked from commit c21e9f1a92)
2014-06-25 09:47:38 +10:00
Mark Andrews
242cb88843 3887. [cleanup] Make all static symbols in rbtdb64 end in "64" so
they are easier to use in a debugger. [RT #36373]
2014-06-25 08:20:18 +10:00
Mark Andrews
92483774d9 Net::DNS 0.78 should work when it is released as it contains:
Fix rt.cpan.org #96439

		Uninitialised decoding object when printing packet

(cherry picked from commit 70ee770c69)
2014-06-25 01:04:29 +10:00
Mark Andrews
da5e13af84 use $PERL
(cherry picked from commit 1c95f67232)
2014-06-24 13:51:46 +10:00
Mark Andrews
27897e9d38 3885. [port] Use 'open()' rather than 'file()' to open files in
python.

(cherry picked from commit bf59efcf0e)
2014-06-23 14:49:05 +10:00
Mark Andrews
b759198fa6 silence win64 possible loss of data 2014-06-23 14:18:32 +10:00
Mark Andrews
ff74829d81 silence win64 possible loss of data 2014-06-23 14:07:24 +10:00
Mark Andrews
9ef09403b0 silence win64 possible loss of data 2014-06-23 14:01:29 +10:00
Mark Andrews
14b59c9929 silence win64 possible loss of data 2014-06-23 14:00:15 +10:00
Mark Andrews
363107b2b0 install bitstring.h and namespace.h 2014-06-23 13:44:19 +10:00
Evan Hunt
885aadc12e [v9_9] silence win32 warnings 2014-06-20 14:15:37 -07:00
Evan Hunt
ed87392e88 [v9_9] unresolved externals 2014-06-20 13:52:13 -07:00
Tinderbox User
7f3f763739 update copyright notice 2014-06-19 23:46:13 +00:00
Tinderbox User
f2a269353c newcopyrights 2014-06-19 23:30:28 +00:00
Evan Hunt
ac84f931bc [v9_9] release tag 2014-06-19 01:07:53 -07:00
Evan Hunt
6ddc420cec [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-06-19 01:06:55 -07:00
Evan Hunt
6151486775 [v9_9] CDS/CDNSKEY rrtypes
3884.	[protocol]	Add CDS and CDNSKEY record types. [RT #36333]

(cherry picked from commit cac2181160)
(cherry picked from commit 716453f37d)
2014-06-19 00:57:40 -07:00
Tinderbox User
6c04022cca regenerate 2014-06-19 07:26:48 +00:00
Evan Hunt
08f092cc6f [v9_9] prep 9.9.6b1 2014-06-18 23:59:48 -07:00
Mark Andrews
a52b7860ff silence coverity 2014-06-19 11:18:00 +10:00
Mark Andrews
2ea91c4c5b silence coverity - add nul termination
(cherry picked from commit 8eb2d262dc)
2014-06-18 20:04:53 +10:00
Mark Andrews
4f1dedb68e 3881. [bug] Address memory leak with UPDATE error handling.
[RT #36303]

(cherry picked from commit f5bb5eb7f6)
2014-06-18 11:25:27 +10:00
Mark Andrews
e31c445edd cleanup remove .gitignore entries 2014-06-18 09:59:45 +10:00
Tinderbox User
c43163d83d update copyright notice 2014-06-17 23:46:00 +00:00
Tinderbox User
2f7d485a68 newcopyrights 2014-06-17 23:30:49 +00:00
Evan Hunt
8e1242e852 [v9_9] update gitignore files; use rev-parse to get srcid
(cherry picked from commit a4e76a630e)
(cherry picked from commit a71b8efb04)
2014-06-17 14:02:05 -07:00
Tinderbox User
5acd698854 regen v9_9 2014-06-17 01:13:04 +00:00
Mark Andrews
958297d405 3880. [test] Update ans.pl to work with new TSIG support in
Net::DNS; add additional Net::DNS version prerequisite
                        checks. [RT #36327]

(cherry picked from commit a0d411c05f)
2014-06-17 10:36:20 +10:00
Mark Andrews
eb6cdc3750 add EAI_OVERFLOW to lwres
(cherry picked from commit e177c7b814)
2014-06-17 10:22:26 +10:00
Tinderbox User
7e8225dd09 update copyright notice 2014-06-16 23:46:02 +00:00
Tinderbox User
57823ac525 newcopyrights 2014-06-16 23:30:09 +00:00
Evan Hunt
1f3ac11cb4 [v9_9] null terminate strings for coverity 2014-06-16 15:31:04 -07:00
Mukund Sivaraman
2d2897f476 [10686] Add version printing option to various BIND utilites
Squashed commit of the following:

commit 95effe9b2582a7eb878ccb8cb9ef51dfc5bbfde7
Author: Evan Hunt <each@isc.org>
Date:   Tue Jun 10 16:52:45 2014 -0700

    [rt10686] move version() to dnssectool.c

commit df205b541d1572ea5306a5f671af8b54b9c5c770
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:38:31 2014 +0530

    Rearrange order of cases

commit cfd30893f2540bf9d607e1fd37545ea7b441e0d0
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:38:08 2014 +0530

    Add version printer to dnssec-verify

commit a625ea338c74ab5e21634033ef87f170ba37fdbe
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:32:19 2014 +0530

    Add version printer to dnssec-signzone

commit d91e1c0f0697b3304ffa46fccc66af65591040d9
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:26:01 2014 +0530

    Add version printer to dnssec-settime

commit 46fc8775da3e13725c31d13e090b406d69b8694f
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:25:48 2014 +0530

    Fix docbook

commit 8123d2efbd84cdfcbc70403aa9bb27b96921bab2
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:20:17 2014 +0530

    Add version printer to dnssec-revoke

commit d0916420317d3e8c69cf1b37d2209ea2d072b913
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:17:54 2014 +0530

    Add version printer to dnssec-keygen

commit 93b0bd5ebc043298dc7d8f446ea543cb40eaecf8
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:14:11 2014 +0530

    Add version printer to dnssec-keyfromlabel

commit 07001bcd9ae2d7b09dd9e243b0ab35307290d05d
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:13:39 2014 +0530

    Update usage help output, docbook

commit 85cdd702f41c96fbc767fc689d1ed97fe1f3a926
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:07:18 2014 +0530

    Add version printer to dnssec-importkey

commit 9274fc61e38205aad561edf445940b4e73d788dc
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 21:01:53 2014 +0530

    Add version printer to dnssec-dsfromkey

commit bf4605ea2d7282e751fd73489627cc8a99f45a90
Author: Mukund Sivaraman <muks@isc.org>
Date:   Tue Jun 10 20:49:22 2014 +0530

    Add -V to nsupdate usage output

(cherry picked from commit 4278293107)
(cherry picked from commit ccba3c9ffd)
2014-06-16 12:28:33 +05:30
Mark Andrews
d5fe9da726 Net::DNS 0.76 broke the handling of some packets
(cherry picked from commit f9e47cfe4f)
2014-06-14 10:12:07 +10:00
Evan Hunt
b04088636a [v9_9] wrong dlopen filename caused segfault
3878.	[bug]		Using the incorrect filename for a DLZ module
			caused a segmentation fault on startup. [RT #36286]

(cherry picked from commit c1d33c159b)
2014-06-12 19:34:20 -07:00
Mark Andrews
e530bc13dc fix test to see if $PERL is set
(cherry picked from commit 44f0f310d41acc5c772d38353fe35ddacb3fee80)
2014-06-13 11:47:44 +10:00
Mark Andrews
157bb6945d die if $Net::DNS::VERSION >= 0.73 2014-06-13 11:25:20 +10:00
Tinderbox User
b819c00ca5 update copyright notice 2014-06-12 23:46:01 +00:00
Tinderbox User
afae68fa64 newcopyrights 2014-06-12 23:30:16 +00:00
Mark Andrews
032ddd08f1 make lhs unsigned
(cherry picked from commit 1208790272)
2014-06-12 11:13:54 +10:00
Mark Andrews
0a3910db59 add INSISTs to silence tainted data false positive in Coverity
(cherry picked from commit 83a5c670b8)
2014-06-12 10:50:14 +10:00
Mark Andrews
edc1ac4e76 add INSISTs to silence tainted data false positive in Coverity
(cherry picked from commit 8a2ff13c3d)
2014-06-12 10:46:32 +10:00
Mark Andrews
504bb97afd update copyrights 2014-06-11 10:29:21 +10:00
Mark Andrews
da9e8ec663 4. [test] Check that only "check-names master" is needed for
updates to be accepted.
2014-06-10 13:49:23 +10:00
Mark Andrews
b2d3df5efd update spf check
(cherry picked from commit 32a1fd3dd2)
2014-06-10 12:29:03 +10:00
Mark Andrews
c5b99bd813 3873. [protocol] Only warn for SPF without TXT spf record. [RT #36210]
(cherry picked from commit 634f66c659dade56502b55b1bbd514e5cfcae185)
2014-06-10 09:30:10 +10:00
Mark Andrews
b41598a203 3872. [bug] Address issues found by static analysis. [RT #36209]
(cherry picked from commit b16d99bac1)
2014-06-10 09:23:12 +10:00
Mukund Sivaraman
e8be9e900c [35063] Don't publish an activated key automatically before its publish time
(cherry picked from commit 79d27f505a)
(cherry picked from commit 2a7ecad81b)
2014-06-04 15:26:00 +05:30
Mark Andrews
5845da71b0 attempt to silence leaked lock false positive 2014-06-04 15:22:49 +10:00
Mark Andrews
9bb442dfcc place a upper bound on rdcount 2014-06-04 13:20:51 +10:00
Mark Andrews
37fce6945d use ' {8}' instead of 8 literal spaces 2014-06-03 13:23:06 +10:00
Mark Andrews
9870df8033 3868. [bug] isc_mem_setwater incorrectly cleared hi_called
potentially leaving over memory cleaner running.
                        [RT #35270]
2014-06-02 16:38:20 +10:00
Mark Andrews
df2396b4f9 3866. [bug] Named could die on disk full in generate_session_key.
[RT #36119]

(cherry picked from commit fa6308bd57)
2014-05-30 14:39:33 +10:00
Mark Andrews
7af84ff577 update copyrights 2014-05-30 09:43:37 +10:00
Mark Andrews
6ef30e2430 update copyrights 2014-05-30 09:43:15 +10:00
Mark Andrews
c1c8bd9171 More changes for:
3864.   [bug]           RPZ didn't work well when being used as forwarder.
                        [RT #36060]
2014-05-30 08:53:42 +10:00
Mark Andrews
e10c6afa15 3864. [bug] RPZ didn't work well when being used as forwarder.
[RT #36060]
2014-05-29 17:35:14 +10:00
Evan Hunt
d44586e6b5 [v9_9] fix typo/misspellings in CHANGES
Not reviewed

(cherry picked from commit a6d48ae493)
(cherry picked from commit 3b5fc5809b)
2014-05-28 14:11:53 -07:00
Mark Andrews
b308d44a9c address typo
(cherry picked from commit 358cc47a25)
2014-05-27 14:10:39 +10:00
Mark Andrews
7851096a62 Revert "add CVE-2014-3859"
This reverts commit fb4d84ce2b.
2014-05-27 12:30:01 +10:00
Mark Andrews
3054b7aa3b down grade change 3861 in 9.9 and 9.8 to a plain bug 2014-05-27 12:26:07 +10:00
Mark Andrews
846f608d29 3862. [cleanup] Return immediately if we are not going to log the
message in ns_client_dumpmessage.

(cherry picked from commit 9b819daddf)
2014-05-27 12:22:48 +10:00
Mark Andrews
fb4d84ce2b add CVE-2014-3859 2014-05-26 13:14:08 +10:00
Mark Andrews
22c7cf0538 add CVE-2014-3859 2014-05-26 09:43:34 +10:00
Mark Andrews
1e0e2198be 3861. [security] Missing isc_buffer_availablelength check results
in a REQUIRE assertion when printing out a packet.
                        [RT #36078]
2014-05-25 12:50:36 +10:00
Mark Andrews
10547ab2ea fix typo == -> = 2014-05-24 23:24:50 +10:00
Mark Andrews
50daea96ed 9.9.6 2014-05-24 11:14:41 +10:00
Mark Andrews
8cc4214818 add safe.[ch] 2014-05-23 23:43:36 +10:00
Mark Andrews
ccf2bb9626 remove bind9.c 2014-05-23 23:14:48 +10:00
Mark Andrews
ec1f5e6122 crc64.c and bind9.c are not part of 9.9.5
(cherry picked from commit 194c5f3acd)
2014-05-23 22:37:25 +10:00
Mark Andrews
6eff02f3bf 3860. [bug] ioctl(DP_POLL) array size needs to be determined
at run time as it is limited to {OPEN_MAX}.
                        [RT #35878]

(cherry picked from commit a569e1b321)
2014-05-23 13:06:51 +10:00
Mark Andrews
f15c252583 3858. [bug] Disable GCC 4.9 "delete null pointer check".
[RT #35968]

(cherry picked from commit 603a787083)
2014-05-23 11:26:36 +10:00
Mark Andrews
466260b953 3857. [bug] Make it harder for a incorrect NOEDNS classification
to be made. [RT #36020]
2014-05-22 23:46:28 +10:00
Tinderbox User
18ae2b1347 update copyright notice 2014-05-21 23:46:07 +00:00
Tinderbox User
281ab9a796 newcopyrights 2014-05-21 23:30:14 +00:00
Mark Andrews
f1aa50ef44 remove unused assignment
(cherry picked from commit a771e8c154d85dea18c2ae77dbc082d197ba433a)
2014-05-22 00:57:35 +10:00
Mark Andrews
a86bb63d99 3855. [bug] Limit smoothed round trip time aging to no more than
once a second. [RT #32909]

(cherry picked from commit 0fe0789181)
2014-05-21 11:09:56 +10:00
Tinderbox User
7b9ed63213 update copyright notice 2014-05-20 23:46:08 +00:00
Evan Hunt
216efa25a3 [v9_9] report unrecognized configure options
3854.	[cleanup]	Report unrecognized options, if any, in the final
                        configure summary. [RT #36014]
2014-05-20 15:31:42 -07:00
Mark Andrews
f0733857ce 3853. [cleanup] Refactor dns_rdataslab_fromrdataset to seperate out
the handling of a rdataset with no records. [RT #35968]

(cherry picked from commit 27b09ceb12)
2014-05-20 11:38:29 +10:00
Tinderbox User
3ed07f8a16 newcopyrights 2014-05-15 23:30:18 +00:00
Tinderbox User
bf30566310 regen v9_9 2014-05-15 04:54:32 +00:00
Mark Andrews
e6847661b4 move +sigchase 2014-05-15 14:35:32 +10:00
Mark Andrews
b7fef50f42 white space 2014-05-15 14:29:52 +10:00
Tinderbox User
4c90ae1e3d regen v9_9 2014-05-15 04:05:36 +00:00
Mark Andrews
2bd3efa560 whitespace 2014-05-15 13:43:25 +10:00
Mark Andrews
ad50e49910 fix typo 2014-05-15 13:02:59 +10:00
Mark Andrews
1b9b652d2e whitespace 2014-05-15 12:59:47 +10:00
Mark Andrews
9c3c0a07c9 3849. [doc] Alphabetized dig's +options. [RT #35992] 2014-05-15 12:16:57 +10:00
Mark Andrews
5490c6d2da ignore dig-symtbl.c, host-symtbl.c and nslookup-symtbl.c 2014-05-15 12:12:37 +10:00
Mark Andrews
6e21ec99ae use portable awk
(cherry picked from commit 69530009f1)
2014-05-15 00:34:57 +10:00
Mark Andrews
6fc2166a29 3847. [bug] 'configure --with-dlz-postgres' failed to fail when
there is not support available.

(cherry picked from commit 61fbd791fbd817301dcac27c05e1e742c37b10ab)
2014-05-14 17:17:49 +10:00
Tinderbox User
7af5e7aba5 regen v9_9 2014-05-14 01:12:53 +00:00
Mark Andrews
b3424744c3 remove reporter 2014-05-14 10:02:02 +10:00
Mark Andrews
5339a66996 3846. [bug] "dig +notcp ixfr=<serial>" should result in a UDP
ixfr query. [RT #35980]

(cherry picked from commit 05816676bb)
2014-05-14 10:00:50 +10:00
Francis Dupont
03262bb77f use vcredist_x64.exe for 64 bit Windows [#35973] 2014-05-13 12:36:44 +02:00
Mark Andrews
168ec78c63 3843. [protocol] Check EDNS EXPIRE option in dns_rdata_fromwire.
[RT #35969]

(cherry picked from commit ae5335dcd9d750312a4fa455495080fcb314b9d8)
2014-05-13 12:48:14 +10:00
Mark Andrews
1f03f95c2a 3842. [bug] Adjust RRL log-only logging category. [RT #35945]
(cherry picked from commit 2c172a42b3)
2014-05-11 11:00:26 +10:00
Mark Andrews
116b26c9cc suppress clang static analysis warning
(cherry picked from commit e188b84bc4)
2014-05-11 10:48:35 +10:00
Mark Andrews
28f0e82bea 3838. [protocol] EDNS EXPIRE as been assigned a code point of 9. 2014-05-09 12:09:54 +10:00
Tinderbox User
853c451dc5 update copyright notice 2014-05-08 23:46:02 +00:00
Tinderbox User
79c1914ea6 newcopyrights 2014-05-08 23:30:14 +00:00
Mark Andrews
2fd5f9a326 s/DNS_EDNSOPTIONS/DNS_EDNSOPTIONS/
(cherry picked from commit 801b958a5c)
2014-05-08 11:43:45 +10:00
Mark Andrews
375dac22e4 define DNS_OPT_EDNSOPTIONS
(cherry picked from commit 72ba6ba736)
2014-05-08 11:39:56 +10:00
Tinderbox User
f74c892d50 update copyright notice 2014-05-07 23:46:06 +00:00
Mark Andrews
9c9775353e 3841. [cleanup] Refactor zone.c:add_opt to use dns_message_buildopt.
[RT #35924]

(cherry picked from commit faa01edd13)
2014-05-08 09:39:28 +10:00
Tinderbox User
aedff73633 newcopyrights 2014-05-07 23:30:18 +00:00
Evan Hunt
a3b3557f6f [v9_9] check for arc4random_addrandom()
3840.	[port]		Check for arc4random_addrandom() before using it;
			it's been removed from OpenBSD 5.5. [RT #35907]

(cherry picked from commit 1ea6e09c37)
2014-05-07 08:58:54 -07:00
Evan Hunt
292d594e97 [v9_9] missed sourcing conf.sh 2014-05-06 22:47:18 -07:00
Evan Hunt
5409faef5e [v9_9] use posix-compatible shell in system tests
3839.	[test]		Use only posix-compatible shell in system tests.
			[RT #35625]

(cherry picked from commit 60988462e5)
(cherry picked from commit 812cf443bb)
2014-05-06 22:18:08 -07:00
Mark Andrews
165a57c9fd remove resource leak
(cherry picked from commit 215f02a137)
2014-05-06 20:52:52 +10:00
Tinderbox User
ed32138fe7 update copyright notice 2014-05-02 23:46:00 +00:00
Tinderbox User
ab0898a383 newcopyrights 2014-05-02 23:30:21 +00:00
Mark Andrews
b9d7857d16 3836. [bug] Address C++ keyword usage in header file.
(cherry picked from commit dd820d8fd2)
2014-05-02 11:36:12 +10:00
Mark Andrews
daf8905bc3 add keyboard.h [RT #35887]
(cherry picked from commit c25d9da3f1)
2014-05-02 10:19:48 +10:00
Mark Andrews
854e0dc55b silence clang compiler warnings
(cherry picked from commit d26c36b1d9)
2014-05-02 10:03:23 +10:00
Tinderbox User
552aa69013 update copyright notice 2014-05-01 23:46:01 +00:00
Tinderbox User
7075d5a64e newcopyrights 2014-05-01 23:30:23 +00:00
Mark Andrews
13d9cbac4e silence NULL pointer dereference warning
(cherry picked from commit 4442141672)
2014-05-01 14:31:33 +10:00
Mark Andrews
32436522a6 fix filter-aaaa system test to work when crypto is disabled
(cherry picked from commit f09f1bf18e)
2014-05-01 13:28:06 +10:00
Tinderbox User
761a883d8b update copyright notice 2014-04-30 23:46:04 +00:00
Tinderbox User
eba610455c newcopyrights 2014-04-30 23:30:13 +00:00
Mark Andrews
b534a59a33 use SKIPPED exit code (255)
(cherry picked from commit 96f07724d6)
2014-05-01 00:33:44 +10:00
Mark Andrews
6ab72c7454 fix change number 2014-04-30 11:59:35 +10:00
Mark Andrews
5f19d979cd 3834. [bug] The re-signing heaps were not being updated soon enough
leading to multiple re-generations of the same RRSIG
                        when a zone transfer was in progress. [RT #35273]

(cherry picked from commit 5d739300d1)
2014-04-30 11:58:37 +10:00
Mark Andrews
d95ad12543 2833. [bug] Cross compiling was broken due to calling genrandom at
build time. [RT #35869]

(cherry picked from commit 87344c2cb3)
2014-04-30 11:41:13 +10:00
Mark Andrews
e9a38310a5 it was bad INSIST logic not use after free
(cherry picked from commit 6bc767b003)
2014-04-30 10:46:58 +10:00
Tinderbox User
6ec060a1f9 update copyright notice 2014-04-29 23:46:03 +00:00
Evan Hunt
caf29fa0f7 [v9_9] fix relative/absolute errors in sample DLZ module
3827.	[contrib]	The example DLZ driver (a version of which is
			also used in the dlzexternal system test) could
			use absolute names as relative. [RT #35802]

(cherry picked from commit d4c735ca6b80c93634c937998c2a78f0d72999e0)
2014-04-29 16:41:55 -07:00
Tinderbox User
7e86c88942 newcopyrights 2014-04-29 23:30:16 +00:00
Evan Hunt
6ffed98d1e [v9_9] use-after-free in isc_radix_remove()
3826.	[bug]		Corrected a use-after-free in isc_radix_remove().
			(This function is not used in BIND, but could have
			caused problems in programs linking to libisc.)
			[RT #35870]

(cherry picked from commit 3e5743068c)
2014-04-29 15:22:16 -07:00
Mark Andrews
576ff838eb silence compiler warnings; style
(cherry picked from commit db3f8d175d)
2014-04-29 21:11:41 +10:00
Mark Andrews
a597a03a95 fix testsock6.pl
(cherry picked from commit 660195a82c)
2014-04-29 19:15:42 +10:00
Evan Hunt
9567c9a14d [v9_9] add filter-aaaa to SUBDIRS 2014-04-28 22:46:52 -07:00
Evan Hunt
0989d83a5e [v9_9] fix CHANGES note (no SIT in 9.8/9.9) 2014-04-28 22:38:33 -07:00
Mark Andrews
eefcfe0499 improve error handling in sig_fromfile
(cherry picked from commit 52c5b74c27)
2014-04-29 14:41:51 +10:00
Mark Andrews
2fbed97055 3825. [bug] Address sign extension bug in isc_regex_validate.
[RT #35758]

(cherry picked from commit c11e46110b)
2014-04-29 14:36:37 +10:00
Evan Hunt
7939308755 [v9_9] SIT/max-cache-size flag collision
3824.	[bug]		A collision between two flag values could cause
			problems with cache cleaning when SIT was enabled.
			[RT #35858]

(cherry picked from commit e01fbe2a45)
2014-04-29 11:28:11 +10:00
Tinderbox User
d7426212e8 update copyright notice 2014-04-26 23:46:03 +00:00
Tinderbox User
107432fed0 newcopyrights 2014-04-26 23:30:16 +00:00
Evan Hunt
95b85c7342 [v9_9] 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:19:27 -07:00
Mark Andrews
74db4609bf silence warnings
(cherry picked from commit 4aaaaadeae)
2014-04-26 23:43:04 +10:00
Tinderbox User
c7e4eb88a9 update copyright notice 2014-04-25 23:46:01 +00:00
Tinderbox User
6ad4c534df newcopyrights 2014-04-25 23:30:23 +00:00
Mark Andrews
f49e47739c additional places:
3818.   [bug]           Stop lying to the optimizer that 'void *arg' is a
                        constant in isc_event_allocate.

(cherry picked from commit 39b5269577)
2014-04-25 12:21:15 +10:00
Mark Andrews
71b15f9362 additional changes for:
3818.   [bug]           Stop lying to the optimizer that 'void *arg' is a
		        constant in isc_event_allocate.
2014-04-25 12:12:40 +10:00
Tinderbox User
1f841fabd2 update copyright notice 2014-04-24 23:46:02 +00:00
Tinderbox User
2b094938db newcopyrights 2014-04-24 23:30:24 +00:00
Mark Andrews
c10c7ddb6e 3819. [bug] NSEC3 hashes need to be able to be entered and
displayed without padding.  This is not a issue for
                        currently defined algorithms but may be for future
                        hash algorithms. [RT #27925]

(cherry picked from commit 36e5ac0033)
2014-04-24 19:12:08 +10:00
Mark Andrews
336c54e9ac 3818. [bug] Stop lying to the optimizer that 'void *arg' is a
constant in isc_event_allocate.

(cherry picked from commit e916c4f840)
2014-04-24 13:44:48 +10:00
Mark Andrews
27cf9fea54 make days a const
(cherry picked from commit 974fb3a9c5)
2014-04-24 13:16:43 +10:00
Tinderbox User
05cc87b0ea regen v9_9 2014-04-20 01:12:56 +00:00
Evan Hunt
d253fe9637 [v9_9] additional nsupdate doc fix 2014-04-18 18:26:21 -07:00
Tinderbox User
62aa0f7284 regen v9_9 2014-04-19 01:13:39 +00:00
Evan Hunt
89612eac6f [v9_9] clarify nsupdate -y
3815.   [doc]           Clarify "nsupdate -y" usage in man page. [RT #35808]
2014-04-18 15:09:23 -07:00
Mark Andrews
2335368011 cleanup
(cherry picked from commit 1b9318af8f)
2014-04-18 09:57:15 +10:00
Evan Hunt
7ba0196f6f [v9_9] remove outdated files from doc directory 2014-04-16 22:59:00 -07:00
Tinderbox User
b3b9fe80fc regen v9_9 2014-04-17 01:12:43 +00:00
Tinderbox User
c82895f41a update copyright notice 2014-04-16 23:45:32 +00:00
Mark Andrews
aefc581854 3809. [doc] Fix NSID documentation. 2014-04-16 15:56:28 +10:00
Mark Andrews
c577668075 remove openssl-1.0.1f-patch
(cherry picked from commit 1d4526d1cb)
2014-04-16 14:09:03 +10:00
Tinderbox User
4d9d9d1e55 newcopyrights 2014-04-14 23:30:09 +00:00
Francis Dupont
a269580f54 OpenSSL 1.0.1f -> 1.0.1g 2014-04-14 14:53:31 +02:00
Mark Andrews
df9ebf037c Add change note
3807.   [bug]           Fix sign extention bug in dns_name_fromtext when
                        lowercase is set. [RT #35743]

(cherry picked from commit 7dcb304dd0)
2014-04-14 09:24:21 +10:00
Francis Dupont
78a30f613f fix char sign extension [#35743]
(cherry picked from commit c80fef792a)
2014-04-14 09:13:17 +10:00
Tinderbox User
44816d2571 update copyright notice 2014-04-12 23:45:29 +00:00
Tinderbox User
89390b1220 newcopyrights 2014-04-12 23:30:07 +00:00
Evan Hunt
8e7972ba68 [v9_9] add epoll test for perftcpdns 2014-04-11 19:14:30 -07:00
Evan Hunt
ef7867ce9c [v9_9] customize configure --help 2014-04-11 17:37:52 -07:00
Tinderbox User
2824b30a18 update copyright notice 2014-04-11 23:45:28 +00:00
Tinderbox User
17b24e343c newcopyrights 2014-04-11 23:30:05 +00:00
Tinderbox User
1a234c48da regen v9_9 2014-04-11 01:12:20 +00:00
Tinderbox User
e5207816b7 update copyright notice 2014-04-10 23:45:31 +00:00
Tinderbox User
64654032fc newcopyrights 2014-04-10 23:30:04 +00:00
Evan Hunt
55e8267845 [v9_9] add librt check for perftcpdns 2014-04-10 10:57:54 -07:00
Francis Dupont
8d414684de update perftcpdns.c 2014-04-10 13:16:58 +02:00
Evan Hunt
8b5a1caae7 [v9_9] use test -r in system tests
3806.	[test]		Improved system test portability. [RT #35625]

(cherry picked from commit 922959581bbdd70d5c9cae1cb107974c3d38ed08)
2014-04-09 20:30:17 -07:00
Evan Hunt
36ba7ca649 [v9_9] typo 2014-04-09 18:24:28 -07:00
Evan Hunt
827fde847d [v9_9] copyrights 2014-04-09 18:07:06 -07:00
Evan Hunt
e3894cd3a9 [v9_9] missing manpage install rule for dnssec-importkey
(cherry picked from commit 540daf2887)
2014-04-09 17:17:53 -07:00
Tinderbox User
2e15f4346c newcopyrights 2014-04-09 23:30:12 +00:00
Evan Hunt
3f5a9873e2 [v9_9] add contrib/perftcpdns
3805.	[contrib]	Added contrib/perftcpdns, a performance testing tool
			for DNS over TCP. [RT #35710]

(cherry picked from commit 7cd8e7915a)
2014-04-09 15:22:10 -07:00
Mark Andrews
34c6d20fe3 sort
(cherry picked from commit 51af0a72ad)
2014-04-08 10:44:01 +10:00
Mark Andrews
e53cc6ac4c keyboard.h
(cherry picked from commit 2d1c1ee28a)
2014-04-08 10:39:37 +10:00
Mark Andrews
81697d5d7a order.h
(cherry picked from commit c7bd423cec)
2014-04-08 10:38:44 +10:00
Mark Andrews
763c8ba710 update copyrights 2014-04-08 07:16:24 +10:00
Evan Hunt
af35d10c68 [v9_9] fix race
3804.   [bug]           Corrected a race condition in dispatch.c in which
                        portentry could be reset leading to an assertion
                        failure in socket_search(). (Change #3708
                        addressed the same issue but was incomplete.)
                        [RT #35128]

(cherry picked from commit 38c3ed154a)
2014-04-07 13:54:52 -07:00
Evan Hunt
6cad9ab49c [v9_9] allow null "file" for alternate db zones
3803.	[bug]		"named-checkconf -z" incorrectly rejected zones
			using alternate data sources for not having a "file"
			option. [RT #35685]

(cherry picked from commit baad8d9fd8)
2014-04-07 13:44:40 -07:00
Tinderbox User
238d74b059 update copyright notice 2014-04-04 23:45:33 +00:00
Tinderbox User
0be6cf572a newcopyrights 2014-04-04 23:30:05 +00:00
Mark Andrews
f36d3eb488 only look for gsskrb5_register_acceptor_identity if gssapi_krb5.h exists
(cherry picked from commit 0277def3cf)
2014-04-05 08:44:27 +11:00
Mark Andrews
7908a238dd 3802. [bug] Various header files were not being installed
(cherry picked from commit 866606b9c7)
2014-04-04 22:06:24 +11:00
Mark Andrews
18d619a19b use discovered gssapi include path when linking
(cherry picked from commit 9328f6002790ddd0623f73a3421925195e6e96a4)
2014-04-04 15:01:23 +11:00
Evan Hunt
99d8ef6cd4 [v9_9] fix gssapi probing on freebsd
3801.	[port]		Fix probing for gssapi support on FreeBSD. [RT #35615]

(cherry picked from commit f0e9d6e905)
2014-04-03 19:56:01 -07:00
Evan Hunt
12b074bff5 [v9_9] improve command line error reporting
3799.	[bug]		Improve named's command line error reporting.
			[RT #35603]

(cherry picked from commit 44fbdddcad)
2014-04-03 19:39:44 -07:00
Mark Andrews
d6ed62b1ae #include <dns/result.h>
(cherry picked from commit e6ff1b5127)
2014-04-01 12:29:48 +11:00
Tinderbox User
a10a1ba69f update copyright notice 2014-03-31 23:45:30 +00:00
Tinderbox User
1bfb9e187c newcopyrights 2014-03-31 23:30:07 +00:00
Mark Andrews
217cb571db 3796. [bug] Register dns error codes. [RT #35629]
(cherry picked from commit 51e6164fd6)
2014-03-31 15:40:22 +11:00
Mukund Sivaraman
8da4c8daec 3795. [bug] Make named-checkconf detect raw masterfiles for
hint zones and reject them. [RT #35268]

Squashed commit of the following:

commit 5b0254711d6b77940d6217b9131b9d401df8a866
Author: Mukund Sivaraman <muks@isc.org>
Date:   Fri Mar 28 02:09:01 2014 +0530

    Remove redundant helper function

commit a4341c1a2ba830c8cee1def57a533f987f67c3dc
Author: Mark Andrews <marka@isc.org>
Date:   Thu Jan 30 10:08:17 2014 +1100

    error out if masterfile-format raw is specified for a hint zone.

(cherry picked from commit ef9334d745)
2014-03-31 04:59:47 +05:30
Tinderbox User
24356993e3 update copyright notice 2014-03-29 23:45:28 +00:00
Tinderbox User
7f2803ad7d newcopyrights 2014-03-29 23:30:06 +00:00
Mark Andrews
85fb175958 3794. [maint] Added AAAA for C.ROOT-SERVERS.NET.
(cherry picked from commit 6ffa8fcf76)
2014-03-29 10:30:53 +11:00
Tinderbox User
ed05579879 update copyright notice 2014-03-27 23:45:30 +00:00
Tinderbox User
9c55a20d88 newcopyrights 2014-03-27 23:30:05 +00:00
Mark Andrews
caf94c7fbe fix typo in comment
(cherry picked from commit 6d5740075b)
2014-03-27 18:22:06 +11:00
Mark Andrews
93b1293085 missing braces 2014-03-27 13:34:49 +11:00
Mark Andrews
a1a0be12f2 sigprocmask sets errno on error
(cherry picked from commit 1fa64087e7)
2014-03-27 12:34:26 +11:00
Tinderbox User
78c6d7a557 regen v9_9 2014-03-27 01:12:32 +00:00
Evan Hunt
37646bc4fe [v9_9] fix possible assertion in save_nsec3param()
3793.	[bug]		zone.c:save_nsec3param() could assert when out of
			memory. [RT #35621]

(cherry picked from commit bbd5c0ab33)
2014-03-26 13:12:55 -07:00
Mark Andrews
734cac1178 silence clang compiler warnings
(cherry picked from commit c1f26bd63c)
2014-03-26 16:21:48 +11:00
Evan Hunt
50066dd601 [v9_9] document behavior of localhost/localnets when interface changes 2014-03-25 20:08:31 -07:00
Mark Andrews
4fb0521e83 3792. [func] Provide links to the alternate statistics views when
displaying in a browser.  [RT #35605]

(cherry picked from commit c73a7e127f)
2014-03-25 16:10:32 +11:00
Tinderbox User
0cda4c5638 update copyright notice 2014-03-19 23:45:28 +00:00
Tinderbox User
fa10b3e64e newcopyrights 2014-03-19 23:30:05 +00:00
Mark Andrews
33a7161d27 3791. [bug] solaris: remove extraneous return. [RT #35589] 2014-03-20 07:40:29 +11:00
Tinderbox User
71777a84fa update copyright notice 2014-03-17 23:45:28 +00:00
Mark Andrews
0ae55b0a90 bin/tests/system/checkconf/notify.conf 2014-03-17 22:54:37 +11:00
Tinderbox User
6e95d5a55f regen v9_9 2014-03-16 01:12:42 +00:00
Evan Hunt
8f7a88f825 [v9_9] work around db2latex bug by removing literal tag 2014-03-15 15:23:19 -07:00
Evan Hunt
52cbef6c95 [v9_9] skip unnecesary also-notify data
3713.	[bug]		Save memory by not storing "also-notify" addresses
			in zone objects that are configured not to send
			notify requests. [RT #35195]

(cherry picked from commit e45d0508c3)
2014-03-14 10:57:51 -07:00
Mark Andrews
5ca8e16412 install context.h dnsconf.h; resconf.h types.h were not being installed when cross compiling
(cherry picked from commit 8058292627)
2014-03-14 11:43:00 +11:00
Tinderbox User
99b57575f5 update copyright notice 2014-03-13 23:53:08 +00:00
Tinderbox User
d61efeb180 newcopyrights 2014-03-13 23:51:57 +00:00
Mark Andrews
72a8082870 handle checkconf/{good,bad}-.*.conf
(cherry picked from commit da9622062172dbec6871ad8637518a632d887111)
2014-03-14 10:49:21 +11:00
Evan Hunt
860eadb994 [v9_9] check allow-update in view/options
3787.	[bug]		The code that checks whether "auto-dnssec" is
			allowed was ignoring "allow-update" ACLs set at
			the options or view level. [RT #29536]

(cherry picked from commit 22e29471c7)
2014-03-12 21:39:31 -07:00
Evan Hunt
eed5fb6967 [v9_9] fix possible uninitialized variable 2014-03-10 20:55:42 -07:00
Tinderbox User
26f4d2d337 regen v9_9 2014-03-11 01:12:46 +00:00
Tinderbox User
763af93d29 update copyright notice 2014-03-10 23:45:29 +00:00
Tinderbox User
5bb29e1531 newcopyrights 2014-03-10 23:30:14 +00:00
Evan Hunt
1db5accb1e [v9_9] fix negative numbers in $GENERATE
3780.	[bug]		$GENERATE handled negative numbers incorrectly.
			[RT #25528]

(cherry picked from commit 7b46a4aa41)
2014-03-10 11:57:36 -07:00
Evan Hunt
b1f8ac1795 [v9_9] whitespace 2014-03-10 11:56:50 -07:00
Tinderbox User
5e92d13eec regen v9_9 2014-03-08 01:12:57 +00:00
Evan Hunt
240614c334 [v9_9] clarify error
3779.	[cleanup]	Clarify the error message when using an option
			that was not enabled at compile time. [RT #35504]
2014-03-07 16:00:46 -08:00
Tinderbox User
6c69d47e5e update copyright notice 2014-03-07 23:45:31 +00:00
Tinderbox User
2a01af3d1c newcopyrights 2014-03-07 23:30:08 +00:00
Evan Hunt
2b4781835c [v9_9] 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)
2014-03-07 11:36:20 -08:00
Evan Hunt
b469c7b50c [v9_9] fix misuses of isc__buffer functions, update comment 2014-03-06 17:25:02 -08:00
Tinderbox User
e3a06517c1 update copyright notice 2014-03-06 23:45:28 +00:00
Tinderbox User
da7430c2a7 newcopyrights 2014-03-06 23:30:12 +00:00
Evan Hunt
5f7e36daf3 [v9_9] tests directory cleanup 2014-03-06 11:19:52 -08:00
Tinderbox User
4402bc43d8 regen v9_9 2014-03-05 01:17:29 +00:00
Tinderbox User
9897222d78 update copyright notice 2014-03-04 23:45:33 +00:00
Tinderbox User
c873a7ec77 newcopyrights 2014-03-04 23:30:07 +00:00
Evan Hunt
0ed727f405 [v9_9] use ANSI prototypes, clean up some casts
(cherry picked from commit b454c03196)
2014-03-04 10:48:05 -08:00
Evan Hunt
f798b3c468 [v9_9] don't use keyname from command line if using -S
(cherry picked from commit 7d769b7ba7)
2014-03-04 09:08:17 -08:00
Evan Hunt
82faa427b5 [v9_9] fix API mismatch bug in DLZ
3775.	[bug]		dlz_dlopen driver could return the wrong error
			code on API version mismatch, leading to a segfault.
			[RT #35495]

(cherry picked from commit d51456e453)
2014-03-04 09:00:24 -08:00
Evan Hunt
fd466390af [v9_9] remove merge-conflict text 2014-03-03 19:32:39 -08:00
Tinderbox User
0846939be0 update copyright notice 2014-03-03 23:46:30 +00:00
Tinderbox User
b0ca9af13f newcopyrights 2014-03-03 23:30:07 +00:00
Evan Hunt
d4600129e6 [v9_9] add "version" options to host/nslookup/nsupdate
3773.	[func]		"host", "nslookup" and "nsupdate" now have
			options to print the version number and exit.
                        [RT #26057]
2014-03-03 10:11:16 -08:00
Tinderbox User
48f5fe9716 regen v9_9 2014-03-02 01:13:03 +00:00
Tinderbox User
1308939a8b update copyright notice 2014-03-01 23:45:35 +00:00
Evan Hunt
b4f8b1b176 [v9_9] dig +trace could fail when retrying with TCP
3770.	[bug]		"dig +trace" could fail with an assertion when it
			needed to fall back to TCP due to a truncated
			response. [RT #24660]
2014-03-01 15:32:58 -08:00
Tinderbox User
ddc421cc6c newcopyrights 2014-03-01 23:30:07 +00:00
Evan Hunt
e17d904456 [v9_9] capture stderr in systests.output
- also tidied up runall.sh summary output

(cherry picked from commit ec88c1fdff)
2014-02-28 22:00:22 -08:00
Evan Hunt
c28b1e52f0 [v9_9] improved doc for "rndc signing -list"
3769.   [doc]           Improved documentation of "rndc signing -list".
                        [RT #30652]

(cherry picked from commit 3ef4b7383a)
2014-02-28 21:33:10 -08:00
Evan Hunt
af719fc9d5 [v9_9] add sha-384 to dnssec-checkds
3768.	[bug]		"dnssec-checkds" was missing the SHA-384 digest
			algorithm. [RT #34000]

(cherry picked from commit 72aa3b2a4e)
2014-02-28 21:10:37 -08:00
Tinderbox User
51b67b2afa update copyright notice 2014-02-28 23:45:38 +00:00
Tinderbox User
c3b3c1bf29 newcopyrights 2014-02-28 23:30:07 +00:00
Evan Hunt
bc805c7c06 [v9_9] log when using rndc.key
3767.	[func]		Log explicitly when using rndc.key to configure
			command channel. [RT #35316]

(cherry picked from commit 368aedf188)
2014-02-27 17:55:37 -08:00
Tinderbox User
caff862183 regen v9_9 2014-02-28 01:16:27 +00:00
Evan Hunt
8d4d4c8eb8 [v9_9] fix possible rndc secroots crash
3765.	[bug]		Fixed a bug in "rndc secroots" that could crash
			named when dumping an empty keynode. [RT #35469]

(cherry picked from commit 1aced7b870)
2014-02-27 16:43:32 -08:00
Evan Hunt
49b3d91ce1 [master] dnssec-keyfromlabel -S and -i
3764.	[bug]		The dnssec-keygen/settime -S and -i options
			(to set up a successor key and set the prepublication
			interval) were missing from dnssec-keyfromlabel.
			[RT #35394]

(cherry picked from commit a60bf97f9f)
2014-02-27 16:31:15 -08:00
Tinderbox User
a01848c1cf update copyright notice 2014-02-27 23:45:39 +00:00
Tinderbox User
1f40509fd6 newcopyrights 2014-02-27 23:30:07 +00:00
Evan Hunt
18482891e3 [v9_9] correct dates in man pages 2014-02-27 11:45:43 -08:00
Evan Hunt
8d027f1431 [master] fix 'rndc freeze' doc, and mention 'rndc sync' 2014-02-26 23:07:52 -08:00
Mark Andrews
6c90e655bf 3761. [bug] Address dangling reference bug in dns_keytable_add.
[RT #35471]

(cherry picked from commit 96c17c5ecb)
2014-02-27 16:56:39 +11:00
Mark Andrews
71fac8ec0f remove bin/python/win32.py 2014-02-27 13:24:23 +11:00
Mark Andrews
ee20dec8dc #include <inttypes.h> 2014-02-27 11:58:43 +11:00
Tinderbox User
4633de5e70 update copyright notice 2014-02-26 23:45:49 +00:00
Tinderbox User
0736c6c7a2 newcopyrights 2014-02-26 23:30:08 +00:00
Evan Hunt
57f8e1e386 [v9_9] enable windows python tools
3757.	[port]		Enable Python tools (dnssec-coverage,
			dnssec-checkds) to run on Windows. [RT #34355]

(cherry picked from commit 3a01ded15d)
2014-02-26 08:47:25 -08:00
Tinderbox User
37a0c7bd43 update copyright notice 2014-02-24 23:45:46 +00:00
Tinderbox User
91a48087b6 newcopyrights 2014-02-24 23:30:07 +00:00
Mark Andrews
f1fc30125e 3756. [bug] GSSAPI Kerberos realm checking was broken in
check_config leading to spurious messages being
                        logged.  [RT #35443]

(cherry picked from commit 0072ae822d)
2014-02-24 12:16:58 +11:00
Mark Andrews
9e452706a5 wait for zone to transfer
(cherry picked from commit cc00679829)
2014-02-23 14:06:57 +11:00
Francis Dupont
b73c17377c more missing WIN32 docs 2014-02-22 02:59:34 +01:00
Tinderbox User
11e99ce6be newcopyrights 2014-02-21 23:30:06 +00:00
Francis Dupont
8ce2acd5b3 Isc Bind 9 -> upper case 2014-02-22 00:06:36 +01:00
Mark Andrews
cd8c07bd7b add additional tools standalone man pages 2014-02-22 10:02:27 +11:00
Mark Andrews
678c46414a replace obsolete macro AC_ERROR with AC_MSG_ERROR 2014-02-21 21:17:52 +11:00
Tinderbox User
0745c761d5 regen v9_9 2014-02-21 01:15:59 +00:00
Tinderbox User
de17f51528 update copyright notice 2014-02-20 23:45:53 +00:00
Tinderbox User
e98da3abba newcopyrights 2014-02-20 23:30:06 +00:00
Mark Andrews
7e897e3a75 fix quoting
(cherry picked from commit 6bcc716299)
2014-02-21 09:45:53 +11:00
Mark Andrews
bae4865cd3 more updated to reflect install location changes
(cherry picked from commit a24d1ccf6f)
2014-02-21 09:42:54 +11:00
Mark Andrews
e86ad3801e update kit.sh from master 2014-02-21 08:00:37 +11:00
Evan Hunt
51dc1b4562 [v9_9] fix win32 installer
3754.	[cleanup]	win32: Installer now places files in the
			Program Files area rather than system services.
			[RT #35361]

(cherry picked from commit bce9696c7a)
2014-02-20 10:17:21 -08:00
Mark Andrews
e8105d6310 3753. [bug] allow-notify was ignoring keys. [RT #35425]
(cherry picked from commit edd82b2ce2)
2014-02-21 00:10:58 +11:00
Evan Hunt
e1415ccd1d [v9_9] adjust default -U
3751.	[tuning]	The default setting for the -U option (setting
			the number of UDP listeners per interface) has
			been adjusted to improve performance. [RT #35417]

(cherry picked from commit 83eecff731)
2014-02-19 21:57:30 -08:00
Mark Andrews
be2d413edf don't error on rpz percentage checks as they fail inconsistently on virtual machines
(cherry picked from commit 86a85a3bbd)
2014-02-20 12:23:01 +11:00
Evan Hunt
314b626e20 [v9_9] fix dns_resolver_destroyfetch race
3747.	[bug]		A race condition could lead to a core dump when
			destroying a resolver fetch object. [RT #35385]

(cherry picked from commit 7f5bdf7f40)
2014-02-18 23:32:41 -08:00
Tinderbox User
0c20298ee0 regen v9_9 2014-02-18 01:15:25 +00:00
Tinderbox User
861016e487 update copyright notice 2014-02-17 23:45:50 +00:00
Tinderbox User
037f470a7e newcopyrights 2014-02-17 23:30:07 +00:00
Mark Andrews
d659c5dac1 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:16:26 +11:00
Mark Andrews
cf18260078 update descrition 2014-02-18 10:04:22 +11:00
Evan Hunt
69a3500873 [v9_9] correct delegation-only doc 2014-02-17 14:25:27 -08:00
Evan Hunt
3f0a78b790 [v9_9] fix test errors
- require 5.006_001
- cut off the least significant figures of rrsig dates before
  comparison to avoid integer overflow

(cherry picked from commit 5efcb3a3e2)
2014-02-17 08:41:01 -08:00
Mark Andrews
d611364626 3742. [port] linux: libcap support: curval was used before it
was declared. [RT #35387]

(cherry picked from commit 5114325978)
2014-02-18 00:28:19 +11:00
Mark Andrews
76b2abc0b4 #include <isc/string.h>
(cherry picked from commit 823eadf26d)
2014-02-17 12:23:09 +11:00
Tinderbox User
292568fd2e update copyright notice 2014-02-16 23:45:51 +00:00
Tinderbox User
d69df74fee newcopyrights 2014-02-16 23:30:06 +00:00
Mark Andrews
7b7ec78862 restore accidently removed 'else' 2014-02-16 21:13:32 +11:00
Evan Hunt
5c66e4954a [v9_9] fixed some dlz configure options
3740.	[contrib]	Minor fixes to configure --with-dlz-bdb,
			--with-dlz-postgres and --with-dlz-odbc. [RT #35340]

(cherry picked from commit 14bf4702f3)
2014-02-15 21:11:25 -08:00
Francis Dupont
f377d7eb33 retries -> split in could not parse 2014-02-16 02:11:48 +01:00
Francis Dupont
5524962730 spurious space 2014-02-16 02:11:32 +01:00
Tinderbox User
2ef658bd75 update copyright notice 2014-02-14 23:45:48 +00:00
Tinderbox User
44cd99bd81 newcopyrights 2014-02-14 23:30:07 +00:00
Evan Hunt
547fe6d764 [v9_9] updated published drafts 2014-02-14 08:54:25 -08:00
Tinderbox User
3231fac2d5 regen v9_9 2014-02-13 01:15:10 +00:00
Tinderbox User
4b3033fd16 update copyright notice 2014-02-12 23:45:50 +00:00
Tinderbox User
efb4a66305 newcopyrights 2014-02-12 23:30:05 +00:00
Mark Andrews
8e30a7e9fd 3737. [bug] 'rndc retransfer' could trigger a assertion failure
with inline zones. [RT #35353]
2014-02-13 08:54:51 +11:00
Evan Hunt
fa0af360e3 [v9_9] typos in dig man page 2014-02-12 10:32:37 -08:00
Evan Hunt
1a58baf293 [v9_9] try multiple addresses per server name in nsupdate
3736.	[bug]		nsupdate: When specifying a server by name,
			fall back to alternate addresses if the first
			address for that name is not reachable. [RT #25784]

(cherry picked from commit 842a3e6d0e)
2014-02-11 21:30:17 -08:00
Tinderbox User
f58bb15f49 update copyright notice 2014-02-11 23:45:47 +00:00
Tinderbox User
45927a2958 newcopyrights 2014-02-11 23:30:05 +00:00
Mark Andrews
fadd723de0 define and use BACKTRACECFLAGS
(cherry picked from commit 6b66ee9147)
2014-02-12 09:08:32 +11:00
Mark Andrews
8092e43158 hpux: move -Wl,+vnocompatwarnings to STD_CWARNINGS; add +vnocompatwarnings to SO_LDFLAGS
(cherry picked from commit ac49f1c511)
2014-02-11 13:22:49 +11:00
Tinderbox User
51cd9d32ed update copyright notice 2014-02-10 23:45:47 +00:00
Tinderbox User
d468ba4560 newcopyrights 2014-02-10 23:30:06 +00:00
Mark Andrews
9e626dc995 -Wl,+vnocompatwarnings is a compiler flag to pass to the loader not a direct loader flag
(cherry picked from commit 343556ecf9)
2014-02-10 17:54:26 +11:00
Mar Andrews
6c8b7ab630 add SO_LDFLAGS
(cherry picked from commit 29b646791b)
2014-02-10 06:00:13 +00:00
Mark Andrews
61eea10d81 3734. [bug] Improve building with libtool. [RT #35314] 2014-02-10 15:23:45 +11:00
Mark Andrews
cefd7fc8ee regen 2014-02-10 15:20:28 +11:00
Mark Andrews
0d576d7c0d whitespace 2014-02-10 15:19:57 +11:00
Mark Andrews
4735ad1cfd back port algorithm detection support from master 2014-02-10 11:47:28 +11:00
Tinderbox User
9ad10f723a newcopyrights 2014-02-08 23:30:08 +00:00
Tinderbox User
dc48f9631f regen v9_9 2014-02-08 01:17:56 +00:00
Tinderbox User
6e1a48501e update copyright notice 2014-02-07 23:45:57 +00:00
Tinderbox User
f35a075d4e newcopyrights 2014-02-07 23:30:12 +00:00
Mark Andrews
0a2f8f96f3 use exit 255
(cherry picked from commit 2870ee1fe5)
2014-02-08 09:44:30 +11:00
Mark Andrews
1c67e9747b fix typo in comment
(cherry picked from commit 404d7c966c)
2014-02-08 09:38:34 +11:00
Francis Dupont
d18aabcda2 trailing space 2014-02-07 22:39:11 +01:00
Francis Dupont
ad9aa9e8af add missing importkey.dsw 2014-02-07 19:06:16 +01:00
Evan Hunt
4bb626dc78 [v9_9] spelling 2014-02-07 08:02:51 -08:00
Evan Hunt
2d9abcc1d2 [v9_9] update README 2014-02-06 22:52:51 -08:00
Mark Andrews
eca3729719 (cherry picked from commit 0584ab7e9c)
Conflicts:
	bin/tests/system/rsabigexponent/bigkey.c
2014-02-07 16:47:10 +11:00
Evan Hunt
55c7ef52aa [v9_9] type mismatch in ODBC DLZ driver
3732.	[contrib]	Fixed a type mismatch causing the ODBC DLZ
			driver to dump core on 64-bit systems. [RT #35324]

(cherry picked from commit 41e55d0403)
2014-02-06 20:05:47 -08:00
Evan Hunt
e9a2673e85 [v9_9] add testcrypto.sh 2014-02-06 19:48:49 -08:00
Evan Hunt
c2d3d0eda5 [v9_9] 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)
2014-02-06 19:42:39 -08:00
Tinderbox User
3a88395f71 regen v9_9 2014-02-07 01:11:15 +00:00
Tinderbox User
94bb12fe20 sync 2014-02-07 01:07:43 +00:00
Mark Andrews
c94c439f1b silence unused parameter 2014-02-07 11:46:10 +11:00
Evan Hunt
d0fad28c72 [v9_9] report T_SKIPPED from t_dst
(cherry picked from commit dd19c1a352)
2014-02-06 16:22:29 -08:00
Evan Hunt
a9eb392c55 [v9_9] testcrypto.sh in system tests
3714.  [test]          System tests that need to test for cryptography
                       support before running can now use a common
                       "testcrypto.sh" script to do so. [RT #35213]
2014-02-06 16:10:03 -08:00
Evan Hunt
ec146546f4 [v9_9] dnssec-keygen fixes
3730.	[cleanup]	Added "never" as a synonym for "none" when
			configuring key event dates in the dnssec tools.
			[RT #35277]

3729.	[bug]		dnssec-kegeyn could set the publication date
			incorrectly when only the activation date was
			specified on the command line. [RT #35278]

(cherry picked from commit 5f06c523186be56c5b0cd9b1c230ea7a53960c53)
2014-02-06 15:51:56 -08:00
Evan Hunt
488819e99d [v9_9] add description of [contrib] 2014-02-05 14:55:06 -08:00
Evan Hunt
d3cc34243f [v9_9] explain [placeholder] 2014-02-05 09:25:28 -08:00
Tinderbox User
cf4f558e1c newcopyrights 2014-02-04 23:30:08 +00:00
Evan Hunt
b603c50553 [v9_9] fixed win32 dig problem
3724.   [bug]           win32: Fixed a bug that prevented dig and
                        host from exiting properly after completing
                        a UDP query. [RT #35288]

(cherry picked from commit a8cdf2a2e7)
2014-02-04 12:02:54 -08:00
Mark Andrews
954b3020cf prereq.sh 2014-02-04 21:59:51 +11:00
Tinderbox User
763eb1319b newcopyrights 2014-01-31 23:30:08 +00:00
Evan Hunt
f48c053bb5 [v9_9] silence coverity warnings
- remove dead code in server.c
- initialize a struct tm.c

(cherry picked from commit 48def18179)
2014-01-31 09:40:11 -08:00
Mark Andrews
8826c08b48 add named.conf 2014-01-31 22:43:46 +11:00
Mark Andrews
66a97b2000 #include <inttypes.h> 2014-01-31 22:42:17 +11:00
Evan Hunt
fd780a9c39 [v9_9] add stdint.h 2014-01-31 00:06:03 -08:00
Tinderbox User
f148939b08 update copyright notice 2014-01-30 23:45:43 +00:00
Tinderbox User
f84609df98 newcopyrights 2014-01-30 23:30:08 +00:00
Tinderbox User
75c96a1a40 update copyright notice 2014-01-29 23:45:44 +00:00
Mark Andrews
52f0c7ba83 3720. [bug] Address compiler warnings. [RT #35261]
(cherry picked from commit 63add83a26)
2014-01-30 10:33:52 +11:00
Tinderbox User
37e65008b9 newcopyrights 2014-01-29 23:30:08 +00:00
Mark Andrews
5731197d08 3719. [bug] Address memory leak in in peer.c. [RT #35255]
(cherry picked from commit 75d747e1c5)
2014-01-30 07:55:25 +11:00
Mark Andrews
017451c87b 3718. [bug] A missing ISC_LINK_INIT in log.c. [RT #35260]
(cherry picked from commit fbc0e37e0c)

Conflicts:
	CHANGES
2014-01-30 07:45:33 +11:00
Tinderbox User
c5917963bc update copyright notice 2014-01-27 23:45:47 +00:00
Tinderbox User
4cb493a874 newcopyrights 2014-01-27 23:30:11 +00:00
Mark Andrews
cd61fff42f #if 0/#endif debug only variable
(cherry picked from commit 373b9944b6)
2014-01-28 09:43:47 +11:00
Mark Andrews
736db05eb6 doxygen markup
(cherry picked from commit bc28371004d70b17f0ca872da8bd84e70591eaf4)
2014-01-28 09:13:06 +11:00
Evan Hunt
f9b8a50e30 [v9_9] prep 9.9.5 2014-01-27 10:58:24 -08:00
Tinderbox User
637e16dca4 update copyright notice 2014-01-26 23:45:44 +00:00
Tinderbox User
58047e0f19 newcopyrights 2014-01-26 23:30:14 +00:00
Mark Andrews
7bcdbf7e44 restore 'Portions of this code' notice
(cherry picked from commit a299dbc566)
2014-01-26 10:49:55 +11:00
Tinderbox User
8cb5280608 regen v9_9 2014-01-25 01:14:37 +00:00
Tinderbox User
afbf97392d update copyright notice 2014-01-24 23:45:45 +00:00
Tinderbox User
a51c8c1071 newcopyrights 2014-01-24 23:30:09 +00:00
Evan Hunt
f0f4bda44a [v9_9] correct copyrights and attributions
see RT #35423 for details; highlights:
        - remove license clauses 3 and 4 from NetBSD code
        - remove advertising clause from historical BSD code
2014-01-24 09:51:53 -08:00
Tinderbox User
27c98063bd update copyright notice 2014-01-22 23:45:44 +00:00
Tinderbox User
9bdfce010d newcopyrights 2014-01-22 23:30:09 +00:00
Mark Andrews
928163b7d9 remove src files not available for 'make depend' 2014-01-22 10:48:42 +11:00
Tinderbox User
91e8058ab5 update copyright notice 2014-01-21 23:45:43 +00:00
Tinderbox User
bba70eb66f newcopyrights 2014-01-21 23:30:09 +00:00
Mark Andrews
ded0ff274b s/gai_sterror.c/gai_strerror.c/
(cherry picked from commit 395a4c7f6f)
2014-01-22 10:11:23 +11:00
Evan Hunt
571c5eeb19 [v9_9] remove unnecessary test in name.c 2014-01-20 17:59:14 -08:00
Francis Dupont
6608bb1adf add EXTENSIONS in WIN32 Configure [#35220] 2014-01-20 15:39:32 +01:00
Tinderbox User
c7f9089a28 update copyright notice 2014-01-17 23:45:49 +00:00
Tinderbox User
ea195f0b43 regenerate 2014-01-17 03:27:12 +00:00
Evan Hunt
e5f3300a39 [v9_9] prep 9.9.5rc2 2014-01-16 18:58:09 -08:00
Evan Hunt
6acb54b8ac [v9_9] fix config error 2014-01-16 17:11:48 -08:00
Mark Andrews
948ae6f011 update 2014-01-17 11:20:34 +11:00
Tinderbox User
4566cbd6da update copyright notice 2014-01-16 23:45:48 +00:00
Mark Andrews
f721bb7788 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:06:06 +11:00
Evan Hunt
d33130f7ab [v9_9] skip xfer test with Net::DNS 0.73 2014-01-16 09:50:41 -08:00
Mark Andrews
28885f1613 make DST_GSSAPI_INC a macro 2014-01-17 00:51:32 +11:00
Mark Andrews
2219b2ed9d remove lib/isc/win32/strptime.c 2014-01-16 15:04:50 +11:00
Mark Andrews
7ff6680c5a cast to unsigned char
(cherry picked from commit 64819a98a9)
2014-01-16 11:46:57 +11:00
Tinderbox User
b94f70ab8d update copyright notice 2014-01-15 23:45:46 +00:00
Tinderbox User
a4815efd49 newcopyrights 2014-01-15 23:30:10 +00:00
Mark Andrews
bf96f5fe38 initalize ret
(cherry picked from commit 636c2f488c)
2014-01-16 09:23:36 +11:00
Evan Hunt
181b35c220 [v9_9] typo 2014-01-15 11:18:22 -08:00
Evan Hunt
0067977a3c [v9_9] address compiler warnings 2014-01-15 09:39:48 -08:00
Mark Andrews
05f59e68ad add tm.c tm.@O@ 2014-01-15 20:10:50 +11:00
Evan Hunt
6f3e1f7dbe [v9_9] portable strptime/timegm
3709.	[port]		Use built-in versions of strptime() and timegm()
			on all platforms to avoid portability issues.
			[RT #35183]
2014-01-14 23:17:21 -08:00
Evan Hunt
e67b0129b6 [v9_9] typo 2014-01-14 21:10:31 -08:00
Mark Andrews
0c3a129e61 3708. [bug] Address a portentry locking issue in dispatch.c.
[RT #35128]

(cherry picked from commit 702958d202)
2014-01-15 15:55:59 +11:00
Mark Andrews
9f137000c4 3707. [bug] irs_resconf_load now returns ISC_R_FILENOTFOUND
on a missing resolv.conf file and initializes the
                        structure as if it had been configured with:

                                nameserver ::1
                                nameserver 127.0.0.1

                        Note: Callers will need to be updated to treat
                        ISC_R_FILENOTFOUND as a qualified success or else
                        they will leak memory. The following code fragment
                        will work with both only and new versions without
                        changing the behaviour of the existing code.

                        resconf = NULL;
                        result = irs_resconf_load(mctx, "/etc/resolv.conf",
                                                  &resconf);
                        if (result != ISC_SUCCESS) {
                                if (resconf != NULL)
                                        irs_resconf_destroy(&resconf);
                                ....
                        }

                        [RT #35194]

(cherry picked from commit cd7f8d18f8)
2014-01-15 15:24:58 +11:00
Mark Andrews
741592b07e silence compiler warning
(cherry picked from commit d8b83f0e2b)
2014-01-15 12:40:36 +11:00
Evan Hunt
3489e7380c [v9_9] fix queryperf integer overflow
3706.	[contrib]	queryperf: Fixed a possible integer overflow when
			printing results. [RT #35182]
2014-01-14 16:59:16 -08:00
Tinderbox User
e5ac85796f update copyright notice 2014-01-14 23:45:43 +00:00
Tinderbox User
03e57eddbe newcopyrights 2014-01-14 23:30:08 +00:00
Mark Andrews
b9c050cb9c 3704. [protocol] Accept integer timestamps in RRSIG records. [RT #35185] 2014-01-14 16:06:45 +11:00
Tinderbox User
ba3a0473b5 update copyright notice 2014-01-13 23:45:42 +00:00
Tinderbox User
53c01d4b32 newcopyrights 2014-01-13 23:30:08 +00:00
Evan Hunt
65510ca0d7 [v9_9] See ticket 35140 for details.
Install some include files:

dns/client.h
dns/compress.h
dns/tsec.h
irs/resconf.h
irs/types.h
(I noticed these when building DHCP using installed BIND9.)

This was okayed during the 2014-01-02 BIND9 phone meeting.

(cherry picked from commit c55b7dce48)
2014-01-13 15:18:29 -08:00
Evan Hunt
edd0fc4596 [v9_9] add CVE details; marked 3656 as [security] 2014-01-13 14:56:32 -08:00
Evan Hunt
f7a59390e6 [v9_9] fix win32 isc_time_set()
- also, mark XSL files as cacheable
2014-01-11 22:01:06 -08:00
Francis Dupont
fff480d985 fix WIN32 Configure typo 2014-01-11 17:35:16 +01:00
Evan Hunt
590ffb7a4d [v9_9] missing prototype in time.h 2014-01-10 20:19:30 -08:00
Evan Hunt
27f1c9ff52 [v9_9] portable replacement for timegm() 2014-01-10 19:22:15 -08:00
Tinderbox User
07179f23e1 regen v9_9 2014-01-11 01:14:39 +00:00
Mark Andrews
14d98f724e update copyrights 2014-01-11 07:10:14 +11:00
Mark Andrews
547bac153d add lib/isc/win32/strptime.c 2014-01-11 06:29:24 +11:00
Evan Hunt
5391fdab91 [v9_9] one more win32 build error 2014-01-10 11:21:25 -08:00
Evan Hunt
942006313c [v9_9] missing prototypes 2014-01-10 11:17:19 -08:00
Evan Hunt
348979ec7e [v9_9] fix win32 build problems 2014-01-10 10:58:51 -08:00
Tinderbox User
fd20b1ecac regenerate 2014-01-10 17:23:54 +00:00
Evan Hunt
94a726d4b7 [v9_9] prep 9.9.5rc1 2014-01-10 09:20:32 -08:00
Tinderbox User
fd5af24ba1 regen v9_9 2014-01-10 17:09:42 +00:00
Evan Hunt
cd9bdb1d6d [v9_9] add 'make unit' to top directory 2014-01-10 08:06:11 -08:00
Mark Andrews
a89f89f11b add unit test for isc_time_parsehttptimestamp
(cherry picked from commit fd0f3e7cd8)
2014-01-11 00:33:45 +11:00
Mark Andrews
0e9a84c025 add ISC_PLATFORM_NEEDSTRCASESTR 2014-01-10 23:56:25 +11:00
Mark Andrews
7928d1c998 strptime returns time in the local time zone so use mktime
(cherry picked from commit 429ab67296)
2014-01-10 23:46:17 +11:00
Mark Andrews
f9b9094e7b change description
(cherry picked from commit 39c30670e8)
2014-01-10 17:40:44 +11:00
Mark Andrews
81a8977eeb 3701. [func] named-checkconf can now suppress the printing of
shared secrets by specifying '-x'. [RT #34465]

(cherry picked from commit ff6de396a9)
2014-01-10 17:39:39 +11:00
Evan Hunt
de6f4dbceb [v9_9] add isc_string_strcasestr for portability
(cherry picked from commit 765ed22a844416f29253f5130548fef77f31881c)
2014-01-09 22:03:44 -08:00
Evan Hunt
43ace844b2 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-01-09 19:06:08 -08:00
Evan Hunt
712839e4d2 [v9_9] stats improvements (newstats only)
3699.  [bug]           Improvements to statistics channel XSL stylesheet:
                       the stylesheet can now be cached by the browser;
                       section headers are omitted from the stats display
                       when there is no data in those sections to be
                       displayed; counters are now right-justified for
                       easier readability. [RT #35117]
2014-01-09 18:41:21 -08:00
Tinderbox User
864ca7ce33 update copyright notice 2014-01-09 23:45:53 +00:00
Tinderbox User
b184ddcb76 newcopyrights 2014-01-09 23:30:07 +00:00
Mark Andrews
d1a389bdac stop spamming system logs
(cherry picked from commit d4eb30fa2d)
2014-01-09 16:23:57 +11:00
Mark Andrews
72512a6031 silence compiler warning
(cherry picked from commit 109f477ed7)
2014-01-09 15:59:18 +11:00
Evan Hunt
49c88a1ce0 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2014-01-08 18:28:58 -08:00
Tinderbox User
5b8dcfac9a regen v9_9 2014-01-09 01:14:32 +00:00
Evan Hunt
8c7ce6d3e6 [v9_9] replace memcpy() with memmove().
3698.	[cleanup]	Replaced all uses of memcpy() with memmove().
			[RT #35120]

(cherry picked from commit ebe54c7d2221c6a0a4b3d96bcae3280c823a45e6)
2014-01-08 16:38:56 -08:00
Tinderbox User
fcf3461d97 update copyright notice 2014-01-08 23:45:37 +00:00
Tinderbox User
74b313fe5c newcopyrights 2014-01-08 23:30:06 +00:00
Evan Hunt
5fccdc10de [v9_9] removed reference to "auto-dnssec create" 2014-01-08 11:34:33 -08:00
Mark Andrews
3dcb5328b4 cleanup openssl-1.0.0k-patch and openssl-1.0.1e-patch removed 2014-01-08 12:39:46 +11:00
Tinderbox User
8360499ad6 update copyright notice 2014-01-07 23:45:36 +00:00
Tinderbox User
99fce3a25b newcopyrights 2014-01-07 23:30:08 +00:00
Francis Dupont
ff46df8c3c update OpenSSL patches (1.0.0k -> 1.0.0l, 1.0.1e -> 1.0.1f) [#35158] 2014-01-07 12:18:57 +01:00
Francis Dupont
81c74da451 updated OpenSSL and libxml2 versions in WIN32 doc [#35157] 2014-01-07 12:18:34 +01:00
Tinderbox User
d9da3192b6 newcopyrights 2014-01-06 23:30:07 +00:00
Mark Andrews
d1f2e3f0b4 3697. [bug] Handle "." as a search list element when IDN support
is enabled. [RT #35133]

(cherry picked from commit d0e3216c21)
2014-01-06 12:34:58 +11:00
Tinderbox User
1fc542b725 update copyright notice 2014-01-05 23:45:38 +00:00
Tinderbox User
f4cc1d82f7 newcopyrights 2014-01-05 23:30:07 +00:00
Mark Andrews
f79db810c6 3696. [bug] dig failed to handle AXFR style IXFR responses which
span multiple messages. [RT #35137]

(cherry picked from commit e9649ece3b)
2014-01-06 06:24:02 +11:00
Evan Hunt
88601d331d [v9_9] dispatch.c race
3695.	[bug]		Address a possible race in dispatch.c. [RT #35107]

(cherry picked from commit 2b258a1f5b)
2013-12-23 09:50:49 -08:00
Tinderbox User
0b915a7770 update copyright notice 2013-12-21 23:45:39 +00:00
Mark Andrews
d2e68959ca warn-keydir.conf 2013-12-21 12:32:06 +11:00
Evan Hunt
a315801f31 typo 2013-12-20 17:12:50 -08:00
Evan Hunt
2354181226 [v9_9] warn if key-directory doesn't exist
3694.	[bug]		Warn when a key-directory is configured for a zone,
			but does not exist or is not a directory. [RT #35109]

(cherry picked from commit c14ba71070)
2013-12-20 14:57:58 -08:00
Mark Andrews
c781dea647 3693. [security] memcpy was incorrectly called with overlapping
ranges resulting in malformed names being generated
                        on some platforms.  This could cause INSIST failures
                        when serving NSEC3 signed zones.  [RT #35120]

(cherry picked from commit fa467e60c5)
2013-12-20 10:59:01 +11:00
Mark Andrews
10cbe27cb3 3693. [security] memcpy was incorrectly called with overlapping
ranges resulting a malformed names being generated
                        on some platforms.  This was subsequently detected
                        resulting in INSIST failures when serving NSEC3
                        signed zones.  [RT #35120]

(cherry picked from commit b93ef543ab)
2013-12-20 10:26:52 +11:00
Tinderbox User
5d52bae338 update copyright notice 2013-12-16 23:45:41 +00:00
Mark Andrews
9337f965f6 sort and one file per line 2013-12-17 10:38:00 +11:00
Tinderbox User
77c2760f8d newcopyrights 2013-12-16 23:30:21 +00:00
Mark Andrews
485380894a 3692. [bug] Two calls to dns_db_getoriginnode were fatal if there
was no data at the node. [RT #35080]

(cherry picked from commit 161e803a56)
2013-12-17 09:13:18 +11:00
Tinderbox User
de81c583e5 update copyright notice 2013-12-15 23:45:37 +00:00
Mark Andrews
9176bfcf68 cleanup rename of bin/tests/system/resolver/ns7/named.conf
(cherry picked from commit 11123e7d40)
2013-12-15 23:44:48 +11:00
Tinderbox User
02dc6a8b00 update copyright notice 2013-12-13 23:45:38 +00:00
Tinderbox User
6a6de75705 newcopyrights 2013-12-13 23:30:22 +00:00
Evan Hunt
06614edc44 [v9_9] correct dispatch address/port check
3690.	[bug]		Iterative responses could be missed when the source
			port for an upstream query was the same as the
			listener port (53). [RT #34925]
2013-12-12 22:46:21 -08:00
Evan Hunt
0c0ce5f9a4 [v9_9] fix insecure delegation across static-stub zones
3689.	[bug]		Fixed a bug causing an insecure delegation from one
			static-stub zone to another to fail with a broken
			trust chain. [RT #35081]

(cherry picked from commit 9b895f30f1)
2013-12-12 22:20:21 -08:00
Evan Hunt
a51a573942 [v9_9] bump 9.9.5b1 release tag 2013-12-11 21:59:59 -08:00
Evan Hunt
61210f6d39 README formatting 2013-12-11 20:04:10 -08:00
Tinderbox User
ec9e025e1f regenerate 2013-12-12 02:25:08 +00:00
Mark Andrews
cf3decc59c 3688. [bug] loadnode could return a freed node on out of memory.
[RT #35106]
2013-12-12 12:50:12 +11:00
Tinderbox User
4d99b1110b regen v9_9 2013-12-12 01:14:39 +00:00
Tinderbox User
c75c9ee78e update copyright notice 2013-12-11 23:46:56 +00:00
Mark Andrews
e6c64b453f 3687. [bug] Address null pointer dereference in zone_xfrdone.
[RT #35042]
2013-12-12 10:39:33 +11:00
Tinderbox User
8f8f72fdd6 newcopyrights 2013-12-11 23:30:19 +00:00
Evan Hunt
89f80b4043 typo 2013-12-11 14:00:25 -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
Evan Hunt
dda2ffdbcf [v9_9] fix 'rndc refresh' in inline-signing zones
3685.	[bug]		"rndc refresh" didn't work correctly with slave
			zones using inline-signing. [RT #35105]

(cherry picked from commit 445a354e63)
2013-12-11 13:00:22 -08:00
Tinderbox User
76048a0c9f regenerate 2013-12-11 01:47:06 +00:00
Evan Hunt
b80e110dae [v9_9] prepare 9.9.5b1 2013-12-10 17:17:55 -08:00
Mark Andrews
4071bd2c0e cleanup
(cherry picked from commit 99c3e8e09c)
2013-12-10 09:55:32 +11:00
Mark Andrews
b26719dff0 use snprintf; check the result of putstr
(cherry picked from commit 06a0b00bb6)
2013-12-10 08:56:58 +11:00
Mark Andrews
e595a09e64 handle underflow now that n is unsigned
(cherry picked from commit 536ac53126)
2013-12-10 07:24:32 +11:00
Mark Andrews
551f6ebeed silence compiler warning
(cherry picked from commit b14c6a1caf)
2013-12-10 07:24:32 +11: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
688bb741b0 add isc_stdio_tell, add missing comma
(cherry picked from commit 793a8c9aa29986422e7bae75dc5e65f201081a57)
(cherry picked from commit 8e9bbdda10)
2013-12-09 13:58:53 +11:00
Mark Andrews
01637c736a missing comma 2013-12-09 13:56:08 +11:00
Mark Andrews
a92a3ecf44 silence compiler warnings
(cherry picked from commit 53f70575bd)
2013-12-06 17:39:33 +11:00
Mark Andrews
a0095a7c1a update copyrights 2013-12-05 15:13:01 +11:00
Mark Andrews
211532cb69 regen 2013-12-05 15:12:29 +11:00
Mark Andrews
a295921ea6 cleanup 2013-12-05 15:10:24 +11:00
Mark Andrews
e6d9434526 no needed 2013-12-05 14:52:32 +11:00
Mark Andrews
2d7e1fcc1c Merge remote-tracking branch 'refs/remotes/origin/v9_9' into v9_9 2013-12-05 12:22:21 +11:00
Tinderbox User
5ccbed5bdb regen v9_9 2013-12-05 01:14:44 +00:00
Mark Andrews
35c7fb761d new manual
(cherry picked from commit ccf57aa273)
2013-12-05 12:10:41 +11:00
Mark Andrews
f575d483ad these are now being preprocessed
(cherry picked from commit 4edbda219a)
2013-12-05 12:10:40 +11:00
Mark Andrews
d42d60abbe these are now being preprocessed
(cherry picked from commit 2303b18274)
2013-12-05 12:10:40 +11:00
Mark Andrews
e588dee0f0 move to win32util/legacy
(cherry picked from commit eea9fdd01a)
2013-12-05 12:10:40 +11:00
Mark Andrews
5a8c34be41 namedcheckzone.xxx -> checkzone.xxx
(cherry picked from commit 0c87a24176)
2013-12-05 12:10:40 +11:00
Mark Andrews
88f28b3dda {dsp,mak} -> {dsp,mak}.in
(cherry picked from commit e16b482740)

Conflicts:
	util/copyrights
2013-12-05 12:10:31 +11:00
Mark Andrews
b992d06a13 rename namedcheckconf.xxx -> checkconf.xxx
(cherry picked from commit 777e9370fa)
2013-12-05 12:06:30 +11:00
Mark Andrews
f7456a3447 update for new windows build proceedures
(cherry picked from commit 5e47b4200e)
2013-12-05 12:01:50 +11:00
Tinderbox User
da9611344e update copyright notice 2013-12-04 23:46:00 +00:00
Evan Hunt
98a3bd57ca [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)
2013-12-04 12:58:28 -08:00
Curtis Blackburn
1a890ff58a [v9_9]3682. [bug] Correct the behavior of rndc retransfer to allow
inline-signing slave zones to retain NSEC3 parameters instead of
			reverting to NSEC [RT #34745]
2013-12-04 12:32:21 -06:00
Evan Hunt
6c184eadbd remove unnecessary echo 2013-12-04 09:54:59 -08:00
Evan Hunt
9422d03654 reword/reorder configuration summary 2013-12-04 09:10:57 -08: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
Evan Hunt
5a91e2b5d4 [v9_9] dig could miss tcp connections when cleaning up
3679.	[bug]		dig could fail to clean up TCP sockets still
			waiting on connect(). [RT #35074]

(cherry picked from commit fb507315d4)
2013-12-02 13:35:07 -08:00
Mark Andrews
559f5c10f8 3678. [port] Update config.guess and config.sub. [RT #35060]
(cherry picked from commit ae871ebb28)
2013-12-02 10:55:52 +11:00
Mark Andrews
0f12824e2d 3677. [bug] 'nsupdate' leaked memory if 'realm' was used multiple
times.  [RT #35073]

(cherry picked from commit 49ae04f6ee)
2013-11-28 06:46:41 +11:00
Mark Andrews
b12721809b update 2013-11-26 10:43:32 +11:00
Evan Hunt
2254826e4c [v9_9] check hint files in named-checkconf -z
3676.	[bug]		"named-checkconf -z" now checks zones of type
			hint and redirect as well as master. [RT #35046]

(cherry picked from commit d999ca28d4)
2013-11-25 12:30:59 -08:00
Mark Andrews
13d58898c5 3675. [misc] Provide a place for third parties to add version
information for their extensions in the version
                        file by setting the EXTENSIONS variable.

(cherry picked from commit fd63f3110f)
2013-11-22 13:27:44 +11:00
Evan Hunt
14122dd06b [v9_9] previous commit incomplete
(cherry picked from commit 5255b631b1)
2013-11-18 16:00:21 -08:00
Evan Hunt
6c696e0ede [v9_9] win32 portability fix
(cherry picked from commit 2b57986603)
2013-11-18 15:47:33 -08:00
Mark Andrews
1550e4aa95 3674. [bug] RPZ zeroed ttls if the query type was '*'. [RT #35026]
(cherry picked from commit 225146b2c8)
2013-11-18 11:24:24 +11:00
Mark Andrews
3efcb5250f adjust EDNS query returned status warning message
(cherry picked from commit 0b565f6060)
2013-11-14 22:52:24 +11:00
Mark Andrews
7fbfa2102d fix dereference before null check warning
(cherry picked from commit 9800974419)
2013-11-14 12:33:26 +11:00
Tinderbox User
a960d3a679 update copyright notice 2013-11-13 23:45:54 +00:00
Tinderbox User
bbdc420ee0 newcopyrights 2013-11-13 23:30:12 +00:00
Evan Hunt
2e8c4177b7 [v9_9] remove test code accidentally merged 2013-11-13 11:04:35 -08:00
Evan Hunt
eaa4ead2bd [v9_9] allow setting local addr in dns_client
3672.	[func]		Local address can now be specified when using
			dns_client API. [RT #34811]

(cherry picked from commit 0618287859)
2013-11-13 10:57:50 -08:00
Mark Andrews
56cea4d902 remove invalide NEXTTOKEN 2013-11-14 00:01:30 +11:00
Mark Andrews
5b609bd57e back port inline system test fixes from master 2013-11-13 16:00:48 +11:00
Mark Andrews
442a439852 back port fixes 2013-11-13 13:44:25 +11:00
Mark Andrews
6ddfac8f4e 3671. [bug] Don't allow dnssec-importkey overwrite a existing
non-imported private key.
2013-11-13 12:58:43 +11:00
Mark Andrews
2e4548087a 3642. [func] Allow externally generated DNSKEY to be imported
into the DNSKEY management framework.  A new tool
                        dnssec-importkey is used to this. [RT #34698]
2013-11-13 12:54:37 +11:00
Tinderbox User
5e58b0f3f8 regen v9_9 2013-11-13 01:14:31 +00:00
Mark Andrews
263f3f4941 func -> test 2013-11-13 11:13:18 +11:00
Tinderbox User
36335e7d77 update copyright notice 2013-11-12 23:45:54 +00:00
Tinderbox User
76c1f5450e newcopyrights 2013-11-12 23:30:12 +00:00
Mark Andrews
9b7218c2d1 3667. [func] dig: add support to keep the TCP socket open between
successive queries (+[no]keepopen).  [RT #34918]

(cherry picked from commit 2048955015)
2013-11-13 10:29:38 +11:00
Jeremy C. Reed
3b1b8ce9a8 Fix misspelling (at least use common spelling).
(cherry picked from commit 0bda84553a)
2013-11-13 09:24:47 +11:00
Jeremy C. Reed
1d422f2038 Fix misspelling.
Spell out month date while here.

(cherry picked from commit 8012d70ea4)
2013-11-13 09:23:30 +11:00
Mark Andrews
f646808a22 3670. [bug] Address read after free in server side of
lwres_getrrsetbyname. [RT #29075]

(cherry picked from commit eb5e0b8dec)
2013-11-12 15:00:26 +11:00
Mark Andrews
f87ecbd2d4 3669. [port] freebsd: --with-gssapi needs -lhx509. [RT #35001]
(cherry picked from commit b564c8503d4377f6b423fcd67a5ce60798d8123e)
2013-11-12 11:38:36 +11:00
Tinderbox User
1b3b3a1cb0 update copyright notice 2013-11-11 23:45:51 +00:00
Tinderbox User
13ba75c79c newcopyrights 2013-11-11 23:30:18 +00:00
Mark Andrews
5e6fee5e18 Report whether --enable-newstats was set 2013-11-11 14:23:31 +11:00
Mark Andrews
c78b20dc6a 3668. [bug] Fix cast in lex.c which could see 0xff treated as eof.
[RT #34993]

(cherry picked from commit 0a47bc90af)
2013-11-11 10:50:25 +11:00
Mark Andrews
eedafaf38a silence defined but not used warning
(cherry picked from commit 4c5f19c2b0)
2013-11-04 09:54:52 +11:00
Mark Andrews
f4df109775 3665. [bug] Failure to release lock on error in receive_secure_db.
[RT #34944]
2013-10-31 22:13:53 +11:00
Tinderbox User
0c367962a4 regen v9_9 2013-10-31 01:14:38 +00:00
Mark Andrews
98870244b7 mention EventViewer
(cherry picked from commit 28343c910e549f2159073ffad6b9f15dc80da72b)
2013-10-31 11:13:09 +11:00
Mark Andrews
d220937b32 use smaller buffers
(cherry picked from commit 2502a568e7)
2013-10-26 20:36:39 +11:00
Tinderbox User
449370f4ee update copyright notice 2013-10-25 23:45:51 +00:00
Tinderbox User
f237380331 newcopyrights 2013-10-25 23:30:11 +00:00
Mark Andrews
84ccbc2b48 address memory leak in change #3662, force format matching, attempt to address coverity false positives
(cherry picked from commit 938aea1dc4)
2013-10-26 10:04:52 +11:00
Francis Dupont
fe461da80e Update OpenSSL PKCS#11 patches. [RT #34855] 2013-10-25 17:54:11 +02:00
Mark Andrews
604d483f63 3663. [bug] Address bugs in dns_rdata_fromstruct and
dns_rdata_tostruct for WKS and ISDN types. [RT #34910]
2013-10-25 13:06:28 +11:00
Mark Andrews
a4b2adce6b UPD -> UDP
(cherry picked from commit 11e9195ad1)
2013-10-25 12:58:47 +11:00
Mark Andrews
3825f576eb %ld.%06g -> %ld.%06d
(cherry picked from commit 7f0e47b3c2)
2013-10-25 12:54:07 +11:00
Tinderbox User
7d69ca6c31 update copyright notice 2013-10-24 23:45:46 +00:00
Mark Andrews
d9b2123e7a 3662. [bug] 'host' could die if a UPD query timed out. [RT #34870]
(cherry picked from commit 6100b17699)
2013-10-25 10:30:20 +11:00
Mark Andrews
1ad4a296d7 missing FCTXTRACE2 macro RT#34914
(cherry picked from commit 0bfc15fe59)
2013-10-21 15:52:22 +11:00
Tinderbox User
4627b877d3 update copyright notice 2013-10-18 23:45:44 +00:00
Tinderbox User
2d0fab5fa6 newcopyrights 2013-10-18 23:30:16 +00:00
Jeremy C. Reed
ba659e8495 fix typo in warning output
okayed via jabber

(cherry picked from commit d9ff5f9c7a)
2013-10-18 14:41:07 +11:00
Mark Andrews
be96b46d49 grammar
(cherry picked from commit 5bb783ce9a)
2013-10-17 07:14:58 +11:00
Evan Hunt
201fe6e293 [v9_9] add --enable-rrl to the configure summary 2013-10-16 13:00:15 -07:00
Tinderbox User
99005eede5 regen v9_9 2013-10-14 01:14:16 +00:00
Tinderbox User
d28551927a update copyright notice 2013-10-13 23:45:46 +00:00
Tinderbox User
d1f133cc09 newcopyrights 2013-10-13 23:30:17 +00:00
Tinderbox User
33720a8075 regen v9_9 2013-10-13 01:14:21 +00:00
Mark Andrews
b3da3597a9 typos
(cherry picked from commit cbadc440b9)
2013-10-13 11:13:03 +11:00
Tinderbox User
8b3df7ae61 regen v9_9 2013-10-12 01:14:08 +00:00
Mark Andrews
90f313319c s/dyanmic/dynamic/
(cherry picked from commit b9c95f8211)
2013-10-12 08:22:37 +11:00
Tinderbox User
2c69a06274 update copyright notice 2013-10-08 23:45:48 +00:00
Tinderbox User
a467ad7393 newcopyrights 2013-10-08 23:30:07 +00:00
Mark Andrews
6f47b20040 be consistent in how ISC_PLATFORM_USETHREADS is defined and used
(cherry picked from commit 03a9daede1)
2013-10-08 17:13:05 +11:00
Tinderbox User
6ed8309ffe update copyright notice 2013-10-08 04:13:14 +00:00
Tinderbox User
de92039a9f newcopyrights 2013-10-08 04:12:16 +00:00
Mark Andrews
88ee7ab746 call isc_mutex_trylock rather than pthread_mutex_trylock
(cherry picked from commit c6e6cac4ea)
2013-10-08 12:12:27 +11:00
Mark Andrews
478320e6dd 3661. [bug] Address lock order reversal deadlock with inline zones.
[RT #34856]

(cherry picked from commit 03152360db)
2013-10-08 11:43:40 +11:00
Evan Hunt
c2f20c9f7a [v9_9] link isc-config.sh to bind9-config
3660.	[cleanup]	Changed the name of "isc-config.sh" to "bind9-config".
			[RT #23825]
(cherry picked from commit aacd7daaf7)
2013-10-04 09:22:06 -07:00
Mark Andrews
3ea48fcf8a 3659. [port] solaris: don't add explict dependancies/rules for
python programs as make won't use the implicit rules.
                        [RT #34835]

(cherry picked from commit a379c8c108)
2013-10-02 14:05:08 +10:00
Mark Andrews
9b7d05c900 3658. [port] linux: Address platform specific compilation issue
when libcap-devel is installed. [RT #34838]

(cherry picked from commit 7433a204d3)
2013-09-26 15:27:09 +10:00
Mark Andrews
394c3ab760 3657. [port] Some readline clones don't accept NULL pointers when
calling add_history. [RT #34842]

(cherry picked from commit 1a4725bef2)
2013-09-26 08:25:36 +10:00
Mark Andrews
0c1e0b4c88 3656. [bug] Treat a all zero netmask as invalid when generating
the localnets acl. [RT #34687]

(cherry picked from commit c9ee72cb3a)
2013-09-26 07:41:10 +10:00
Mark Andrews
7c1a9fa5ab 3655. [cleanup] Simplify TCP message processing when requesting a
zone transfer.  [RT #34825]

(cherry picked from commit fb623f9a07)
2013-09-25 09:58:46 +10:00
Mark Andrews
34da209708 3654. [bug] Address race condition with manual notify requests.
[RT #34806]

(cherry picked from commit 5116f25421)
2013-09-25 09:47:54 +10:00
Mark Andrews
ed3dc651f5 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:26 +10:00
Tinderbox User
2db9d480e8 update copyright notice 2013-09-23 23:45:46 +00:00
Tinderbox User
c1f2f77265 newcopyrights 2013-09-23 23:30:14 +00:00
Mark Andrews
f026660a4c silence clang warning
(cherry picked from commit 9084a3e58f)
2013-09-23 13:26:55 +10:00
Mark Andrews
7475f21253 remove blank
(cherry picked from commit 75aa3c6f2ada5dcc657d0858ee4544c7997d9840)
2013-09-23 09:45:31 +10:00
Mark Andrews
685f0fd067 3651. [tuning] Adjust when a master server is deemed unreachable.
[RT #27075]

(cherry picked from commit 97a2a26cd9)
2013-09-21 17:13:54 +10:00
Mark Andrews
8f133c2900 3650. [tuning] Use separate rate limiting queues for refresh and
notify requests. [RT #30589]

(cherry picked from commit c1b8fa6160)
2013-09-21 16:30:29 +10:00
Tinderbox User
3f72c4af9e update copyright notice 2013-09-19 23:45:45 +00:00
Tinderbox User
7175b5debc newcopyrights 2013-09-19 23:30:07 +00:00
Evan Hunt
1e77160774 [v9_9] 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)
2013-09-19 15:43:18 -07:00
Tinderbox User
c55db6da4c update copyright notice 2013-09-18 23:45:47 +00:00
Tinderbox User
1c5ff68130 newcopyrights 2013-09-18 23:30:20 +00:00
Mark Andrews
b7f64bab54 [master] clarify case preservation feature
(cherry picked from commit dc3ac7e79a)
2013-09-18 16:10:50 +10:00
Mark Andrews
8cf6ba817a document case sensitive responses
(cherry picked from commit ca9bf8644a)
2013-09-18 16:09:32 +10:00
Mark Andrews
4713b1f369 3645. [protocol] Use case sensitive compression when responding to
queries. [RT #34737]

(cherry picked from commit cb69994ff8)
2013-09-18 16:07:43 +10:00
Mark Andrews
d2c50258e2 refresh_callback needs to check if the zone is exiting
(cherry picked from commit 2e314abcf0a47acfbab55e5ef0463c04c08476be)
2013-09-18 14:54:57 +10:00
Mark Andrews
ebd7900670 call zone_settimer; sub test failure was not being detected 2013-09-18 12:57:25 +10:00
Mark Andrews
5b79fdf1aa use $1 instead of \\1
(cherry picked from commit 3b84724c44)
2013-09-18 11:55:02 +10:00
Tinderbox User
cec6d8e5b7 regen v9_9 2013-09-18 01:14:08 +00:00
Mark Andrews
6aef504a6a 3644. [protocol] Check that EDNS subnet client options are well formed.
[RT #34718]

(cherry picked from commit 3ad8f24ddd)
2013-09-18 11:03:59 +10:00
Mark Andrews
338e708510 whitespace 2013-09-18 10:36:00 +10:00
Mark Andrews
1229ebb09b tabify CHANGES/CHANGES.SE/EXCLUDED 2013-09-18 10:35:34 +10:00
Tinderbox User
e7953a5eff update copyright notice 2013-09-17 23:45:47 +00:00
Mark Andrews
96438fa1df update 2013-09-18 09:34:25 +10:00
Mark Andrews
01b7d52a9f silence compiler warning 2013-09-18 09:16:13 +10:00
Mark Andrews
e5c276b36b 3641. [bug] Handle changes to sig-validity-interval settings
better. [RT #34625]

(cherry picked from commit b5f4cc132e)
2013-09-17 12:59:11 +10:00
Mark Andrews
decbadf098 3640. [bug] ndots was not being checked when searching. Only
continue searching on NXDOMAIN responses.  Add the
                        ability to specify ndots to nslookup. [RT #34711]

(cherry picked from commit 8afea636ab)
2013-09-17 11:56:50 +10:00
Mark Andrews
4b1e6c7859 whitspace 2013-09-17 11:14:49 +10:00
Mark Andrews
65d3b9a231 3639. [bug] Treat type 65533 (KEYDATA) as opaque except when used
in a key zone. [RT #34238]

(cherry picked from commit d6f99498d6)
2013-09-17 10:37:56 +10:00
Tinderbox User
229809a446 update copyright notice 2013-09-16 23:45:41 +00:00
Tinderbox User
38e6997347 newcopyrights 2013-09-16 23:30:11 +00:00
Mark Andrews
666676fce0 cleanup missing
(cherry picked from commit 7e15f645f4)
2013-09-16 10:19:53 +10:00
Mark Andrews
e33278a779 fix whitespace in conf files 2013-09-16 10:16:24 +10:00
Tinderbox User
73eaba9703 newcopyrights 2013-09-14 23:30:11 +00:00
Mark Andrews
ee989df86f silence compiler warnings
(cherry picked from commit a0369bb59f)
2013-09-14 19:35:04 +10:00
Evan Hunt
84ff7fc059 [v9_9] fix to change #3647
(cherry picked from commit 213c41c9f7)
2013-09-13 09:53:54 -07:00
Tinderbox User
571734a2e9 newcopyrights 2013-09-12 23:30:58 +00:00
Evan Hunt
4e67994746 [v9_9] update to atf 0.17
3648.	[test]		Updated the ATF test framework to version 0.17.
			[RT #25627]
(cherry picked from commit a747113422)
2013-09-12 16:22:03 -07:00
Evan Hunt
a383fb2e0d [v9_9] shutdown race
3647.   [bug]           Address a race condition when shutting down a zone.
                        [RT #34750]
(cherry picked from commit 76df835d59)
2013-09-12 16:20:04 -07:00
Evan Hunt
78584988d8 [v9_9] strdup journal filename
3646.	[bug]		Journal filename string could be set incorrectly,
                        causing garbage in log messages.  [RT #34738]
(cherry picked from commit 18df9e628e)
2013-09-09 22:13:40 -07:00
Evan Hunt
c6a2f96d62 [v9_9] make sure both tags and branches work with kit.sh
(cherry picked from commit ab571c1f5b)
2013-09-09 10:35:04 -07:00
Evan Hunt
47ddb89b43 [v9_9] avoid duplication when looking up the shorthash
(cherry picked from commit d899311194)
2013-09-09 09:27:06 -07:00
Evan Hunt
8f9657aaf6 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-09-04 22:09:08 -07:00
Tinderbox User
3cdd07dddb regenerate 2013-09-05 05:09:05 +00:00
Evan Hunt
e62b48030f [v9_9] prep 9.9.4 2013-09-04 22:08:22 -07:00
Tinderbox User
baea1edca7 regen v9_9 2013-09-05 01:13:58 +00:00
Evan Hunt
e60e435688 clarify slip doc
3643.	[doc]		Clarify RRL "slip" documentation.
(cherry picked from commit 2bae76022c)
2013-09-03 21:25:13 -07:00
Evan Hunt
ef908916d5 put back "9.9.4rc2 released" line deleted by mistake 2013-09-03 21:24:12 -07:00
Mark Andrews
e30eef239d style
(cherry picked from commit 92f2cf45ce)
2013-09-01 17:09:38 +10:00
Curtis Blackburn
a0de3c9984 3638. [cleanup] Add the ability to handle ENOPROTOOPT in case it is
encountered. [RT #34668]
2013-08-28 15:59:18 -05:00
Tinderbox User
fe9ffc4f3a update copyright notice 2013-08-19 23:45:41 +00:00
Tinderbox User
783d580621 newcopyrights 2013-08-19 23:30:20 +00:00
Mark Andrews
2d1fd70e51 add dns_soa_buildrdata
(cherry picked from commit 415f8d470d)
2013-08-19 08:30:52 +00:00
Mark Andrews
481672cf84 remove dead code
(cherry picked from commit 601d1a9aad)
2013-08-19 12:44:35 +10:00
Mark Andrews
4a35f5a42c 9.9.4rc2 2013-08-19 11:44:53 +10:00
Mark Andrews
c0f83ec73e 9.9.4rc2 2013-08-19 11:39:29 +10:00
Mark Andrews
2b9e561f05 3636. [bug] Automatic empty zones now behave better with
forward only "zones" beneath them. [RT #34583]

(cherry picked from commit 997c2c5116)
2013-08-19 09:19:03 +10:00
Tinderbox User
18a48b638f update copyright notice 2013-08-16 23:45:40 +00:00
Tinderbox User
a783bea8ae newcopyrights 2013-08-16 23:30:17 +00:00
Mark Andrews
f15a37beb5 3636. [bug] Automatic empty zones now behave better with
forward only "zones" beneath them. [RT #34583]

(cherry picked from commit e548e07a9a)
2013-08-16 13:56:42 +10:00
Tinderbox User
d1fb83012b update copyright notice 2013-08-15 23:45:44 +00:00
Mark Andrews
e549f72c5a don't print out result as it is not meaningful here 2013-08-16 09:45:08 +10:00
Tinderbox User
28d6d80d43 newcopyrights 2013-08-15 23:30:14 +00:00
Mark Andrews
e95e204520 3635. [bug] Signatures were not being removed from a zone with
only KSK keys for a algorithm. [RT #24439]

(cherry picked from commit d1e22676de)
2013-08-15 13:37:47 +10:00
Mark Andrews
fa4192fe18 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:56:43 +10:00
Mark Andrews
e27df13867 3633. [cleanup] Refactor OPT processing in named to make it easier
to support new EDNS options. [RT #34414]

(cherry picked from commit 8e091f3d3e)
2013-08-15 12:08:07 +10: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
3c292bb534 [v9_9] change 3630 incomplete--needed to check fromtext too
(cherry picked from commit 5f630b9417)
2013-08-14 17:24:34 -07:00
Mark Andrews
310bcbf417 3631. [bug] Remove spurious warning about missing signatures when
qtype is SIG. [RT #34600]

(cherry picked from commit 06ace051e7)
2013-08-15 08:05:56 +10:00
Tinderbox User
0920c92d0d update copyright notice 2013-08-13 23:45:42 +00:00
Tinderbox User
35ca694f55 newcopyrights 2013-08-13 23:31:07 +00:00
Evan Hunt
70858bf974 [v9_9] fix md5 key id computation
3630.	[bug]		Ensure correct ID computation for MD5 keys. [RT #33033]
(cherry picked from commit 5d4343a998)
2013-08-13 16:04:48 -07:00
Tinderbox User
a6020ac78b newcopyrights 2013-08-09 23:30:19 +00:00
Mark Andrews
dab73dfc86 3627. [bug] RPZ changes were not effective on slaves. [RT #34450]
(cherry picked from commit 333f320a62d78e79fa54e7bcc389073a109618f7)
2013-08-09 12:58:11 +10:00
Tinderbox User
5996ed5c41 update copyright notice 2013-08-07 23:45:41 +00:00
Tinderbox User
7219764fd4 newcopyrights 2013-08-07 23:30:16 +00:00
Tinderbox User
ae796efb6b Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-08-07 06:16:20 +00:00
Mark Andrews
4a5b9448d9 3625. [bug] Don't send notify messages to machines outside of the
test setup.

(cherry picked from commit f45f654185)
2013-08-07 15:50:21 +10:00
Tinderbox User
2eaa6a6b3d Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-08-02 08:15:49 +00:00
Mark Andrews
2b54092072 declare statlevel 2013-08-02 18:05:48 +10:00
Mark Andrews
2aa4d99649 3623. [bug] zone-statistics was only effective in new statistics.
[RT #34466]
2013-08-02 17:53:21 +10:00
Tinderbox User
d4250a819b Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-08-02 01:16:11 +00:00
Tinderbox User
7ef3bf9ae1 regen v9_9 2013-08-02 01:13:44 +00:00
Tinderbox User
49ac8449d0 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-08-01 05:16:28 +00:00
Mark Andrews
553b3e2597 remove redundent 'request-ixfr'
(cherry picked from commit e543b4e5db)
2013-08-01 14:39:54 +10:00
Tinderbox User
518d1e1292 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-31 20:16:00 +00:00
Curtis Blackburn
b13508178e [v9_9] corrected a typo in the configure summary [RT #34448] 2013-07-31 15:07:05 -05:00
Tinderbox User
8f58d2941c Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-30 14:15:56 +00:00
Mark Andrews
faad0b28cd add CVE reference
(cherry picked from commit b0bd5a3f73)
2013-07-30 23:32:13 +10:00
Tinderbox User
cd6070bae0 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-26 01:16:06 +00:00
Mark Andrews
42dd57732d add comment
(cherry picked from commit f45818b82a)
2013-07-26 10:26:06 +10:00
Mark Andrews
7b4b77c203 add CVE-2013-4854 2013-07-26 10:19:29 +10:00
Tinderbox User
5f4dc95902 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-25 19:15:52 +00:00
Evan Hunt
9d9556f942 [v9_9] fix bad test output when server fails
(cherry picked from commit 3cea62e3df)
2013-07-25 11:18:34 -07:00
Tinderbox User
59182f71b2 Merge branch 'v9_9' of /proj/git/prod/bind9 into v9_9 2013-07-19 00:15:58 +00:00
Mark Andrews
9d0313350a newcopyrights 2013-07-19 10:10:11 +10:00
Mark Andrews
ea18f614fc update 2013-07-19 10:07:24 +10:00
Tinderbox User
ee4e05c3e0 newcopyrights 2013-07-18 23:30:09 +00:00
Mark Andrews
7a558671b6 3621. [security] Incorrect bounds checking on private type 'keydata'
can lead to a remotely triggerable REQUIRE failure
                        (CVE-2013-4854). [RT #34238]

(cherry picked from commit fdb4ae8f6c)
2013-07-19 09:27:21 +10:00
Jeremy C. Reed
f3c4b5fc07 Typo in tag.
Reported by SUN Guonian.
2013-07-15 21:51:43 -05:00
Mark Andrews
17820b7a9f 9.9.4rc1 2013-07-15 15:37:36 +10:00
Tinderbox User
6c030579a4 9.9.4rc1 2013-07-15 05:13:48 +00:00
Mark Andrews
75b9952748 9.9.4rc1 2013-07-15 15:03:21 +10:00
Mark Andrews
b460f27d99 whitespace 2013-07-15 14:40:42 +10:00
Mark Andrews
7991f7aeb7 remove dead code 2013-07-15 09:31:33 +10:00
Evan Hunt
79522593b8 [v9_9] add a sleep to prevent intermittent test failure
(cherry picked from commit 9a32b8d8f8)
2013-07-13 15:31:14 -07:00
Evan Hunt
55564db697 [v9_9] add summary details
(cherry picked from commit b46f253ed783bb25fe99d147f40aeffb75237704)
2013-07-13 15:15:50 -07:00
Mark Andrews
9a1eaa6cfa fix unchecked null; value not read
(cherry picked from commit 09fec18669)
2013-07-14 00:30:16 +10:00
Tinderbox User
5360aa1250 update copyright notice 2013-07-11 23:45:40 +00:00
Tinderbox User
eb9590782a newcopyrights 2013-07-11 23:30:12 +00:00
Evan Hunt
f3e5684b09 [v9_9] don't go nonresponsive during "rndc reload"
3617.	[bug]		Named was failing to answer queries during
			"rndc reload" [RT #34098]
(cherry picked from commit 964bdcd7ad)
2013-07-11 10:57:19 -07:00
Evan Hunt
0bbc017b99 [v9_9] address zone->db races
3616.	[bug]		Change #3613 was incomplete. [RT #34177]
2013-07-11 09:53:37 -07:00
Evan Hunt
dc4ab3bf62 [v9_9] add configure summary
3615.	[cleanup]	"configure" now finishes by printing a summary
			of optional BIND features and whether they are
			active or inactive. ("configure --enable-full-report"
			increases the verbosity of the summary.) [RT #31777]
(cherry picked from commit 71697fd082)
2013-07-10 20:55:39 -07:00
Evan Hunt
e57ea0e52f [v9_9] portability fix
3614.	[port]		Check for <linux/types.h>. [RT #34162]
(cherry picked from commit c174d5c13c)
2013-07-10 20:45:54 -07:00
Tinderbox User
dca4d27d76 update copyright notice 2013-07-10 23:45:37 +00:00
Tinderbox User
85264ea849 newcopyrights 2013-07-10 23:30:09 +00:00
Evan Hunt
a4e8c22100 [v9_9] silence warning 2013-07-10 09:16:06 -07:00
Evan Hunt
de875fd13d [v9_9] count the test cases correctly 2013-07-09 22:53:53 -07:00
Evan Hunt
45d643b551 [v9_9] fix change numbers 2013-07-09 18:26:35 -07:00
Evan Hunt
c2cb8c8fc0 [v9_9] address race conditions with removing inline zones
3513.	[bug]		named could crash when deleting inline-signing
			zones with "rndc delzone". [RT #34066]
(cherry picked from commit 927e4c9fec)
2013-07-09 17:50:43 -07:00
Tinderbox User
72cdd1b118 update copyright notice 2013-07-09 23:45:38 +00:00
Tinderbox User
5730f41dc4 newcopyrights 2013-07-09 23:30:20 +00:00
Evan Hunt
a66c88dd26 [v9_9] added isc_safe_memcmp()
3611.	[bug]		Improved resistance to a theoretical authentication
			attack based on differential timing.  [RT #33939]
(cherry picked from commit 5b7abbef51)
2013-07-09 12:03:18 -07:00
Tinderbox User
6fcd0ded5c update copyright notice 2013-07-08 23:45:36 +00:00
Tinderbox User
2641358bed newcopyrights 2013-07-08 23:30:09 +00:00
Evan Hunt
e1e53a03a1 [v9_9] add missing binaries to BINDInstall
3610.	[cleanup]	win32: Some executables had been omitted from the
			installer. [RT #34116]
(cherry picked from commit 26bda028ad)
2013-07-08 10:32:20 -07:00
Tinderbox User
f4b3f37bdc regen v9_9 2013-07-07 01:16:20 +00:00
Evan Hunt
697910196d [v9_9] fixed ARM typo in RRL section
(cherry picked from commit a0997db085)
2013-07-05 18:14:27 -07:00
Mark Andrews
5dec53dbad copy CHANGES.SE if it exists
(cherry picked from commit 270506a2ce)
2013-07-04 12:26:57 +10:00
Tinderbox User
53d3055dd3 newcopyrights 2013-07-03 23:30:12 +00:00
Evan Hunt
a01e53aaf6 [v9_9] fix todos bug 2013-07-03 15:57:50 -07:00
Evan Hunt
baddaf1801 [v9_9] added todos.pl for win32 build
3608.	[port]		win32: added todos.pl script to ensure all text files
			the win32 build depends on are converted to DOS
			newline format. [RT #22067]
(cherry picked from commit 1da46be572)
2013-07-03 11:43:34 -07:00
Mark Andrews
451ab598e2 3607. [bug] dnssec-keygen had broken 'Invalid keyfile' error
message. [RT #34045]
2013-07-03 15:42:39 +10:00
Tinderbox User
e5281c2986 update copyright notice 2013-07-02 23:45:33 +00:00
Tinderbox User
2fe183c4a7 newcopyrights 2013-07-02 23:30:08 +00:00
Evan Hunt
cd053d6805 [v9_9] fixed win32 buildsetup glitch
(cherry picked from commit 9fce471584da910407c5b998306ee6609bc7ccc2)
2013-07-01 20:15:56 -07:00
Evan Hunt
dc35a6c44f [v9_9] enable RRL by default on win32 2013-07-01 16:39:52 -07:00
Tinderbox User
dc49b78e00 [v9_9] regnerate 2013-07-01 18:27:18 +00:00
Evan Hunt
31ba7f4a00 [v9_9] prep 9.9.4b1 2013-07-01 10:39:45 -07:00
Tinderbox User
e97bd529c5 newcopyrights 2013-06-29 23:30:11 +00:00
Tinderbox User
2f0f13f057 regen v9_9 2013-06-29 01:49:57 +00:00
Tinderbox User
a1ccc5e5d8 update copyright notice 2013-06-26 23:45:38 +00:00
Tinderbox User
41eb126cd5 newcopyrights 2013-06-26 23:30:09 +00:00
Evan Hunt
bd96797412 [v9_9] win32 fixes
3605.	[port]		win32: Addressed several compatibility issues
			with newer versions of Visual Studio. [RT #33916]

(cherry picked from commit f42c0dcca8)

Squashed commit of the following:

commit 4127af15f85da90cf2bd3a0c5a558daae89e833a
Author: Francis Dupont <fdupont@isc.org>
Date:   Tue Jun 25 22:41:53 2013 +0200

    make the last change to be text

commit 21ef4891b9ee3e3aefb45d4c80d5cb7ec78f264f
Author: Curtis Blackburn <ckb@isc.org>
Date:   Tue Jun 25 12:35:08 2013 -0500

    [rt33916] re-worded for easier reading

commit 83828e47e62fea4070441e645ba8fed338255ceb
Author: Francis Dupont <fdupont@isc.org>
Date:   Mon Jun 24 16:08:11 2013 +0200

    introduce a VCRedistPath env var

commit 0337f2554f168993a65945e78c2879e9bfca5293
Author: Francis Dupont <fdupont@isc.org>
Date:   Sun Jun 23 01:23:26 2013 +0200

    _adjust_fdiv for VS < 2010

commit 375fdd5c06be276b0ff0ad589c0e22b809339fe9
Author: Francis Dupont <fdupont@isc.org>
Date:   Thu Jun 20 16:27:04 2013 +0200

    move to MSVC v1600 as it still breaks on VS 2010

commit bfcaf72071e9d8df1d0ce0c5f05b69acd51bf698
Author: Francis Dupont <fdupont@isc.org>
Date:   Thu Jun 20 15:57:35 2013 +0200

    WIN32: avoid addrinfo redef

commit 18504c3e50b11e66a0b573c7cb3d61094bfa5b52
Author: Francis Dupont <fdupont@isc.org>
Date:   Thu Jun 20 15:54:38 2013 +0200

    WIN32: fseek/ftell

commit f9a4fdccc5ab1c74c64412fb76da7dfd161787b2
Author: Francis Dupont <fdupont@isc.org>
Date:   Thu Jun 20 15:13:01 2013 +0200

    fix WIN32 error redefs in net.h (isc ad lwres libs)
2013-06-26 14:40:57 -07:00
Tinderbox User
560800cf93 update copyright notice 2013-06-25 23:47:26 +00:00
Tinderbox User
1d80271ffc newcopyrights 2013-06-25 23:30:10 +00:00
Mark Andrews
06d8fb2202 3603. [bug] Install <isc/stat.h>. [RT #33956] 2013-06-25 23:58:16 +10:00
Francis Dupont
08155cc527 Added to PKCS#11 openssl patches a value len
attribute in DH derive key. [RT #33928]
2013-06-24 09:37:10 +02:00
Evan Hunt
acd90a1cc2 [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-06-19 17:14:14 -07:00
Evan Hunt
1225aece99 [v9_9] added change note for previous commit
3600.	[cleanup]	dig: Fixed a typo in the warning output when receiving
			an oversized response. [RT #33910]
2013-06-19 17:13:08 -07:00
Tinderbox User
a120d1ed3e update copyright notice 2013-06-19 23:45:47 +00:00
Tinderbox User
ea64e9ad8f newcopyrights 2013-06-19 23:30:08 +00:00
Evan Hunt
57ca2e3093 [v9_9] typo in dig
(cherry picked from commit 31d95f1095)
2013-06-19 15:21:36 -07:00
Evan Hunt
7c2f548141 [v9_9] check for physical equivalence in names
3599.	[tuning]	Check for pointer equivalence in name comparisons.
			[RT #18125]
2013-06-18 18:15:07 -07:00
Tinderbox User
5ca7f2e7ad update copyright notice 2013-06-14 23:45:40 +00:00
Tinderbox User
c32e352811 newcopyrights 2013-06-14 23:30:09 +00:00
Evan Hunt
971e81834e [v9_9] updated win32 build
3596.	[port]		Updated win32 build documentation, added
                        dnssec-verify. [RT #22067]
(cherry picked from commit 6a4f3d3765e3af82f48a153a0ceb5d40a549b603)
2013-06-13 17:31:17 -07:00
Tinderbox User
0c3b9cae7f newcopyrights 2013-06-13 23:30:09 +00:00
Mark Andrews
9fad323d32 3594. [maint] Update config.guess and config.sub. [RT #33816]
(cherry picked from commit beb12aad6b)
2013-06-13 10:06:40 +10:00
Tinderbox User
3248776e81 regen v9_9 2013-06-12 01:14:44 +00:00
Mark Andrews
76caf64325 handle realloc failure [RT #32105]
(cherry picked from commit 0a6bfbc939)
2013-06-11 16:04:07 +10:00
Evan Hunt
bc8cab776d [v9_9] corrected closing tag 2013-06-10 18:48:57 -07:00
Tinderbox User
0737addd12 update copyright notice 2013-06-10 23:45:45 +00:00
Tinderbox User
675d7d46ec newcopyrights 2013-06-10 23:30:08 +00:00
Mark Andrews
8454d1cb78 s/exit 1/exit 255/ so that test is marked as SKIPPED not UNTESTED 2013-06-11 09:20:26 +10:00
Evan Hunt
a7daffaf4e [v9_9] move rndc command documentation to "man rndc"
3592.	[doc]		Moved documentation of rndc command options to the
			rndc man page. [RT #33506]
(cherry picked from commit 1b2a4ce2b1)
2013-06-10 14:43:52 -07:00
Tinderbox User
ccbe0c8880 regen v9_9 2013-06-09 01:14:15 +00:00
Tinderbox User
00f7494211 update copyright notice 2013-06-08 23:45:45 +00:00
Evan Hunt
fbae832784 [v9_9] improve RRL handling of deferrals and slipped NXDOMAIN
3590.	[bug]		When using RRL on recursive servers, defer
			rate-limiting until after recursion is complete;
			also, use correct rcode for slipped NXDOMAIN
			responses.  [RT #33604]
(cherry picked from commit 89be55dc90)
2013-06-08 13:20:02 -07:00
Evan Hunt
9d06afa2f4 [v9_9] add rrl binary to .gitignore 2013-06-08 10:32:24 -07:00
Evan Hunt
8b6e43fa6d [v9_9] doc typo 2013-06-07 18:28:06 -07:00
Mark Andrews
7df76c6dbb update 2013-06-08 09:52:36 +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
Evan Hunt
63de57ef64 [v9_9] fix memory leak in sigchase
3588.	[bug]		dig: addressed a memory leak in the sigchase code
			that could cause a shutdown crash.  [RT #33733]
(cherry picked from commit bf0441a339)
2013-06-07 11:16:01 -07:00
Tinderbox User
a098ae7b37 update copyright notice 2013-06-06 23:45:45 +00:00
Mark Andrews
187383c656 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:10:37 +10:00
Mark Andrews
77043847d5 3586. [buf] Handle errors in xmlDocDumpFormatMemoryEnc. [RT #33706]
(cherry picked from commit 7ee225cf90)
2013-06-06 11:00:05 +10:00
Tinderbox User
09520bf8c4 update copyright notice 2013-06-05 23:45:41 +00:00
Mark Andrews
9df909a6cb update 2013-06-05 11:25:26 +10:00
Evan Hunt
e7582c65b1 [v9_9] assertion failure in resolver.c
3584.	[security]	Caching data from an incompletely signed zone could
			trigger an assertion failure in resolver.c [RT #33690]
(cherry picked from commit 276457f7a3)
2013-06-04 11:23:18 -07:00
Mark Andrews
1325e455bc 3583. [bug] Address memory leak in GSS-API processing [RT #33574]
(cherry picked from commit 2347c72129)
2013-06-04 12:00:31 +10:00
Mark Andrews
5123e11853 3582. [bug] Silence false positive warning regarding missing file
directive for inline slave zones.  [RT #33662]
(cherry picked from commit 1e34fe9044)
2013-06-04 11:36:12 +10:00
Mark Andrews
286ef95ba5 redo: 3576. [bug] Address a shutdown race when validating. [RT #33573] 2013-06-04 11:26:33 +10:00
Tinderbox User
c1322d49bc regen v9_9 2013-06-04 01:14:39 +00:00
Tinderbox User
c0bdfe7186 update copyright notice 2013-06-03 23:45:44 +00:00
Tinderbox User
b16b5d9d04 newcopyrights 2013-06-03 23:30:07 +00:00
Curtis Blackburn
26cac42495 3581. [bug] Changed the tcp-listen-queue default to 10. [RT #33029] 2013-06-03 14:02:09 -05:00
Evan Hunt
b79131b960 [v9_9] log forwarded updates
3566.	[func]		Log when forwarding updates to master. [RT #33240]
(cherry picked from commit 34f3693b93)
2013-06-03 09:52:18 -07:00
Evan Hunt
27e5f18023 [v9_9] possible race in acache.c
3580.	[bug]		Addressed a possible race in acache.c [RT #33602]
(cherry picked from commit 5183f9d9da)
2013-05-31 17:31:14 -07:00
Mark Andrews
0904ef3859 address memory in dns_view_getsecroots failure
(cherry picked from commit c611465739)
2013-05-31 12:31:25 +10:00
Mark Andrews
7bd2a9beb3 cleanup 2013-05-31 11:22:41 +10:00
Tinderbox User
b8e7ff70a9 regen v9_9 2013-05-31 01:14:29 +00:00
Tinderbox User
e67d98738e update copyright notice 2013-05-30 23:45:45 +00:00
Tinderbox User
29645d1fd7 newcopyrights 2013-05-30 23:30:11 +00:00
Mark Andrews
84201c293d silence compiler warnings 2013-05-30 14:09:24 +10:00
Mark Andrews
086ca987ec 3579. [maint] Updates to PKCS#11 openssl patches, supporting
versions 0.9.8y, 1.0.0k, 1.0.1e [RT #33463]
2013-05-30 12:40:53 +10:00
Tinderbox User
6fba1330fc regen v9_9 2013-05-30 01:14:44 +00:00
Mark Andrews
9614664990 3578. [bug] 'rndc -c file' now fails if 'file' does not exist.
[RT #33571]
(cherry picked from commit 17a00ff54c)
2013-05-30 11:09:54 +10:00
Tinderbox User
0103c44f73 update copyright notice 2013-05-29 23:45:44 +00:00
Tinderbox User
a63fd7ab9b newcopyrights 2013-05-29 23:30:26 +00:00
Mark Andrews
e2a54c4408 3577. [bug] Handle zero TTL values better. [RT #33411]
(cherry picked from commit 5f238c3c64)
2013-05-29 18:12:22 +10:00
Mark Andrews
91fdf4c601 3576. [bug] Address a shutdown race when validating. [RT #33573]
(cherry picked from commit 2cd3c8856c)
2013-05-29 18:03:59 +10:00
Mark Andrews
e9e90a989d 3573. [bug] "rndc addzone" and "rndc delzone" incorrectly handled
zone names containing punctuation marks and other
			nonstandard characters. [RT #33419]
2013-05-29 17:55:57 +10:00
Mark Andrews
e24b9972c0 3571. [bug] Address race condition in dns_client_startresolve().
[RT #33234]
2013-05-29 17:27:46 +10:00
Mark Andrews
22bca01405 3574. [doc] The 'hostname' keyword was missing from server-id
description in the named.conf man page. [RT #33476]
2013-05-29 15:51:30 +10:00
Mark Andrews
d281b39456 add description 2013-05-17 14:01:18 +10:00
Mark Andrews
2284b7356d just use test -f 2013-05-17 11:27:17 +10:00
Tinderbox User
e915dcf455 9.9.3 2013-05-17 00:51:36 +00:00
Mark Andrews
a02fa95032 9.9.3 2013-05-17 10:26:24 +10:00
Tinderbox User
85c66c4766 regen v9_9 2013-05-16 01:14:48 +00:00
Tinderbox User
616d285f99 update copyright notice 2013-05-15 23:45:40 +00:00
Tinderbox User
42660fa6d9 newcopyrights 2013-05-15 23:30:11 +00:00
Evan Hunt
9cca234d2a [v9_9] fix typo 2013-05-14 19:42:32 -07:00
Tinderbox User
941b0b5e77 newcopyrights 2013-05-09 23:30:12 +00:00
Mark Andrews
7b6a4ae6c6 add gen.dSYM 2013-05-09 10:57:12 +10:00
Mark Andrews
e56f27b74b add gen.dSYM 2013-05-09 10:55:43 +10:00
Evan Hunt
a1999294be [v9_9] add "Extended Support Version" to description 2013-05-03 15:33:26 -07:00
Evan Hunt
1bb835fbc4 [v9_9] add product description
3568.	[cleanup]	Add a product description line to the version file,
			to be reported by named -v/-V. [RT #33366]
(cherry picked from commit af9f195c9e)
2013-05-03 15:09:18 -07:00
Evan Hunt
d07ede4cd6 [v9_9] silence ccc-analyzer
3567.	[bug]		Silence clang static analyzer warnings. [RT #33365]
2013-05-03 14:35:55 -07:00
Tinderbox User
1514195eae newcopyrights 2013-05-02 23:30:10 +00:00
Evan Hunt
ed0d1d96c1 [v9_9] quote table names
3563.	[contrib]	zone2sqlite failed with some table names. [RT #33375]
(cherry picked from commit 96a1161785)
2013-05-02 07:39:30 -07:00
Evan Hunt
8da711c26c [v9_9] fix skipping of Tinderbox files 2013-05-01 20:00:55 -07:00
Tinderbox User
e1a1824557 regen v9_9 2013-05-02 01:14:34 +00:00
Mark Andrews
fe04dbc7bb add records starting with "v=spf1" 2013-05-01 15:30:36 +10:00
Mark Andrews
564b4832b7 3561. [bug] dig: issue a warning if an EDNS query returns FORMERR
or NOTIMP.  Adjust usage message. [RT #33363]
(cherry picked from commit 93aba6dcec)
2013-05-01 14:54:34 +10:00
Evan Hunt
6193977bfc [v9_9] correct change number
(cherry picked from commit 23b599264f)
2013-04-30 11:26:38 -07:00
Evan Hunt
3e543e5102 [v9_9] branchsync: don't update EXCLUDED
(cherry picked from commit aa2c42d959)
2013-04-30 10:05:06 -07:00
Mark Andrews
9fb5329995 add dns_message_buildopt 2013-04-30 17:38:53 +10:00
Tinderbox User
c7fcef622d update copyright notice 2013-04-30 06:38:46 +00:00
Tinderbox User
4b1d105077 newcopyrights 2013-04-30 06:37:57 +00:00
Mark Andrews
c41f55f7ad 3360. [bug] isc-config.sh did not honour includedir and libdir
when set via configure. [RT #33345]
2013-04-30 16:33:34 +10:00
Mark Andrews
1538720897 9.9.3rc2 2013-04-30 15:42:36 +10:00
Tinderbox User
72eb303737 update copyright notice 2013-04-30 05:02:41 +00:00
Mark Andrews
d35b02a156 bin/tests/system/redirect/ns2/redirect.db -> bin/tests/system/redirect/ns2/redirect.db.in 2013-04-30 15:01:24 +10:00
Tinderbox User
7541c0dce6 update copyright notice 2013-04-30 04:51:25 +00:00
Tinderbox User
55ff580619 newcopyrights 2013-04-30 04:49:44 +00:00
Tinderbox User
bc344e54b4 9.9.3rc2 2013-04-30 04:41:58 +00:00
Mark Andrews
c592204e36 9.9.3rc2 2013-04-30 14:38:17 +10:00
Tinderbox User
b2e53d9654 regen v9_9 2013-04-30 04:32:48 +00:00
Mark Andrews
7366376f57 3559. [func] Check that both forms of Sender Policy Framework
records exist or do not exist. [RT #33355]
(cherry picked from commit 26bb3b7a67)
2013-04-30 13:53:43 +10:00
Tinderbox User
acfbdd2539 update copyright notice 2013-04-29 23:45:41 +00:00
Tinderbox User
85e0572549 newcopyrights 2013-04-29 23:30:14 +00:00
Mark Andrews
a6503a9715 undo conditional compile 2013-04-29 17:01:48 +10:00
Mark Andrews
15cb17918f add #ifdef DLZ 2013-04-29 16:50:58 +10:00
Mark Andrews
d751c89a8b 3558. [bug] IXFR of a DLZ stored zone was broken. [RT #33331]
(cherry picked from commit 9a785712f1)
2013-04-29 15:47:17 +10:00
Mark Andrews
222a755a37 3557. [bug] Reloading redirect zones was broken. [RT #33292]
(cherry picked from commit ec8a802114)
2013-04-29 15:20:55 +10:00
Tinderbox User
cd6c226a47 update copyright notice 2013-04-28 23:45:37 +00:00
Tinderbox User
d7bb44fa35 newcopyrights 2013-04-28 23:30:14 +00:00
Evan Hunt
c99f7657bd [v9_9] d.root-servers.net AAAA
3556.	[maint]		Added AAAA for D.ROOT-SERVERS.NET.
(cherry picked from commit 73ad83bcf0)
2013-04-27 16:43:24 -07:00
Evan Hunt
bb8cd6777c [v9_9] correct man volume for isc-hmac-fixup 2013-04-27 16:40:59 -07:00
Evan Hunt
62ebf6bbef [v9_9] address two more possible acache asserts
3555.	[bug]		Address theoretical race conditions in acache.c
			(change #3553 was incomplete). [RT #33252]
(cherry picked from commit ff5ac6d421)
2013-04-25 18:03:28 -07:00
Evan Hunt
268f738ff2 [v9_9] double free caused assertion in acache
3553.	[bug]		Address suspected double free in acache. [RT #33252]
(cherry picked from commit 11b04b18f8ecb7c0119a7a6b6bbf8f5bad789c9a)
(cherry picked from commit 3673e8535584457ec1a79b6a30ddf4d182b0f921)
2013-04-25 10:41:23 -07:00
Tinderbox User
45a5a38f52 update copyright notice 2013-04-19 23:45:37 +00:00
Tinderbox User
ccb9432ba5 newcopyrights 2013-04-19 23:30:10 +00:00
Mark Andrews
585bcf4816 3552. [bug] Wrong getopt option string for 'nsupdate -r'.
[RT# 33280]
2013-04-19 23:48:53 +10:00
Evan Hunt
36701555d9 [v9_9] another check5011 bugfix 2013-04-16 14:05:41 -07:00
Evan Hunt
39210f43d3 [v9_9] bugfix in contrib/check5011.pl 2013-04-16 13:36:07 -07:00
Tinderbox User
1b4f89fdc0 update copyright notice 2013-04-12 23:45:36 +00:00
Tinderbox User
d9297c641f newcopyrights 2013-04-12 23:30:10 +00:00
Tinderbox User
16705703e7 Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2013-04-12 12:18:44 +00:00
Tinderbox User
f9a2e48569 add dnssec-coverage.8 dnssec-coverage.html 2013-04-12 12:18:01 +00:00
Mark Andrews
635e9124cb silence hpux compiler warnings 2013-04-12 14:07:25 +10:00
Tinderbox User
515586b369 update copyright notice 2013-04-11 23:45:37 +00:00
Tinderbox User
fd92502ea8 newcopyrights 2013-04-11 23:30:09 +00:00
Mark Andrews
db8272a8f0 don't call dns_message_destroy in make_querymessage
(cherry picked from commit da87a34cd2)
2013-04-11 18:19:36 +10:00
Mark Andrews
53f675154c silence coverity warnings
(cherry picked from commit 45b727f651)
2013-04-11 17:25:44 +10:00
Tinderbox User
7bb8b43fb1 newcopyrights 2013-04-10 23:30:07 +00:00
Mark Andrews
0f5734786a add sleep 1 to loop
(cherry picked from commit cc444c73d5)
2013-04-10 21:36:27 +10:00
Tinderbox User
c4d2f352d3 update copyright notice 2013-04-09 23:45:38 +00:00
Mark Andrews
d6bc43ab52 update 2013-04-09 13:12:18 +10:00
Tinderbox User
91a288a0e3 regen v9_9 2013-04-09 01:14:18 +00:00
Mark Andrews
99d0a87115 silence signed/unsigned compare warning 2013-04-09 06:31:32 +10:00
Evan Hunt
d85e29ad97 [v9_9] add request-nsid doc
3549.	[doc]		Documentation for "request-nsid" was missing.
			[RT #33153]
(cherry picked from commit c4a453fa5c)
2013-04-08 10:27:07 -07:00
Mark Andrews
f28461b6f5 3548. [bug] The NSID request code in resolver.c was broken
resulting in invalid EDNS options being sent.
                        [RT #33153]
(cherry picked from commit 4adf97c32f)

Conflicts:
	lib/dns/include/dns/message.h
	lib/dns/message.c
(cherry picked from commit 6227ab7137)
2013-04-08 16:48:36 +10:00
Mark Andrews
f1400b03f1 3547. [bug] Some malformed unknown rdata records were not properly
detected and rejected. [RT #33129]
(cherry picked from commit 1cc4695f0d)
2013-04-08 09:56:56 +10:00
Mark Andrews
0fe7a2f874 bind-changes -> bind-changes@isc.org 2013-04-05 13:33:05 +11:00
Tinderbox User
847942cd68 update copyright notice 2013-04-04 23:45:37 +00:00
Tinderbox User
70c669904c newcopyrights 2013-04-04 23:30:18 +00:00
Mark Andrews
4e1de77656 move 9.9.3rc1 2013-04-05 09:21:21 +11:00
Mark Andrews
ffbc63a973 3546. [func] Add EUI48 and EUI64 types. [RT #33082]
(cherry picked from commit 3a6d62c59f)
2013-04-05 09:08:29 +11:00
Mark Andrews
775085d8f1 s/-e/-x/
(cherry picked from commit c2838610c6)
2013-04-05 07:38:16 +11:00
Tinderbox User
d760368395 update copyright notice 2013-04-03 23:45:38 +00:00
Tinderbox User
c22d10614b newcopyrights 2013-04-03 23:30:10 +00:00
Mark Andrews
4a033aaa6f add SAMPLE to the list of varables to be exported
(cherry picked from commit cf3e838fd3)
2013-04-04 07:26:56 +11:00
Evan Hunt
cb08c9dad8 [v9_9] add check5011.pl
3544.	[contrib]	check5011.pl: Script to report the status of
			managed keys as recorded in managed-keys.bind.
			Contributed by Tony Finch <dot@dotat.at>
(cherry picked from commit dc1ed2622f)
2013-04-03 11:00:24 -07:00
Evan Hunt
985d98607b [v9_9] grammar fix 2013-04-03 08:38:32 -07:00
Mark Andrews
5dbaf2dac3 link export/libisccfg againt DNS_CRYPTO_LIBS 2013-04-03 14:03:55 +00:00
Mark Andrews
6ebfcc6fe2 typo 2013-04-03 17:50:16 +11:00
Mark Andrews
a8572209bc 3543. [bug] Update socket stucture before attaching to socket
manager after accert. [RT #33084]
2013-04-03 17:43:27 +11:00
Mark Andrews
92da7a90dc add insist to try to prevent coverity false positive 2013-04-03 17:37:41 +11:00
Mark Andrews
c51fe7894a 3541. [bug] The parts if libdns was not being properly initialized
in when built in libexport mode. [RT #33028]
2013-04-03 17:28:22 +11:00
Mark Andrews
4176d6abc3 3540. [bug] libt_api: t_info and t_assert were not thread safe. 2013-04-03 17:18:13 +11:00
Tinderbox User
096ffe94ea update copyright notice 2013-04-02 23:45:34 +00:00
Tinderbox User
c08c9e2cfc newcopyrights 2013-04-02 23:30:06 +00:00
Evan Hunt
28725526fd [v9_9] fix isc_time_formathttptmestamp() on win32
3539.	[port]		win32: timestamp format didn't match other platforms.
(cherry picked from commit 99bf6a57d9)
2013-04-01 22:29:22 -07:00
Evan Hunt
582eff2d4b [v9_9] handle multi-word product names better
(cherry picked from commit 0ebd8d9ea3)
2013-03-26 20:39:34 -07:00
Tinderbox User
1a0a04f563 9.9.3rc1 2013-03-27 02:30:37 +00:00
Tinderbox User
373a875a5f regen v9_9 2013-03-27 02:25:19 +00:00
Evan Hunt
995be5454c [v9_9] prepare 9.9.3rc1 2013-03-26 19:07:10 -07:00
Evan Hunt
5bab3021a8 [v9_9] don't sync api file changes
(cherry picked from commit f2cb70f5d758495195ee53e593e75721bbbc80f0)
2013-03-26 18:48:50 -07:00
Tinderbox User
5b88d7589e update copyright notice 2013-03-26 23:45:35 +00:00
Tinderbox User
3f89d5c612 newcopyrights 2013-03-26 23:30:08 +00:00
Curtis Blackburn
0dff354acb [v9_9]
3538.	[test]	Running "make test" now requires loopback interfaces to be
	set up. [RT #32452]
2013-03-26 14:48:41 -05:00
Tinderbox User
752a7fffc4 update copyright notice 2013-03-22 23:45:37 +00:00
Tinderbox User
5de118a41d newcopyrights 2013-03-22 23:30:10 +00:00
Evan Hunt
af7a5c3801 [v9_9] slaves notify before writing to disk
3537.	[tuning]	Slave zones, when updated, now send NOTIFY messages
			to peers before being dumped to disk rather than
			after. [RT #27242]
(cherry picked from commit e57a83b576)
2013-03-22 14:16:11 -07:00
Mark Andrews
b2737a5ea8 3535. [bug] Minor win32 cleanups. [RT #32962] 2013-03-22 22:24:33 +11:00
Mark Andrews
fd8ee31518 sock could be used uninitalized in isc_socketmgr_renderxml on error 2013-03-22 15:29:46 +11:00
Evan Hunt
ae96a2a0e2 [v9_9] zone parsing broken with embedded null
3534.	[bug]		Extra text after an embedded NULL was ignored when
			parsing zone files. [RT #32699]
(cherry picked from commit 4bf686cf5d)
2013-03-21 19:58:53 -07:00
Tinderbox User
4ffb29719c update copyright notice 2013-03-21 23:45:37 +00:00
Tinderbox User
050d9b601a newcopyrights 2013-03-21 23:30:06 +00:00
Mark Andrews
0bdd2c9d17 3533. [contrib] query-loc-0.4.0: memory leaks. [RT #32960]
3532.   [contrib]       zkt: fixed buffer overrun, resource leaks. [RT #32960]
2013-03-22 09:56:01 +11:00
Mark Andrews
d2cf890582 3531. [bug] win32: A uninitialized value could be returned on out
of memory. [RT #32960]
2013-03-22 09:23:05 +11:00
Evan Hunt
83d0e7a243 [v9_9] improvements to queryperf
3530.	[contrib]	Better RTT tracking in queryperf. [RT #30128]
(cherry picked from commit 384fef0034)
2013-03-20 19:15:30 -07:00
Mark Andrews
547098aa18 remove broken redundant test 2013-03-21 12:37:25 +11:00
Mark Andrews
e7901487ff update 2013-03-21 10:49:24 +11:00
Mark Andrews
c1dd08a64a add files generated by configure 2013-03-21 10:26:59 +11:00
Evan Hunt
1c363c5ca8 [v9_9] add dnssec-coverage tool
3528.	[func]		New "dnssec-coverage" command scans the timing
			metadata for a set of DNSSEC keys and reports if a
			lapse in signing coverage has been scheduled
			inadvertently. (Note: This tool depends on python;
			it will not be built or installed on systems that
			do not have a python interpreter.) [RT #28098]
(cherry picked from commit 831f59eb43)
2013-03-20 14:42:06 -07:00
Mark Andrews
9627ae7989 add copyright notice 2013-03-20 13:20:38 +11:00
Tinderbox User
6f07a341a7 update copyright notice 2013-03-19 23:45:32 +00:00
Tinderbox User
d130057d50 newcopyrights 2013-03-19 23:30:04 +00:00
Evan Hunt
57bd352550 [v9_9] add xml/v2 and xml/v3 URIs
3527.	[compat]	Add a URI to allow applications to explicitly
			request a particular XML schema from the statistics
			channel, returning 404 if not supported. [RT #32481]
2013-03-18 20:51:09 -07:00
Evan Hunt
7fbe21a10d [v9_9] update copyrights 2013-03-18 20:30:42 -07:00
Evan Hunt
3917a3f9fc [v9_9] newline in echo isn't portable
(cherry picked from commit 04d784fe8890a3896c153df7ab36a63df2da9c02)
2013-03-18 19:59:28 -07:00
Evan Hunt
039c426d72 [v9_9] corrct author when cherry-picking
(cherry picked from commit ad73a77dda)
2013-03-18 19:51:02 -07:00
Evan Hunt
50e94120ec [v9_9] silence unnecessary output 2013-03-18 19:34:43 -07:00
Evan Hunt
c9850ace9b [v9_9] add branchsync to util
Script to sync release branch to subscription branch.
2013-03-18 19:25:11 -07:00
Tinderbox User
c2b4d89a66 update copyright notice 2013-03-16 23:45:31 +00:00
Tinderbox User
38b018bf38 newcopyrights 2013-03-16 23:30:08 +00:00
Mark Andrews
1f94bde173 update 2013-03-16 10:52:42 +11:00
Evan Hunt
5021f4df52 [v9_9] make dst test work outside srcdir
3526.	[cleanup]	Set up dependencies for unit tests correctly during
			build. [RT #32803]
(cherry picked from commit 741ebf1004)
2013-03-15 07:36:55 -07:00
Tinderbox User
72e5ffad90 update copyright notice 2013-03-14 23:45:36 +00:00
Tinderbox User
c6389da685 newcopyrights 2013-03-14 23:30:08 +00:00
Tinderbox User
4f0ddae71b regen v9_9 2013-03-14 01:14:00 +00:00
Tinderbox User
1749045a0b update copyright notice 2013-03-13 23:45:33 +00:00
Tinderbox User
8e7d0b2caa newcopyrights 2013-03-13 23:30:05 +00:00
Evan Hunt
f6fac016b5 [v9_9] fixed srcdir in nothreads build 2013-03-12 23:42:20 -07:00
Tinderbox User
c37d352815 update copyright notice 2013-03-08 23:46:30 +00:00
Tinderbox User
22cae70c49 newcopyrights 2013-03-08 23:30:13 +00:00
Mark Andrews
b304c9df6b 3521. [bug] Address memory leak in opensslecdsa_link.c. [RT #32249]
(cherry picked from commit aababae795)
2013-03-08 21:13:54 +11:00
Mark Andrews
4aa0f69228 wait for upstream transfer to complete 2013-03-08 17:15:27 +11:00
Mark Andrews
dfa83d7ea8 3520. [bug] 'mctx' was not being referenced counted in some places
where it should have been.  [RT #32794]
(cherry picked from commit 3a0da183bb)
2013-03-08 14:41:02 +11:00
Tinderbox User
445492b8b9 update copyright notice 2013-03-07 23:45:38 +00:00
Tinderbox User
524d2e8de4 newcopyrights 2013-03-07 23:30:14 +00:00
Mark Andrews
aa7c259035 add PRODUCT to version.h; handle empty PATCHVER
(cherry picked from commit b0f3042e37)
2013-03-07 15:44:16 +11:00
Tinderbox User
b2db081720 newcopyrights 2013-03-07 02:48:44 +00:00
Tinderbox User
bc0dbfb981 9.9.3b2 2013-03-07 02:42:15 +00:00
Tinderbox User
4ade922436 regen v9_9 2013-03-07 02:40:44 +00:00
Mark Andrews
adec2b7a0e 9.9.3b2 2013-03-07 12:28:11 +11:00
Tinderbox User
a3412676e4 update copyright notice 2013-03-06 23:47:22 +00:00
Tinderbox User
73ca8c5e23 newcopyrights 2013-03-06 23:30:15 +00:00
Mark Andrews
84e4b4e536 3517. [bug] Reorder destruction to avoid shutdown race. [RT #32777]
(cherry picked from commit e7b9603ead)
2013-03-07 07:14:58 +11:00
Mark Andrews
badb0596d3 3515. [port] '%T' is not portable in strftime(). [RT #32763]
(cherry picked from commit 550c92405f)
2013-03-06 15:34:28 +11:00
Tinderbox User
96d1de8b35 update copyright notice 2013-03-05 23:45:43 +00:00
Tinderbox User
5f12dde265 newcopyrights 2013-03-05 23:30:14 +00:00
Mark Andrews
7cdf3c87eb silence compiler warnings 2013-03-05 23:46:07 +11:00
Mark Andrews
2146e355c3 check that the lwresd server has started before querying it
(cherry picked from commit 661f1197a200bdd3d2411e9b02a46b93fb1fb083)
2013-03-05 17:24:33 +11:00
Mark Andrews
f2afaafd83 remove REDIRECT-NOTES 2013-03-05 14:57:41 +11:00
Tinderbox User
1af7e5b0ff update copyright notice 2013-03-04 23:45:43 +00:00
Tinderbox User
5f84618b10 newcopyrights 2013-03-04 23:30:12 +00:00
Evan Hunt
db3792f241 [v9_9] fix keysizes in confgen
3514.	[bug]		The ranges for valid key sizes in ddns-confgen and
			rndc-confgen were too constrained. Keys up to 512
			bits are now allowed for most algorithms, and up
			to 1024 bits for hmac-sha384 and hmac-sha512.
			[RT #32753]
(cherry picked from commit 33b8db1bb3)
2013-03-04 12:14:39 -08:00
Evan Hunt
d7259a228d [v9_9] doc typo (rt #32745) 2013-03-02 14:25:12 -08:00
Evan Hunt
6312e3be76 [v9_9] need to quote PRODUCT
(cherry picked from commit f107fe7fc9)
2013-03-02 00:17:03 -08:00
Evan Hunt
633e060c00 [v9_9] remove programlistings from table entries
(cherry picked from commit dd42336690)
2013-03-01 19:20:49 -08:00
Tinderbox User
17873cf467 update copyright notice 2013-03-01 23:45:45 +00:00
Tinderbox User
e3d5e35461 newcopyrights 2013-03-01 23:30:14 +00:00
Evan Hunt
3723870317 [v9_9] move redirect info to ARM
3511.	[doc]		Improve documentation of redirect zones. [RT #32756]
(cherry picked from commit 77845708f7)
2013-03-01 15:16:18 -08:00
Curtis Blackburn
e2f049047a [v9_9]3509. [cleanup] Added a product line to version file to allow for
easy naming of different products (BIND
                        vs BIND ESV, for example). [RT #32755]
(cherry picked from commit 53a4e18582)
2013-03-01 16:25:51 -06:00
Evan Hunt
cbf2a8f910 [v9_9] bring autosign test into sync with master 2013-02-28 23:45:05 -08:00
Mark Andrews
d43f299893 SIZE_MAX is not available on all platforms
(cherry picked from commit 3fadb11b94)
2013-03-01 01:12:49 +00:00
Evan Hunt
334e322a3d [v9_9] Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-02-28 16:48:55 -08:00
Evan Hunt
f36b17cbb6 [v9_9] update README, HISTORY 2013-02-28 16:48:40 -08:00
Tinderbox User
826ded55ec update copyright notice 2013-02-28 23:45:46 +00:00
Tinderbox User
8d472d5a6b newcopyrights 2013-02-28 23:30:14 +00:00
Evan Hunt
7e55d9c715 [v9_9] address warnings building exportlibs 2013-02-28 15:23:08 -08:00
Evan Hunt
e7ff512ccc [v9_9] add changes note for 32338 2013-02-28 13:51:49 -08:00
Evan Hunt
8a442959c0 [v9_9] change text when no graph visible 2013-02-28 11:04:02 -08:00
Evan Hunt
2fee153667 [v9_9] fix XSL glitch with empty query data
3507.	[bug]		Statistics channel XSL (when built with
			--enable-newstats) had a glitch when attempting
			to chart query data before any queries had been
			received. [RT #32620]
2013-02-28 10:03:35 -08:00
Evan Hunt
d5f677ea47 [v9_9] accept >4g max-{,a}cache-size
3505.	[bug]		When setting "max-cache-size" and "max-acache-size",
			larger values than 4 gigabytes could not be set
			explicitly, though larger sizes were available
			when setting cache size to 0. This has been
			corrected; the full range is now available.
			[RT #32358]
(cherry picked from commit 2a184ff865)
2013-02-28 09:36:50 -08:00
Mark Andrews
1f83863b9b silence clang warning
(cherry picked from commit 33c14ca653)
2013-02-28 16:50:02 +11:00
Mark Andrews
fe2b067ab4 check isc_task_beginexclusive result
(cherry picked from commit 189efe774e)
2013-02-28 13:23:24 +11:00
Mark Andrews
eb03827bc5 check the returns from isc_task_beginexclusive 2013-02-28 13:15:45 +11:00
Tinderbox User
e1c67d23bb regen v9_9 2013-02-28 01:13:58 +00:00
Mark Andrews
9a56bb356a move declaration of dumparg 2013-02-28 11:23:34 +11:00
Tinderbox User
5af7157916 update copyright notice 2013-02-27 23:45:44 +00:00
Tinderbox User
bf36b06594 newcopyrights 2013-02-27 23:30:11 +00:00
Evan Hunt
70351d6e18 [v9_9] clarify size_spec in ARM
3503.	[doc]		Clarify size_spec syntax. [RT #32449]
(cherry picked from commit de1223830f)
2013-02-27 14:40:07 -08: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
Mark Andrews
22c2ef8ead add <isc/util.h> 2013-02-27 16:15:00 +11:00
Mark Andrews
dac7bc0ef8 silence compiler warnings 2013-02-27 15:57:35 +11:00
Mark Andrews
a3864ce373 update copyrights 2013-02-27 12:35:09 +11:00
Evan Hunt
92fcc84855 [v9_9] silence warning 2013-02-26 17:29:03 -08:00
Tinderbox User
f0a29f2d0f regen v9_9 2013-02-27 01:20:08 +00:00
Mark Andrews
8c975f98ea 3500. [port] Support NAPTR regular expression validation on
all platforms.  [RT #32688]
2013-02-27 08:59:53 +11:00
Evan Hunt
a0d472b36e [v9_9] fix built-in zone doc
3499.	[doc]		Corrected ARM documentation of built-in zones.
			[RT #32694]
(cherry picked from commit 298ca12250)
2013-02-26 11:57:14 -08:00
Mark Andrews
ab797f53c2 '!' is not portable. 2013-02-26 23:13:04 +11:00
Mark Andrews
de6955cc77 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:49:37 +11:00
Tinderbox User
2f7eb16bed update copyright notice 2013-02-25 23:45:44 +00: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
Tinderbox User
7eb0bc8062 newcopyrights 2013-02-22 23:30:16 +00:00
Evan Hunt
1b197a7adb Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-02-21 18:16:43 -08:00
Evan Hunt
4dff6016d2 [v9_9] contrib: add bdbhpt DLZ module
3493.	[contrib]	Added BDBHPT dynamically-lodable DLZ module,
			contributed by Mark Goldfinch. [RT #32549]
(cherry picked from commit 62d63e5f02)
2013-02-21 18:15:12 -08:00
Tinderbox User
cca5478e1f update copyright notice 2013-02-21 23:45:39 +00:00
Tinderbox User
e2f2890e30 newcopyrights 2013-02-21 23:30:13 +00: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
Mark Andrews
849058c8d6 update 2013-02-21 10:54:33 +11:00
Evan Hunt
388815e6e5 [v9_9] inline-signing slave with no file
3491.	[bug]		Slave zones using inline-signing must specify a
			file name. [RT #31946]
2013-02-20 14:05:37 -08:00
Tinderbox User
0042c4ef10 update copyright notice 2013-02-18 23:45:42 +00:00
Tinderbox User
7e910cc65c newcopyrights 2013-02-18 23:30:13 +00:00
Mark Andrews
383df64ad1 dlzdb in 9.8 and earlier doesn't have a link element 2013-02-19 08:40:44 +11:00
Mark Andrews
c1402b00d3 3489. [bug] --enable-developer now turns on ISC_LIST_CHECKINIT.
dns_dlzcreate() failed to properly initialize
                        dlzdb.link.  When cloning a rdataset do not copy
                        the link contents.  [RT #32651]

Squashed commit of the following:

commit c36c49cbdaeec8b2506dffadbffa543283702fa2
Author: Mark Andrews <marka@isc.org>
Date:   Mon Feb 18 23:24:57 2013 +1100

    don't copy the link when cloning a rdataset

commit 9fef5827edcc925075832dcce900eeca9057456d
Author: Mark Andrews <marka@isc.org>
Date:   Mon Feb 18 23:23:25 2013 +1100

    initialise the dlzdb link; don't return a stale pointer on error

commit a13c584732eae2dde48920a73886b54f1fe6b030
Author: Mark Andrews <marka@isc.org>
Date:   Mon Feb 18 23:21:59 2013 +1100

    turn on ISC_LIST_CHECKINIT

Conflicts:
	lib/dns/dlz.c
2013-02-19 07:31:26 +11:00
Mark Andrews
8ac4a05471 3488. [bug] Use after free error with DH generated keys. [RT #32649] 2013-02-18 20:26:08 +11:00
Tinderbox User
4484a9cabf update copyright notice 2013-02-16 23:45:45 +00:00
Mark Andrews
e11dbf9b16 update 2013-02-16 11:21:28 +11:00
Mark Andrews
5dae063d56 3487. [bug] Change 3444 was not complete. There was a additional
place where the NOQNAME proof needed to be saved.
                        [RT #32629]

Squashed commit of the following:

commit cdef844f57bd3eb30b1f77135b89b6f9360e8bee
Author: Mark Andrews <marka@isc.org>
Date:   Sat Feb 16 00:27:14 2013 +1100

    whitespace

commit 60eb7e3f6cdd102d6aaf0fb4ada8c552576e4502
Author: Mark Andrews <marka@isc.org>
Date:   Sat Feb 16 00:19:51 2013 +1100

    return noqname proof with +cd and dlv
2013-02-16 07:46:48 +11:00
Evan Hunt
27eefab033 [v9_9] address TKEY bugs
3486.	[bug]		named could crash when using TKEY-negotiated keys
			that had been deleted and then recreated. [RT #32506]

(cherry picked from commit 0b8bd3a4ae)
2013-02-15 10:21:43 -08:00
Evan Hunt
2b5ee66a1e [v9_9] fixed another readline link error 2013-02-15 10:15:30 -08:00
Evan Hunt
d4f00203c9 [v9_9] fixed readline link error, ubuntu 13.04 2013-02-15 10:09:03 -08:00
Mark Andrews
d70997f413 silence compiler warning
(cherry picked from commit 52946dc6c0)
2013-02-15 17:42:18 +11:00
Tinderbox User
749c854638 update copyright notice 2013-02-12 23:45:40 +00:00
Tinderbox User
7b117943fa newcopyrights 2013-02-12 23:30:11 +00:00
Mark Andrews
3e712bbd61 3485. [cleanup] Only compile openssl_gostlink.c if we support GOST.
(cherry picked from commit 7e9ccec638)
2013-02-12 13:05:13 +11:00
Tinderbox User
dfbd543889 update copyright notice 2013-02-08 23:45:37 +00:00
Tinderbox User
e3d78469d6 newcopyrights 2013-02-08 23:30:08 +00:00
Evan Hunt
fd34d8e863 [v9_9] fixed "server counters" name, whitespace 2013-02-08 15:19:24 -08:00
Evan Hunt
0c00d3d780 [v9_9] use correct newstats XSL 2013-02-08 12:23:34 -08:00
Tinderbox User
9601b8330f newcopyrights 2013-02-07 23:30:13 +00:00
Curtis Blackburn
4e8baf78c4 [v9_9]3481. [cleanup] removed use of const const in atf
(cherry picked from commit 0da7c95546)
2013-02-06 17:49:16 -06:00
Tinderbox User
7d7b020635 update copyright notice 2013-02-05 23:45:38 +00:00
Tinderbox User
4132ef7931 newcopyrights 2013-02-05 23:30:13 +00:00
Mark Andrews
8600863d29 explict cast to (char *) from (void *) to silence compiler warning in %s checking 2013-02-05 14:25:12 +11:00
Evan Hunt
ceb636cde3 [v9_9] silence logging noise
3480.	[bug]		Silence logging noise when setting up zone
			statistics. [RT #32525]
(cherry picked from commit 9dac1de625)
2013-02-02 14:00:40 -08:00
Tinderbox User
7db5f4fa60 update copyright notice 2013-01-25 23:45:39 +00:00
Tinderbox User
aed7a3e907 newcopyrights 2013-01-25 23:30:11 +00:00
Mark Andrews
2baa77a96b 3479. [bug] Address potential memory leaks in gssapi support
code. [RT #32405]
2013-01-25 12:24:38 +11:00
Tinderbox User
7ad7fa4e26 update copyright notice 2013-01-24 23:45:43 +00:00
Tinderbox User
c2ece4b65c newcopyrights 2013-01-24 23:30:08 +00:00
Tinderbox User
5244e2adcf regenerate 2013-01-24 22:54:34 +00:00
Evan Hunt
518ba12f1f [v9_9] build failure in C99
3478.	[port]		Fix a build failure in strict C99 environments
			[RT #32475]
(cherry picked from commit cd63e94310)
2013-01-24 14:52:11 -08:00
Evan Hunt
30b5f39a1a Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-01-23 15:49:35 -08:00
Tinderbox User
c3e768f1fb update copyright notice 2013-01-23 23:45:39 +00:00
Evan Hunt
fc490116aa [v9_9] fix dns_request_createvia assert
3474.	[bug]		nsupdate could assert when the local and remote
			address families didn't match. [RT #22897]
(cherry picked from commit ffff5d6792)
2013-01-23 15:39:38 -08:00
Tinderbox User
f761c1754f newcopyrights 2013-01-23 23:30:11 +00:00
Tinderbox User
da13b99e08 regenerate 2013-01-23 23:08:32 +00:00
Evan Hunt
61748fa876 [v9_9] fix enable-openssl-hash/with-atf combo 2013-01-23 15:06:05 -08:00
Evan Hunt
bf9d2fd260 [v9_9] fix incorrect nsec3 check
- check for NSEC3 in empty nodes when not due to optout delegations
    - fixed typo in output ("Bad record NSEC record")
    - incidentally fixed an error in signzone that caused an
      incorrect warning about missing DNSKEYs when using -S
      and -3 together

3473.	[bug]		dnssec-signzone/verify could incorrectly report
			an error condition due to an empty node above an
			opt-out delegation lacking an NSEC3. [RT #32072]
(cherry picked from commit 9a0dd99a75)
2013-01-23 14:57:18 -08:00
Evan Hunt
d2c5763ef4 [v9_9] default -U to ncpus, not to -n
3471.	[bug]		The number of UDP dispatches now defaults to
			the number of CPUs even if -n has been set to
			a higher value. [RT #30964]
(cherry picked from commit 2154c01912)
2013-01-22 18:07:50 -08:00
Evan Hunt
ddfed3060a [v9_9] dump masterfile after successful xfrin
3470.	[bug]		Slave zones could fail to dump when successfully
			refreshing after an initial failure. [RT #31276]
(cherry picked from commit 214836c184)
2013-01-22 15:50:48 -08:00
Tinderbox User
be983f9f84 update copyright notice 2013-01-21 23:45:36 +00:00
Tinderbox User
d2656affd7 newcopyrights 2013-01-21 23:30:10 +00:00
Evan Hunt
1c59cea1c0 [v9_9] prevent ixfr/ns1 being removed 2013-01-21 14:16:53 -08:00
Evan Hunt
fdcc5fa05c [v9_9] add 10.53.0.8 address 2013-01-21 12:37:09 -08:00
Evan Hunt
90579b072b [v9_9] fix typo in libdns.def 2013-01-21 11:52:10 -08:00
Jeremy C. Reed
344f617055 Mention latest CVE. 2013-01-18 22:57:55 +00:00
Evan Hunt
6ffd9dd8df Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2013-01-18 14:21:57 -08:00
Evan Hunt
f893f333b8 [v9_9] add CVE, correct change 3388
(cherry picked from commit 3806133da5)
2013-01-18 14:20:03 -08:00
Evan Hunt
12226a3e9f [v9_9] correct 9.9.2 changes 2013-01-18 14:14:10 -08:00
Tinderbox User
c4873082b8 update copyright notice 2013-01-17 23:45:58 +00:00
Tinderbox User
5303e2090b newcopyrights 2013-01-17 23:30:12 +00:00
Evan Hunt
86cf245f9a [v9_9] bump release 2013-01-17 11:26:05 -08:00
Evan Hunt
020160badd [v9_9] fix DNS64 with RPZ-remapped A records
3468.	[security]	RPZ rules to generate A records (but not AAAA records)
			could trigger an assertion failure when used in
			conjunction with DNS64. [RT #32141]
(cherry picked from commit 71f8edccba)
2013-01-17 11:24:16 -08:00
Curtis Blackburn
70924c54fa [v9_9][bug] Added checks in dnssec-keygen and dnssec-settime to check for
delete date < inactive date. [RT #31719]
2013-01-17 11:02:48 -06:00
Mark Andrews
109350b6da add POST's 2013-01-17 23:25:45 +11:00
Mark Andrews
ddb92c7bf9 s/head/tail/ 2013-01-17 21:47:27 +11:00
Mark Andrews
8f0b2e920b Silence "Access to field 'refs' results in a dereference of a null pointer" by adding appropriate assertions. 2013-01-17 14:39:17 +11:00
Mark Andrews
c224fbaab3 Silence "Use of memory after it is freed" by asserting the head and tail of list are not the element after it is unlinked from the list. 2013-01-17 14:15:28 +11:00
Tinderbox User
a6927ececd update copyright notice 2013-01-15 23:45:35 +00:00
Tinderbox User
6a8ef95015 newcopyrights 2013-01-15 23:30:08 +00:00
Mark Andrews
239695d2b1 silence compiler warning: Value stored to '?' is never used 2013-01-16 07:12:45 +11:00
Mark Andrews
0702bf7b5b remove bin/pkcs11/openssl-0.9.8s-patch bin/pkcs11/openssl-1.0.0f-patch 2013-01-12 10:58:10 +11:00
Tinderbox User
9888c9f463 update copyright notice 2013-01-11 23:45:46 +00:00
Tinderbox User
eb6b8869f5 newcopyrights 2013-01-11 23:30:14 +00:00
Mark Andrews
4712b673bd silence compiler warning 2013-01-11 17:38:47 +11:00
Mark Andrews
3e90b6a2eb silence compiler warning 2013-01-11 17:30:41 +11: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
Mark Andrews
bf4008d44e windows snprint support 2013-01-11 16:26:49 +11:00
Mark Andrews
80b4bcaebf windows snprint support 2013-01-11 16:25:39 +11:00
Mark Andrews
513c6f4748 9.9.3b1 2013-01-11 15:21:41 +11:00
Mark Andrews
e09dc13501 9.9.3b1 2013-01-11 15:14:05 +11:00
Evan Hunt
bb102ee495 [v9_9] fixed clientinfo version check
3466.	[contrib]	Corrected the DNS_CLIENTINFOMETHODS_VERSION check
			in DLZ example driver. [RT #32275]
2013-01-10 20:05:28 -08:00
Mark Andrews
d068ddb86d 3465. [bug] Handle isolated reserved ports. [RT #31778] 2013-01-11 14:10:32 +11:00
Evan Hunt
562dfd71b5 [v9_9] update openssl pkcs11 patches
3464.	[maint]		Updates to PKCS#11 openssl patches, supporting
			versions 0.9.8x, 1.0.0j, 1.0.1c [RT #29749]
(cherry picked from commit dc6cea0448)
2013-01-10 18:27:27 -08:00
Mark Andrews
6935ed9abe Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2013-01-11 12:50:01 +11:00
Mark Andrews
555a10dda6 spelling; whitespace 2013-01-11 12:32:58 +11:00
Tinderbox User
46542343c5 regen v9_9 2013-01-11 01:13:25 +00:00
Mark Andrews
6bded5e3ab record 9.8.x range info 2013-01-11 11:52:10 +11:00
Tinderbox User
b04b60e1b5 9.9.3b1 2013-01-11 00:36:35 +00:00
Tinderbox User
a1b3872a71 update copyright notice 2013-01-10 23:45:46 +00:00
Tinderbox User
73a7f9a547 newcopyrights 2013-01-10 23:30:23 +00:00
Tinderbox User
e16cd87685 regen v9_9 2013-01-10 20:29:00 +00:00
Evan Hunt
21113a1649 [v9_9] clarify managed-keys syntax
(cherry picked from commit 54ca241334)
2013-01-10 12:00:18 -08:00
Evan Hunt
9357e14cd8 [v9_9] doc clarification about dig & resolv.conf 2013-01-10 11:49:51 -08:00
Mark Andrews
3d603efd17 9.9.3b1 2013-01-10 23:58:20 +11:00
Mark Andrews
4d112a210e 3461. [bug] Negative responses could incorrectly have AD=1
set. [RT #32237]
2013-01-10 22:38:10 +11:00
Mark Andrews
1b0e0776dc remove dead code 2013-01-10 18:13:10 +11:00
Mark Andrews
b4c4d8b24f 3460. [bug] Only link against readline where needed. [RT #29810] 2013-01-10 17:40:18 +11:00
Tinderbox User
fb505afc36 update copyright notice 2013-01-09 23:45:38 +00:00
Mark Andrews
a0f7375071 update 2013-01-10 10:42:54 +11:00
Mark Andrews
6404c9766e Merge remote-tracking branch 'refs/remotes/origin/v9_9' into v9_9 2013-01-10 10:38:25 +11:00
Mark Andrews
3af1483031 3458. [bug] Return FORMERR when presented with a overly long
domain named in a request. [RT #29682]
2013-01-10 10:33:11 +11:00
Tinderbox User
61c1f97ced newcopyrights 2013-01-09 23:30:55 +00:00
Evan Hunt
7dc4e96ee1 [v9_9] typo 2013-01-09 14:26:50 -08:00
Mark Andrews
1c24d761e6 3457. [protocol] Add ILNP records (NID, LP, L32, L64). [RT #31836] 2013-01-10 08:34:02 +11:00
Mark Andrews
ad64ed1829 3456. [port] g++47: aft fails to compile. [RT #32012] 2013-01-09 22:33:39 +11:00
Mark Andrews
c00eda2e96 remove dead code 2013-01-09 21:51:06 +11:00
Mark Andrews
7fe0fa48ac 3455. [contrib] queryperf: fix getopt option list. [RT #32338] 2013-01-09 21:40:57 +11:00
Mark Andrews
a0fa3119f4 use known length for known algorithns in fromtext_dlv cf fromtext_ds 2013-01-09 21:11:01 +11:00
Mark Andrews
b8cbfab8f4 test eighth interface 2013-01-09 19:09:42 +11:00
Mark Andrews
c27c11ff2c 3373. [bug] win32: open raw files in binary mode. [RT #30944]
was not complete openfile_raw should be using mode "rb" rather than "r".
2013-01-09 17:06:01 +11:00
Mark Andrews
36800a2ed2 3454. [port] sparc64: improve atomic support. [RT #25182] 2013-01-09 12:56:35 +11:00
Tinderbox User
a16c3b9fe9 update copyright notice 2013-01-08 23:45:37 +00:00
Tinderbox User
39989ae68d newcopyrights 2013-01-08 23:30:11 +00:00
Mark Andrews
f78a1928e0 3453. [bug] 'rndc addzone' of a zone with 'inline-signing yes;'
failed. [RT #31960]
2013-01-09 07:41:18 +11:00
Mark Andrews
780b2a4d22 queryperf: fix getopt option string 2013-01-08 22:57:46 +11:00
Mark Andrews
83afe6a4ea spelling 2013-01-08 11:07:07 +11:00
Mark Andrews
b97bb4b2b3 3452. [bug] Accept duplicate singlton records. [RT #32329] 2013-01-08 10:59:13 +11:00
Tinderbox User
b62316582a update copyright notice 2013-01-06 23:45:33 +00:00
Tinderbox User
883c7b7c63 newcopyrights 2013-01-06 23:30:07 +00:00
Mark Andrews
8296d312c4 3451. [port] Increase per thread stack size from 64K to 1M.
[RT #32230]
2013-01-07 09:54:02 +11:00
Tinderbox User
e26db23aca update copyright notice 2013-01-05 23:45:35 +00:00
Tinderbox User
7339b6316e newcopyrights 2013-01-05 23:30:07 +00:00
Mark Andrews
e0bcc199bb 3450. [bug] Stop logfileconfig system test spam system logs.
[RT #32315]

Squashed commit of the following:

commit ad40744e2c7dc253b70857bb229def5dd194b418
Author: Mark Andrews <marka@isc.org>
Date:   Fri Jan 4 17:24:45 2013 +1100

    logfileconfig spams the system log files

Conflicts:
	bin/named/main.c
2013-01-06 07:57:08 +11:00
Mark Andrews
70d8721f72 remove dead code 2013-01-06 07:47:53 +11:00
Tinderbox User
c2358595ab regen v9_9 2013-01-05 01:13:49 +00:00
Tinderbox User
04b852c0b4 update copyright notice 2013-01-04 23:45:39 +00:00
Tinderbox User
6eb978fd90 newcopyrights 2013-01-04 23:30:14 +00:00
Mark Andrews
87c78fb797 make static 2013-01-05 00:33:00 +11:00
Mark Andrews
4fd8da63c7 silence compiler warning 2013-01-04 15:57:39 +11:00
Evan Hunt
36a7b9010c [v9_9] show signzone errors in pkcs11 test 2013-01-03 19:55:57 -08:00
Evan Hunt
b5a31ca5c8 [v9_9] add print.h 2013-01-03 18:23:36 -08:00
Mark Andrews
12eb761551 Merge remote-tracking branch 'refs/remotes/origin/v9_9' into v9_9 2013-01-04 12:30:00 +11:00
Tinderbox User
4517d14723 regen v9_9 2013-01-04 01:13:53 +00:00
Tinderbox User
c53da0f5d9 Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2013-01-04 01:10:43 +00:00
Mark Andrews
615f53a513 3445. [bug] Warn about zone files with blank owner names
immediately after $ORIGIN directives. [RT #31848]
2013-01-04 11:23:18 +11:00
Mark Andrews
41f61b8bcf 3449. [bug] gen.c: use the pre-processor to construct format
strings so that compiler can perform sanity checks;
                        check the snprintf results. [RT #17576]
2013-01-04 11:08:26 +11:00
Evan Hunt
8d9207a17b [v9_9] allow-query-on works now
3448.	[bug]		The allow-query-on ACL was not processed correctly.
			[RT #29486]
(cherry picked from commit 222d38735f)
2013-01-03 15:14:17 -08:00
Tinderbox User
2f3c68c2c3 update copyright notice 2013-01-02 23:45:35 +00:00
Tinderbox User
0c2ca2cf8e newcopyrights 2013-01-02 23:30:06 +00:00
Tinderbox User
7f6d740569 update copyright notice 2013-01-01 23:45:36 +00:00
Tinderbox User
18400e0217 newcopyrights 2013-01-01 23:30:05 +00:00
Mark Andrews
607813c1ed 3447. [port] Add support for libxml2-2.9.x [RT #32231] 2013-01-01 23:14:30 +00:00
Mark Andrews
fe2fb706d7 remove extranous rdata in nxrrset call as it is not ingnored in Net::DNS 0.70 2012-12-21 14:16:30 +11:00
Mark Andrews
14c07236e3 sign_tcp_continuation doesn't work with the newer versions of
Net:DNS.  Code has been submitted so we don't need to use
the sign_tcp_continuation hack in future.
2012-12-21 13:01:40 +11:00
Tinderbox User
9ed297d517 update copyright notice 2012-12-20 23:45:35 +00:00
Evan Hunt
da54871ef3 [v9_9] remove unnecessary memcpy 2012-12-20 10:34:08 -08:00
Mark Andrews
86a4a21099 TSIG no longer has a mac_size method; arcount no longer need to be adjusted 2012-12-21 00:31:09 +11:00
Mark Andrews
bda7dde8ce update 2012-12-20 11:56:34 +11:00
Mark Andrews
c0f4b52463 remove setup_master call; only need in 9.10 onwards 2012-12-19 15:10:46 +11:00
Mark Andrews
f715d378ec adjust test to account for blank owner after origin now being rejected 2012-12-19 14:37:49 +11:00
Mark Andrews
7dd7a7e2b3 -H not -i sets iterations 2012-12-19 14:18:30 +11:00
Mark Andrews
f6c137380b remove redundant $ORIGINs 2012-12-19 13:34:49 +11:00
Mark Andrews
ddd2da6c49 silence signed/unsigned warning; rename log -> fctx_log 2012-12-19 12:40:45 +11:00
Evan Hunt
43d1c03ee3 [v9_9] include SRCID in windows builds
3446.	[port]		win32: Add source ID (see change #3400) to build.
			[RT #31683]
(cherry picked from commit 2dd959aa18)
2012-12-18 16:30:50 -08:00
Evan Hunt
ce35e5cf0b [v9_9] reject $ORIGIN before inherited name
3445.	[bug]		Reject zone files with blank owner names immediately
			after $ORIGIN directives. [RT #31848]
(cherry picked from commit 3ad3e9c948)
2012-12-18 16:18:48 -08:00
Tinderbox User
efbd480608 update copyright notice 2012-12-18 23:45:35 +00:00
Mark Andrews
de2b81b355 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9
Conflicts:
	CHANGES
2012-12-19 10:36:23 +11:00
Mark Andrews
48f72b811d 3443. [bug] The NOQNAME proof was not being returned from cached
insecure responses. [RT #21409]

Conflicts:
	bin/tests/system/conf.sh.in
	lib/dns/include/dns/types.h
2012-12-19 10:06:24 +11:00
Evan Hunt
dbd8db67e6 [v9_9] support all algorithms in ddns-confgen
3443.	[bug]		ddns-confgen: Some TSIG algorithms were incorrectly
			rejected when generating keys. [RT #31927]
(cherry picked from commit 53402b52b6)
2012-12-18 15:00:33 -08:00
Mark Andrews
5a6a1f065f 3442. [port] Net::DNS 0.69 introduced a non backwards compatible
change. [RT #32216]
2012-12-19 08:48:43 +11:00
Mark Andrews
92b7330308 Net::DNS 0.{70,71} doesn't force the TTL to zero for yxrrset, nxrrset and rr_del 2012-12-18 11:44:30 +11:00
Tinderbox User
42e74fcad3 update copyright notice 2012-12-14 23:45:37 +00:00
Tinderbox User
7686eed9f4 newcopyrights 2012-12-14 23:30:09 +00:00
Mark Andrews
c2fede6e9e don't wipe out named.run when restarting 2012-12-14 17:48:40 +11:00
Mark Andrews
be0a09cac4 3441. [maint] D.ROOT-SERVERS.NET is now 199.7.91.13. 2012-12-14 12:48:51 +11:00
Mark Andrews
3a1d39aa57 3440. [bug] Reorder get_key_struct to not trigger a assertion when
cleaning up due to out of memory error. [RT #32131]
2012-12-13 11:19:00 +11:00
Tinderbox User
c605f4c5b8 newcopyrights 2012-12-11 23:30:09 +00:00
Mark Andrews
41bf47ae28 3439. [bug] contrib/dlz error checking fixes. [RT #32102] 2012-12-11 12:37:57 +11:00
Mark Andrews
09b906e5d1 throw fatal error on realloc failure 2012-12-10 10:17:14 +11:00
Mark Andrews
8cbf15838e silence clang --analyzer warnin by checking rdata.length 2012-12-10 08:23:47 +11:00
Tinderbox User
1a963ae410 update copyright notice 2012-12-08 23:45:39 +00:00
Tinderbox User
a745bd8436 newcopyrights 2012-12-08 23:30:10 +00:00
Mark Andrews
8240f0936e RETTOK -> RETERR 2012-12-09 07:46:10 +11:00
Mark Andrews
b26bf237b3 isc_buffer_init -> isc_buffer_constinit 2012-12-09 07:15:16 +11:00
Mark Andrews
d1c0d0ac30 DIG -> $DIG 2012-12-08 15:34:45 +11:00
Mark Andrews
913043e5b0 3438. [bug] Don't accept unknown data escape in quotes. [RT #32031]
Squashed commit of the following:

commit 7ad3daade513c94a1c92ee7c91c112f161d13ef4
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 15:03:44 2012 +1100

    look at the second token to determine if a TXT record in of unknown format or not

commit 7df32138462646f6aee84ffa56d02ac24ec8d672
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 12:42:18 2012 +1100

    '"\#"' was incorrectly being treated as a unknown data escape sequence.
2012-12-08 14:06:41 +11:00
Mark Andrews
037445e774 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:51:42 +11:00
Tinderbox User
a0e58a0d3b update copyright notice 2012-12-07 23:45:36 +00:00
Tinderbox User
29823154c7 newcopyrights 2012-12-07 23:30:09 +00:00
Evan Hunt
4cb23d01dc [v9_9] check malloc/calloc return values
3436.	[bug]		Check malloc/calloc return values. [RT #32088]
(cherry picked from commit 45f3693294)
2012-12-07 12:24:31 -08:00
Mark Andrews
e46f3b9a83 3435. [bug] Cross compilation support in configure was broken.
[RT #32078]

Squashed commit of the following:

commit 9c67d7a52346dffeb7609f08d3aaa8a8689d8094
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:31:50 2012 +1100

    regen

commit 4c1874dd3a98ea8e50b0860b107bd2deb8550af0
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:31:10 2012 +1100

    improve cross compile support; tidy --help output

commit 15ba411a728cc35c904804935477b15c8a65ebbd
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:28:46 2012 +1100

    add util/xc

commit 165bc538fa6590752d7006348285a3ba48713498
Author: Mark Andrews <marka@isc.org>
Date:   Fri Dec 7 13:27:35 2012 +1100

    test cross compiler

Conflicts:
	CHANGES
	configure
2012-12-07 16:31:51 +11:00
Tinderbox User
6e73690006 update copyright notice 2012-12-06 23:45:33 +00:00
Tinderbox User
a3a822e1ff newcopyrights 2012-12-06 23:30:08 +00:00
Evan Hunt
7bf14f04e1 [v9_9] support all algorithms in ddns-confgen
3431.	[bug]		ddns-confgen: Some valid key algorithms were
			not accepted. [RT #31927]
(cherry picked from commit de5890da9b)
2012-12-05 16:37:42 -08:00
Mark Andrews
bd70ec1972 silence clang --analyser false positive 2012-12-05 11:43:35 +11:00
Mark Andrews
a5d543a9ca 3430. [bug] win32: isc_time_formatISO8601 was missing the
'T' between the date and time. [RT #32044]
2012-12-04 15:00:37 +11:00
Mark Andrews
220805f781 loop 'I:checking expired signatures were updated' test 2012-12-03 09:30:58 +11:00
Mark Andrews
696dda882c treat clang 3.x and 4.x as independent release streams 2012-12-03 09:10:26 +11:00
Mark Andrews
dfe6fe301e workaround only needed for clang 3.1 2012-12-03 07:58:59 +11:00
Mark Andrews
da5c741e52 silence compiler warnings 2012-12-01 21:34:07 +11:00
Mark Andrews
9b7450f82a silence clang --analyze warning 2012-12-01 09:20:00 +11:00
Mark Andrews
2e1185e19e signed/unsigned comparision 2012-11-30 23:36:45 +11:00
Mark Andrews
e8a622d76a silence clang --analyze warnings 2012-11-30 18:51:22 +11:00
Mark Andrews
fa9543b557 conditionally silence false positives from clang --analyze 2012-11-30 16:19:21 +11:00
Mark Andrews
102984af01 regen 2012-11-30 12:31:30 +11:00
Tinderbox User
91cf232efe regen v9_9 2012-11-30 01:27:38 +00:00
Mark Andrews
630673bb75 add /opt/local/share/xsl/docbook-xsl to list of locations to look for docbook files 2012-11-30 12:23:02 +11:00
Mark Andrews
0eac80bf98 3429. [bug] dns_zone_getserial2 could a return success without
returning a valid serial. [RT #32007]

Squashed commit of the following:

commit 0057f4b6e843c3998b987dbc7f32ceeee8afc150
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 30 08:13:15 2012 +1100

    zone_get_from_db could return success without setting return valuses; serial is only valid if soacount is none zero
2012-11-30 11:40:20 +11:00
Tinderbox User
446411e38c update copyright notice 2012-11-29 23:45:37 +00:00
Jeremy C. Reed
1f1c4a9f29 Remove link to AUSCERT article about ACLs. It has been broken
for at least 6 years.
See ticket #16479 for details.
No CHANGES entry added.
This was not reviewed. It is minor.
2012-11-30 10:40:16 +11:00
Tinderbox User
240a542d6f newcopyrights 2012-11-29 23:30:07 +00:00
Evan Hunt
df9aeb663d [v9_9] add timezone to dig
3428.	[cleanup]	dig: Add timezone to date output. [RT #2269]
(cherry picked from commit 706219e547)
2012-11-29 09:08:14 -08:00
Mark Andrews
4fae8d20fc use consistent type in sizeof and ultimate type cast 2012-11-30 00:58:35 +11:00
Mark Andrews
7858fff018 null pointer derefernce on out of memory 2012-11-30 00:58:32 +11:00
Mark Andrews
d6c2d961ea initialize the octet string to empty so that we don't free garbage on error 2012-11-29 18:12:25 +11:00
Evan Hunt
90dbd7c2e0 [v9_9] fix dig +trace output
3427.	[bug]		dig +trace incorrectly displayed name server
			addresses instead of names. [RT #31641]
(cherry picked from commit 2f21adbc6a)
2012-11-28 19:06:16 -08:00
Tinderbox User
4c3f5e0ee3 regen v9_9 2012-11-29 01:15:55 +00:00
Mark Andrews
19973b9437 remove no longer existant files 2012-11-29 11:15:11 +11:00
Tinderbox User
24c4fca4f4 update copyright notice 2012-11-28 23:45:31 +00:00
Tinderbox User
28bd23ab8a newcopyrights 2012-11-28 23:30:14 +00:00
Mark Andrews
4f456295d1 add -U 4 2012-11-29 08:13:09 +11:00
Evan Hunt
71d99e04c4 [v9_9] s/size spec/size_spec/ 2012-11-27 22:48:07 -08:00
Mark Andrews
575ffb4c6d update libtool support to version 2.4.2 2012-11-28 04:45:32 +00:00
Evan Hunt
d61af338f3 [v9_9] remove libgen.h from dnssec tools
we no longer use basename() or dirname()
2012-11-27 19:49:29 -08:00
Mark Andrews
d48fe321fc adjust looping threshold from 10 to 15 2012-11-28 12:06:21 +11:00
Evan Hunt
19f149261d [v9_9] correct checkds test
(cherry picked from commit 8f9a5ae817)
2012-11-27 15:04:18 -08:00
Evan Hunt
6f579fd177 [v9_9] clarify dnssec-checkds output
3426.	[bug]		dnssec-checkds: Clearer output when records are not
			found. [RT #31968]
(cherry picked from commit 4d077be135)
2012-11-27 14:53:13 -08:00
Mark Andrews
db899cbc4d 3425. [bug] "acacheentry" reference counting was broken resulting
in use after free. [RT #31908]
2012-11-27 16:04:09 +11:00
Mark Andrews
3882eec38e 3424. [func] dnssec-dsfromkey now emits the hash without spaces.
[RT #31951]

Squashed commit of the following:

commit 7369da0369e1de1fe6c5b5f84df8848b9a0984eb
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 23 17:24:04 2012 +1100

    dupped/created reversed in log message

commit 0cef5faaf3ac22b00ed0f95b6bb7a146cf4cac15
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 23 13:40:14 2012 +1100

    remove space from DS hash
2012-11-27 14:23:03 +11:00
Mark Andrews
e2778b5ceb limit the number of udp dispatches when testing to 4 2012-11-26 22:12:22 +11:00
Mark Andrews
6dc5009a7c address dnssec-checkds man page issues 2012-11-26 09:45:03 +11:00
Mark Andrews
e50f5f3add dupped/created reversed in log message 2012-11-23 17:25:44 +11:00
Mark Andrews
1a0e8c187d turn off copyright updating on bin/named/bind9.ver3.xsl.h 2012-11-23 10:59:07 +11:00
Tinderbox User
bb9d319faa update copyright notice 2012-11-21 23:45:32 +00:00
Tinderbox User
a1ff83df1c newcopyrights 2012-11-21 23:30:09 +00:00
Mark Andrews
8d9837d2e5 3423. [bug] "rndc signing -nsec3param" didn't accept the full
range of possible values.  Address portability issues.
                        [RT #31938]

Squashed commit of the following:

commit cdc417909d514903363796085ab3114ef24b7e30
Author: Mark Andrews <marka@isc.org>
Date:   Thu Nov 22 10:06:01 2012 +1100

    address hpux sscanf issues, iterations is a 16 bit field, use %hu rather than %hhd as the values are unsigned

Conflicts:
	bin/named/server.c
2012-11-22 10:16:26 +11:00
ckb
1e8bf19d9a 3422. [bug] Added a clear error message for when the SOA does not
match the referral. [RT #31281]
2012-11-21 16:50:38 -06:00
Mark Andrews
38cd7a1f5d 3421. [bug] Named loops when re-signing if all keys are offline.
[RT #31916]

Squashed commit of the following:

commit f47af0ca6793687b9c8d08fd44b0c091ba5a4f9a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 21 17:45:21 2012 +1100

    dns_dns_zonediff_t -> dns_zonediff_t, clarify comment

commit 344edefc3ee90856a7ff990abe7971925ba843b2
Author: Mark Andrews <marka@isc.org>
Date:   Tue Nov 20 13:12:26 2012 +1100

    commit the zone changes if a keep was marked as being offline

commit cad2c2446ebfc20b6d8c4f6dd0d6596d7106cc0f
Author: Mark Andrews <marka@isc.org>
Date:   Tue Nov 20 13:08:29 2012 +1100

    check for looping when re-signing expiring.example
2012-11-21 17:49:19 +11:00
Evan Hunt
7589a7b2e0 [v9_9] work around libtool issue
- revert d3617e0d87
- use -Xcompiler option to libtool so it won't suppress -shared
- regenerate configure
2012-11-20 03:40:07 +00:00
Mark Andrews
d3617e0d87 take libtool out of the picture when generating driver.so 2012-11-18 17:25:23 -08:00
Tinderbox User
59d93a22f1 newcopyrights 2012-11-17 23:30:04 +00:00
Mark Andrews
5545d8a702 HPUX doesn't support 128 threads 2012-11-18 00:37:42 +11:00
Mark Andrews
e8bb6cd101 force integer output 2012-11-17 23:59:32 +11:00
Mar Andrews
29813a0f2b 3420. [bug] Address VPATH compilation issues. [RT #31879] 2012-11-17 11:06:23 +00:00
Mark Andrews
22828645cc update 2012-11-16 10:33:33 +11:00
Mark Andrews
dad1cea308 silence compiler warning 2012-11-16 07:44:47 +11:00
Mark Andrews
a5b60a166b link against @DNS_CRYPTO_LIBS@ 2012-11-15 12:41:23 +11:00
Mark Andrews
08ed0f97a1 3419. [bug] Memory leak on validation cancel. [RT #31869]
Squashed commit of the following:

commit 452b07ec7cb31784d90d9c2e45ca708df306302e
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 14 23:36:36 2012 +1100

    destroy fetch when canceling validator
2012-11-15 11:18:08 +11:00
Tinderbox User
4bab13d5eb update copyright notice 2012-11-14 23:45:30 +00:00
Mark Andrews
64dcf8dbce Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-11-14 23:34:24 +00:00
Mark Andrews
e4e8ae9086 complete the libtoolize 2012-11-14 23:33:59 +00:00
Tinderbox User
f45e98c7a6 newcopyrights 2012-11-14 23:30:08 +00:00
Evan Hunt
4f0d12c425 [v9_9] corrected stats merge error 2012-11-14 13:44:12 -08:00
Evan Hunt
ab07e0bd1b [v9_9] minor cleanup 2012-11-14 13:35:54 -08:00
ckb
92dec9531f [v9_9]
fixed ifdef merge issues
2012-11-14 15:22:31 -06:00
Tinderbox User
d1723febd4 regen 2012-11-14 20:55:21 +00:00
ckb
9536448786 3417. [func] Optional new XML schema (version 3.0) for the
statistics channel adds query type statistics at the
			zone level, and flattens the XML tree and uses
			compressed format to optimize parsing. Includes new XSL
			that permits charting via the Google Charts API on
			browsers that support javascript in XSL.  To enable,
			build with "configure --enable-newstats". [RT #30023]
2012-11-14 14:48:01 -06:00
Tinderbox User
706ed23d96 update copyright notice 2012-11-13 23:45:30 +00:00
Tinderbox User
6a5070f661 newcopyrights 2012-11-13 23:30:03 +00:00
Mark Andrews
ebf3091999 3416. [bug] Named could die on shutdown if running with 128 UDP
dispatches per interface. [RT #31743]

Squashed commit of the following:

commit 1a97c755f8496f65024af0f634c1acf59a0a4252
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 7 07:14:36 2012 +1100

    add regression test for RT31743

commit 7b16b5f77fad39478168aac25742823f2fcd825b
Author: Mark Andrews <marka@isc.org>
Date:   Fri Nov 2 23:57:24 2012 +1100

    array bounds error when shutting down interface
2012-11-14 07:48:35 +11:00
Mark Andrews
acfe8e50b9 Redo
3415.   [bug]           named could die with a REQUIRE failure if a valdation
                        was canceled. [RT #31804]
2012-11-14 07:43:42 +11:00
Mark Andrews
78c365c71d spelling 2012-11-09 09:31:01 +11:00
Mark Andrews
ee8323e489 3415. [bug] named could die with a REQUIRE failure id a valdation
was canceled. [RT #31804]

Squashed commit of the following:

commit d414d3cb4244daeca4159ac1f8a82322e4a20e5a
Author: Mark Andrews <marka@isc.org>
Date:   Wed Nov 7 14:19:28 2012 +1100

    check that val->fetch != NULL before calling dns_resolver_destroyfetch
2012-11-09 09:11:50 +11:00
Mark Andrews
eb30a4f663 use stop.pl to ensure old server is fully shutdown before starting new server 2012-11-08 07:38:34 +11:00
Jeremy C. Reed
f701199ce4 [master] fix spelling
Noticed one while reading during Alan's training today.
Fixed two other misspellings while here.

Conflicts:
	doc/arm/Bv9ARM-book.xml
2012-11-07 09:04:48 +11:00
Mark Andrews
afd445b02b add missing ARPANAME definition 2012-11-06 15:29:43 +11:00
Mark Andrews
d6ba9d2c64 spelling 2012-11-02 11:19:49 +11:00
Mark Andrews
87964200c7 3414. [bug] Address locking issues found by Coverity. [RT #31626] 2012-11-02 06:42:55 +11:00
Mark Andrews
f533578084 sock is potentially unused in use_min_mtu 2012-11-01 15:28:17 +11:00
Mark Andrews
ae2006beed uninitalised use 2012-11-01 13:53:45 +11:00
Mark Andrews
5ef4f01ca0 3412. [bug] Copy timeval structure from control message data.
[RT #31548]
2012-11-01 11:17:27 +11:00
Tinderbox User
895c5d9706 update copyright notice 2012-10-31 23:45:35 +00:00
Mark Andrews
81afe29e5a More coverity fixes:
3410.   [bug]           Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit 6fec07bbb69ead784063052f2099674f8b52c6b3
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 18:14:35 2012 +1100

    use strl{cat,cpy}

commit 19a5d3766f3dbc8a2944b21640a8226a89aae7ba
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 14:38:55 2012 +1100

    address unchecked xmlTextWriter* calls

Conflicts:
	bin/named/statschannel.c
	lib/dns/cache.c
	lib/dns/include/dns/cache.h
	lib/isc/task.c
2012-11-01 10:27:12 +11:00
Mark Andrews
63dbbc9c49 3411. [tuning] Use IPV6_USE_MIN_MTU or equivalent with TCP in addition to UDP. [RT #31690]
Squashed commit of the following:

commit bcbe9ae7a99e1f7f4236a22739a793b51ace8684
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 31 15:10:53 2012 +1100

    Use IPV6_USE_MIN_MTU for TCP as well as UDP
2012-11-01 08:43:31 +11:00
Mark Andrews
25af78f4c6 spelling, whitespace 2012-10-31 07:44:20 +11:00
Evan Hunt
c15fa3fe47 [v9_9] fix changes note
(cherry picked from commit a8ef22d88e)
2012-10-30 09:58:36 -07:00
Mark Andrews
8cd1aff4da more: 3410. [bug] Addressed Coverity warnings. [RT #31626]
move set_refreshkeytimer call within loop so that keydata is valid.
2012-10-30 13:09:39 +11:00
Mark Andrews
42db996b7c More for: 3410. [bug] Addressed Coverity warnings. [RT #31626
Squashed commit of the following:

commit d94f5463f508773a7b027230cd81b61cf8c9cfce
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 11:52:32 2012 +1100

    <string.h> -> <isc/string.h>

commit d707d6fb739c6e6df90a864141b418a13d3bccc8
Author: Mark Andrews <marka@isc.org>
Date:   Tue Oct 30 11:48:20 2012 +1100

    address coverity warnings
2012-10-30 12:02:27 +11:00
Tinderbox User
23a532909a update copyright notice 2012-10-29 23:45:38 +00:00
Tinderbox User
ba1a3b7539 newcopyrights 2012-10-29 23:30:16 +00:00
Tinderbox User
58c2b422f0 regenerate 2012-10-29 23:01:48 +00:00
Evan Hunt
b55657ca05 [v9_9] suppress dlopen on sunos 4
(cherry picked from commit 6f6b1abb10)
2012-10-29 15:57:31 -07:00
Mark Andrews
de65593c03 <sys/errno.h> -> <errno.h> 2012-10-30 09:24:06 +11:00
Mark Andrews
98560539e4 check more dns_rdata_tostruct returns 2012-10-30 08:50:33 +11:00
Mark Andrews
2cbabb24b6 3410. [bug] Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:

commit bce2efe66d69d60b746b85df49974ca341723169
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:59:25 2012 +1100

    use 'static dns_rdata_xxxx_t xxxx'

commit 704d3c29acbf2dd350a26f2df82a57cb077ba72e
Author: Mark Andrews <marka@isc.org>
Date:   Mon Oct 29 12:35:16 2012 +1100

    return ISC_R_NOTFOUND if private record length does not make sense

commit 7596610c12c5685336fc0909860173d2fae359af
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:41:17 2012 +1100

    check private->length == 5

commit 3836365a3e3e83b057bd940350f032279e080296
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:40:50 2012 +1100

    properly set private->length

commit a295778ac53109d39ef3a8b233751100edae678b
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:13:30 2012 +1100

    check dns_rdata_tostruct result

commit e33c37ca9112159e0b2363615bb018d27fa7d1a5
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 21:10:43 2012 +1100

    check remove/fopen/chmod return values

commit 3a675e0666aae25d1c51f51ec7bd3fbe25545aae
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:59:10 2012 +1100

    check isc_socket_accept result

commit 696923344f4b07ce0dba4cf2675b1cbb6eba7e8e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:55:40 2012 +1100

    change variable scopes

commit b9e9d9ad58270271003e463f10744e0ceaf9ad97
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:53:19 2012 +1100

    check inet_pton return value

commit 70698e9589da77e3745efb6ea24b8830addd6ae4
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:40 2012 +1100

    break -> /* NOTREACHED */

commit 88de9de2e8e201ab2fef16a868f241e8206ea826
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:52:06 2012 +1100

    strcpy -> strlcpy

commit 6ba79c7cec0e48014cdfa76e8a9406b7a921556e
Author: Mark Andrews <marka@isc.org>
Date:   Sat Oct 27 20:51:26 2012 +1100

    check dns_rdata_tostruct return values
2012-10-29 20:05:44 +11:00
Mark Andrews
d01d0e2b6f extract repo from --remote 2012-10-29 02:56:27 +00:00
Tinderbox User
f228aa3ee1 newcopyrights 2012-10-28 23:30:17 +00:00
Evan Hunt
edcc1e4386 [v9_9] contrib/dane/mkdane.sh
3409.	[contrib]	contrib/dane/mkdane.sh: Tool to generate TLSA RR's
			from X.509 certificates, for use with DANE
			(DNS-based Authentication of Named Entities).
			[RT #30513]
(cherry picked from commit e7dfefe19d)
2012-10-27 20:47:17 -07:00
Tinderbox User
90f33d8979 update copyright notice 2012-10-27 23:46:27 +00:00
Tinderbox User
8e5125ba21 newcopyrights 2012-10-27 23:30:07 +00:00
Mark Andrews
a2d4079a50 remove duplicate ruleset 2012-10-27 16:46:53 +11:00
Evan Hunt
96d69f8236 [v9_9] update copyrights 2012-10-26 16:53:00 -07:00
Tinderbox User
4b043520d6 update copyright notice 2012-10-26 23:45:36 +00:00
Evan Hunt
d708e4c4f1 [v9_9] allow dnssec options in inline-signing slaves
3408.	[bug]		Some DNSSEC-related options (update-check-ksk,
			dnssec-loadkeys-interval, dnssec-dnskey-kskonly)
			are now legal in slave zones as long as
			inline-signing is in use. [RT #31078]
(cherry picked from commit f46168b879)
2012-10-26 16:15:48 -07: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
Evan Hunt
76e34eb2fd [v9_9] address mem.c compilation problems
3406.	[bug]		mem.c: Fix compilation errors when building with
			ISC_MEM_TRACKLINES or ISC_MEMPOOL_NAMES disabled.
                        Also, ISC_MEM_DEBUG is no longer optional. [RT #31559]
(cherry picked from commit 2f57f353e8)
2012-10-25 18:57:44 -07:00
Evan Hunt
ea6aa47f47 [v9_9] note RPZ performance issues in ARM 2012-10-25 18:06:45 -07:00
Tinderbox User
06187c0d67 update copyright notice 2012-10-25 23:46:42 +00:00
Tinderbox User
0864986057 newcopyrights 2012-10-25 23:30:14 +00:00
Evan Hunt
2ba4321d17 [v9_9] Fix typo (repeated word) 2012-10-25 13:31:58 -07:00
Evan Hunt
77c9c35975 [v9_9] fix ulink typo 2012-10-25 09:21:32 -07:00
Mark Andrews
069ea15204 3405. [bug] Handle time going backwards in acache. [RT #31253]
Squashed commit of the following:

commit fbf4c8fe2644c101bac870360d3f2c159a90f203
Author: Mark Andrews <marka@isc.org>
Date:   Wed Oct 24 14:43:14 2012 +1100

    remove INSIST and handle time going backwards
2012-10-25 14:29:52 +11:00
Evan Hunt
fba2f76af0 Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-10-24 18:04:36 -07:00
Tinderbox User
c78ae4c91b update copyright notice 2012-10-24 23:46:36 +00:00
Tinderbox User
cb2c60de64 newcopyrights 2012-10-24 23:30:15 +00:00
Evan Hunt
d8861c4350 [v9_9] remove spurious signatures from glue
3404.	[bug]		dnssec-signzone: When re-signing a zone, remove
			RRSIG and NSEC records from nodes that used to be
			in-zone but are now below a zone cut. [RT #31556]
(cherry picked from commit 4b3d727d96)
2012-10-24 15:47:51 -07:00
Evan Hunt
4f5f450eb8 [v9_9] silence warning 2012-10-24 15:40:20 -07:00
Evan Hunt
40fce87384 [v9_9] silence unused variable warning 2012-10-24 15:36:22 -07:00
Evan Hunt
c06eae9b1b [v9_9] fix fedora 17 ecdsa compilation problem
(cherry picked from commit c241017dcd)
2012-10-24 13:57:10 -07:00
Evan Hunt
3ee2049149 [v9_9] fix CHANGES error 2012-10-24 13:20:09 -07:00
Evan Hunt
152c393671 [v9_9] silence noisy OpenSSL logging
3402.	[bug]		Correct interface numbers for IPv4 and IPv6 interfaces.
(cherry picked from commit 0e37e9e3d7)
2012-10-24 13:00:06 -07:00
ckb
02ff45acbd 3402. [bug] Correct interface numbers for IPv4 and IPv6 interfaces.
[RT #25085]
2012-10-24 14:51:06 -05:00
Evan Hunt
2589af5868 [v9_9] silence coverity warnings
3401.	[bug]		Addressed Coverity warnings. [RT #31484]
(cherry picked from commit 47c5b8af92)
2012-10-23 22:12:15 -07:00
Tinderbox User
b5f3efc5ff update copyright notice 2012-10-22 23:45:47 +00:00
Tinderbox User
1555a7513b newcopyrights 2012-10-22 23:30:06 +00:00
Evan Hunt
2cba6a203b add CHANGES 2012-10-22 13:20:07 -07:00
Tinderbox User
86bb84f3c8 regen 2012-10-22 20:03:22 +00:00
Evan Hunt
1a985af1b0 [rt31494] add gitID to kit.sh generated tarballs 2012-10-22 12:57:33 -07:00
Mark Andrews
e0bf9e9788 3399. [port] netbsd: rename 'bool' parameter to avoid namespace
clash.  [RT #31515]
2012-10-22 11:42:58 +11:00
Tinderbox User
811dfe79ce update copyright notice 2012-10-19 23:45:42 +00:00
Tinderbox User
93e3551b29 newcopyrights 2012-10-19 23:30:12 +00:00
Tinderbox User
6a5bc42d31 update SRCID 2012-10-19 06:16:40 +00:00
Mark Andrews
9aad7a6dd0 remove redundant UNUSED(callbacks) 2012-10-19 16:29:34 +11:00
Tinderbox User
7f05f289a7 update SRCID 2012-10-19 00:16:23 +00:00
Tinderbox User
9791c6c91a update copyright notice 2012-10-18 23:45:54 +00:00
Tinderbox User
0d4b748566 newcopyrights 2012-10-18 23:30:14 +00:00
Mark Andrews
74dec1b138 3398. [bug] SOA parameters were not being updated with inline
signed zones if the zone was modified while the
                        server was offline. [RT #29272]
2012-10-19 10:25:51 +11:00
Tinderbox User
b2d09f2ad6 update SRCID 2012-10-18 23:15:59 +00:00
ckb
5e8b36cea2 3397. [bug] dig crashed when using +nssearch with +tcp. [RT #25298] 2012-10-18 17:53:08 -05:00
Tinderbox User
cfe624271f update SRCID 2012-10-18 03:16:47 +00:00
Mark Andrews
1a8c058882 3396. [bug] OPT records were incorrectly removed from signed,
truncated responses. [RT #31439]
2012-10-18 13:26:55 +11:00
Tinderbox User
6560be735c update SRCID 2012-10-17 02:15:51 +00:00
Mark Andrews
db93abcc96 missing space before other len after change #3389 2012-10-17 12:50:09 +11:00
Tinderbox User
965e588aa6 update SRCID 2012-10-17 00:16:13 +00:00
Tinderbox User
c7aa9fb238 update copyright notice 2012-10-16 23:46:00 +00:00
Tinderbox User
3adc731a36 newcopyrights 2012-10-16 23:30:11 +00:00
Tinderbox User
d2bda8ce5b update SRCID 2012-10-16 02:15:51 +00:00
Mark Andrews
a6d4848f6e 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:35:28 +11:00
Tinderbox User
e6c4bae617 update SRCID 2012-10-16 01:16:09 +00:00
Mark Andrews
a9ed19a031 3394. [bug] Adjust 'sucessfully validated after lower casing
signer' log level and category. [RT #31414]
2012-10-16 11:56:28 +11:00
Tinderbox User
91dbcb24f5 update SRCID 2012-10-16 00:17:10 +00:00
Mark Andrews
2429c8fc1e test for directory existance before calling find 2012-10-16 10:56:30 +11:00
Mark Andrews
02af9598a1 3393. [bug] 'host -C' could core dump if REFUSED was received.
[RT #31381]
2012-10-16 10:43:54 +11:00
Tinderbox User
f2af6254c6 update SRCID 2012-10-12 11:16:44 +00:00
Mark Andrews
68c0cbfba6 remove redundent call 2012-10-12 21:57:53 +11:00
Tinderbox User
b33d72084b update SRCID 2012-10-10 02:15:58 +00:00
Mark Andrews
89dbf43b16 fix typos in variable names 2012-10-10 13:11:28 +11:00
Tinderbox User
e72038f5cf update SRCID 2012-10-08 04:16:12 +00:00
Mark Andrews
120fecbf3d silence compiler warning 2012-10-08 14:30:31 +11:00
Tinderbox User
e46b8ba356 update SRCID 2012-10-07 01:15:47 +00:00
Mark Andrews
41a04a90b1 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-10-07 11:36:30 +11:00
Tinderbox User
81bd7a60d2 update SRCID 2012-10-07 00:16:23 +00:00
Tinderbox User
eb1ff61734 update copyright notice 2012-10-06 23:45:56 +00:00
Tinderbox User
793241c238 newcopyrights 2012-10-06 23:30:14 +00:00
Tinderbox User
1606b1c511 update SRCID 2012-10-06 08:16:03 +00:00
Mark Andrews
ccb37ef09d remove empty directories when cleaning 2012-10-06 17:27:28 +10:00
Mark Andrews
98c9951b29 update change description 2012-10-06 17:24:33 +10:00
Mark Andrews
e997748369 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-10-06 17:16:09 +10:00
Tinderbox User
e83e5887bc update SRCID 2012-10-06 05:17:55 +00:00
Mark Andrews
07dbb507d2 3391. [bug] DNSKEY that encountered a CNAME failed. [RT #31262] 2012-10-06 14:56:52 +10:00
Mark Andrews
bf6acccf9d 3390. [bug] Silence clang compiler warnings. [RT #30417] 2012-10-06 13:21:18 +10:00
Tinderbox User
c7fc5336d1 update SRCID 2012-10-04 21:16:40 +00:00
Mark Andrews
83e9695b45 3389. [bug] Always return NOERROR (not 0) in TSIG. [RT #31275] 2012-10-05 06:57:34 +10:00
Tinderbox User
346e3157a9 update SRCID 2012-10-04 00:16:23 +00:00
Tinderbox User
c82a4a383d update copyright notice 2012-10-03 23:46:00 +00:00
Tinderbox User
4c5b6c6bc1 newcopyrights 2012-10-03 23:30:13 +00:00
Tinderbox User
c271e0693e update SRCID 2012-10-03 22:15:41 +00:00
Mark Andrews
905ea6f37a Revert "include <isc/print.h> in gen.c"
This reverts commit eddcf7fe53.
2012-10-04 08:12:15 +10:00
Tinderbox User
f983ac39a8 update SRCID 2012-10-03 15:15:58 +00:00
Evan Hunt
eddcf7fe53 include <isc/print.h> in gen.c 2012-10-03 08:01:32 -07:00
Tinderbox User
1cc770e7eb update SRCID 2012-10-03 07:17:39 +00:00
Evan Hunt
8c18302d8b fix coverity issues
3388.	[bug]		Fixed several Coverity warnings. [RT #30996]
2012-10-02 23:46:15 -07:00
Tinderbox User
a5a7e9785a update SRCID 2012-10-03 00:16:36 +00:00
Mark Andrews
0b3d4e38ee white space; move pause to before comment. 2012-10-03 10:12:16 +10:00
Mark Andrews
66b0777516 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-10-03 10:08:00 +10:00
Tinderbox User
29dde050ee update copyright notice 2012-10-02 23:45:55 +00:00
Mark Andrews
fb038fe9a7 3386. [bug] Address locking violation when generating new NSEC /
NSEC3 chains. [RT #31224]
2012-10-03 09:03:17 +10:00
Tinderbox User
ead9b89f52 update SRCID 2012-10-02 04:16:09 +00:00
Mark Andrews
e745d9180d 3385. [bug] named-checkconf didn't detect missing master lists
in also-notify clauses. [RT #30810]
2012-10-02 13:08:48 +10:00
Tinderbox User
f70253e519 update SRCID 2012-09-29 02:15:47 +00:00
Evan Hunt
f4f2afcd1f silence warning 2012-09-28 18:47:23 -07:00
Tinderbox User
f341b06137 update SRCID 2012-09-29 00:16:05 +00:00
Tinderbox User
70ff717445 update copyright notice 2012-09-28 23:45:55 +00:00
Tinderbox User
14bb901ca4 update SRCID 2012-09-28 21:15:50 +00:00
Evan Hunt
533b036118 improve logging of ecdsa errors
3384.	[bug]		Improved logging of crypto errors. [RT #30963]
2012-09-28 13:47:39 -07:00
Tinderbox User
4d7891e250 update SRCID 2012-09-28 00:16:04 +00:00
Tinderbox User
c743d397ab update copyright notice 2012-09-27 23:45:54 +00:00
Tinderbox User
b0990e957a newcopyrights 2012-09-27 23:30:26 +00:00
Tinderbox User
1fceb09e1f update SRCID 2012-09-27 01:16:14 +00:00
Evan Hunt
084c1cc1da Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-09-26 17:37:09 -07:00
Evan Hunt
c3a7fe86e0 typo 2012-09-26 17:22:24 -07:00
Tinderbox User
062387e9a7 update SRCID 2012-09-27 00:16:20 +00:00
Evan Hunt
b1f4ed1c75 fixed an exploitable hang bug
3383.	[security]	A certain combinations of records in the RBT could
                        cause named to hang while populating the additional
                        section of a response. [RT #31090]
2012-09-26 17:11:37 -07:00
Evan Hunt
6f1dc65317 Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-09-26 17:11:07 -07:00
Tinderbox User
2b8d00bc5c update copyright notice 2012-09-26 23:46:00 +00:00
Tinderbox User
2df9a7f2f0 newcopyrights 2012-09-26 23:30:20 +00:00
Evan Hunt
b01ff9d7f1 use correct port range
3382.	[bug]		SOA query from slave used use-v6-udp-ports range,
			if set, regardless of the address family in use.
			[RT #24173]
2012-09-26 13:55:59 -07:00
Tinderbox User
4cc08cff96 update SRCID 2012-09-26 06:17:22 +00:00
Evan Hunt
6d957d82ba support more rrtypes in queryperf
3381.	[contrib]	Update queryperf to support more RR types.
			[RT #30762]
2012-09-25 22:54:51 -07:00
Mark Andrews
73de1e7285 3380. [bug] named could die if a non-existant master list was
referenced in a also-notify. [RT #31004]
2012-09-26 15:29:12 +10:00
Mark Andrews
8d1858b15c 3379. [bug] isc_interval_zero and isc_time_epoch should be
"const (type)* const". [RT #31069]
2012-09-26 15:00:59 +10:00
Tinderbox User
99504a7a05 update SRCID 2012-09-26 02:15:48 +00:00
Evan Hunt
eb785e9590 Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-09-25 18:32:01 -07:00
Evan Hunt
423cd0f181 handle nonexistent managed-keys-directory
3378.	[bug]		Handle missing 'managed-keys-directory' better.
			[RT #30625]
2012-09-25 18:28:04 -07:00
Tinderbox User
775e1f1508 update SRCID 2012-09-26 00:16:18 +00:00
Evan Hunt
2b58833f58 improve managed-keys-directory documentation 2012-09-25 16:33:27 -07:00
Tinderbox User
14b92348e7 update SRCID 2012-09-20 01:15:49 +00:00
Mark Andrews
9d0cc16c55 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-09-20 10:59:16 +10:00
Mark Andrews
b89988e395 copyright style 2012-09-20 10:46:25 +10:00
Tinderbox User
c2e81e151a update SRCID 2012-09-19 04:16:26 +00:00
Mark Andrews
6cbd61ae21 remove contrib/dbus/* 2012-09-19 14:01:25 +10:00
Tinderbox User
70e79503ba update SRCID 2012-09-18 22:15:54 +00:00
Evan Hunt
901cf734d9 contrib/dbus is deprecated 2012-09-18 14:55:53 -07:00
Evan Hunt
db18bf8bd6 remove spurious newline
3377.	[bug]		Removed spurious newline from NSEC3 multiline
			output. [RT #31044]
2012-09-18 14:23:13 -07:00
Tinderbox User
628b6f729b update SRCID 2012-09-18 05:18:11 +00:00
Mark Andrews
9442df8ec5 make tests less timing sensitive by spining 2012-09-18 14:50:27 +10:00
Tinderbox User
4240e5c78c update SRCID 2012-09-17 23:15:52 +00:00
Mark Andrews
157ba39f42 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-09-18 08:39:10 +10:00
Mark Andrews
70cff4eef9 add missing extern qualiers 2012-09-17 18:38:59 +10:00
Tinderbox User
94b9ba79e2 update SRCID 2012-09-15 00:16:12 +00:00
Tinderbox User
b16b87a32c newcopyrights 2012-09-14 23:30:34 +00:00
Tinderbox User
156ebe674c update SRCID 2012-09-14 01:16:00 +00:00
Mark Andrews
0588a6f624 3376. [bug] Lack of EDNS support was being recorded without a
successful response. [RT #30811]
2012-09-14 11:02:03 +10:00
Tinderbox User
c8c25a9a17 update SRCID 2012-09-14 00:16:27 +00:00
Mark Andrews
07d5381b90 3375. [func] Check that 'rndc dumpdb' works on a empty cache.
[RT #30808]
2012-09-14 09:42:38 +10:00
Tinderbox User
5703e73f1c update SRCID 2012-09-13 00:16:40 +00:00
Tinderbox User
54385ec02f update copyright notice 2012-09-12 23:46:00 +00:00
Tinderbox User
5749e83e7b newcopyrights 2012-09-12 23:30:25 +00:00
Tinderbox User
6871f93e1e update SRCID 2012-09-12 21:16:00 +00:00
ckb
c75ca48e73 3374. [bug] isc_parse_uint32 failed to return a range error on
systems with 64 bit longs [RT #30232]
2012-09-12 15:21:03 -05:00
Tinderbox User
ea31d343b0 update SRCID 2012-09-12 08:16:09 +00:00
Mark Andrews
5ffdd53520 use binary mode for raw/fast 2012-09-12 17:25:22 +10:00
Tinderbox User
2337530ee1 update SRCID 2012-09-12 06:16:44 +00:00
Mark Andrews
e10e4bd9db Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-09-12 15:36:27 +10:00
Mark Andrews
196c7eae15 turn binary mode on for raw/fast 2012-09-12 15:28:04 +10:00
Tinderbox User
4309cb4284 update SRCID 2012-09-12 04:16:39 +00:00
Mark Andrews
e143917932 O_BINARY -> _O_BINARY 2012-09-12 13:52:12 +10:00
Tinderbox User
a8aeacc5f5 update SRCID 2012-09-12 03:17:09 +00:00
Mark Andrews
963a424ac0 3373. [bug] win32: open raw files in binary mode. [RT #30944] 2012-09-12 12:01:19 +10:00
Tinderbox User
df570ecbcb update SRCID 2012-09-08 09:16:24 +00:00
Mark Andrews
bdbdd28db0 3372. [bug] Silence spurious "deleted from unreachable cache"
messages.  [RT #30501]
2012-09-08 17:59:53 +10:00
Tinderbox User
d02aadc6bf update SRCID 2012-08-31 02:16:04 +00:00
Mark Andrews
352c9f0750 3371. [bug] AD=1 should behave like DO=1 when deciding whether to
add NS RRsets to the additional section or not.
                        [RT #30479]
2012-08-31 11:25:04 +10:00
Tinderbox User
60bcfbc008 update SRCID 2012-08-30 04:16:41 +00:00
Mark Andrews
b147934583 don't call out to the internet when running test 2012-08-30 13:54:06 +10:00
Tinderbox User
b9e6221240 update SRCID 2012-08-24 07:16:29 +00:00
Tinderbox User
c8f3263eb8 update copyright notice 2012-08-24 07:03:20 +00:00
Mark Andrews
828f8fd198 update 2012-08-24 16:59:10 +10:00
Tinderbox User
a40ce9e88d update SRCID 2012-08-24 05:18:24 +00:00
Mark Andrews
6c4446f33e Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-08-24 14:20:50 +10:00
Mark Andrews
0bff1bfd9c 9.9.2 2012-08-24 14:20:25 +10:00
Tinderbox User
04e619b0f2 update SRCID 2012-08-24 04:16:35 +00:00
Mark Andrews
73a65bbaae add CVE list 2012-08-24 14:15:33 +10:00
Mark Andrews
0feb062f6e 3364. [security] Named could die on specially crafted record.
[RT #30416]
2012-08-24 13:28:22 +10:00
Tinderbox User
6994492739 update SRCID 2012-08-23 23:15:41 +00:00
Mark Andrews
841defeb9d Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-08-24 08:48:31 +10:00
Mark Andrews
9d8499b6e7 unsigned constants 2012-08-24 08:46:17 +10:00
Tinderbox User
8a44eed451 update SRCID 2012-08-23 22:15:49 +00:00
Mark Andrews
7ca24520f1 unsigned constants 2012-08-24 07:33:18 +10:00
Tinderbox User
4ff99a2647 update SRCID 2012-08-23 14:15:52 +00:00
Mark Andrews
799c467a90 v9_8_4rc2 2012-08-23 23:39:14 +10:00
Tinderbox User
44e27b35ff update SRCID 2012-08-23 08:16:42 +00:00
Mark Andrews
138f6b746b handle doc/arm/*.html 2012-08-23 17:55:05 +10:00
Mark Andrews
ce39e7ffb1 udate 2012-08-23 17:47:12 +10:00
Mark Andrews
f2ee37a978 udate 2012-08-23 17:38:53 +10:00
Tinderbox User
44dc05aff3 update copyright notice 2012-08-23 07:34:46 +00:00
Tinderbox User
5e27b4e563 newcopyrights 2012-08-23 07:33:46 +00:00
Mark Andrews
2892d470a4 9.9.2rc1 2012-08-23 17:32:06 +10:00
Tinderbox User
9f58f074e3 Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2012-08-23 07:30:48 +00:00
Tinderbox User
c0ec228368 9.9.2rc1 2012-08-23 07:29:38 +00:00
Tinderbox User
e185384c3a 9.9.2rc1 2012-08-23 07:29:08 +00:00
Tinderbox User
df70145b10 update SRCID 2012-08-23 00:16:36 +00:00
Mark Andrews
e81d697022 update 2012-08-23 09:57:43 +10:00
Tinderbox User
f96e5e8daa update SRCID 2012-08-22 10:16:12 +00:00
Mark Andrews
04c540e23b 3370. [bug] Address use after free while shutting down. [RT #30241] 2012-08-22 19:20:21 +10:00
Tinderbox User
f7ddad8002 update SRCID 2012-08-22 04:16:38 +00:00
Mark Andrews
4c7e6634f3 3379. [bug] nsupdate terminated unexpectedly in interactive mode
if built with readline support. [RT #29550]
2012-08-22 13:41:29 +10:00
Tinderbox User
947d52b769 update SRCID 2012-08-22 00:16:13 +00:00
Tinderbox User
c4e1abdd94 update copyright notice 2012-08-21 23:45:50 +00:00
Tinderbox User
3589d0264d newcopyrights 2012-08-21 23:30:19 +00:00
Tinderbox User
4dd50675c8 update SRCID 2012-08-21 19:15:57 +00:00
Evan Hunt
086d035482 spelling 2012-08-21 12:07:22 -07:00
Tinderbox User
48ce7ecc71 update SRCID 2012-08-21 07:16:53 +00:00
Mark Andrews
b4a152b6a8 3368. [bug] <dns/iptable.h>, <dns/private.h> and <dns/zone.h>
where not C++ safe.
2012-08-21 16:43:21 +10:00
Tinderbox User
8142e88aca update SRCID 2012-08-21 02:16:08 +00:00
Mark Andrews
046bfacea1 3367. [bug] dns_dnsseckey_create() result was not being checked.
[RT #30685]
2012-08-21 12:04:35 +10:00
Tinderbox User
957f1b2b19 update SRCID 2012-08-18 00:16:32 +00:00
Tinderbox User
8dc8b88957 update copyright notice 2012-08-17 23:45:52 +00:00
Tinderbox User
a879d1370e newcopyrights 2012-08-17 23:30:15 +00:00
Tinderbox User
990536d0a2 update SRCID 2012-08-17 18:16:01 +00:00
ckb
f2a86826ac 3366. [bug] Fixed Read-After-Write dependency violation for IA64
atomic operations. [RT #25181]
2012-08-17 13:08:59 -05:00
Tinderbox User
c255b03255 update SRCID 2012-08-17 04:16:33 +00:00
Mark Andrews
8ff87f025f we didn't catch a zero option at the global level when views are active 2012-08-17 13:40:56 +10:00
Tinderbox User
20ca18c234 update SRCID 2012-08-17 00:16:26 +00:00
Tinderbox User
a89c14bb62 update copyright notice 2012-08-16 23:45:54 +00:00
Tinderbox User
2e7a1b880a newcopyrights 2012-08-16 23:30:15 +00:00
Tinderbox User
4226679e69 update SRCID 2012-08-16 22:15:48 +00:00
Mark Andrews
ea2a538437 silence "t_names.c:130:7: warning: The left expression of the compound assignment is an uninitialized value. The computed value will also be garbage" 2012-08-17 07:22:52 +10:00
Tinderbox User
894fbfad00 update SRCID 2012-08-16 19:16:10 +00:00
Evan Hunt
7f30aa6ef2 remove spurious newlines in zone.c logging
3365.	[bug]		Removed spurious newlines from log messages in
			zone.c [RT #30675]
2012-08-16 10:42:07 -07:00
Tinderbox User
5f9735ffa6 update SRCID 2012-08-16 05:18:34 +00:00
Evan Hunt
1fd2826ccf specify libtool mode in DLZBDB makefile 2012-08-15 21:53:48 -07:00
Tinderbox User
6fcbd0ce6c update SRCID 2012-08-16 00:16:27 +00:00
Tinderbox User
2af002bbbd update copyright notice 2012-08-15 23:45:50 +00:00
Tinderbox User
d0d53de02f newcopyrights 2012-08-15 23:30:15 +00:00
Tinderbox User
d924f437bc update SRCID 2012-08-15 21:16:07 +00:00
Evan Hunt
45efb68977 allow "forward" and "forwarders" in static-stub
3363.	[bug]		Need to allow "forward" and "fowarders" options
			in static-stub zones; this had been overlooked.
			[RT #30482]
2012-08-15 13:08:42 -07:00
Tinderbox User
f460b061aa update SRCID 2012-08-15 01:16:00 +00:00
Tinderbox User
74e9abe28b regen v9_9 2012-08-15 01:10:39 +00:00
Tinderbox User
4fe7f8b08b update SRCID 2012-08-15 00:16:22 +00:00
Tinderbox User
6b6394a1c7 update copyright notice 2012-08-14 23:45:48 +00:00
Tinderbox User
dda465acf3 newcopyrights 2012-08-14 23:30:22 +00:00
Tinderbox User
cfeaa948b3 update SRCID 2012-08-14 06:16:09 +00:00
Evan Hunt
b2088c8595 properly range-check fields that do not allow 0
3362.	[bug]		Setting some option values to 0 in named.conf
			could trigger an assertion failure on startup.
			[RT #27730]
2012-08-13 22:40:35 -07:00
Evan Hunt
efc3ebed17 support '-' salt in rndc signing -nsec3param
3361.	[bug]		"rndc signing -nsec3param" didn't work correctly
			when salt was set to '-' (no salt). [RT #30099]
2012-08-13 22:25:16 -07:00
Tinderbox User
999480f5de update SRCID 2012-08-14 05:16:13 +00:00
Mark Andrews
b1ce613f95 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-08-14 14:34:05 +10:00
Mark Andrews
ec9d42ec19 test against unsigned zero 2012-08-14 14:31:09 +10:00
Tinderbox User
4dff2edbf0 update SRCID 2012-08-14 01:16:32 +00:00
Mark Andrews
622d9bbd61 3360. [bug] 'host -w' could die. [RT #18723] 2012-08-14 11:06:52 +10:00
Tinderbox User
ed3500ec36 update SRCID 2012-08-12 05:16:56 +00:00
Mark Andrews
1b244e2668 update 2012-08-12 14:47:27 +10:00
Tinderbox User
9fa0e77b42 update SRCID 2012-08-11 04:17:50 +00:00
Evan Hunt
8757846fbe address memory leak with bad tsig secret
3359.	[bug]		An improperly-formed TSIG secret could cause a
                        memory leak. [RT #30607]
2012-08-10 20:16:59 -07:00
Tinderbox User
c565b64020 update SRCID 2012-08-02 02:16:14 +00:00
Mar Andrews
00b040da3c 3357. [port] Add support for libxml2-2.8.x [RT #30440] 2012-08-02 01:50:52 +00:00
Tinderbox User
6a78cbba41 update SRCID 2012-07-26 03:16:43 +00:00
Mark Andrews
3a0a7c26b9 remove references to dispatch_test, rdatasetstats_test and rbt_test 2012-07-26 13:02:21 +10:00
Tinderbox User
b24a40f94b update SRCID 2012-07-26 00:16:21 +00:00
Tinderbox User
bc0ad9c673 update copyright notice 2012-07-25 23:45:49 +00:00
Tinderbox User
0904e082de newcopyrights 2012-07-25 23:30:22 +00:00
Tinderbox User
86395b9ac8 update SRCID 2012-07-25 22:15:45 +00:00
ckb
66e472cd74 3356. [bug] Cap the TTL of signed RRsets when RRSIGs are
approaching their expiry, so they don't remain
			in caches after expiry. [RT #26429]
2012-07-25 17:12:57 -05:00
Tinderbox User
397b93e34f update SRCID 2012-07-25 03:16:25 +00:00
Mark Andrews
515cb51b88 3355. [port] Use more portable awk in verify system test. 2012-07-25 13:00:59 +10:00
Tinderbox User
197bd328fc update SRCID 2012-07-24 03:16:45 +00:00
Mark Andrews
328bbfbe9a cast mode to unsigned int for fprintf 2012-07-24 13:01:47 +10:00
Mark Andrews
1cb0b6f8df cleanup unused variables 2012-07-24 12:20:59 +10:00
Tinderbox User
60236b1917 update SRCID 2012-07-24 00:16:11 +00:00
Tinderbox User
1439e7b8ff update copyright notice 2012-07-23 23:45:53 +00:00
Tinderbox User
253cb79398 newcopyrights 2012-07-23 23:30:15 +00:00
Tinderbox User
9f4dd6c183 update SRCID 2012-07-23 20:16:02 +00:00
Evan Hunt
e3d50c3fb1 fix change note 3348, bug not security 2012-07-23 13:01:32 -07:00
Tinderbox User
e2f4e56d88 update SRCID 2012-07-23 07:16:18 +00:00
Mark Andrews
62eeb6c836 3354. [func] Improve OpenSSL error logging. [RT #29932] 2012-07-23 15:09:42 +10:00
Tinderbox User
1beec4b945 update SRCID 2012-07-20 08:16:00 +00:00
Mark Andrews
53cf25c993 add missing defs 2012-07-20 17:41:15 +10:00
Mark Andrews
309d0907f3 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-07-20 17:29:32 +10:00
Mark Andrews
2edb09e6dd add missing semicolon 2012-07-20 17:27:17 +10:00
Tinderbox User
0e845e7595 update SRCID 2012-07-20 07:16:06 +00:00
Tinderbox User
a445406724 update copyright notice 2012-07-20 06:39:01 +00:00
Tinderbox User
f383138d32 newcopyrights 2012-07-20 06:38:09 +00:00
Mark Andrews
9671f6f0d4 typedef mode_t 2012-07-20 16:37:16 +10:00
Tinderbox User
ef2c4aa34d update SRCID 2012-07-20 06:16:08 +00:00
Mark Andrews
03f56711c6 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-07-20 15:41:15 +10:00
Mark Andrews
e9b19cd039 9.9.2 2012-07-20 15:40:54 +10:00
Tinderbox User
44aee22e4d update SRCID 2012-07-20 05:17:58 +00:00
Tinderbox User
1a36a41aed 9.9.2b1 2012-07-20 04:58:22 +00:00
Tinderbox User
c62705f13a regen v9_9 2012-07-20 04:28:38 +00:00
Tinderbox User
f4de3f8906 sync 2012-07-20 04:25:33 +00:00
Tinderbox User
ae52aa71af Merge branch 'v9_9' of ssh://repo.isc.org/proj/git/prod/bind9 into v9_9 2012-07-20 04:14:14 +00:00
Tinderbox User
0ebe6c723f 9.9.2b1 2012-07-20 04:13:25 +00:00
Tinderbox User
b75af00077 update SRCID 2012-07-20 00:16:14 +00:00
Tinderbox User
b53430a3dd update copyright notice 2012-07-19 23:45:41 +00:00
Tinderbox User
c622ff0a61 update SRCID 2012-07-19 14:15:56 +00:00
Mark Andrews
b67af36d3b 9.9.2b1 2012-07-20 00:15:13 +10:00
Mark Andrews
73dbdbaee7 3353. [bug] Use a single task for task exclusive operations.
[RT #29872]
2012-07-19 23:03:07 +10:00
Tinderbox User
a1fa3293f3 update SRCID 2012-07-19 03:16:18 +00:00
Mark Andrews
4df2671d8c Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-07-19 13:13:59 +10:00
Mark Andrews
9f053d3b38 add verify system test 2012-07-19 13:09:58 +10:00
Tinderbox User
d7171772e9 update SRCID 2012-07-19 00:15:52 +00:00
Tinderbox User
fe975902c0 update copyright notice 2012-07-18 23:45:43 +00:00
Tinderbox User
f2aafebcfc newcopyrights 2012-07-18 23:30:09 +00:00
Tinderbox User
26a6c434c1 update SRCID 2012-07-18 05:18:04 +00:00
Mark Andrews
c9f946b5a8 3352. [bug] Ensure that learned server attributes timeout of the
adb cache. [RT #29856]
2012-07-18 14:17:47 +10:00
Tinderbox User
0021ebefac update SRCID 2012-07-18 00:16:18 +00:00
Mark Andrews
c3940405bf 3351. [bug] isc_mem_put and isc_mem_putanddetach didn't report
caller if either ISC_MEM_DEBUGSIZE or ISC_MEM_DEBUGCTX
                        memory debugging flags are set. [RT #30243]
2012-07-18 10:03:34 +10:00
Mark Andrews
f96a219857 3350. [bug] Memory read overrun in isc___mem_reallocate if
ISC_MEM_DEBUGCTX memory debugging flag is set.
                        [RT #30240]
2012-07-18 09:52:07 +10:00
Tinderbox User
2cc3f7a719 update SRCID 2012-07-17 06:16:09 +00:00
Mark Andrews
a98a24b2c4 fix race in ISC_QUEUE_PUSH 2012-07-17 15:15:56 +10:00
Tinderbox User
e4466d5d2a update SRCID 2012-07-09 19:16:11 +00:00
ckb
6235fc5a0e 3348. [security] prevent RRSIG data from being cached if a negative
record matching the covering type exists at a higher
			trust level. Such data already can't be retrieved from
			the cache since change 3218 -- this prevents it
			being inserted into the cache as well. [RT #26809]
2012-07-09 13:23:35 -05:00
Tinderbox User
c900f2ab7d update SRCID 2012-07-07 00:15:55 +00:00
Tinderbox User
3aa02a8812 newcopyrights 2012-07-06 23:30:13 +00:00
Tinderbox User
a29912776a update SRCID 2012-07-06 22:15:34 +00:00
Evan Hunt
1824a70e12 fix copyrights in checkds test 2012-07-06 14:24:41 -07:00
Tinderbox User
a026cacf75 update SRCID 2012-07-06 18:15:55 +00:00
ckb
f881a7beb5 added cleanup of test files 2012-07-06 10:03:36 -05:00
Tinderbox User
d714c4e631 update SRCID 2012-07-06 01:16:01 +00:00
Evan Hunt
b5bfcabdc0 warn when changing mode on .private files
3347.	[bug]		dnssec-settime: Issue a warning when writing a new
			private key file would cause a change in the
			permissions of the existing file. [RT #27724]
2012-07-05 18:03:57 -07:00
Tinderbox User
0c16dde587 update SRCID 2012-07-02 17:16:10 +00:00
Evan Hunt
576df86934 fix bad-cache assert
3346.	[security]	Bad-cache data could be used before it was
			initialized, causing an assert. [RT #30025]
2012-07-02 10:02:23 -07:00
Evan Hunt
6c388d263b addressed possible race in ISC_QUEUE
3345.	[bug]		Addressed race condition when removing the last item
			or inserting the first item in an ISC_QUEUE.
			[RT #29539]
2012-07-02 09:38:18 -07:00
Tinderbox User
83cf9a687e update SRCID 2012-06-30 00:16:20 +00:00
Tinderbox User
03565e899d update copyright notice 2012-06-29 23:45:45 +00:00
Tinderbox User
794f6461b3 newcopyrights 2012-06-29 23:30:14 +00:00
Tinderbox User
09dc8ed34f update SRCID 2012-06-29 07:15:30 +00:00
Mark Andrews
de915d9e03 create implict rule for python executable and use it to create dnssec-checkds 2012-06-29 16:55:46 +10:00
Tinderbox User
288b0fb13b update SRCID 2012-06-29 02:16:16 +00:00
Tinderbox User
8d0a65e45f update copyright notice 2012-06-29 01:49:36 +00:00
Mark Andrews
cb421b69c3 reverse bad copyright update 2012-06-29 11:41:43 +10:00
Mark Andrews
00e4caa44f lost line 2012-06-29 11:40:48 +10:00
Tinderbox User
cd24b114bf update copyright notice 2012-06-29 01:22:07 +00:00
Tinderbox User
b132295a55 newcopyrights 2012-06-29 01:20:57 +00:00
Tinderbox User
bf12e8d4dd update SRCID 2012-06-29 01:15:56 +00:00
Mark Andrews
d975b50ad2 add support for python 2012-06-29 11:02:38 +10:00
Mark Andrews
6551a76e3b add support for python 2012-06-29 11:02:38 +10:00
Tinderbox User
590b29858e update SRCID 2012-06-28 13:15:31 +00:00
Mar Andrews
3d5630cff7 regen configure 2012-06-28 13:13:55 +00:00
Mark Andrews
c6d42090f9 make the checkds system test dependent on the result of python discovery 2012-06-28 23:10:20 +10:00
Tinderbox User
aaf73d6ee6 update SRCID 2012-06-28 09:15:46 +00:00
Mar Andrews
1d9f6bbc90 regen configure 2012-06-28 08:27:25 +00:00
Mark Andrews
17e5cbee49 3344. [func] New "dnssec-checkds" command checks a zone to
determine which DS records should be published
                        in the parent zone, or which DLV records should be
                        published in a DLV zone, and queries the DNS to
                        ensure that it exists. (Note: This tool depends
                        on python; it will not be built or installed on
                        systems that do not have a python interpreter.)
                        [RT #28099]
2012-06-28 18:26:04 +10:00
Tinderbox User
e563d883ce update SRCID 2012-06-27 00:16:00 +00:00
Tinderbox User
9418237f65 update copyright notice 2012-06-26 23:45:42 +00:00
Tinderbox User
23652d5e71 newcopyrights 2012-06-26 23:30:10 +00:00
Mark Andrews
68565715ec 3342. [bug] Change #3314 broke saving of stub zones to disk
resulting in excessive cpu usage in some cases.
                        [RT #29952]
2012-06-27 09:23:01 +10:00
Tinderbox User
21fead0da5 update SRCID 2012-06-26 05:15:41 +00:00
Mark Andrews
b4d5643ad4 manual update for doc/design/verify 2012-06-26 14:19:02 +10:00
Tinderbox User
7c66b512a8 update SRCID 2012-06-26 00:15:57 +00:00
Tinderbox User
d3bb7b6b7b update copyright notice 2012-06-25 23:45:45 +00:00
Tinderbox User
e407ffdb0a update SRCID 2012-06-25 05:17:13 +00:00
Mar Andrews
d48f0f0927 regen 2012-06-25 05:03:48 +00:00
Mark Andrews
7c25aaf620 3341. [func] New "dnssec-verify" command checks a signed zone
to ensure correctness of signatures and of NSEC/NSEC3
                        chains. [RT #23673]
2012-06-25 14:57:32 +10:00
Tinderbox User
707893b3ac update SRCID 2012-06-25 02:15:58 +00:00
Mark Andrews
cbd62d92ec silence compiler warning by using offsetof to get structure element offsets 2012-06-25 12:02:51 +10:00
Tinderbox User
3a1a50ebe0 update SRCID 2012-06-22 00:16:52 +00:00
Tinderbox User
0cf0e2b17f update copyright notice 2012-06-21 23:45:41 +00:00
Tinderbox User
d9299680ac update SRCID 2012-06-21 06:17:06 +00:00
Evan Hunt
55479af81f fix secondkey test, properly 2012-06-20 22:44:49 -07:00
Tinderbox User
72012bd370 update SRCID 2012-06-21 05:16:03 +00:00
Mark Andrews
07dd05676e remove rundundent call 'result = isc_parse_uint8(&ui, r.base, 10);' 2012-06-21 14:29:30 +10:00
Tinderbox User
f37b9f256d update SRCID 2012-06-21 00:16:01 +00:00
Tinderbox User
bf8c2431d5 update copyright notice 2012-06-20 23:46:27 +00:00
Tinderbox User
a181e9ede6 newcopyrights 2012-06-20 23:30:11 +00:00
Tinderbox User
9d51218237 update SRCID 2012-06-20 22:16:35 +00:00
Evan Hunt
44b9433d75 fixed second-key test to use correct rndc.conf 2012-06-20 15:08:42 -07:00
Tinderbox User
1a9e34edc5 update SRCID 2012-06-20 12:15:33 +00:00
Mark Andrews
acebc2457c 3339. [func] Allow the maximum supported rsa exponent size to be
specified: "max-rsa-exponent-size <value>;" [RT #29228]
2012-06-20 21:34:24 +10:00
Tinderbox User
10aa03b24d update SRCID 2012-06-15 00:16:41 +00:00
Tinderbox User
ba10d28268 update copyright notice 2012-06-14 23:45:44 +00:00
Tinderbox User
8fd11d3d9f update SRCID 2012-06-14 06:16:42 +00:00
Mark Andrews
ca48cdf0ac 3338. [bug] Address race condition in units tests: asyncload_zone
and asyncload_zt. [RT #26100]
2012-06-14 15:15:57 +10:00
Tinderbox User
e8373787c5 update SRCID 2012-06-14 01:16:00 +00:00
Mark Andrews
7f7123ae38 update 2012-06-14 09:49:03 +10:00
Tinderbox User
5010dea8e8 update SRCID 2012-06-13 07:15:58 +00:00
Mark Andrews
c7818fb0be 3337. [bug] Change #3294 broke support for the multiple keys
in controls. [RT #29694]
2012-06-13 16:30:46 +10:00
Tinderbox User
abd3e2b8d7 update SRCID 2012-06-11 04:16:07 +00:00
Mark Andrews
1b57ec4d69 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-06-11 13:44:51 +10:00
Tinderbox User
68d673f0c4 update SRCID 2012-06-09 00:16:01 +00:00
Tinderbox User
bec35dad94 update copyright notice 2012-06-08 23:45:44 +00:00
Tinderbox User
3290dd1184 newcopyrights 2012-06-08 23:30:18 +00:00
Tinderbox User
ea7aaef9c7 update SRCID 2012-06-08 05:17:48 +00:00
Evan Hunt
78e4ced5b7 nslookup exit with error if unsuccessful
3335.	[func]		nslookup: return a nonzero exit code when unable
			to get an answer. [RT #29492]
2012-06-07 22:07:22 -07:00
Mark Andrews
db6a5f657f spelling 2012-06-08 14:29:02 +10:00
Tinderbox User
5f873199f7 update SRCID 2012-06-08 04:16:29 +00:00
Mark Andrews
05913d20e1 add # 2012-06-08 13:57:39 +10:00
Mark Andrews
ed622b2381 3334. [bug] Hold a zone table reference while performing a
asyncronous load of a zone. [RT #28326]
2012-06-08 13:55:11 +10:00
Tinderbox User
cffedaf1fd update SRCID 2012-06-08 03:16:33 +00:00
Mark Andrews
4db66665f5 3333. [bug] Setting resolver-query-timeout too low can cause
named to not recover if it looses connectivity.
                        [RT #29623]
2012-06-08 12:38:48 +10:00
Tinderbox User
22b4463e59 update SRCID 2012-06-07 05:17:42 +00:00
Mark Andrews
640db2ed50 Don't restart ns5 after killing it 2012-06-07 14:42:18 +10:00
Tinderbox User
3c3b0bea00 update SRCID 2012-06-07 03:16:54 +00:00
Mark Andrews
5f348a21be 3332. [bug] Re-use cached DS rrsets if possible. [RT 29446] 2012-06-07 12:57:33 +10:00
Tinderbox User
f2ec9ff344 update SRCID 2012-06-04 07:15:58 +00:00
Mark Andrews
8bd9a9b2ad kill and restart the nameserver after running: perf 'without rpz' norpz 2012-06-04 16:36:30 +10:00
Tinderbox User
2ccd974f88 update SRCID 2012-06-02 00:16:23 +00:00
Tinderbox User
de16ff6d04 update copyright notice 2012-06-01 23:45:51 +00:00
Tinderbox User
04542dd737 newcopyrights 2012-06-01 23:42:59 +00:00
Mark Andrews
fc319bc9d8 add ./bin/tests/system/unknown/large.out 2012-06-02 09:37:03 +10:00
Tinderbox User
2f9c167649 update SRCID 2012-06-01 19:15:51 +00:00
Evan Hunt
63e1f1ecc6 fix solaris portability problem 2012-06-01 11:41:24 -07:00
Tinderbox User
3b2241f37f update SRCID 2012-06-01 17:15:51 +00:00
Evan Hunt
73319305bf security fix
3331.	[security]	dns_rdataslab_fromrdataset could produce bad
			rdataslabs. [RT #29644]
2012-06-01 09:47:28 -07:00
Tinderbox User
d652c009c2 regen v9_9 2012-06-01 01:16:17 +00:00
Tinderbox User
d4c589b2e7 update SRCID 2012-06-01 01:16:09 +00:00
Tinderbox User
12280d3611 sync 2012-06-01 01:13:20 +00:00
Vernon Schryver
f05089ea5c 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-06-01 01:03:43 +00:00
Tinderbox User
f011dfffca update SRCID 2012-05-31 02:15:48 +00:00
Tinderbox User
36556c1406 regen v9_9 2012-05-31 01:17:36 +00:00
Tinderbox User
6ad83476ee sync 2012-05-31 01:14:31 +00:00
Tinderbox User
b13d6e8949 update SRCID 2012-05-30 16:16:07 +00:00
Evan Hunt
0f633846a0 fixed ARM typo: s/replacable/replaceable/ 2012-05-30 08:16:15 -07:00
Tinderbox User
cf66c0b1d0 update SRCID 2012-05-30 02:15:55 +00:00
Mark Andrews
8a08f06cb2 silence warnings from clang 2012-05-30 11:54:27 +10:00
Tinderbox User
fc0961e943 update SRCID 2012-05-25 05:17:01 +00:00
Mark Andrews
f92d7df229 add linux kernel version note 2012-05-25 14:51:07 +10:00
Tinderbox User
328c1c1fb3 update SRCID 2012-05-22 00:16:06 +00:00
Tinderbox User
ca51110567 update copyright notice 2012-05-21 23:45:36 +00:00
Tinderbox User
eb21d761a8 newcopyrights 2012-05-21 23:30:12 +00:00
Tinderbox User
161598fb1a update SRCID 2012-05-21 06:15:47 +00:00
Mark Andrews
c400da38cf redirect stderr to /dev/null 2012-05-21 16:05:18 +10:00
Tinderbox User
8e3dcb072a update SRCID 2012-05-21 05:41:50 +00:00
Mark Andrews
7207962f87 portability awk add space between -v and it's argument, if anything has changed add ./COPYRIGHT 2012-05-21 15:17:22 +10:00
Tinderbox User
3456d2c230 update SRCID 2012-05-21 01:15:57 +00:00
Mark Andrews
0c791875ad Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-05-21 10:19:20 +10:00
Mark Andrews
e77611f94c awk and toupper is not portable, use sed instead 2012-05-21 10:16:22 +10:00
Tinderbox User
b7b5b30eaf update SRCID 2012-05-21 00:16:13 +00:00
Tinderbox User
7230ace1d3 update SRCID 2012-05-20 00:16:01 +00:00
Tinderbox User
7825536db8 update SRCID 2012-05-19 00:16:21 +00:00
Tinderbox User
8474774c57 update SRCID 2012-05-18 10:15:41 +00:00
Mar Andrews
899fb77414 add bin/tests/system/ecdsa/prereq.sh 2012-05-18 09:51:32 +00:00
Mar Andrews
18936ac9c5 add bin/tests/system/ecdsa/prereq.sh 2012-05-18 09:51:08 +00:00
Tinderbox User
348b313aae update SRCID 2012-05-18 07:15:47 +00:00
Mark Andrews
e6e3680d46 = -> == 2012-05-18 17:12:47 +10:00
Tinderbox User
48082afcae update SRCID 2012-05-18 00:16:28 +00:00
Tinderbox User
a2093c07a5 update copyright notice 2012-05-17 23:45:48 +00:00
Tinderbox User
d36b33f0ff newcopyrights 2012-05-17 23:30:43 +00:00
Evan Hunt
51a4619bb0 Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-05-17 16:17:09 -07:00
Evan Hunt
2813f4f965 fix check_data() usage
3328.   [bug]           Fixed inconsistent data checking in dst_parse.c.
                        [RT #29401]
2012-05-17 16:16:49 -07:00
Tinderbox User
79f6420db9 update SRCID 2012-05-17 23:15:38 +00:00
Evan Hunt
dff9ea972b add ecdsa to system tests 2012-05-17 16:10:26 -07:00
Evan Hunt
8b1b819ae4 add ECDSA support
3317.	[protocol]	Add ECDSA support (RFC 6605). [RT #21918]
2012-05-17 15:52:07 -07:00
Tinderbox User
8185ca0647 update SRCID 2012-05-17 19:16:02 +00:00
Evan Hunt
e39b4d8054 Handle RRSIG signer case consistently
3329.	[bug]	Handle RRSIG signer-name case consistently: We
		generate RRSIG records with the signer-name in
		lower case.  We accept them with any case, but if
		they fail to validate, we try again in lower case.
		[RT #27451]
2012-05-17 10:59:07 -07:00
Tinderbox User
10d212067f update SRCID 2012-05-17 00:16:00 +00:00
Tinderbox User
ed5e6f2016 update SRCID 2012-05-16 00:16:26 +00:00
Tinderbox User
af5ca36024 update SRCID 2012-05-15 00:16:17 +00:00
Tinderbox User
4d65610cad update SRCID 2012-05-14 00:16:20 +00:00
Tinderbox User
2b238a7611 update SRCID 2012-05-13 00:15:58 +00:00
Tinderbox User
b53e8d8131 update SRCID 2012-05-12 00:16:09 +00:00
Tinderbox User
ae68ed4edc update SRCID 2012-05-11 00:16:18 +00:00
Tinderbox User
083ed27c15 update SRCID 2012-05-10 00:16:21 +00:00
Tinderbox User
90af80c524 update SRCID 2012-05-09 23:16:08 +00:00
Mark Andrews
f5e44458b8 3318. [tuning] Reduce the amount of work performed while holding a
bucket lock when finshed with a fetch context.
                        [RT #29239]
2012-05-10 08:39:51 +10:00
Tinderbox User
74388cc74e update SRCID 2012-05-09 00:16:14 +00:00
Tinderbox User
fa7f486f31 update SRCID 2012-05-08 00:16:01 +00:00
Tinderbox User
f2d708c18f update SRCID 2012-05-07 00:16:00 +00:00
Tinderbox User
49a3d1fe55 update SRCID 2012-05-06 00:16:08 +00:00
Tinderbox User
6f9b569ae6 update SRCID 2012-05-05 00:16:13 +00:00
Tinderbox User
97b629e717 update SRCID 2012-05-04 00:16:11 +00:00
Tinderbox User
f25aa333df update SRCID 2012-05-03 00:16:20 +00:00
Tinderbox User
ac0821c961 update SRCID 2012-05-02 00:16:00 +00:00
Tinderbox User
95cd5cba8e update SRCID 2012-05-01 00:16:07 +00:00
Tinderbox User
ab85753c74 update SRCID 2012-04-30 00:16:16 +00:00
Tinderbox User
fc91ae2ebd update SRCID 2012-04-29 00:16:06 +00:00
Tinderbox User
1bae5e9ac1 update SRCID 2012-04-28 00:15:55 +00:00
Tinderbox User
baf68cd714 update SRCID 2012-04-27 13:16:03 +00:00
Tinderbox User
bdbfb728f3 update SRCID 2012-04-27 08:16:09 +00:00
Tinderbox User
5ccc30dcda update SRCID 2012-04-27 07:16:17 +00:00
Mark Andrews
4323895ddf only report different text if not in EXCLUDED 2012-04-27 16:30:10 +10:00
Tinderbox User
1a7a46bd84 update SRCID 2012-04-27 04:16:15 +00:00
Tinderbox User
6860df599d update copyright notice 2012-04-27 04:03:10 +00:00
Mark Andrews
347ec966c5 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-04-27 14:01:56 +10:00
Tinderbox User
589d946d04 newcopyrights 2012-04-27 04:01:34 +00:00
Mark Andrews
4b102817cf 9.9.1 2012-04-27 13:58:44 +10:00
Mark Andrews
d089b211f6 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-04-27 13:55:30 +10:00
Mark Andrews
8decf831dc 9.9.1 2012-04-27 13:53:28 +10:00
Tinderbox User
fb19802ccd 9.9.1 2012-04-27 03:36:28 +00:00
Tinderbox User
c0b7cbd4e7 update SRCID 2012-04-27 03:16:26 +00:00
Mark Andrews
39497b6d0a 3273. [bug] AAAA responses could be returned in the additional
section even when filter-aaaa-on-v4 was in use.
                        [RT #27292]
2012-04-27 13:03:21 +10:00
Mark Andrews
9a9f67d54b 3273. [bug] AAAA responses could be returned in the additional
section even when filter-aaaa-on-v4 was in use.
                        [RT #27292]
2012-04-27 13:02:03 +10:00
Mark Andrews
f93746692a 9.9.1 2012-04-27 12:39:05 +10:00
Mark Andrews
26329dc28a check if the pdf version of the ARM needs to be committed 2012-04-27 12:29:49 +10:00
Tinderbox User
59e133e84a update SRCID 2012-04-27 01:15:50 +00:00
Mark Andrews
f56db336a3 sync with master 2012-04-27 10:46:21 +10:00
Tinderbox User
f35f5615e6 update SRCID 2012-04-27 00:15:56 +00:00
Tinderbox User
36b371b81f update copyright notice 2012-04-26 23:45:39 +00:00
Tinderbox User
dbc1295a06 newcopyrights 2012-04-26 23:30:27 +00:00
Tinderbox User
bc67bef164 update SRCID 2012-04-26 05:16:30 +00:00
Mark Andrews
1189f64314 TRUE -> ISC_TRUE 2012-04-26 15:07:53 +10:00
Tinderbox User
454d2c52fb update SRCID 2012-04-26 03:16:28 +00:00
Mark Andrews
038364699c 3314. [bug] The masters list could be updated while refesh_callback
and stub_callback were using it. [RT #26732]
2012-04-26 13:01:04 +10:00
Mark Andrews
07ef11a326 3313. [protocol] Add TLSA record type. [RT #28989] 2012-04-26 12:36:53 +10:00
Tinderbox User
9edd7f4d6a update SRCID 2012-04-26 02:15:40 +00:00
Mark Andrews
b58a55c2d9 3312. [bug] named-checkconf didn't detect a bad dns64 clients acl.
[RT #27631]
2012-04-26 11:45:14 +10:00
Mark Andrews
b41cfce325 3311. [bug] Abort the zone dump if zone->db is NULL in
zone.c:zone_gotwritehandle. [RT #29028]
2012-04-26 11:26:11 +10:00
Tinderbox User
8a5b631936 update SRCID 2012-04-26 00:16:12 +00:00
Tinderbox User
d124119c13 update copyright notice 2012-04-25 23:45:37 +00:00
Tinderbox User
1039c8deae newcopyrights 2012-04-25 23:30:11 +00:00
Tinderbox User
fc4357fbee update SRCID 2012-04-25 00:15:58 +00:00
Evan Hunt
825bebde58 increase table size for mutex profiling 2012-04-24 16:52:40 -07:00
Tinderbox User
45cd6c0057 update SRCID 2012-04-24 22:15:57 +00:00
Evan Hunt
4e6be4ae5c Merge branch 'v9_9' of ssh://repo/proj/git/prod/bind9 into v9_9 2012-04-24 14:57:44 -07:00
Evan Hunt
2535471704 fctx_finddone: call fctx_destroy within the bucket lock
Conflicts:

	CHANGES
2012-04-24 14:57:19 -07:00
Tinderbox User
f9fdc93bd6 update SRCID 2012-04-24 00:15:57 +00:00
Tinderbox User
482f0ab00b newcopyrights 2012-04-23 23:30:29 +00:00
Tinderbox User
637001aac8 update SRCID 2012-04-23 16:15:53 +00:00
Evan Hunt
d171ec4fe4 missed a file in previous commit 2012-04-23 08:57:02 -07:00
Evan Hunt
c02c10261c fix .gitignore files 2012-04-23 08:56:12 -07:00
Tinderbox User
56e1e74195 update SRCID 2012-04-23 00:16:13 +00:00
Tinderbox User
5cabb1468c update SRCID 2012-04-22 00:16:13 +00:00
Tinderbox User
0fec430aa6 update SRCID 2012-04-21 00:16:01 +00:00
Tinderbox User
2920bdd36a update SRCID 2012-04-20 00:16:00 +00:00
Tinderbox User
d45dc05a73 update SRCID 2012-04-19 14:17:34 +00:00
Scott Mann
856f533150 remove rfc5011.txt from contrib in tarball 2012-04-19 08:03:15 -06:00
Tinderbox User
2c246fcc46 update SRCID 2012-04-19 00:16:13 +00:00
Tinderbox User
bb914f2af4 update SRCID 2012-04-18 00:16:29 +00:00
Tinderbox User
297525d38a update SRCID 2012-04-17 00:16:07 +00:00
Tinderbox User
d439148dc4 update SRCID 2012-04-16 00:16:15 +00:00
Tinderbox User
8f1d480c01 update SRCID 2012-04-15 00:16:20 +00:00
Tinderbox User
a8d5dd0564 update SRCID 2012-04-14 00:16:12 +00:00
Tinderbox User
f034acf332 update SRCID 2012-04-13 00:16:16 +00:00
Tinderbox User
92fcedb783 update copyright notice 2012-04-12 23:45:42 +00:00
Tinderbox User
305e4e3438 newcopyrights 2012-04-12 23:30:21 +00:00
Tinderbox User
985026a5f1 update SRCID 2012-04-12 23:15:54 +00:00
Mark Andrews
7a5ab270d3 3307. [bug] Add missing ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS.
[RT #28956]
2012-04-13 08:37:30 +10:00
Tinderbox User
4ae302ebf5 update SRCID 2012-04-12 10:15:51 +00:00
Mark Andrews
b5d097b103 3307. [bug] Add missing ISC_LANG_ENDDECLS to <dns/tsec.h>. [RT #28956] 2012-04-12 19:15:39 +10:00
Tinderbox User
a740ff5cf5 update SRCID 2012-04-12 00:16:16 +00:00
Tinderbox User
814d92a93b update copyright notice 2012-04-11 23:45:41 +00:00
Tinderbox User
01deb4ae58 newcopyrights 2012-04-11 23:30:21 +00:00
Tinderbox User
7cf08a4c34 update SRCID 2012-04-11 03:16:09 +00:00
Mark Andrews
74ce4de82e 3306. [bug] Improve DNS64 reverse zone performance. [RT #28563]
3305.   [func]          Add wire format lookup method to sdb. [RT #28563]
2012-04-11 12:20:44 +10:00
Tinderbox User
e3a1a68c1b update SRCID 2012-04-11 02:15:21 +00:00
Mark Andrews
21a01a2817 Merge branch 'v9_9' of repo.isc.org:/proj/git/prod/bind9 into v9_9 2012-04-11 12:04:14 +10:00
Mark Andrews
52b6c5b386 add the ability to override --remote 2012-04-11 11:28:43 +10:00
Tinderbox User
7507ec564f update SRCID 2012-04-11 01:15:49 +00:00
Mark Andrews
2490e43c67 3304. [bug] Use hmctx, not mctx when freeing rbtdb->heaps. [RT #28571] 2012-04-11 10:44:24 +10:00
Tinderbox User
efc5cea15d update SRCID 2012-04-11 00:15:56 +00:00
Tinderbox User
4e243dc6d9 update SRCID 2012-04-10 07:17:15 +00:00
Mark Andrews
fa2de2b7b8 use --remote=cvs.isc.org:/proj/git/prod/bind9.git 2012-04-10 16:18:18 +10:00
Tinderbox User
945aa1b106 update SRCID 2012-04-10 00:16:42 +00:00
Tinderbox User
e1288dffe5 update SRCID 2012-04-09 00:17:21 +00:00
Tinderbox User
ce6b1a3a92 update SRCID 2012-04-08 00:17:19 +00:00
Tinderbox User
cfcbd36ba6 update SRCID 2012-04-07 00:17:16 +00:00
Tinderbox User
392c63c92f update SRCID 2012-04-06 00:15:51 +00:00
Tinderbox User
5ce42d6164 update SRCID 2012-04-05 06:17:36 +00:00
Mark Andrews
952739146c 3303. [bug] named could die when reloading. [RT #28606] 2012-04-05 15:52:09 +10:00
Tinderbox User
721bef2aaa update SRCID 2012-04-05 00:16:53 +00:00
Tinderbox User
ed326dc311 update SRCID 2012-04-04 00:17:03 +00:00
Tinderbox User
0c1f25d744 update SRCID 2012-04-03 00:16:47 +00:00
Tinderbox User
652dca284d update SRCID 2012-04-02 00:17:23 +00:00
Tinderbox User
ca637fb07b update SRCID 2012-04-01 00:16:57 +00:00
Tinderbox User
23632cfbda update SRCID 2012-03-31 00:17:20 +00:00
Tinderbox User
5ee7aefb5f update SRCID 2012-03-30 01:17:07 +00:00
Mark Andrews
b2cc45dd7f 3302. [bug] dns_dnssec_findmatchingkeys could fail to find
keys if the zone name contained character that
                        required special mappings. [RT #28600]
2012-03-30 12:07:13 +11:00
Tinderbox User
9e58003ff3 update SRCID 2012-03-30 00:16:55 +00:00
Tinderbox User
448dfc86f0 newcopyrights 2012-03-29 23:30:19 +00:00
Tinderbox User
20e696e63a update SRCID 2012-03-29 00:17:20 +00:00
Mark Andrews
67071d371a 3301. [contrib] Update queryperf to build on darwin. Add -R flag
for non-recursive queries. [RT #28565]
2012-03-29 10:31:03 +11:00
Tinderbox User
80e6a1a651 update SRCID 2012-03-28 23:16:17 +00:00
Mark Andrews
46fbcf04a0 3300. [bug] Named could die if gssapi was enabled in named.conf
but was not compiled in. [RT #28338]
2012-03-29 09:52:44 +11:00
Tinderbox User
d7776e1519 update SRCID 2012-03-28 00:16:49 +00:00
Mark Andrews
081fda43c1 3299. [bug] Make SDB handle errors from database drivers better.
[RT #28534]
2012-03-28 10:25:43 +11:00
Tinderbox User
af7ddf2901 update SRCID 2012-03-27 00:16:18 +00:00
Tinderbox User
7856b79b2b update SRCID 2012-03-26 00:16:47 +00:00
Tinderbox User
55ea9591fe update SRCID 2012-03-25 00:16:53 +00:00
Tinderbox User
709193a694 update SRCID 2012-03-24 00:17:17 +00:00
Tinderbox User
bfaf590064 update SRCID 2012-03-23 00:17:17 +00:00
Tinderbox User
78840394d0 update SRCID 2012-03-22 02:16:44 +00:00
Mark Andrews
0af2c19d5a 3298. [bug] Named could dereference a NULL pointer in
zmgr_start_xfrin_ifquota if the zone was being removed.
                        [RT #28419]
2012-03-22 12:21:41 +11:00
Tinderbox User
d71b1b935f update SRCID 2012-03-22 00:17:09 +00:00
Tinderbox User
280f356496 update SRCID 2012-03-21 00:17:13 +00:00
Tinderbox User
d56a5e2ace update SRCID 2012-03-20 00:17:12 +00:00
Tinderbox User
16dd4dcc57 update SRCID 2012-03-19 00:16:15 +00:00
Tinderbox User
aa2b4f2c8c update SRCID 2012-03-18 00:17:17 +00:00
Tinderbox User
44f2a57294 update SRCID 2012-03-17 00:16:16 +00:00
Tinderbox User
29517d98eb update SRCID 2012-03-16 00:17:13 +00:00
Tinderbox User
cadd2123cc update SRCID 2012-03-15 01:16:51 +00:00
Mark Andrews
8b07de94d7 3297. [bug] Named could die on a malformed master file. [RT #28467] 2012-03-15 12:09:01 +11:00
Mark Andrews
b1d55de4fa 3296. [bug] Named could die with a INSIST failure in
client.c:exit_check. [RT #28346]
2012-03-15 11:48:57 +11:00
Tinderbox User
5c9f648a93 update SRCID 2012-03-15 00:16:18 +00:00
Tinderbox User
5cca73efaa update copyright notice 2012-03-14 23:45:32 +00:00
Tinderbox User
75eb920ce4 newcopyrights 2012-03-14 23:30:13 +00:00
Tinderbox User
63a42d5449 update SRCID 2012-03-14 05:16:45 +00:00
Mark Andrews
ac5871037f properly redirect stderr to stdout 2012-03-14 16:09:41 +11:00
Tinderbox User
597801edb0 update SRCID 2012-03-14 00:17:08 +00:00
Tinderbox User
840bc4127a update SRCID 2012-03-13 00:17:12 +00:00
Tinderbox User
db66a29c6a update copyright notice 2012-03-12 23:45:36 +00:00
Tinderbox User
8f9964ca30 update SRCID 2012-03-12 01:16:39 +00:00
Tinderbox User
791a94a22f regen v9_9 2012-03-12 01:16:30 +00:00
Mark Andrews
df8f202dd0 copyright cleanup 2012-03-12 11:35:58 +11:00
Tinderbox User
5bdea7b2bc update SRCID 2012-03-12 00:16:21 +00:00
Tinderbox User
0a5497ae0a update SRCID 2012-03-11 00:16:44 +00:00
Tinderbox User
5abefae88a update copyright notice 2012-03-10 23:45:42 +00:00
Tinderbox User
5c984d074d newcopyrights 2012-03-10 23:30:19 +00:00
Tinderbox User
f34177f53d update SRCID 2012-03-10 04:29:55 +00:00
Tinderbox User
156783b056 update SRCID 2012-03-10 00:18:21 +00:00
Evan Hunt
ddde18cbd3 Merged 'rt28345': new git-based merge_copyrights 2012-03-09 15:58:58 -08:00
Tinderbox User
b5ea9b234e regen 2012-03-09 23:30:27 +00:00
Tinderbox User
b1ae23f7b4 regen 2012-03-09 23:30:27 +00:00
Tinderbox User
c713f209a5 update SRCID 2012-03-09 22:17:40 +00:00
Mark Andrews
27d5d5890f empty directory 2012-03-10 08:46:19 +11:00
Tinderbox User
3fa5ffaf07 update SRCID 2012-03-09 21:17:31 +00:00
Tinderbox User
69abad8df2 update SRCID 2012-03-09 21:02:09 +00:00
Evan Hunt
b346f0d0d3 s/cvsignore/gitignore/ 2012-03-08 13:43:46 -08:00
Mark Andrews
89de725058 3295. [bug] Adjust isc_time_secondsastimet range check to be more
portable. [RT # 26542]
2012-03-08 15:32:33 +11:00
Mark Andrews
13de532574 3294. [bug] isccc/cc.c:table_fromwire failed to free alist on
error. [RT #28265]
2012-03-08 14:40:49 +11:00
Mark Andrews
7297e989d0 update .gitignore 2012-03-08 13:47:28 +11:00
Evan Hunt
0cf98a4a3f update copyrights 2012-03-07 15:28:20 -08:00
Evan Hunt
d9983afb0c Revert "add .gitattributes (turn on ident)"
This reverts commit 43d8ee6dc4.
2012-03-07 08:46:23 -08:00
Evan Hunt
c9481a4625 set $Id$ 2012-03-07 08:18:58 -08:00
Tinderbox User
6d32344d3b regen v9_9 2012-03-07 02:21:06 +00:00
Tinderbox User
c201888c2a regen v9_9 2012-03-07 01:59:30 +00:00
Evan Hunt
98c2d04b1f add .gitattributes (turn on ident) 2012-03-06 17:28:35 -08:00
Evan Hunt
8047e7c06f re-remove cvsignore files 2012-03-05 08:29:31 -08:00
Evan Hunt
f94af76649 Revert "added gitignore, removed cvsignore"
This reverts commit e8ae173655.
2012-03-05 08:24:17 -08:00
Evan Hunt
1b08bce8c7 kit.sh now uses git 2012-03-04 10:48:33 -08:00
Evan Hunt
6aa2d721fc created 2012-03-03 23:25:21 -08:00
Evan Hunt
e8ae173655 added gitignore, removed cvsignore 2012-03-03 23:24:11 -08:00
Automatic Updater
4865bee747 update 2012-03-01 00:16:29 +00:00
Automatic Updater
9fc034d29f update copyright notice 2012-02-29 23:46:55 +00:00
Automatic Updater
9c5502baf9 newcopyrights 2012-02-29 23:30:22 +00:00
Automatic Updater
4f4deb38e5 update 2012-02-29 22:16:19 +00:00
Evan Hunt
3391445e1d revert accidental commit 2012-02-29 21:31:06 +00:00
Evan Hunt
2db6dd26da 3291. [port] Fixed a build error on systems without ENOTSUP.
[RT #28200]
2012-02-29 21:27:47 +00:00
Automatic Updater
058e09abf5 update 2012-02-29 00:16:46 +00:00
Automatic Updater
fa776b400e update copyright notice 2012-02-28 23:46:24 +00:00
Automatic Updater
e6532f2e09 newcopyrights 2012-02-28 23:30:20 +00:00
Automatic Updater
b214301d1d update 2012-02-28 22:16:54 +00:00
Mark Andrews
9590d4bcad 3290. [bug] <isc/hmacsha.h> was not being installed. [RT #28169] 2012-02-28 21:34:52 +00:00
Automatic Updater
f1ede06a85 update 2012-02-23 09:16:08 +00:00
Mark Andrews
3514c49b2f 9.9.0 2012-02-23 08:46:54 +00:00
Automatic Updater
fde12c209e update 2012-02-23 08:16:09 +00:00
Automatic Updater
6ef023873e update 2012-02-23 07:16:38 +00:00
Mark Andrews
9b5ca4f479 dns_zone_synckeyzone 2012-02-23 07:16:04 +00:00
Automatic Updater
2ded752b75 update copyright notice 2012-02-23 07:09:02 +00:00
Automatic Updater
a56e2f5105 newcopyrights 2012-02-23 07:07:26 +00:00
Mark Andrews
2c96b35bbc 9.9.0rc4 2012-02-23 07:06:10 +00:00
Mark Andrews
1032216f5c 3289. [bug] 'rndc retransfer' failed for inline zones. [RT #28036] 2012-02-23 07:02:20 +00:00
Automatic Updater
ab6750e81f update 2012-02-23 04:16:54 +00:00
Evan Hunt
e4e190acc1 nicer release notes URL 2012-02-23 03:53:30 +00:00
Automatic Updater
88f6e1f92d update 2012-02-23 00:16:17 +00:00
Automatic Updater
a4529ff93d update copyright notice 2012-02-22 23:47:08 +00:00
Automatic Updater
d6d20a7a25 newcopyrights 2012-02-22 23:30:17 +00:00
Automatic Updater
bffa7a825e update 2012-02-22 22:16:15 +00:00
Evan Hunt
48a5af32f8 3288. [bug] dlz_destroy() function wasn't correctly registered
by the DLZ dlopen driver. [RT #28056]
2012-02-22 21:44:52 +00:00
Automatic Updater
663a5318bc update 2012-02-22 15:16:23 +00:00
Mark Andrews
fe4f827b46 3287. [port] Update ans.pl to work with Net::DNS 0.68. [RT #28028] 2012-02-22 14:29:38 +00:00
Automatic Updater
996316a067 update 2012-02-22 01:16:53 +00:00
Evan Hunt
e2c0d381cf add pointer to release notes (ugly URL; should be updated to a pretty one) 2012-02-22 00:55:40 +00:00
Evan Hunt
95d2619007 3286. [bug] Managed key maintenance timer could fail to start
after 'rndc reconfig'. [RT #26786]
2012-02-22 00:35:53 +00:00
Automatic Updater
cede662079 update 2012-02-16 00:16:43 +00:00
Automatic Updater
f2cac6cc31 update copyright notice 2012-02-15 23:46:20 +00:00
Automatic Updater
afaa271287 update 2012-02-15 21:16:33 +00:00
Automatic Updater
5d94aa0be1 newcopyrights 2012-02-15 21:13:52 +00:00
Mark Andrews
c177ca3064 3285. [bug] val-frdataset was incorrectly disassociated in
proveunsecure after calling startfinddlvsep.
                        [RT #27928]
2012-02-15 21:01:50 +00:00
Automatic Updater
fd9dcb34b5 update 2012-02-15 13:16:49 +00:00
Mark Andrews
a995801606 2x POST(locktype); 2012-02-15 12:29:39 +00:00
Automatic Updater
bb33efa5d0 update 2012-02-15 11:17:01 +00:00
Mark Andrews
747e1373b5 9.9.0rc3 2012-02-15 10:57:07 +00:00
Automatic Updater
07b0e87485 update 2012-02-15 02:16:17 +00:00
Mark Andrews
549f13385a 3284. [bug] Address race conditions with the handling of
rbtnode.deadlink. [RT #27738]
2012-02-15 02:02:10 +00:00
Mark Andrews
f5db1e08e7 Loop 'I:checking that large rdatasets loaded' in case the zone transfer has not yet completed 2012-02-15 01:22:47 +00:00
Automatic Updater
5908a7d742 update 2012-02-15 00:16:42 +00:00
Automatic Updater
42d1f669cc update copyright notice 2012-02-14 23:46:49 +00:00
Automatic Updater
3d4cb51756 newcopyrights 2012-02-14 23:30:17 +00:00
Automatic Updater
338c1060eb update 2012-02-14 01:16:27 +00:00
Mark Andrews
cd34c0b8c7 extend:
3282.   [bug]           Restrict the TTL of NS RRset to no more than that
                        of the old NS RRset when replacing it.
                        [RT #27792] [RT #27884]
2012-02-14 00:24:56 +00:00
Automatic Updater
ee5bc0fa2b update 2012-02-14 00:16:27 +00:00
Mark Andrews
960abe12bf 3283. [bug] Raw zones with with more than 512 records in a RRset
failed to load. [RT #27863]
2012-02-13 23:51:51 +00:00
Automatic Updater
ea7a62cdab update 2012-02-10 00:16:38 +00:00
Automatic Updater
d72ed5a8e7 update copyright notice 2012-02-09 23:46:51 +00:00
Automatic Updater
59b757ea1f newcopyrights 2012-02-09 23:30:27 +00:00
Automatic Updater
9ab62f8666 update 2012-02-09 21:16:14 +00:00
Mark Andrews
0571823964 move keygeneration out of the timing critical section 2012-02-09 21:13:41 +00:00
Mark Andrews
44bb0c393a 3282. [bug] Restrict the TTL of NS RRset to no more than that
of the old NS RRset when replacing it. [RT #27792]
2012-02-09 20:59:42 +00:00
Automatic Updater
03586f6168 update 2012-02-08 00:16:15 +00:00
Automatic Updater
86f561843b update copyright notice 2012-02-07 23:46:57 +00:00
Automatic Updater
1d1fdf48eb newcopyrights 2012-02-07 23:30:18 +00:00
Automatic Updater
fdfc052b16 update 2012-02-07 20:17:16 +00:00
Mark Andrews
6980e5df7f 3281. [bug] SOA refresh queries could be treated as cancelled
despite succeeding over the loopback interface.
                        [RT #27782]
2012-02-07 19:51:32 +00:00
Automatic Updater
fc0f25d9b0 update 2012-02-07 01:16:11 +00:00
Mark Andrews
1acf745243 3280. [bug] Potential double free of a rdataset on out of memory
with DNS64. [RT #27762]
2012-02-07 01:09:42 +00:00
Evan Hunt
9e281bdde5 3275. [bug] Corrected rndc -h output; the 'rndc sync -clean'
option had been misspelled as '-clear'.  (To avoid
			future confusion, both options now work.) [RT #27173]
2012-02-07 00:58:40 +00:00
Mark Andrews
8ac9d12380 3279. [bug] Hold a internal reference to the zone while performing
a asynchronous load.  Address potential memory leak
                        if the asynchronous is cancelled. [RT #27750]
2012-02-07 00:52:05 +00:00
Evan Hunt
63ed4de0ad fixed a test error that caused autosign to fail on freebsd 2012-02-07 00:33:40 +00:00
Automatic Updater
dcc7c7f280 update 2012-02-07 00:21:30 +00:00
Mark Andrews
29141b73e5 rt27739: make ixfr test more robust 2012-02-07 00:20:38 +00:00
Automatic Updater
271512b875 update copyright notice 2012-02-06 23:46:23 +00:00
Automatic Updater
5c53258986 newcopyrights 2012-02-06 23:30:23 +00:00
Mark Andrews
7afa3a5a14 verify server is answering before starting next server 2012-02-06 23:23:18 +00:00
Automatic Updater
04282909ec update 2012-02-06 22:16:35 +00:00
Evan Hunt
a1b98b70f9 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:33:08 +00:00
Automatic Updater
8662921e61 update 2012-02-06 05:18:41 +00:00
Mark Andrews
85bc1f1fd8 3276. [bug] win32: isc_socket_dup is not implemented. [RT #27696]
3276.   [bug]           win32: ns_os_openfile failed to return NULL on
                        safe_open failure. [RT #27696]
2012-02-06 04:23:44 +00:00
Automatic Updater
8484895e33 update 2012-02-04 00:16:49 +00:00
Automatic Updater
ff416d2c83 update copyright notice 2012-02-03 23:46:31 +00:00
Automatic Updater
6eda13d228 newcopyrights 2012-02-03 23:30:29 +00:00
Automatic Updater
a71dd25168 update 2012-02-03 05:18:00 +00:00
Mark Andrews
b863b5cf8a I:waiting for nameserver to load, ok'd by Evan 2012-02-03 04:45:54 +00:00
Automatic Updater
1991480d9b update 2012-02-03 00:16:19 +00:00
Automatic Updater
3a8369b4ea update copyright notice 2012-02-02 23:47:06 +00:00
Automatic Updater
7808571e81 newcopyrights 2012-02-02 23:30:22 +00:00
Automatic Updater
be0ffcb513 update 2012-02-02 04:16:36 +00:00
Mark Andrews
a1f78f4ba2 portable code, ok'd bu Evan 2012-02-02 03:49:18 +00:00
Automatic Updater
4566c8ed9a update 2012-02-02 00:16:35 +00:00
Automatic Updater
d5cdbc141a update copyright notice 2012-02-01 23:46:23 +00:00
Automatic Updater
868259fcac newcopyrights 2012-02-01 23:30:21 +00:00
Automatic Updater
7164fad5a6 update 2012-02-01 23:16:19 +00:00
Mark Andrews
834e9a4ba9 more robust I:waiting for transfers to complete 2012-02-01 22:16:21 +00:00
Automatic Updater
cb1679a12d update 2012-02-01 00:16:31 +00:00
Automatic Updater
1000049f5a update copyright notice 2012-01-31 23:47:03 +00:00
Automatic Updater
c388b611d4 newcopyrights 2012-01-31 23:30:25 +00:00
Automatic Updater
acd48b4857 update 2012-01-31 04:16:19 +00:00
Mark Andrews
66a8fa7dc2 3271. [port] darwin: mksymtbl is not always stable, loop several
times before giving up.  mksymtbl was using non
                        portable perl to covert 64 bit hex strings. [RT #27653]
2012-01-31 04:10:45 +00:00
Automatic Updater
1dfc667d91 update 2012-01-31 03:16:48 +00:00
Evan Hunt
f9ef8c313d change release number to 9.9.0rc2 2012-01-31 01:16:31 +00:00
Evan Hunt
17e8be7d61 add missing file 2012-01-31 01:12:29 +00:00
Evan Hunt
0ff738279f 3270. [bug] "rndc reload" didn't reuse existing zones correctly
when inline-signing was in use. [RT #27650]
2012-01-31 01:11:55 +00:00
Evan Hunt
13e9b2230d file master3.db.in was added on branch v9_9 on 2012-01-31 01:12:29 +0000 2012-01-31 00:11:59 +00:00
Mark Andrews
9a9f968dab regen 2012-01-30 10:09:37 +00:00
Mark Andrews
25240dd390 3269. [port] darwin 11 and later now built threaded by default. 2012-01-30 07:08:34 +00:00
cvs2git
52007e22c5 This commit was manufactured by cvs2git to create branch 'v9_9'. 2012-01-30 01:16:17 +00:00
cvs2git
3a926c01e1 This commit was manufactured by cvs2git to create branch 'rt27336'. 2012-01-25 02:46:54 +00:00
cvs2git
931a50f631 This commit was manufactured by cvs2git to create branch 'rt27557'. 2012-01-23 23:46:49 +00:00
cvs2git
00d8872b05 This commit was manufactured by cvs2git to create branch 'rt23311'. 2012-01-22 05:17:08 +00:00
cvs2git
77feec5ca7 This commit was manufactured by cvs2git to create branch 'rt26543'. 2012-01-18 23:17:53 +00:00
cvs2git
7a7ac426fc This commit was manufactured by cvs2git to create branch 'rt27497'. 2012-01-17 02:16:51 +00:00
cvs2git
b970bf11d8 This commit was manufactured by cvs2git to create branch 'rt27344'. 2012-01-09 23:45:05 +00:00
cvs2git
2d34d15048 This commit was manufactured by cvs2git to create branch 'rt27292'. 2012-01-04 04:17:00 +00:00
cvs2git
fe6fca3d69 This commit was manufactured by cvs2git to create branch 'rt27185'. 2011-12-24 00:16:44 +00:00
cvs2git
1081c10c5e This commit was manufactured by cvs2git to create branch 'rt27139'. 2011-12-21 00:17:06 +00:00
cvs2git
8ac30db15f This commit was manufactured by cvs2git to create branch 'rt27087'. 2011-12-17 01:16:54 +00:00
cvs2git
8a3a842f41 This commit was manufactured by cvs2git to create branch 'rt27057'. 2011-12-16 02:16:43 +00:00
cvs2git
0665d1de8a This commit was manufactured by cvs2git to create branch 'rt25419a'. 2011-12-12 12:16:43 +00:00
cvs2git
b5853fb6e3 This commit was manufactured by cvs2git to create branch 'rt26973'. 2011-12-09 03:16:59 +00:00
cvs2git
32adae39f3 This commit was manufactured by cvs2git to create branch 'rt26676'. 2011-12-08 16:16:42 +00:00
cvs2git
5bd5d94e8a This commit was manufactured by cvs2git to create branch 'rt26845'. 2011-12-07 23:16:35 +00:00
cvs2git
e789d7351e This commit was manufactured by cvs2git to create branch 'rt26874'. 2011-12-06 01:16:41 +00:00
cvs2git
b2402cef4d This commit was manufactured by cvs2git to create branch 'rt26889'. 2011-12-06 01:16:40 +00:00
cvs2git
a318497823 This commit was manufactured by cvs2git to create branch 'rt26587a'. 2011-12-02 08:17:03 +00:00
Evan Hunt
bcef2f4fb5 file zone3.data was added on branch rt26587a on 2011-12-03 01:05:57 +0000 2011-12-02 06:16:01 +00:00
Evan Hunt
b026aa3c8f file zone2.data was added on branch rt26587a on 2011-12-03 01:05:57 +0000 2011-12-02 06:16:00 +00:00
Evan Hunt
926e4ed50f file zone1.data was added on branch rt26587a on 2011-12-03 01:05:57 +0000 2011-12-02 06:15:58 +00:00
Evan Hunt
22702beab5 file dbdiff_test.c was added on branch rt26587a on 2011-12-03 01:05:57 +0000 2011-12-02 06:15:57 +00:00
cvs2git
26cb554579 This commit was manufactured by cvs2git to create branch 'rt26830'. 2011-11-30 06:16:12 +00:00
cvs2git
78994030ab This commit was manufactured by cvs2git to create branch 'rt26632'. 2011-11-30 05:17:08 +00:00
cvs2git
46b89fbb62 This commit was manufactured by cvs2git to create branch 'rt26677'. 2011-11-29 23:17:34 +00:00
cvs2git
49538e5978 This commit was manufactured by cvs2git to create branch 'rt26796'. 2011-11-29 01:16:36 +00:00
cvs2git
25c597945a This commit was manufactured by cvs2git to create branch 'rt26684'. 2011-11-28 03:17:01 +00:00
cvs2git
e474ecbe1f This commit was manufactured by cvs2git to create branch 'rt26507'. 2011-11-18 23:17:34 +00:00
cvs2git
7064aed978 This commit was manufactured by cvs2git to create branch 'rt26624'. 2011-11-17 23:17:23 +00:00
cvs2git
f9b62501e8 This commit was manufactured by cvs2git to create branch 'rt26523'. 2011-11-14 19:16:54 +00:00
cvs2git
5b144fac25 This commit was manufactured by cvs2git to create branch 'rt21751'. 2011-11-11 01:16:36 +00:00
cvs2git
8700f5e1b4 This commit was manufactured by cvs2git to create branch 'rt23219'. 2011-11-08 01:16:34 +00:00
cvs2git
8478216b5a This commit was manufactured by cvs2git to create branch 'rt26232'. 2011-11-08 00:16:43 +00:00
cvs2git
73726b08bf This commit was manufactured by cvs2git to create branch 'rt20287'. 2011-11-04 19:16:10 +00:00
cvs2git
212d67894e This commit was manufactured by cvs2git to create branch 'rt24858'. 2011-11-04 18:16:26 +00:00
cvs2git
a6a28314eb This commit was manufactured by cvs2git to create branch 'rt25690'. 2011-11-04 04:16:32 +00:00
cvs2git
14ab630b23 This commit was manufactured by cvs2git to create branch 'rt26416'. 2011-11-03 03:26:20 +00:00
cvs2git
978e394c54 This commit was manufactured by cvs2git to create branch 'rt25960'. 2011-11-03 03:17:04 +00:00
cvs2git
901cf705f5 This commit was manufactured by cvs2git to create branch 'rt25060'. 2011-11-03 00:16:51 +00:00
cvs2git
0ddaec4692 This commit was manufactured by cvs2git to create branch 'rt25419'. 2011-11-02 14:16:14 +00:00
cvs2git
5c8d35f8f0 This commit was manufactured by cvs2git to create branch 'rt26386'. 2011-11-01 04:16:20 +00:00
Curtis Blackburn
f950cb6a0b file rbt_test.c was added on branch rt25419 on 2011-11-30 17:57:52 +0000 2011-08-31 15:20:21 +00:00
Curtis Blackburn
424d89d806 file rbt_test.c was added on branch rt25419a on 2011-12-19 21:39:53 +0000 2011-08-31 15:20:20 +00:00
2521 changed files with 195388 additions and 95674 deletions

View File

@@ -1,9 +0,0 @@
Makefile
config.log
config.h
config.cache
config.status
libtool
isc-config.sh
configure.lineno
autom4te.cache

51
.gitignore vendored Normal file
View File

@@ -0,0 +1,51 @@
Makefile
config.log
config.h
config.cache
config.status
libtool
/isc-config.sh
/configure.lineno
autom4te.cache/
*.o
*.lo
*.so
*.a
*.la
*_test
timestamp
named.run
gen.dSYM/
.libs/
.deps/
.dirstamp
unit/atf-src/atf-c++/atf-c++.pc
unit/atf-src/atf-c/atf-c.pc
unit/atf-src/atf-c/defs.h
unit/atf-src/atf-c/detail/process_helpers
unit/atf-src/atf-config/atf-config
unit/atf-src/atf-report/atf-report
unit/atf-src/atf-report/fail_helper
unit/atf-src/atf-report/misc_helpers
unit/atf-src/atf-report/pass_helper
unit/atf-src/atf-run/atf-run
unit/atf-src/atf-run/bad_metadata_helper
unit/atf-src/atf-run/expect_helpers
unit/atf-src/atf-run/misc_helpers
unit/atf-src/atf-run/pass_helper
unit/atf-src/atf-run/several_tcs_helper
unit/atf-src/atf-run/zero_tcs_helper
unit/atf-src/atf-sh/atf-check
unit/atf-src/atf-sh/atf-sh
unit/atf-src/atf-sh/misc_helpers
unit/atf-src/atf-version/atf-version
unit/atf-src/atf-version/revision.h
unit/atf-src/atf-version/revision.h.stamp
unit/atf-src/bconfig.h
unit/atf-src/bootstrap/atconfig
unit/atf-src/doc/atf.7
unit/atf-src/stamp-h1
unit/atf-src/test-programs/c_helpers
unit/atf-src/test-programs/cpp_helpers
unit/atf-src/test-programs/sh_helpers
bin/named/named

1786
CHANGES

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 1996-2003 Internet Software Consortium.
Permission to use, copy, modify, and/or distribute this software for any
@@ -13,8 +13,6 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
$Id: COPYRIGHT,v 1.19 2012/01/03 23:46:59 tbox Exp $
Portions of this code release fall under one or more of the
following Copyright notices. Please see individual source
files for details.
@@ -99,11 +97,7 @@ are met:
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by the University of
California, Berkeley and its contributors.
4. Neither the name of the University nor the names of its contributors
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
@@ -516,3 +510,29 @@ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.
-----------------------------------------------------------------------------
Copyright (c) 1995, 1997, 1998 The NetBSD Foundation, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

111
EXCLUDED Normal file
View File

@@ -0,0 +1,111 @@
3624. [bug] Look for 'json_object_new_int64' when looking for a
the json library. [RT #34449]
3622. [tuning] Eliminate an unnecessary lock when incrementing
cache statistics. [RT #34339]
3619. [bug] Fixed a bug in RPZ with "recursive-only no;"
[RT #33776]
3612. [port] Check whether to use -ljson or -ljson-c. [RT #34115]
3609. [bug] Corrected a possible deadlock in applications using
the export version of the isc_app API. [RT #33967]
3604. [bug] Fixed a compile-time error when building with
JSON but not XML. [RT #33959]
3602. [contrib] Added DLZ Perl module, allowing Perl scripts to
integrate with named and serve DNS data.
(Contributed by John Eaglesham of Yahoo.)
3598. [cleanup] Improved portability of map file code. [RT #33820]
3597. [bug] Ensure automatic-resigning heaps are reconstructed
when loading zones in map format. [RT #33381]
3595. [port] win32: Fix build problems introduced by change #3550.
[RT #33807]
3570. [bug] Check internal pointers are valid when loading map
files. [RT #33403]
3569. [contrib] Ported mysql DLZ driver to dynamically-loadable
module, and added multithread support. [RT #33394]
3564. [bug] Improved handling of corrupted map files. [RT #33380]
3554. [bug] RRL failed to correctly rate-limit upward
referrals and failed to count dropped error
responses in the statistics. [RT #33225]
3551. [bug] resolver.querydscp[46] were uninitialized. [RT #32686]
3545. [bug] RRL slip behavior was incorrect when set to 1.
[RT #33111]
3523. [contrib] Ported filesystem and ldap DLZ drivers to
dynamically-loadable modules, and added the
"wildcard" module based on a contribution from
Vadim Goncharov <vgoncharov@nic.ru>. [RT #23569]
3522. [bug] DLZ lookups could fail to return SERVFAIL when
they ought to. [RT #32685]
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]
3507. [bug] Statistics channel XSL had a glitch when attempting
to chart query data before any queries had been
received. [RT #32620]
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]
3490. [bug] When logging RDATA during update, truncate if it's
too long. [RT #32365]
3489. [bug] --enable-developer now turns on ISC_LIST_CHECKINIT.
When cloning a rdataset do not copy the link contents.
[RT #32651]
3484. [bug] Some statistics were incorrectly rendered in XML.
[RT #32587]
3476. [bug] "rndc zonestatus" could report a spurious "not
found" error on inline-signing zones. [RT #29226]
3475. [cleanup] Changed name of 'map' zone file format (previously
'fast'). [RT #32458]
3472. [bug] The active-connections counter in the socket
statistics could underflow. [RT #31747]
3469. [bug] Handle DLZ lookup failures more gracefully. Improve
backward compatibility between versions of DLZ dlopen
API. [RT #32275]
3434. [bug] Pass client info to the DLZ findzone() entry
point in addition to lookup(). This makes it
possible for a database to answer differently
whether it's authoritative for a name depending
on the address of the client. [RT #31775]
3433. [bug] dlz_findzone() did not correctly handle
ISC_R_NOMORE. [RT #31172]
3375. [bug] 'rndc dumpdb' failed on empty caches. [RT #30808]
3324. [test] Add better tests for ADB stats [RT #27057]
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]

15
FAQ
View File

@@ -1,6 +1,7 @@
Frequently Asked Questions about BIND 9
Copyright © 2004-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright © 2004-2010, 2013, 2014 Internet Systems Consortium, Inc.
("ISC")
Copyright © 2000-2003 Internet Software Consortium.
@@ -28,8 +29,8 @@ A: Short Answer: No.
What addresses to listen on? For a laptop on the move a lot you may
only want to listen on the loop back interfaces.
Who do you offer recursive service to? Is there are firewall to
consider? If so is it stateless or stateful. Are you directly on the
To whom do you offer recursive service? Is there a firewall to
consider? If so, is it stateless or stateful? Are you directly on the
Internet? Are you on a private network? Are you on a NAT'd network? The
answers to all these questions change how you configure even a caching
name server.
@@ -104,8 +105,8 @@ A: You are most likely running named as a non-root user, and that user
fixing this are to create a /var/run/named directory owned by the named
user and set pid-file to "/var/run/named/named.pid", or set pid-file to
"named.pid", which will put the file in the directory specified by the
directory option (which, in this case, must be writable by the named
user).
directory option (which, in this case, must be writable by the user
named is running as).
Q: I can query the nameserver from the nameserver but not from other
machines. Why?
@@ -264,7 +265,7 @@ Q: I get a error message like "zone wireless.ietf56.ietf.org/IN: loading
master file primaries/wireless.ietf56.ietf.org: no owner".
A: This error is produced when a line in the master file contains leading
white space (tab/space) but the is no current record owner name to
white space (tab/space) but there is no current record owner name to
inherit the name from. Usually this is the result of putting white
space before a comment, forgetting the "@" for the SOA record, or
indenting the master file.
@@ -869,7 +870,7 @@ A: If you run Tiger(Mac OS 10.4) or later then this is all you need to do:
Copy the key statement from /etc/rndc.conf into /etc/rndc.key, e.g.:
key "rndc-key" {
algorithm hmac-md5;
algorithm hmac-sha256;
secret "uvceheVuqf17ZwIcTydddw==";
};

13
FAQ.xml
View File

@@ -1,7 +1,7 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
<!--
- Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2010, 2013 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -30,6 +30,7 @@
<year>2008</year>
<year>2009</year>
<year>2010</year>
<year>2013</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -82,8 +83,8 @@
you may only want to listen on the loop back interfaces.
</para>
<para>
Who do you offer recursive service to? Is there are firewall
to consider? If so is it stateless or stateful. Are you
To whom do you offer recursive service? Is there a firewall
to consider? If so, is it stateless or stateful? Are you
directly on the Internet? Are you on a private network? Are
you on a NAT'd network? The answers
to all these questions change how you configure even a
@@ -245,7 +246,7 @@ view "chaos" chaos {
"/var/run/named/named.pid", or set pid-file to "named.pid",
which will put the file in the directory specified by the
directory option (which, in this case, must be writable by
the named user).
the user named is running as).
</para>
</answer>
</qandaentry>
@@ -479,7 +480,7 @@ Master 10.0.1.1:
<answer>
<para>
This error is produced when a line in the master file
contains leading white space (tab/space) but the is no
contains leading white space (tab/space) but there is no
current record owner name to inherit the name from. Usually
this is the result of putting white space before a comment,
forgetting the "@" for the SOA record, or indenting the master
@@ -1564,7 +1565,7 @@ rand_irqs="3 14 15"</programlisting>
<informalexample>
<programlisting>
key "rndc-key" {
algorithm hmac-md5;
algorithm hmac-sha256;
secret "uvceheVuqf17ZwIcTydddw==";
};</programlisting>
</informalexample>

52
HISTORY
View File

@@ -1,5 +1,57 @@
Summary of functional enhancements from prior major releases of BIND 9:
BIND 9.8.0
BIND 9.8.0 includes a number of changes from BIND 9.7 and earlier
releases. New features include:
- Built-in trust anchor for the root zone, which can be
switched on via "dnssec-validation auto;"
- Support for DNS64.
- Support for response policy zones (RPZ).
- Support for writable DLZ zones.
- Improved ease of configuration of GSS/TSIG for
interoperability with Active Directory
- Support for GOST signing algorithm for DNSSEC.
- Removed RTT Banding from server selection algorithm.
- New "static-stub" zone type.
- Allow configuration of resolver timeouts via
"resolver-query-timeout" option.
- The DLZ "dlopen" driver is now built by default.
- Added a new include file with function typedefs
for the DLZ "dlopen" driver.
- Made "--with-gssapi" default.
- More verbose error reporting from DLZ LDAP.
BIND 9.7.0
BIND 9.7.0 includes a number of changes from BIND 9.6 and earlier
releases. Most are intended to simplify DNSSEC configuration.
New features include:
- Fully automatic signing of zones by "named".
- Simplified configuration of DNSSEC Lookaside Validation (DLV).
- Simplified configuration of Dynamic DNS, using the "ddns-confgen"
command line tool or the "local" update-policy option. (As a side
effect, this also makes it easier to configure automatic zone
re-signing.)
- New named option "attach-cache" that allows multiple views to
share a single cache.
- DNS rebinding attack prevention.
- New default values for dnssec-keygen parameters.
- Support for RFC 5011 automated trust anchor maintenance
- Smart signing: simplified tools for zone signing and key
maintenance.
- The "statistics-channels" option is now available on Windows.
- A new DNSSEC-aware libdns API for use by non-BIND9 applications
- On some platforms, named and other binaries can now print out
a stack backtrace on assertion failure, to aid in debugging.
- A "tools only" installation mode on Windows, which only installs
dig, host, nslookup and nsupdate.
- Improved PKCS#11 support, including Keyper support and explicit
OpenSSL engine selection.
BIND 9.6.0
Full NSEC3 support

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2009, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -54,16 +54,32 @@ installdirs:
install:: isc-config.sh installdirs
${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
rm -f ${DESTDIR}${bindir}/bind9-config
@LN@ ${DESTDIR}${bindir}/isc-config.sh ${DESTDIR}${bindir}/bind9-config
${INSTALL_DATA} ${top_srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
rm -f ${DESTDIR}${mandir}/man1/bind9-config.1
@LN@ ${DESTDIR}${mandir}/man1/isc-config.sh.1 ${DESTDIR}${mandir}/man1/bind9-config.1
${INSTALL_DATA} ${top_srcdir}/bind.keys ${DESTDIR}${sysconfdir}
tags:
rm -f TAGS
find lib bin -name "*.[ch]" -print | @ETAGS@ -
check: test
test check:
@if test -n "`${PERL} ${top_srcdir}/bin/tests/system/testsock.pl 2>&- || echo fail`"; then \
echo I: NOTE: The tests were not run because they require that; \
echo I: the IP addresses 10.53.0.1 through 10.53.0.8 are configured; \
echo I: as alias addresses on the loopback interface. Please run; \
echo I: \'bin/tests/system/ifconfig.sh up\' as root to configure; \
echo I: them, then rerun the tests. Run make force-test to run the; \
echo I: tests anyway.; \
exit 1; \
fi
${MAKE} test-force
test:
force-test: test-force
test-force:
status=0; \
(cd bin/tests && ${MAKE} ${MAKEDEFS} test) || status=1; \
(test -f unit/unittest.sh && $(SHELL) unit/unittest.sh) || status=1; \
@@ -74,5 +90,8 @@ FAQ: FAQ.xml
LC_ALL=C ${W3M} -T text/html -dump -cols 72 >$@.tmp
mv $@.tmp $@
unit::
sh ${top_srcdir}/unit/unittest.sh
clean::
rm -f FAQ.tmp

225
README
View File

@@ -48,74 +48,112 @@ BIND 9
For a detailed list of user-visible changes from
previous releases, see the CHANGES file.
For up-to-date release notes and errata, see
http://www.isc.org/software/bind9/releasenotes
BIND 9.9.6-P2
BIND 9.9.6-P2 is a security release and addresses the security
flaw described in CVE-2015-1349.
BIND 9.9.6-P1
BIND 9.9.6-P1 is a security release and addresses the security
flaw described in CVE-2014-8500.
BIND 9.9.6
BIND 9.9.6 is a maintenance release, and also includes
the following new functionality.
- The former behavior with respect to capitalization of names
(prior to BIND 9.9.5) can be restored for specific clients via
the new "no-case-compress" ACL.
BIND 9.9.5
BIND 9.9.5 is a maintenance release, and patches the security
flaws described in CVE-2013-6320 and CVE-2014-0591. It also
includes the following functional enhancements:
- "named" now preserves the capitalization of names when
responding to queries.
- new "dnssec-importkey" command allows the use of offline
DNSSEC keys with automatic DNSKEY management.
- When re-signing a zone, the new "dnssec-signzone -Q" option
drops signatures from keys that are still published but are
no longer active.
- "named-checkconf -px" will print the contents of configuration
files with the shared secrets obscured, making it easier to
share configuration (e.g. when submitting a bug report)
without revealing private information.
BIND 9.9.4
BIND 9.9.4 is a maintenance release, and patches the security
flaws described in CVE-2013-3919 and CVE-2013-4854. It also
introduces DNS Response Rate Limiting (DNS RRL) as a
compile-time option. To use this feature, configure with
the "--enable-rrl" option.
BIND 9.9.3
BIND 9.9.3 is a maintenance release and patches the security
flaws described in CVE-2012-5688, CVE-2012-5689 and CVE-2013-2266.
BIND 9.9.2
BIND 9.9.2 is a maintenance release and patches the security
flaw described in CVE-2012-4244.
BIND 9.9.1
BIND 9.9.1 is a maintenance release.
BIND 9.9.0
BIND 9.9.0 includes a number of changes from BIND 9.8 and earlier
releases. New features include:
- Inline signing, allowing automatic DNSSEC signing of
master zones without modification of the zonefile, or
"bump in the wire" signing in slaves.
- NXDOMAIN redirection.
- New 'rndc flushtree' command clears all data under a given
name from the DNS cache.
- New 'rndc sync' command dumps pending changes in a dynamic
zone to disk without a freeze/thaw cycle.
- New 'rndc signing' command displays or clears signing status
records in 'auto-dnssec' zones.
- NSEC3 parameters for 'auto-dnssec' zones can now be set prior
to signing, eliminating the need to initially sign with NSEC.
- Startup time improvements on large authoritative servers.
- Slave zones are now saved in raw format by default.
- Several improvements to response policy zones (RPZ).
- Improved hardware scalability by using multiple threads
to listen for queries and using finer-grained client locking
- The 'also-notify' option now takes the same syntax as
'masters', so it can used named masterlists and TSIG keys.
- 'dnssec-signzone -D' writes an output file containing only DNSSEC
data, which can be included by the primary zone file.
- 'dnssec-signzone -R' forces removal of signatures that are
not expired but were created by a key which no longer exists.
- 'dnssec-signzone -X' allows a separate expiration date to
be specified for DNSKEY signatures from other signatures.
- New '-L' option to dnssec-keygen, dnssec-settime, and
dnssec-keyfromlabel sets the default TTL for the key.
- dnssec-dsfromkey now supports reading from standard input,
to make it easier to convert DNSKEY to DS.
- RFC 1918 reverse zones have been added to the empty-zones
table per RFC 6303.
- Dynamic updates can now optionally set the zone's SOA serial
number to the current UNIX time.
- DLZ modules can now retrieve the source IP address of
the querying client.
- 'request-ixfr' option can now be set at the per-zone level.
- 'dig +rrcomments' turns on comments about DNSKEY records,
indicating their key ID, algorithm and function
- Simplified nsupdate syntax and added readline support
BIND 9.8.0
BIND 9.8.0 includes a number of changes from BIND 9.7 and earlier
releases. New features include:
- Built-in trust anchor for the root zone, which can be
switched on via "dnssec-validation auto;"
- Support for DNS64.
- Support for response policy zones (RPZ).
- Support for writable DLZ zones.
- Improved ease of configuration of GSS/TSIG for
interoperability with Active Directory
- Support for GOST signing algorithm for DNSSEC.
- Removed RTT Banding from server selection algorithm.
- New "static-stub" zone type.
- Allow configuration of resolver timeouts via
"resolver-query-timeout" option.
- The DLZ "dlopen" driver is now built by default.
- Added a new include file with function typedefs
for the DLZ "dlopen" driver.
- Made "--with-gssapi" default.
- More verbose error reporting from DLZ LDAP.
- Inline signing, allowing automatic DNSSEC signing of
master zones without modification of the zonefile, or
"bump in the wire" signing in slaves.
- NXDOMAIN redirection.
- New 'rndc flushtree' command clears all data under a given
name from the DNS cache.
- New 'rndc sync' command dumps pending changes in a dynamic
zone to disk without a freeze/thaw cycle.
- New 'rndc signing' command displays or clears signing status
records in 'auto-dnssec' zones.
- NSEC3 parameters for 'auto-dnssec' zones can now be set prior
to signing, eliminating the need to initially sign with NSEC.
- Startup time improvements on large authoritative servers.
- Slave zones are now saved in raw format by default.
- Several improvements to response policy zones (RPZ).
- Improved hardware scalability by using multiple threads
to listen for queries and using finer-grained client locking
- The 'also-notify' option now takes the same syntax as
'masters', so it can used named masterlists and TSIG keys.
- 'dnssec-signzone -D' writes an output file containing only DNSSEC
data, which can be included by the primary zone file.
- 'dnssec-signzone -R' forces removal of signatures that are
not expired but were created by a key which no longer exists.
- 'dnssec-signzone -X' allows a separate expiration date to
be specified for DNSKEY signatures from other signatures.
- New '-L' option to dnssec-keygen, dnssec-settime, and
dnssec-keyfromlabel sets the default TTL for the key.
- dnssec-dsfromkey now supports reading from standard input,
to make it easier to convert DNSKEY to DS.
- RFC 1918 reverse zones have been added to the empty-zones
table per RFC 6303.
- Dynamic updates can now optionally set the zone's SOA serial
number to the current UNIX time.
- DLZ modules can now retrieve the source IP address of
the querying client.
- 'request-ixfr' option can now be set at the per-zone level.
- 'dig +rrcomments' turns on comments about DNSKEY records,
indicating their key ID, algorithm and function
- Simplified nsupdate syntax and added readline support
Building
@@ -135,9 +173,9 @@ Building
Ubuntu 7.04, 7.10
Windows XP/2003/2008
NOTE: As of BIND 9.5.1, 9.4.3, and 9.3.6, older versions of
Windows, including Windows NT and Windows 2000, are no longer
supported.
NOTE: As of BIND 9.5.1, 9.4.3, and 9.3.6, older versions of
Windows, including Windows NT and Windows 2000, are no longer
supported.
We have recent reports from the user community that a supported
version of BIND will build and run on the following systems:
@@ -171,7 +209,8 @@ Building
CFLAGS
C compiler flags. Defaults to include -g and/or -O2
as supported by the compiler.
as supported by the compiler. Please include '-g'
if you need to set CFLAGS.
STD_CINCLUDES
System header file directories. Can be used to specify
@@ -237,10 +276,10 @@ Building
on the configure command line. The default is operating
system dependent.
Support for the "fixed" rrset-order option can be enabled
or disabled by specifying "--enable-fixed-rrset" or
"--disable-fixed-rrset" on the configure command line.
The default is "disabled", to reduce memory footprint.
Support for the "fixed" rrset-order option can be enabled
or disabled by specifying "--enable-fixed-rrset" or
"--disable-fixed-rrset" on the configure command line.
The default is "disabled", to reduce memory footprint.
If your operating system has integrated support for IPv6, it
will be used automatically. If you have installed KAME IPv6
@@ -288,6 +327,10 @@ Building
libraries. sh-utils-1.16 provides a "printf" which compiles
on SunOS 4.
Known limitations
Linux requires kernel build 2.6.39 or later to get the
performance benefits from using multiple sockets.
Documentation
@@ -307,8 +350,8 @@ Documentation
Frequently asked questions and their answers can be found in
FAQ.
Additional information on various subjects can be found
in the other README files.
Additional information on various subjects can be found
in the other README files.
Change Log
@@ -339,13 +382,21 @@ Change Log
[protocol] Updates to the DNS protocol such as new
RR types
[test] Changes to the automatic tests, not
affecting server functionality
[test] Changes to the automatic tests, not
affecting server functionality
[cleanup] Minor corrections and refactoring
[cleanup] Minor corrections and refactoring
[doc] Documentation
[contrib] Changes to the contributed tools and
libraries in the 'contrib' subdirectory
[placeholder] Used in the master development branch to
reserve change numbers for use in other
branches, e.g. when fixing a bug that only
exists in older releases
In general, [func] and [experimental] tags will only appear
in new-feature releases (i.e., those with version numbers
ending in zero). Some new functionality may be backported to
@@ -355,22 +406,28 @@ Change Log
Bug Reports and Mailing Lists
Bugs reports should be sent to
Bug reports should be sent to:
bind9-bugs@isc.org
To join the BIND Users mailing list, send mail to
Feature requests can be sent to:
bind-users-request@isc.org
bind-suggest@isc.org
archives of which can be found via
To join or view the archives of the BIND Users mailing list,
visit:
http://www.isc.org/ops/lists/
https://lists.isc.org/mailman/listinfo/bind-users
If you're planning on making changes to the BIND 9 source
code, you might want to join the BIND Workers mailing list.
Send mail to
code, you may also want to join the BIND Workers mailing
list:
bind-workers-request@isc.org
https://lists.isc.org/mailman/listinfo/bind-workers
Information on read-only Git access, coding style and developer
guidelines can be found at:
http://www.isc.org/git/

View File

@@ -1,35 +0,0 @@
Redirect zones are used to find answers to queries when normal resolution
would result in NXDOMAIN being returned. Only one redirect zone per view
is currently supported.
To redirect to 100.100.100.2 and 2001:ffff:ffff::100.100.100.2 on NXDOMAIN
one would configure the redirect zone like this.
zone "." {
type redirect;
file "redirect.db";
};
redirect.db:
$TTL 300
@ IN SOA ns.example.net hostmaster.example.net 0 0 0 0 0
@ IN NS ns.example.net
;
; NS records do not need address records in this zone as it is not in the
; normal namespace.
;
*. IN A 100.100.100.2
*. IN AAAA 2001:ffff:ffff::100.100.100.2
To redirect all Spanish names (under .ES) one would use entries like these:
*.ES. IN A 100.100.100.3
*.ES. IN AAAA 2001:ffff:ffff::100.100.100.3
To redirect all commercial Spanish names (under COM.ES) one would use
entries like these:
*.COM.ES. IN A 100.100.100.4
*.COM.ES. IN AAAA 2001:ffff:ffff::100.100.100.4
The redirect zone supports all possible types. It is not limited to
A and AAAA record.

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2008, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -73,6 +73,9 @@
/** define if arc4random() exists */
#undef HAVE_ARC4RANDOM
/** define if arc4random_addrandom() exists */
#undef HAVE_ARC4RANDOM_ADDRANDOM
/**
* define if pthread_setconcurrency() should be called to tell the
* OS how many threads we might want to run.
@@ -138,6 +141,9 @@ int sigwait(const unsigned int *set, int *sig);
/* Define if OpenSSL includes DSA support */
#undef HAVE_OPENSSL_DSA
/* Define if OpenSSL includes ECDSA support */
#undef HAVE_OPENSSL_ECDSA
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
#undef ISC_SOCKADDR_LEN_T

17
aclocal.m4 vendored
View File

@@ -1,2 +1,17 @@
sinclude(./libtool.m4)dnl
sinclude(libtool.m4/libtool.m4)dnl
sinclude(libtool.m4/ltoptions.m4)dnl
sinclude(libtool.m4/ltsugar.m4)dnl
sinclude(libtool.m4/ltversion.m4)dnl
sinclude(libtool.m4/lt~obsolete.m4)dnl
m4_divert_text(HELP_CANON, [[
NOTE: If PREFIX is not set, then the default values for --sysconfdir
and --localstatedir are /etc and /var, respectively.]])
m4_divert_text(HELP_END, [[
Professional support for BIND is provided by Internet Systems Consortium,
Inc. Information about paid support and training options is available at
https://www.isc.org/support.
Help can also often be found on the BIND Users mailing list
(https://lists.isc.org/mailman/listinfo/bind-users) or in the #bind
channel of the Freenode IRC service.]])

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2007, 2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -19,8 +19,8 @@ srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
SUBDIRS = named rndc dig dnssec tests tools nsupdate \
check confgen @PKCS11_TOOLS@
SUBDIRS = named rndc dig dnssec tools tests nsupdate \
check confgen @PYTHON_TOOLS@ @PKCS11_TOOLS@
TARGETS =
@BIND9_MAKE_RULES@

View File

@@ -1,6 +1,3 @@
Makefile
.libs
*.la
*.lo
named-checkconf
named-checkzone

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2007, 2009, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -70,7 +70,7 @@ named-checkzone.@O@: named-checkzone.c
-c ${srcdir}/named-checkzone.c
named-checkconf@EXEEXT@: named-checkconf.@O@ check-tool.@O@ ${ISCDEPLIBS} \
${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
${DNSDEPLIBS} ${ISCCFGDEPLIBS} ${BIND9DEPLIBS}
export BASEOBJS="named-checkconf.@O@ check-tool.@O@"; \
export LIBS0="${BIND9LIBS} ${ISCCFGLIBS} ${DNSLIBS}"; \
${FINALBUILDCMD}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -196,6 +196,10 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
a->type == dns_rdatatype_a);
REQUIRE(aaaa == NULL || !dns_rdataset_isassociated(aaaa) ||
aaaa->type == dns_rdatatype_aaaa);
if (a == NULL || aaaa == NULL)
return (answer);
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_CANONNAME;
hints.ai_family = PF_UNSPEC;
@@ -258,8 +262,7 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
}
return (ISC_TRUE);
}
if (a == NULL || aaaa == NULL)
return (answer);
/*
* Check that all glue records really exist.
*/
@@ -597,7 +600,7 @@ load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
dns_zone_settype(zone, dns_zone_master);
isc_buffer_init(&buffer, zonename, strlen(zonename));
isc_buffer_constinit(&buffer, zonename, strlen(zonename));
isc_buffer_add(&buffer, strlen(zonename));
dns_fixedname_init(&fixorigin);
origin = dns_fixedname_name(&fixorigin);
@@ -640,6 +643,9 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
{
isc_result_t result;
FILE *output = stdout;
const char *flags;
flags = (fileformat == dns_masterformat_text) ? "w+" : "wb+";
if (debug) {
if (filename != NULL && strcmp(filename, "-") != 0)
@@ -650,7 +656,7 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
}
if (filename != NULL && strcmp(filename, "-") != 0) {
result = isc_stdio_open(filename, "w+", &output);
result = isc_stdio_open(filename, flags, &output);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "could not open output "

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,18 +13,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkconf.8,v 1.33 2009/12/29 01:14:03 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: named\-checkconf
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: June 14, 2000
.\" Date: January 10, 2014
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "NAMED\-CHECKCONF" "8" "June 14, 2000" "BIND9" "BIND9"
.TH "NAMED\-CHECKCONF" "8" "January 10, 2014" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -33,7 +33,7 @@
named\-checkconf \- named configuration file syntax checking tool
.SH "SYNOPSIS"
.HP 16
\fBnamed\-checkconf\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-j\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename} [\fB\-p\fR] [\fB\-z\fR]
\fBnamed\-checkconf\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-j\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename} [\fB\-p\fR] [\fB\-x\fR] [\fB\-z\fR]
.SH "DESCRIPTION"
.PP
\fBnamed\-checkconf\fR
@@ -84,6 +84,14 @@ Print out the
and included files in canonical form if no errors were detected.
.RE
.PP
\-x
.RS 4
When printing the configuration files in canonical form, obscure shared secrets by replacing them with strings of question marks ('?'). This allows the contents of
\fInamed.conf\fR
and related files to be shared \(em for example, when submitting bug reports \(em without compromising private data. This option cannot be used without
\fB\-p\fR.
.RE
.PP
\-z
.RS 4
Perform a test load of all master zones found in
@@ -113,7 +121,7 @@ BIND 9 Administrator Reference Manual.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009-2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -39,10 +39,13 @@
#include <bind9/check.h>
#include <dns/db.h>
#include <dns/fixedname.h>
#include <dns/log.h>
#include <dns/name.h>
#include <dns/rdataclass.h>
#include <dns/result.h>
#include <dns/rootns.h>
#include <dns/zone.h>
#include "check-tool.h"
@@ -140,15 +143,27 @@ get_checknames(const cfg_obj_t **maps, const cfg_obj_t **obj) {
}
static isc_result_t
config_get(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
int i;
configure_hint(const char *zfile, const char *zclass, isc_mem_t *mctx) {
isc_result_t result;
dns_db_t *db = NULL;
dns_rdataclass_t rdclass;
isc_textregion_t r;
for (i = 0;; i++) {
if (maps[i] == NULL)
return (ISC_R_NOTFOUND);
if (cfg_map_get(maps[i], name, obj) == ISC_R_SUCCESS)
return (ISC_R_SUCCESS);
}
if (zfile == NULL)
return (ISC_R_FAILURE);
DE_CONST(zclass, r.base);
r.length = strlen(zclass);
result = dns_rdataclass_fromtext(&rdclass, &r);
if (result != ISC_R_SUCCESS)
return (result);
result = dns_rootns_create(mctx, rdclass, zfile, &db);
if (result != ISC_R_SUCCESS)
return (result);
dns_db_detach(&db);
return (ISC_R_SUCCESS);
}
/*% configure the zone */
@@ -161,8 +176,9 @@ configure_zone(const char *vclass, const char *view,
isc_result_t result;
const char *zclass;
const char *zname;
const char *zfile;
const char *zfile = NULL;
const cfg_obj_t *maps[4];
const cfg_obj_t *mastersobj = NULL;
const cfg_obj_t *zoptions = NULL;
const cfg_obj_t *classobj = NULL;
const cfg_obj_t *typeobj = NULL;
@@ -195,15 +211,42 @@ configure_zone(const char *vclass, const char *view,
cfg_map_get(zoptions, "type", &typeobj);
if (typeobj == NULL)
return (ISC_R_FAILURE);
if (strcasecmp(cfg_obj_asstring(typeobj), "master") != 0)
return (ISC_R_SUCCESS);
/*
* Skip checks when using an alternate data source.
*/
cfg_map_get(zoptions, "database", &dbobj);
if (dbobj != NULL)
if (dbobj != NULL &&
strcmp("rbt", cfg_obj_asstring(dbobj)) != 0 &&
strcmp("rbt64", cfg_obj_asstring(dbobj)) != 0)
return (ISC_R_SUCCESS);
cfg_map_get(zoptions, "file", &fileobj);
if (fileobj == NULL)
if (fileobj != NULL)
zfile = cfg_obj_asstring(fileobj);
/*
* Check hints files for hint zones.
* Skip loading checks for any type other than
* master and redirect
*/
if (strcasecmp(cfg_obj_asstring(typeobj), "hint") == 0)
return (configure_hint(zfile, zclass, mctx));
else if ((strcasecmp(cfg_obj_asstring(typeobj), "master") != 0) &&
(strcasecmp(cfg_obj_asstring(typeobj), "redirect") != 0))
return (ISC_R_SUCCESS);
/*
* Is the redirect zone configured as a slave?
*/
if (strcasecmp(cfg_obj_asstring(typeobj), "redirect") == 0) {
cfg_map_get(zoptions, "masters", &mastersobj);
if (mastersobj != NULL)
return (ISC_R_SUCCESS);
}
if (zfile == NULL)
return (ISC_R_FAILURE);
zfile = cfg_obj_asstring(fileobj);
obj = NULL;
if (get_maps(maps, "check-dup-records", &obj)) {
@@ -294,6 +337,18 @@ configure_zone(const char *vclass, const char *view,
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
}
obj = NULL;
if (get_maps(maps, "check-spf", &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
zone_options |= DNS_ZONEOPT_CHECKSPF;
} else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
zone_options &= ~DNS_ZONEOPT_CHECKSPF;
} else
INSIST(0);
} else {
zone_options |= DNS_ZONEOPT_CHECKSPF;
}
obj = NULL;
if (get_checknames(maps, &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
@@ -314,8 +369,7 @@ configure_zone(const char *vclass, const char *view,
masterformat = dns_masterformat_text;
fmtobj = NULL;
result = config_get(maps, "masterfile-format", &fmtobj);
if (result == ISC_R_SUCCESS) {
if (get_maps(maps, "masterfile-format", &fmtobj)) {
const char *masterformatstr = cfg_obj_asstring(fmtobj);
if (strcasecmp(masterformatstr, "text") == 0)
masterformat = dns_masterformat_text;
@@ -329,7 +383,7 @@ configure_zone(const char *vclass, const char *view,
if (result != ISC_R_SUCCESS)
fprintf(stderr, "%s/%s/%s: %s\n", view, zname, zclass,
dns_result_totext(result));
return(result);
return (result);
}
/*% configure a view */
@@ -430,10 +484,11 @@ main(int argc, char **argv) {
isc_entropy_t *ectx = NULL;
isc_boolean_t load_zones = ISC_FALSE;
isc_boolean_t print = ISC_FALSE;
unsigned int flags = 0;
isc_commandline_errprint = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv, "dhjt:pvz")) != EOF) {
while ((c = isc_commandline_parse(argc, argv, "dhjt:pvxz")) != EOF) {
switch (c) {
case 'd':
debug++;
@@ -460,6 +515,10 @@ main(int argc, char **argv) {
printf(VERSION "\n");
exit(0);
case 'x':
flags |= CFG_PRINTER_XKEY;
break;
case 'z':
load_zones = ISC_TRUE;
docheckmx = ISC_FALSE;
@@ -471,6 +530,7 @@ main(int argc, char **argv) {
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
/* FALLTHROUGH */
case 'h':
usage();
@@ -481,6 +541,11 @@ main(int argc, char **argv) {
}
}
if (((flags & CFG_PRINTER_XKEY) != 0) && !print) {
fprintf(stderr, "%s: -x cannot be used without -p\n", program);
exit(1);
}
if (isc_commandline_index + 1 < argc)
usage();
if (argv[isc_commandline_index] != NULL)
@@ -521,7 +586,7 @@ main(int argc, char **argv) {
}
if (print && exit_status == 0)
cfg_print(config, output, NULL);
cfg_printx(config, flags, output, NULL);
cfg_obj_destroy(parser, &config);
cfg_parser_destroy(&parser);

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,10 +18,9 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.docbook,v 1.22 2009/12/28 23:21:16 each Exp $ -->
<refentry id="man.named-checkconf">
<refentryinfo>
<date>June 14, 2000</date>
<date>January 10, 2014</date>
</refentryinfo>
<refmeta>
@@ -36,6 +35,7 @@
<year>2005</year>
<year>2007</year>
<year>2009</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -60,6 +60,7 @@
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg choice="req">filename</arg>
<arg><option>-p</option></arg>
<arg><option>-x</option></arg>
<arg><option>-z</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -129,6 +130,21 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-x</term>
<listitem>
<para>
When printing the configuration files in canonical
form, obscure shared secrets by replacing them with
strings of question marks ('?'). This allows the
contents of <filename>named.conf</filename> and related
files to be shared &mdash; for example, when submitting
bug reports &mdash; without compromising private data.
This option cannot be used without <option>-p</option>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-z</term>
<listitem>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.html,v 1.33 2009/12/29 01:14:03 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,10 +29,10 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [<code class="option">-h</code>] [<code class="option">-v</code>] [<code class="option">-j</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] {filename} [<code class="option">-p</code>] [<code class="option">-z</code>]</p></div>
<div class="cmdsynopsis"><p><code class="command">named-checkconf</code> [<code class="option">-h</code>] [<code class="option">-v</code>] [<code class="option">-j</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] {filename} [<code class="option">-p</code>] [<code class="option">-x</code>] [<code class="option">-z</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543395"></a><h2>DESCRIPTION</h2>
<a name="id2543411"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkconf</strong></span>
checks the syntax, but not the semantics, of a
<span><strong class="command">named</strong></span> configuration file. The file is parsed
@@ -52,7 +52,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543444"></a><h2>OPTIONS</h2>
<a name="id2543460"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-h</span></dt>
<dd><p>
@@ -74,6 +74,16 @@
Print out the <code class="filename">named.conf</code> and included files
in canonical form if no errors were detected.
</p></dd>
<dt><span class="term">-x</span></dt>
<dd><p>
When printing the configuration files in canonical
form, obscure shared secrets by replacing them with
strings of question marks ('?'). This allows the
contents of <code class="filename">named.conf</code> and related
files to be shared &#8212; for example, when submitting
bug reports &#8212; without compromising private data.
This option cannot be used without <code class="option">-p</code>.
</p></dd>
<dt><span class="term">-z</span></dt>
<dd><p>
Perform a test load of all master zones found in
@@ -91,21 +101,21 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543568"></a><h2>RETURN VALUES</h2>
<a name="id2543604"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkconf</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543579"></a><h2>SEE ALSO</h2>
<a name="id2543616"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543609"></a><h2>AUTHOR</h2>
<a name="id2543645"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2007, 2009-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,18 +13,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkzone.8,v 1.49 2011/12/22 18:10:10 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: named\-checkzone
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: June 13, 2000
.\" Date: April 29, 2013
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "NAMED\-CHECKZONE" "8" "June 13, 2000" "BIND9" "BIND9"
.TH "NAMED\-CHECKZONE" "8" "April 29, 2013" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -33,9 +33,9 @@
named\-checkzone, named\-compilezone \- zone file validity checking or converting tool
.SH "SYNOPSIS"
.HP 16
\fBnamed\-checkzone\fR [\fB\-d\fR] [\fB\-h\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-M\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-L\ \fR\fB\fIserial\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-r\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-S\ \fR\fB\fImode\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
\fBnamed\-checkzone\fR [\fB\-d\fR] [\fB\-h\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-M\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-L\ \fR\fB\fIserial\fR\fR] [\fB\-o\ \fR\fB\fIfilename\fR\fR] [\fB\-r\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-S\ \fR\fB\fImode\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-T\ \fR\fB\fImode\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {zonename} {filename}
.HP 18
\fBnamed\-compilezone\fR [\fB\-d\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-C\ \fR\fB\fImode\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-L\ \fR\fB\fIserial\fR\fR] [\fB\-r\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {\fB\-o\ \fR\fB\fIfilename\fR\fR} {zonename} {filename}
\fBnamed\-compilezone\fR [\fB\-d\fR] [\fB\-j\fR] [\fB\-q\fR] [\fB\-v\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-C\ \fR\fB\fImode\fR\fR] [\fB\-f\ \fR\fB\fIformat\fR\fR] [\fB\-F\ \fR\fB\fIformat\fR\fR] [\fB\-i\ \fR\fB\fImode\fR\fR] [\fB\-k\ \fR\fB\fImode\fR\fR] [\fB\-m\ \fR\fB\fImode\fR\fR] [\fB\-n\ \fR\fB\fImode\fR\fR] [\fB\-L\ \fR\fB\fIserial\fR\fR] [\fB\-r\ \fR\fB\fImode\fR\fR] [\fB\-s\ \fR\fB\fIstyle\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-T\ \fR\fB\fImode\fR\fR] [\fB\-w\ \fR\fB\fIdirectory\fR\fR] [\fB\-D\fR] [\fB\-W\ \fR\fB\fImode\fR\fR] {\fB\-o\ \fR\fB\fIfilename\fR\fR} {zonename} {filename}
.SH "DESCRIPTION"
.PP
\fBnamed\-checkzone\fR
@@ -249,6 +249,14 @@ Chroot to
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
.RE
.PP
\-T \fImode\fR
.RS 4
Check if Sender Policy Framework (SPF) records exist and issues a warning if an SPF\-formatted TXT record is not also present. Possible modes are
\fB"warn"\fR
(default),
\fB"ignore"\fR.
.RE
.PP
\-w \fIdirectory\fR
.RS 4
chdir to
@@ -294,7 +302,7 @@ BIND 9 Administrator Reference Manual.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004\-2007, 2009\-2011 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2007, 2009\-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -150,19 +150,21 @@ main(int argc, char **argv) {
if (progmode == progmode_compile) {
zone_options |= (DNS_ZONEOPT_CHECKNS |
DNS_ZONEOPT_FATALNS |
DNS_ZONEOPT_CHECKSPF |
DNS_ZONEOPT_CHECKDUPRR |
DNS_ZONEOPT_CHECKNAMES |
DNS_ZONEOPT_CHECKNAMESFAIL |
DNS_ZONEOPT_CHECKWILDCARD);
} else
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
zone_options |= (DNS_ZONEOPT_CHECKDUPRR |
DNS_ZONEOPT_CHECKSPF);
#define ARGCMP(X) (strcmp(isc_commandline_argument, X) == 0)
isc_commandline_errprint = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv,
"c:df:hi:jk:L:m:n:qr:s:t:o:vw:DF:M:S:W:"))
"c:df:hi:jk:L:m:n:qr:s:t:o:vw:DF:M:S:T:W:"))
!= EOF) {
switch (c) {
case 'c':
@@ -379,6 +381,18 @@ main(int argc, char **argv) {
}
break;
case 'T':
if (ARGCMP("warn")) {
zone_options |= DNS_ZONEOPT_CHECKSPF;
} else if (ARGCMP("ignore")) {
zone_options &= ~DNS_ZONEOPT_CHECKSPF;
} else {
fprintf(stderr, "invalid argument to -T: %s\n",
isc_commandline_argument);
exit(1);
}
break;
case 'W':
if (ARGCMP("warn"))
zone_options |= DNS_ZONEOPT_CHECKWILDCARD;
@@ -390,6 +404,7 @@ main(int argc, char **argv) {
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
prog_name, isc_commandline_option);
/* FALLTHROUGH */
case 'h':
usage();

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2009-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,10 +18,9 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.44 2011/12/22 07:32:39 each Exp $ -->
<refentry id="man.named-checkzone">
<refentryinfo>
<date>June 13, 2000</date>
<date>April 29, 2013</date>
</refentryinfo>
<refmeta>
@@ -39,6 +38,8 @@
<year>2009</year>
<year>2010</year>
<year>2011</year>
<year>2013</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -77,6 +78,7 @@
<arg><option>-s <replaceable class="parameter">style</replaceable></option></arg>
<arg><option>-S <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-T <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-D</option></arg>
<arg><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
@@ -101,6 +103,7 @@
<arg><option>-r <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-s <replaceable class="parameter">style</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-T <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-D</option></arg>
<arg><option>-W <replaceable class="parameter">mode</replaceable></option></arg>
@@ -401,6 +404,18 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-T <replaceable class="parameter">mode</replaceable></term>
<listitem>
<para>
Check if Sender Policy Framework (SPF) records exist
and issues a warning if an SPF-formatted TXT record is
not also present. Possible modes are <command>"warn"</command>
(default), <command>"ignore"</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-w <replaceable class="parameter">directory</replaceable></term>
<listitem>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2009-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.html,v 1.49 2011/12/22 18:10:10 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,11 +29,11 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">named-checkzone</code> [<code class="option">-d</code>] [<code class="option">-h</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-M <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-S <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {zonename} {filename}</p></div>
<div class="cmdsynopsis"><p><code class="command">named-compilezone</code> [<code class="option">-d</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-C <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {<code class="option">-o <em class="replaceable"><code>filename</code></em></code>} {zonename} {filename}</p></div>
<div class="cmdsynopsis"><p><code class="command">named-checkzone</code> [<code class="option">-d</code>] [<code class="option">-h</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-M <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-o <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-S <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-T <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {zonename} {filename}</p></div>
<div class="cmdsynopsis"><p><code class="command">named-compilezone</code> [<code class="option">-d</code>] [<code class="option">-j</code>] [<code class="option">-q</code>] [<code class="option">-v</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-C <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-f <em class="replaceable"><code>format</code></em></code>] [<code class="option">-F <em class="replaceable"><code>format</code></em></code>] [<code class="option">-i <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-k <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-m <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-n <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-L <em class="replaceable"><code>serial</code></em></code>] [<code class="option">-r <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-s <em class="replaceable"><code>style</code></em></code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-T <em class="replaceable"><code>mode</code></em></code>] [<code class="option">-w <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-D</code>] [<code class="option">-W <em class="replaceable"><code>mode</code></em></code>] {<code class="option">-o <em class="replaceable"><code>filename</code></em></code>} {zonename} {filename}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543715"></a><h2>DESCRIPTION</h2>
<a name="id2543747"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkzone</strong></span>
checks the syntax and integrity of a zone file. It performs the
same checks as <span><strong class="command">named</strong></span> does when loading a
@@ -53,7 +53,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543750"></a><h2>OPTIONS</h2>
<a name="id2543782"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-d</span></dt>
<dd><p>
@@ -230,6 +230,13 @@
directives in the configuration file are processed as if
run by a similarly chrooted named.
</p></dd>
<dt><span class="term">-T <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
Check if Sender Policy Framework (SPF) records exist
and issues a warning if an SPF-formatted TXT record is
not also present. Possible modes are <span><strong class="command">"warn"</strong></span>
(default), <span><strong class="command">"ignore"</strong></span>.
</p></dd>
<dt><span class="term">-w <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
chdir to <code class="filename">directory</code> so that
@@ -263,14 +270,14 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544499"></a><h2>RETURN VALUES</h2>
<a name="id2544622"></a><h2>RETURN VALUES</h2>
<p><span><strong class="command">named-checkzone</strong></span>
returns an exit status of 1 if
errors were detected and 0 otherwise.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544579"></a><h2>SEE ALSO</h2>
<a name="id2544634"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">named-checkconf</span>(8)</span>,
<em class="citetitle">RFC 1035</em>,
@@ -278,7 +285,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544612"></a><h2>AUTHOR</h2>
<a name="id2544667"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,24 +1,24 @@
# Microsoft Developer Studio Project File - Name="namedcheckconf" - Package Owner=<4>
# Microsoft Developer Studio Project File - Name="checkconf" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=namedcheckconf - Win32 Debug
CFG=checkconf - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "namedcheckconf.mak".
!MESSAGE NMAKE /f "checkconf.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "namedcheckconf.mak" CFG="namedcheckconf - Win32 Debug"
!MESSAGE NMAKE /f "checkconf.mak" CFG="checkconf - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "namedcheckconf - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "namedcheckconf - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "checkconf - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "checkconf - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=namedcheckconf - Win32 Debug
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -41,18 +41,18 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR /YX /FD /c
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/checktool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/named-checkconf.exe"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/checktool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/named-checkconf.exe"
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -65,24 +65,24 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/checktool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/checktool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "namedcheckconf - Win32 Release"
# Name "namedcheckconf - Win32 Debug"
# Name "checkconf - @PLATFORM@ Release"
# Name "checkconf - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -3,7 +3,7 @@ Microsoft Developer Studio Workspace File, Format Version 6.00
###############################################################################
Project: "namedcheckzone"=".\namedcheckzone.dsp" - Package Owner=<4>
Project: "checkconf"=".\checkconf.dsp" - Package Owner=<4>
Package=<5>
{{{

View File

@@ -1,20 +1,20 @@
# Microsoft Developer Studio Generated NMAKE File, Based on namedcheckconf.dsp
# Microsoft Developer Studio Generated NMAKE File, Based on checkconf.dsp
!IF "$(CFG)" == ""
CFG=namedcheckconf - Win32 Debug
!MESSAGE No configuration specified. Defaulting to namedcheckconf - Win32 Debug.
CFG=checkconf - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to checkconf - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "namedcheckconf - Win32 Release" && "$(CFG)" != "namedcheckconf - Win32 Debug"
!IF "$(CFG)" != "checkconf - @PLATFORM@ Release" && "$(CFG)" != "checkconf - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "namedcheckconf.mak" CFG="namedcheckconf - Win32 Debug"
!MESSAGE NMAKE /f "checkconf.mak" CFG="checkconf - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "namedcheckconf - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "namedcheckconf - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "checkconf - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "checkconf - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
@@ -28,7 +28,7 @@ NULL=nul
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
@@ -103,7 +103,7 @@ _VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
@@ -113,16 +113,16 @@ OutDir=.\Release
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
ALL : "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
!ELSE
ALL : "libdns - Win32 Release" "libisccfg - Win32 Release" "libisc - Win32 Release" "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
ALL : "libdns - @PLATFORM@ Release" "libisccfg - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "..\..\..\Build\Release\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libisc - Win32 ReleaseCLEAN" "libisccfg - Win32 ReleaseCLEAN" "libdns - Win32 ReleaseCLEAN"
CLEAN :"libisc - @PLATFORM@ ReleaseCLEAN" "libisccfg - @PLATFORM@ ReleaseCLEAN" "libdns - @PLATFORM@ ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
@@ -131,27 +131,27 @@ CLEAN :
-@erase "$(INTDIR)\named-checkconf.obj"
-@erase "$(INTDIR)\named-checkconf.sbr"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(OUTDIR)\namedcheckconf.bsc"
-@erase "$(OUTDIR)\checkconf.bsc"
-@erase "..\..\..\Build\Release\named-checkconf.exe"
-@$(_VC_MANIFEST_CLEAN)
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\namedcheckconf.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\checkconf.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckconf.bsc"
BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkconf.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkconf.sbr"
"$(OUTDIR)\namedcheckconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
"$(OUTDIR)\checkconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkconf.pdb" /machine:I386 /out:"../../../Build/Release/named-checkconf.exe"
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/bind9/win32/Release/libbind9.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkconf.pdb" @MACHINE@ /out:"../../../Build/Release/named-checkconf.exe"
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkconf.obj" \
@@ -165,7 +165,7 @@ LINK32_OBJS= \
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
@@ -175,16 +175,16 @@ OutDir=.\Debug
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
ALL : "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
!ELSE
ALL : "libdns - Win32 Debug" "libisccfg - Win32 Debug" "libisc - Win32 Debug" "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\namedcheckconf.bsc"
ALL : "libdns - @PLATFORM@ Debug" "libisccfg - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "..\..\..\Build\Debug\named-checkconf.exe" "$(OUTDIR)\checkconf.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libisc - Win32 DebugCLEAN" "libisccfg - Win32 DebugCLEAN" "libdns - Win32 DebugCLEAN"
CLEAN :"libisc - @PLATFORM@ DebugCLEAN" "libisccfg - @PLATFORM@ DebugCLEAN" "libdns - @PLATFORM@ DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
@@ -195,7 +195,7 @@ CLEAN :
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\named-checkconf.pdb"
-@erase "$(OUTDIR)\namedcheckconf.bsc"
-@erase "$(OUTDIR)\checkconf.bsc"
-@erase "..\..\..\Build\Debug\named-checkconf.exe"
-@erase "..\..\..\Build\Debug\named-checkconf.ilk"
-@$(_VC_MANIFEST_CLEAN)
@@ -203,20 +203,20 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckconf.bsc"
BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkconf.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkconf.sbr"
"$(OUTDIR)\namedcheckconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
"$(OUTDIR)\checkconf.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkconf.pdb" /debug /machine:I386 /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/bind9/win32/Debug/libbind9.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkconf.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/named-checkconf.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkconf.obj" \
@@ -264,15 +264,15 @@ LINK32_OBJS= \
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("namedcheckconf.dep")
!INCLUDE "namedcheckconf.dep"
!IF EXISTS("checkconf.dep")
!INCLUDE "checkconf.dep"
!ELSE
!MESSAGE Warning: cannot find "namedcheckconf.dep"
!MESSAGE Warning: cannot find "checkconf.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "namedcheckconf - Win32 Release" || "$(CFG)" == "namedcheckconf - Win32 Debug"
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release" || "$(CFG)" == "checkconf - @PLATFORM@ Debug"
SOURCE="..\check-tool.c"
"$(INTDIR)\check-tool.obj" "$(INTDIR)\check-tool.sbr" : $(SOURCE) "$(INTDIR)"
@@ -285,80 +285,80 @@ SOURCE="..\named-checkconf.c"
$(CPP) $(CPP_PROJ) $(SOURCE)
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
"libisc - Win32 Release" :
"libisc - @PLATFORM@ Release" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libisc - Win32 ReleaseCLEAN" :
"libisc - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
"libisc - Win32 Debug" :
"libisc - @PLATFORM@ Debug" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libisc - Win32 DebugCLEAN" :
"libisc - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
"libisccfg - Win32 Release" :
"libisccfg - @PLATFORM@ Release" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libisccfg - Win32 ReleaseCLEAN" :
"libisccfg - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
"libisccfg - Win32 Debug" :
"libisccfg - @PLATFORM@ Debug" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libisccfg - Win32 DebugCLEAN" :
"libisccfg - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\isccfg\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisccfg.mak" CFG="libisccfg - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "namedcheckconf - Win32 Release"
!IF "$(CFG)" == "checkconf - @PLATFORM@ Release"
"libdns - Win32 Release" :
"libdns - @PLATFORM@ Release" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libdns - Win32 ReleaseCLEAN" :
"libdns - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckconf - Win32 Debug"
!ELSEIF "$(CFG)" == "checkconf - @PLATFORM@ Debug"
"libdns - Win32 Debug" :
"libdns - @PLATFORM@ Debug" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libdns - Win32 DebugCLEAN" :
"libdns - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\check-tool.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\named-checkconf.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{03A96113-CB14-43AA-AEB2-48950E3915C5}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>checkconf</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>named-$(ProjectName)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>named-$(ProjectName)</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>checktool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;libbind9.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>checktool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;libbind9.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\check-tool.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\named-checkconf.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -2,9 +2,9 @@
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static-Link Library" 0x0104
# TARGTYPE "@PLATFORM@ (x86) Static-Link Library" 0x0104
CFG=checktool - Win32 Debug
CFG=checktool - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=checktool - Win32 Debug
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "checktool.mak" CFG="checktool - Win32 Debug"
!MESSAGE NMAKE /f "checktool.mak" CFG="checktool - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "checktool - Win32 Release" (based on "Win32 (x86) Static-Link Library")
!MESSAGE "checktool - Win32 Debug" (based on "Win32 (x86) Static-Link Library")
!MESSAGE "checktool - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE "checktool - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE
# Begin Project
@@ -29,7 +29,7 @@ CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "checktool - Win32 Release"
!IF "$(CFG)" == "checktool - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -42,8 +42,8 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /YX /FD /c /Fdchecktool
# ADD BASE CPP /nologo /MT /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" @COPTY@ /FD /c /Fdchecktool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
@@ -56,7 +56,7 @@ LINK32=link.exe
# ADD BASE LINK32
# ADD LINK32 /out:"Release/checktool.lib"
!ELSEIF "$(CFG)" == "checktool - Win32 Debug"
!ELSEIF "$(CFG)" == "checktool - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -69,8 +69,8 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR /YX /FD /GZ /c /Fdchecktool
# ADD BASE CPP /nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR @COPTY@ /FD /GZ /c /Fdchecktool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
@@ -87,8 +87,8 @@ LINK32=link.exe
# Begin Target
# Name "checktool - Win32 Release"
# Name "checktool - Win32 Debug"
# Name "checktool - @PLATFORM@ Release"
# Name "checktool - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\check-tool.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\check-tool.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2C1F7096-C5B5-48D4-846F-A7ACA454335D}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>checktool</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<OutDir>.\$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<OutDir>.\$(Configuration)\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Lib>
<OutputFile>.\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Lib>
<OutputFile>.\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
</Lib>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -1,24 +1,24 @@
# Microsoft Developer Studio Project File - Name="namedcheckzone" - Package Owner=<4>
# Microsoft Developer Studio Project File - Name="checkzone" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=namedcheckzone - Win32 Debug
CFG=checkzone - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "namedcheckzone.mak".
!MESSAGE NMAKE /f "checkzone.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "namedcheckzone.mak" CFG="namedcheckzone - Win32 Debug"
!MESSAGE NMAKE /f "checkzone.mak" CFG="checkzone - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "namedcheckzone - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "namedcheckzone - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "checkzone - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "checkzone - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=namedcheckzone - Win32 Debug
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -41,8 +41,8 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /YX /FD /c
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" @COPTY@ /FD /c
# SUBTRACT CPP /Fr
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
@@ -50,10 +50,10 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/checktool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/named-checkzone.exe"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/checktool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/named-checkzone.exe"
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -66,24 +66,24 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/checktool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/checktool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "namedcheckzone - Win32 Release"
# Name "namedcheckzone - Win32 Debug"
# Name "checkzone - @PLATFORM@ Release"
# Name "checkzone - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "checkzone"=".\checkzone.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

View File

@@ -1,20 +1,20 @@
# Microsoft Developer Studio Generated NMAKE File, Based on namedcheckzone.dsp
# Microsoft Developer Studio Generated NMAKE File, Based on checkzone.dsp
!IF "$(CFG)" == ""
CFG=namedcheckzone - Win32 Debug
!MESSAGE No configuration specified. Defaulting to namedcheckzone - Win32 Debug.
CFG=checkzone - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to checkzone - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "namedcheckzone - Win32 Release" && "$(CFG)" != "namedcheckzone - Win32 Debug"
!IF "$(CFG)" != "checkzone - @PLATFORM@ Release" && "$(CFG)" != "checkzone - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "namedcheckzone.mak" CFG="namedcheckzone - Win32 Debug"
!MESSAGE NMAKE /f "checkzone.mak" CFG="checkzone - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "namedcheckzone - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "namedcheckzone - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "checkzone - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "checkzone - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
@@ -25,7 +25,7 @@ NULL=
NULL=nul
!ENDIF
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
@@ -100,7 +100,7 @@ _VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
@@ -111,12 +111,12 @@ ALL : "..\..\..\Build\Release\named-checkzone.exe"
!ELSE
ALL : "libisc - Win32 Release" "libdns - Win32 Release" "..\..\..\Build\Release\named-checkzone.exe"
ALL : "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\Build\Release\named-checkzone.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - Win32 ReleaseCLEAN" "libisc - Win32 ReleaseCLEAN"
CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
@@ -130,7 +130,7 @@ CLEAN :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /Fp"$(INTDIR)\namedcheckzone.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /Fp"$(INTDIR)\checkzone.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
@@ -164,11 +164,11 @@ CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckzone.bsc"
BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkzone.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkzone.pdb" /machine:I386 /out:"../../../Build/Release/named-checkzone.exe"
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\named-checkzone.pdb" @MACHINE@ /out:"../../../Build/Release/named-checkzone.exe"
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkzone.obj" \
@@ -182,7 +182,7 @@ LINK32_OBJS= \
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
@@ -192,16 +192,16 @@ OutDir=.\Debug
!IF "$(RECURSE)" == "0"
ALL : "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\namedcheckzone.bsc"
ALL : "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\checkzone.bsc"
!ELSE
ALL : "libisc - Win32 Debug" "libdns - Win32 Debug" "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\namedcheckzone.bsc"
ALL : "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\Build\Debug\named-checkzone.exe" "$(OUTDIR)\checkzone.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - Win32 DebugCLEAN" "libisc - Win32 DebugCLEAN"
CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
@@ -212,7 +212,7 @@ CLEAN :
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\named-checkzone.pdb"
-@erase "$(OUTDIR)\namedcheckzone.bsc"
-@erase "$(OUTDIR)\checkzone.bsc"
-@erase "..\..\..\Build\Debug\named-checkzone.exe"
-@erase "..\..\..\Build\Debug\named-checkzone.ilk"
-@$(_VC_MANIFEST_CLEAN)
@@ -221,7 +221,7 @@ CLEAN :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP=cl.exe
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /I "../../../lib/isccfg/include" /D "_DEBUG" /D "__STDC__" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
.c{$(INTDIR)}.obj::
$(CPP) @<<
@@ -255,18 +255,18 @@ CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../..
RSC=rc.exe
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\namedcheckzone.bsc"
BSC32_FLAGS=/nologo /o"$(OUTDIR)\checkzone.bsc"
BSC32_SBRS= \
"$(INTDIR)\check-tool.sbr" \
"$(INTDIR)\named-checkzone.sbr"
"$(OUTDIR)\namedcheckzone.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
"$(OUTDIR)\checkzone.bsc" : "$(OUTDIR)" $(BSC32_SBRS)
$(BSC32) @<<
$(BSC32_FLAGS) $(BSC32_SBRS)
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkzone.pdb" /debug /machine:I386 /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\named-checkzone.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/named-checkzone.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\check-tool.obj" \
"$(INTDIR)\named-checkzone.obj" \
@@ -284,25 +284,25 @@ LINK32_OBJS= \
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("namedcheckzone.dep")
!INCLUDE "namedcheckzone.dep"
!IF EXISTS("checkzone.dep")
!INCLUDE "checkzone.dep"
!ELSE
!MESSAGE Warning: cannot find "namedcheckzone.dep"
!MESSAGE Warning: cannot find "checkzone.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "namedcheckzone - Win32 Release" || "$(CFG)" == "namedcheckzone - Win32 Debug"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release" || "$(CFG)" == "checkzone - @PLATFORM@ Debug"
SOURCE="..\check-tool.c"
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
"$(INTDIR)\check-tool.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
"$(INTDIR)\check-tool.obj" "$(INTDIR)\check-tool.sbr" : $(SOURCE) "$(INTDIR)"
@@ -313,14 +313,14 @@ SOURCE="..\check-tool.c"
SOURCE="..\named-checkzone.c"
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
"$(INTDIR)\named-checkzone.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
"$(INTDIR)\named-checkzone.obj" "$(INTDIR)\named-checkzone.sbr" : $(SOURCE) "$(INTDIR)"
@@ -329,54 +329,54 @@ SOURCE="..\named-checkzone.c"
!ENDIF
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
"libdns - Win32 Release" :
"libdns - @PLATFORM@ Release" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libdns - Win32 ReleaseCLEAN" :
"libdns - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
"libdns - Win32 Debug" :
"libdns - @PLATFORM@ Debug" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libdns - Win32 DebugCLEAN" :
"libdns - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF
!IF "$(CFG)" == "namedcheckzone - Win32 Release"
!IF "$(CFG)" == "checkzone - @PLATFORM@ Release"
"libisc - Win32 Release" :
"libisc - @PLATFORM@ Release" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
cd "..\..\..\bin\check\win32"
"libisc - Win32 ReleaseCLEAN" :
"libisc - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ELSEIF "$(CFG)" == "namedcheckzone - Win32 Debug"
!ELSEIF "$(CFG)" == "checkzone - @PLATFORM@ Debug"
"libisc - Win32 Debug" :
"libisc - @PLATFORM@ Debug" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
cd "..\..\..\bin\check\win32"
"libisc - Win32 DebugCLEAN" :
"libisc - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\check\win32"
!ENDIF

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\check-tool.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\named-checkzone.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,124 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{66028555-7DD5-4016-B601-9EF9A1EE8BFA}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>checkzone</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>named-$(ProjectName)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>named-$(ProjectName)</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>checktool.lib;libisc.lib;libdns.lib;libisccfg.lib;libbind9.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>cd ..\..\..\Build\$(Configuration)
copy /Y named-checkzone.exe named-compilezone.exe
copy /Y named-checkzone.ilk named-compilezone.ilk
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>checktool.lib;libisc.lib;libdns.lib;libisccfg.lib;libbind9.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
</Link>
<PostBuildEvent>
<Command>cd ..\..\..\Build\$(Configuration)
copy /Y named-checkzone.exe named-compilezone.exe
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\check-tool.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\named-checkzone.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -1,3 +1,2 @@
Makefile
ddns-confgen
rndc-confgen

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -12,18 +12,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: ddns-confgen.8,v 1.10 2009/09/19 01:14:52 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: ddns\-confgen
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Jan 29, 2009
.\" Date: September 18, 2009
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "DDNS\-CONFGEN" "8" "Jan 29, 2009" "BIND9" "BIND9"
.TH "DDNS\-CONFGEN" "8" "September 18, 2009" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -139,5 +139,5 @@ BIND 9 Administrator Reference Manual.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2009, 2011, 2014 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -46,6 +46,7 @@
#include <dns/keyvalues.h>
#include <dns/name.h>
#include <dns/result.h>
#include <dst/dst.h>
#include <confgen/os.h>
@@ -99,9 +100,11 @@ main(int argc, char **argv) {
int len = 0;
int ch;
dns_result_register();
result = isc_file_progname(*argv, program, sizeof(program));
if (result != ISC_R_SUCCESS)
memcpy(program, "ddns-confgen", 13);
memmove(program, "ddns-confgen", 13);
progname = program;
isc_commandline_errprint = ISC_FALSE;

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,10 +17,9 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: ddns-confgen.docbook,v 1.6 2009/09/18 22:08:55 fdupont Exp $ -->
<refentry id="man.ddns-confgen">
<refentryinfo>
<date>Jan 29, 2009</date>
<date>September 18, 2009</date>
</refentryinfo>
<refmeta>
@@ -37,6 +36,7 @@
<docinfo>
<copyright>
<year>2009</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: ddns-confgen.html,v 1.10 2009/09/19 01:14:52 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">ddns-confgen</code> [<code class="option">-a <em class="replaceable"><code>algorithm</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [ -s <em class="replaceable"><code>name</code></em> | -z <em class="replaceable"><code>zone</code></em> ] [<code class="option">-q</code>] [name]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543395"></a><h2>DESCRIPTION</h2>
<a name="id2543406"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">ddns-confgen</strong></span>
generates a key for use by <span><strong class="command">nsupdate</strong></span>
and <span><strong class="command">named</strong></span>. It simplifies configuration
@@ -58,7 +58,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543454"></a><h2>OPTIONS</h2>
<a name="id2543466"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd><p>
@@ -125,7 +125,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543642"></a><h2>SEE ALSO</h2>
<a name="id2543654"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">nsupdate</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named.conf</span>(5)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
@@ -133,7 +133,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543681"></a><h2>AUTHOR</h2>
<a name="id2543692"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -126,13 +126,17 @@ generate_key(isc_mem_t *mctx, const char *randomfile, dns_secalg_t alg,
switch (alg) {
case DST_ALG_HMACMD5:
case DST_ALG_HMACSHA1:
case DST_ALG_HMACSHA224:
case DST_ALG_HMACSHA256:
if (keysize < 1 || keysize > 512)
fatal("keysize %d out of range (must be 1-512)\n",
keysize);
break;
case DST_ALG_HMACSHA256:
if (keysize < 1 || keysize > 256)
fatal("keysize %d out of range (must be 1-256)\n",
case DST_ALG_HMACSHA384:
case DST_ALG_HMACSHA512:
if (keysize < 1 || keysize > 1024)
fatal("keysize %d out of range (must be 1-1024)\n",
keysize);
break;
default:

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2001, 2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,18 +13,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: rndc-confgen.8,v 1.7 2009/07/11 01:12:45 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: rndc\-confgen
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Aug 27, 2001
.\" Date: June 15, 2009
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "RNDC\-CONFGEN" "8" "Aug 27, 2001" "BIND9" "BIND9"
.TH "RNDC\-CONFGEN" "8" "June 15, 2009" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -205,7 +205,7 @@ BIND 9 Administrator Reference Manual.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2001, 2003 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004, 2005, 2007-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007-2009, 2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -120,7 +120,7 @@ main(int argc, char **argv) {
result = isc_file_progname(*argv, program, sizeof(program));
if (result != ISC_R_SUCCESS)
memcpy(program, "rndc-confgen", 13);
memmove(program, "rndc-confgen", 13);
progname = program;
keyname = DEFAULT_KEYNAME;
@@ -140,8 +140,6 @@ main(int argc, char **argv) {
keysize = strtol(isc_commandline_argument, &p, 10);
if (*p != '\0' || keysize < 0)
fatal("-b requires a non-negative number");
if (keysize < 1 || keysize > 512)
fatal("-b must be in the range 1 through 512");
break;
case 'c':
keyfile = isc_commandline_argument;

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2001, 2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,10 +18,9 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: rndc-confgen.docbook,v 1.4 2009/06/15 23:47:59 tbox Exp $ -->
<refentry id="man.rndc-confgen">
<refentryinfo>
<date>Aug 27, 2001</date>
<date>June 15, 2009</date>
</refentryinfo>
<refmeta>
@@ -41,6 +40,7 @@
<year>2005</year>
<year>2007</year>
<year>2009</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2009, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2001, 2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: rndc-confgen.html,v 1.7 2009/07/11 01:12:45 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,7 +32,7 @@
<div class="cmdsynopsis"><p><code class="command">rndc-confgen</code> [<code class="option">-a</code>] [<code class="option">-b <em class="replaceable"><code>keysize</code></em></code>] [<code class="option">-c <em class="replaceable"><code>keyfile</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>keyname</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomfile</code></em></code>] [<code class="option">-s <em class="replaceable"><code>address</code></em></code>] [<code class="option">-t <em class="replaceable"><code>chrootdir</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543432"></a><h2>DESCRIPTION</h2>
<a name="id2543444"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">rndc-confgen</strong></span>
generates configuration files
for <span><strong class="command">rndc</strong></span>. It can be used as a
@@ -48,7 +48,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543477"></a><h2>OPTIONS</h2>
<a name="id2543489"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a</span></dt>
<dd>
@@ -155,7 +155,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543790"></a><h2>EXAMPLES</h2>
<a name="id2543802"></a><h2>EXAMPLES</h2>
<p>
To allow <span><strong class="command">rndc</strong></span> to be used with
no manual configuration, run
@@ -172,7 +172,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543832"></a><h2>SEE ALSO</h2>
<a name="id2543844"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">rndc</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">rndc.conf</span>(5)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
@@ -180,7 +180,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543870"></a><h2>AUTHOR</h2>
<a name="id2543882"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>

View File

@@ -1 +0,0 @@
Makefile

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above

View File

@@ -2,9 +2,9 @@
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static-Link Library" 0x0104
# TARGTYPE "@PLATFORM@ (x86) Static-Link Library" 0x0104
CFG=confgentool - Win32 Debug
CFG=confgentool - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=confgentool - Win32 Debug
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "confgentool.mak" CFG="confgentool - Win32 Debug"
!MESSAGE NMAKE /f "confgentool.mak" CFG="confgentool - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "confgentool - Win32 Release" (based on "Win32 (x86) Static-Link Library")
!MESSAGE "confgentool - Win32 Debug" (based on "Win32 (x86) Static-Link Library")
!MESSAGE "confgentool - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE "confgentool - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE
# Begin Project
@@ -29,7 +29,7 @@ CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "confgentool - Win32 Release"
!IF "$(CFG)" == "confgentool - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -42,8 +42,8 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /YX /FD /c /Fdconfgentool
# ADD BASE CPP /nologo /MT /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" @COPTY@ /FD /c /Fdconfgentool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
@@ -59,7 +59,7 @@ LIB32=lib.exe
# ADD BASE LIB32
# ADD LIB32 /out:"Release/confgentool.lib"
!ELSEIF "$(CFG)" == "confgentool - Win32 Debug"
!ELSEIF "$(CFG)" == "confgentool - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -72,8 +72,8 @@ LIB32=lib.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR /YX /FD /GZ /c /Fdconfgentool
# ADD BASE CPP /nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR @COPTY@ /FD /GZ /c /Fdconfgentool
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
@@ -93,8 +93,8 @@ LIB32=lib.exe
# Begin Target
# Name "confgentool - Win32 Release"
# Name "confgentool - Win32 Debug"
# Name "confgentool - @PLATFORM@ Release"
# Name "confgentool - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\keygen.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\util.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\confgen\os.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\keygen.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\util.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="os.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{64964B03-4815-41F0-9057-E766A94AF197}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>confgentool</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>.\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>.\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\include\confgen\os.h" />
<ClInclude Include="..\keygen.h" />
<ClInclude Include="..\util.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\keygen.c" />
<ClCompile Include="..\util.c" />
<ClCompile Include="os.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -2,9 +2,9 @@
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=ddnsconfgen - Win32 Debug
CFG=ddnsconfgen - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=ddnsconfgen - Win32 Debug
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "ddnsconfgen.mak" CFG="ddnsconfgen - Win32 Debug"
!MESSAGE NMAKE /f "ddnsconfgen.mak" CFG="ddnsconfgen - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "ddnsconfgen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "ddnsconfgen - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "ddnsconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "ddnsconfgen - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=ddnsconfgen - Win32 Debug
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -41,18 +41,18 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/confgentool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/ddns-confgen.exe"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/confgentool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/ddns-confgen.exe"
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -65,24 +65,24 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/confgentool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/ddns-confgen.exe" /pdbtype:sept
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/confgentool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/ddns-confgen.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "ddnsconfgen - Win32 Release"
# Name "ddnsconfgen - Win32 Debug"
# Name "ddnsconfgen - @PLATFORM@ Release"
# Name "ddnsconfgen - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -1,20 +1,20 @@
# Microsoft Developer Studio Generated NMAKE File, Based on ddnsconfgen.dsp
!IF "$(CFG)" == ""
CFG=ddnsconfgen - Win32 Debug
!MESSAGE No configuration specified. Defaulting to ddnsconfgen - Win32 Debug.
CFG=ddnsconfgen - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to ddnsconfgen - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "ddnsconfgen - Win32 Release" && "$(CFG)" != "ddnsconfgen - Win32 Debug"
!IF "$(CFG)" != "ddnsconfgen - @PLATFORM@ Release" && "$(CFG)" != "ddnsconfgen - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "ddnsconfgen.mak" CFG="ddnsconfgen - Win32 Debug"
!MESSAGE NMAKE /f "ddnsconfgen.mak" CFG="ddnsconfgen - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "ddnsconfgen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "ddnsconfgen - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "ddnsconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "ddnsconfgen - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
@@ -28,7 +28,7 @@ NULL=nul
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
@@ -103,7 +103,7 @@ _VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
@@ -123,13 +123,13 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\ddnsconfgen.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\ddnsconfgen.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\ddnsconfgen.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\ddns-confgen.pdb" /machine:I386 /out:"../../../Build/Release/ddns-confgen.exe"
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\ddns-confgen.pdb" @MACHINE@ /out:"../../../Build/Release/ddns-confgen.exe"
LINK32_OBJS= \
"$(INTDIR)\os.obj" \
"$(INTDIR)\ddns-confgen.obj" \
@@ -142,7 +142,7 @@ LINK32_OBJS= \
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
@@ -173,7 +173,7 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\ddnsconfgen.bsc"
BSC32_SBRS= \
@@ -188,7 +188,7 @@ BSC32_SBRS= \
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\ddns-confgen.pdb" /debug /machine:I386 /out:"../../../Build/Debug/ddns-confgen.exe" /pdbtype:sept
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\ddns-confgen.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/ddns-confgen.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\os.obj" \
"$(INTDIR)\ddns-confgen.obj" \
@@ -243,16 +243,16 @@ LINK32_OBJS= \
!ENDIF
!IF "$(CFG)" == "ddnsconfgen - Win32 Release" || "$(CFG)" == "ddnsconfgen - Win32 Debug"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release" || "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
SOURCE=.\os.c
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
"$(INTDIR)\os.obj" : $(SOURCE) "$(INTDIR)"
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
"$(INTDIR)\os.obj" "$(INTDIR)\os.sbr" : $(SOURCE) "$(INTDIR)"
@@ -262,14 +262,14 @@ SOURCE=.\os.c
SOURCE="..\ddns-confgen.c"
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
"$(INTDIR)\ddns-confgen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
"$(INTDIR)\ddns-confgen.obj" "$(INTDIR)\ddns-confgen.sbr" : $(SOURCE) "$(INTDIR)"
@@ -280,14 +280,14 @@ SOURCE="..\ddns-confgen.c"
SOURCE=..\keygen.c
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
"$(INTDIR)\keygen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
"$(INTDIR)\keygen.obj" "$(INTDIR)\keygen.sbr" : $(SOURCE) "$(INTDIR)"
@@ -298,14 +298,14 @@ SOURCE=..\keygen.c
SOURCE=..\util.c
!IF "$(CFG)" == "ddnsconfgen - Win32 Release"
!IF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Release"
"$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "ddnsconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "ddnsconfgen - @PLATFORM@ Debug"
"$(INTDIR)\util.obj" "$(INTDIR)\util.sbr" : $(SOURCE) "$(INTDIR)"

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\ddns-confgen.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1EA4FC64-F33B-4A50-970A-EA052BBE9CF1}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>ddnsconfgen</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>ddns-confgen</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>ddns-confgen</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>confgentool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>confgentool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\ddns-confgen.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -2,9 +2,9 @@
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=rndcconfgen - Win32 Debug
CFG=rndcconfgen - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=rndcconfgen - Win32 Debug
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "rndcconfgen.mak" CFG="rndcconfgen - Win32 Debug"
!MESSAGE NMAKE /f "rndcconfgen.mak" CFG="rndcconfgen - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "rndcconfgen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "rndcconfgen - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "rndcconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "rndcconfgen - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=rndcconfgen - Win32 Debug
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -41,18 +41,18 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/confgentool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/rndc-confgen.exe"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/confgentool.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/rndc-confgen.exe"
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -65,24 +65,24 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /YX
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/confgentool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/rndc-confgen.exe" /pdbtype:sept
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/confgentool.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/rndc-confgen.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "rndcconfgen - Win32 Release"
# Name "rndcconfgen - Win32 Debug"
# Name "rndcconfgen - @PLATFORM@ Release"
# Name "rndcconfgen - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -1,20 +1,20 @@
# Microsoft Developer Studio Generated NMAKE File, Based on confgen.dsp
!IF "$(CFG)" == ""
CFG=rndcconfgen - Win32 Debug
!MESSAGE No configuration specified. Defaulting to rndcconfgen - Win32 Debug.
CFG=rndcconfgen - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to rndcconfgen - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "rndcconfgen - Win32 Release" && "$(CFG)" != "rndcconfgen - Win32 Debug"
!IF "$(CFG)" != "rndcconfgen - @PLATFORM@ Release" && "$(CFG)" != "rndcconfgen - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "rndcconfgen.mak" CFG="rndcconfgen - Win32 Debug"
!MESSAGE NMAKE /f "rndcconfgen.mak" CFG="rndcconfgen - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "rndcconfgen - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "rndcconfgen - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "rndcconfgen - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "rndcconfgen - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
@@ -28,7 +28,7 @@ NULL=nul
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
@@ -103,7 +103,7 @@ _VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
@@ -123,13 +123,13 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\confgen.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "NDEBUG" /D "__STDC__" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\confgen.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\confgen.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\rndc-confgen.pdb" /machine:I386 /out:"../../../Build/Release/rndc-confgen.exe"
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/isccc/win32/Release/libisccc.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\rndc-confgen.pdb" @MACHINE@ /out:"../../../Build/Release/rndc-confgen.exe"
LINK32_OBJS= \
"$(INTDIR)\os.obj" \
"$(INTDIR)\rndc-confgen.obj" \
@@ -142,7 +142,7 @@ LINK32_OBJS= \
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
@@ -173,7 +173,7 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/dns/win32/include" /I "../../../lib/dns/include" /I "../../../lib/isccc/include" /I "../../../lib/isccfg/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\confgen.bsc"
BSC32_SBRS= \
@@ -188,7 +188,7 @@ BSC32_SBRS= \
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\rndc-confgen.pdb" /debug /machine:I386 /out:"../../../Build/Debug/rndc-confgen.exe" /pdbtype:sept
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/isccc/win32/Debug/libisccc.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\rndc-confgen.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/rndc-confgen.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\os.obj" \
"$(INTDIR)\rndc-confgen.obj" \
@@ -243,16 +243,16 @@ LINK32_OBJS= \
!ENDIF
!IF "$(CFG)" == "rndcconfgen - Win32 Release" || "$(CFG)" == "rndcconfgen - Win32 Debug"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release" || "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
SOURCE=.\os.c
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
"$(INTDIR)\os.obj" : $(SOURCE) "$(INTDIR)"
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
"$(INTDIR)\os.obj" "$(INTDIR)\os.sbr" : $(SOURCE) "$(INTDIR)"
@@ -262,14 +262,14 @@ SOURCE=.\os.c
SOURCE="..\rndc-confgen.c"
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
"$(INTDIR)\rndc-confgen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
"$(INTDIR)\rndc-confgen.obj" "$(INTDIR)\rndc-confgen.sbr" : $(SOURCE) "$(INTDIR)"
@@ -280,14 +280,14 @@ SOURCE="..\rndc-confgen.c"
SOURCE=..\keygen.c
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
"$(INTDIR)\keygen.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
"$(INTDIR)\keygen.obj" "$(INTDIR)\keygen.sbr" : $(SOURCE) "$(INTDIR)"
@@ -298,14 +298,14 @@ SOURCE=..\keygen.c
SOURCE=..\util.c
!IF "$(CFG)" == "rndcconfgen - Win32 Release"
!IF "$(CFG)" == "rndcconfgen - @PLATFORM@ Release"
"$(INTDIR)\util.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "rndcconfgen - Win32 Debug"
!ELSEIF "$(CFG)" == "rndcconfgen - @PLATFORM@ Debug"
"$(INTDIR)\util.obj" "$(INTDIR)\util.sbr" : $(SOURCE) "$(INTDIR)"

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\rndc-confgen.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,110 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1E2C1635-3093-4D59-80E7-4743AC10F22F}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>rndcconfgen</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>rndc-confgen</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
<TargetName>rndc-confgen</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>confgentool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\dns\include;..\..\..\lib\isccc\include;..\..\..\lib\isccfg\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\isccc\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>confgentool.lib;libisc.lib;libdns.lib;libisccfg.lib;libisccc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\rndc-confgen.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -1,6 +0,0 @@
Makefile
dig
host
nslookup
*.lo
.libs

7
bin/dig/.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
/dig
/host
/nslookup
.libs
dig-symtbl.c
host-symtbl.c
nslookup-symtbl.c

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007, 2009, 2012, 2013 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
@@ -23,6 +23,8 @@ top_srcdir = @top_srcdir@
@BIND9_MAKE_INCLUDES@
READLINE_LIB = @READLINE_LIB@
CINCLUDES = -I${srcdir}/include ${DNS_INCLUDES} ${BIND9_INCLUDES} \
${ISC_INCLUDES} ${LWRES_INCLUDES} ${ISCCFG_INCLUDES}
@@ -78,7 +80,7 @@ host@EXEEXT@: host.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
${FINALBUILDCMD}
nslookup@EXEEXT@: nslookup.@O@ dighost.@O@ ${UOBJS} ${DEPLIBS}
export BASEOBJS="nslookup.@O@ dighost.@O@ ${UOBJS}"; \
export BASEOBJS="nslookup.@O@ dighost.@O@ ${READLINE_LIB} ${UOBJS}"; \
${FINALBUILDCMD}
doc man:: ${MANOBJS}

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,18 +13,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dig.1,v 1.56 2011/11/05 01:14:48 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: dig
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Jun 30, 2000
.\" Date: February 12, 2014
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "DIG" "1" "Jun 30, 2000" "BIND9" "BIND9"
.TH "DIG" "1" "February 12, 2014" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -33,7 +33,7 @@
dig \- DNS lookup utility
.SH "SYNOPSIS"
.HP 4
\fBdig\fR [@server] [\fB\-b\ \fR\fB\fIaddress\fR\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIfilename\fR\fR] [\fB\-k\ \fR\fB\fIfilename\fR\fR] [\fB\-m\fR] [\fB\-p\ \fR\fB\fIport#\fR\fR] [\fB\-q\ \fR\fB\fIname\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-x\ \fR\fB\fIaddr\fR\fR] [\fB\-y\ \fR\fB\fI[hmac:]\fR\fIname:key\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [name] [type] [class] [queryopt...]
\fBdig\fR [@server] [\fB\-b\ \fR\fB\fIaddress\fR\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIfilename\fR\fR] [\fB\-k\ \fR\fB\fIfilename\fR\fR] [\fB\-m\fR] [\fB\-p\ \fR\fB\fIport#\fR\fR] [\fB\-q\ \fR\fB\fIname\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-v\fR] [\fB\-x\ \fR\fB\fIaddr\fR\fR] [\fB\-y\ \fR\fB\fI[hmac:]\fR\fIname:key\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [name] [type] [class] [queryopt...]
.HP 4
\fBdig\fR [\fB\-h\fR]
.HP 4
@@ -57,7 +57,9 @@ allows multiple lookups to be issued from the command line.
Unless it is told to query a specific name server,
\fBdig\fR
will try each of the servers listed in
\fI/etc/resolv.conf\fR.
\fI/etc/resolv.conf\fR. If no usable server addresses are found,
\fBdig\fR
will send the query to the local host.
.PP
When no command line arguments or options are given,
\fBdig\fR
@@ -68,7 +70,7 @@ It is possible to set per\-user defaults for
via
\fI${HOME}/.digrc\fR. This file is read and any options in it are applied before the command line arguments.
.PP
The IN and CH class names overlap with the IN and CH top level domains names. Either use the
The IN and CH class names overlap with the IN and CH top level domain names. Either use the
\fB\-t\fR
and
\fB\-c\fR
@@ -95,13 +97,20 @@ is the name or IP address of the name server to query. This can be an IPv4 addre
\fIserver\fR
argument is a hostname,
\fBdig\fR
resolves that name before querying that name server. If no
resolves that name before querying that name server.
.sp
If no
\fIserver\fR
argument is provided,
\fBdig\fR
consults
\fI/etc/resolv.conf\fR
and queries the name servers listed there. The reply from the name server that responds is displayed.
\fI/etc/resolv.conf\fR; if an address is found there, it queries the name server at that address. If either of the
\fB\-4\fR
or
\fB\-6\fR
options are in use, then only addresses for the corresponding transport will be tried. If no usable addresses are found,
\fBdig\fR
will send the query to the local host. The reply from the name server that responds is displayed.
.RE
.PP
\fBname\fR
@@ -177,10 +186,16 @@ ixfr=N. The incremental zone transfer will contain the changes made to the zone
The
\fB\-q\fR
option sets the query name to
\fIname\fR. This useful do distinguish the
\fIname\fR. This is useful to distinguish the
\fIname\fR
from other arguments.
.PP
The
\fB\-v\fR
causes
\fBdig\fR
to print the version number and exit.
.PP
Reverse lookups \(em mapping addresses to names \(em are simplified by the
\fB\-x\fR
option.
@@ -232,21 +247,85 @@ no
to negate the meaning of that keyword. Other keywords assign values to options like the timeout interval. They have the form
\fB+keyword=value\fR. The query options are:
.PP
\fB+[no]tcp\fR
\fB+[no]aaflag\fR
.RS 4
Use [do not use] TCP when querying name servers. The default behavior is to use UDP unless an AXFR or IXFR query is requested, in which case a TCP connection is used.
A synonym for
\fI+[no]aaonly\fR.
.RE
.PP
\fB+[no]vc\fR
\fB+[no]aaonly\fR
.RS 4
Use [do not use] TCP when querying name servers. This alternate syntax to
\fI+[no]tcp\fR
is provided for backwards compatibility. The "vc" stands for "virtual circuit".
Sets the "aa" flag in the query.
.RE
.PP
\fB+[no]ignore\fR
\fB+[no]additional\fR
.RS 4
Ignore truncation in UDP responses instead of retrying with TCP. By default, TCP retries are performed.
Display [do not display] the additional section of a reply. The default is to display it.
.RE
.PP
\fB+[no]adflag\fR
.RS 4
Set [do not set] the AD (authentic data) bit in the query. This requests the server to return whether all of the answer and authority sections have all been validated as secure according to the security policy of the server. AD=1 indicates that all records have been validated as secure and the answer is not from a OPT\-OUT range. AD=0 indicate that some part of the answer was insecure or not validated. This bit is set by default.
.RE
.PP
\fB+[no]all\fR
.RS 4
Set or clear all display flags.
.RE
.PP
\fB+[no]answer\fR
.RS 4
Display [do not display] the answer section of a reply. The default is to display it.
.RE
.PP
\fB+[no]authority\fR
.RS 4
Display [do not display] the authority section of a reply. The default is to display it.
.RE
.PP
\fB+[no]besteffort\fR
.RS 4
Attempt to display the contents of messages which are malformed. The default is to not display malformed answers.
.RE
.PP
\fB+bufsize=B\fR
.RS 4
Set the UDP message buffer size advertised using EDNS0 to
\fIB\fR
bytes. The maximum and minimum sizes of this buffer are 65535 and 0 respectively. Values outside this range are rounded up or down appropriately. Values other than zero will cause a EDNS query to be sent.
.RE
.PP
\fB+[no]cdflag\fR
.RS 4
Set [do not set] the CD (checking disabled) bit in the query. This requests the server to not perform DNSSEC validation of responses.
.RE
.PP
\fB+[no]cl\fR
.RS 4
Display [do not display] the CLASS when printing the record.
.RE
.PP
\fB+[no]cmd\fR
.RS 4
Toggles the printing of the initial comment in the output identifying the version of
\fBdig\fR
and the query options that have been applied. This comment is printed by default.
.RE
.PP
\fB+[no]comments\fR
.RS 4
Toggle the display of comment lines in the output. The default is to print comments.
.RE
.PP
\fB+[no]defname\fR
.RS 4
Deprecated, treated as a synonym for
\fI+[no]search\fR
.RE
.PP
\fB+[no]dnssec\fR
.RS 4
Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) in the OPT record in the additional section of the query.
.RE
.PP
\fB+domain=somename\fR
@@ -260,53 +339,83 @@ directive in
option were given.
.RE
.PP
\fB+[no]search\fR
\fB+[no]edns[=#]\fR
.RS 4
Use [do not use] the search list defined by the searchlist or domain directive in
\fIresolv.conf\fR
(if any). The search list is not used by default.
Specify the EDNS version to query with. Valid values are 0 to 255. Setting the EDNS version will cause a EDNS query to be sent.
\fB+noedns\fR
clears the remembered EDNS version. EDNS is set to 0 by default.
.RE
.PP
\fB+[no]showsearch\fR
\fB+[no]fail\fR
.RS 4
Perform [do not perform] a search showing intermediate results.
Do not try the next server if you receive a SERVFAIL. The default is to not try the next server which is the reverse of normal stub resolver behavior.
.RE
.PP
\fB+[no]defname\fR
\fB+[no]identify\fR
.RS 4
Deprecated, treated as a synonym for
\fI+[no]search\fR
Show [or do not show] the IP address and port number that supplied the answer when the
\fI+short\fR
option is enabled. If short form answers are requested, the default is not to show the source address and port number of the server that provided the answer.
.RE
.PP
\fB+[no]aaonly\fR
\fB+[no]ignore\fR
.RS 4
Sets the "aa" flag in the query.
Ignore truncation in UDP responses instead of retrying with TCP. By default, TCP retries are performed.
.RE
.PP
\fB+[no]aaflag\fR
\fB+[no]keepopen\fR
.RS 4
A synonym for
\fI+[no]aaonly\fR.
Keep the TCP socket open between queries and reuse it rather than creating a new TCP socket for each lookup. The default is
\fB+nokeepopen\fR.
.RE
.PP
\fB+[no]adflag\fR
\fB+[no]multiline\fR
.RS 4
Set [do not set] the AD (authentic data) bit in the query. This requests the server to return whether all of the answer and authority sections have all been validated as secure according to the security policy of the server. AD=1 indicates that all records have been validated as secure and the answer is not from a OPT\-OUT range. AD=0 indicate that some part of the answer was insecure or not validated. This bit is set by default.
Print records like the SOA records in a verbose multi\-line format with human\-readable comments. The default is to print each record on a single line, to facilitate machine parsing of the
\fBdig\fR
output.
.RE
.PP
\fB+[no]cdflag\fR
\fB+ndots=D\fR
.RS 4
Set [do not set] the CD (checking disabled) bit in the query. This requests the server to not perform DNSSEC validation of responses.
Set the number of dots that have to appear in
\fIname\fR
to
\fID\fR
for it to be considered absolute. The default value is that defined using the ndots statement in
\fI/etc/resolv.conf\fR, or 1 if no ndots statement is present. Names with fewer dots are interpreted as relative names and will be searched for in the domains listed in the
\fBsearch\fR
or
\fBdomain\fR
directive in
\fI/etc/resolv.conf\fR.
.RE
.PP
\fB+[no]cl\fR
\fB+[no]nsid\fR
.RS 4
Display [do not display] the CLASS when printing the record.
Include an EDNS name server ID request when sending a query.
.RE
.PP
\fB+[no]ttlid\fR
\fB+[no]nssearch\fR
.RS 4
Display [do not display] the TTL when printing the record.
When this option is set,
\fBdig\fR
attempts to find the authoritative name servers for the zone containing the name being looked up and display the SOA record that each name server has for the zone.
.RE
.PP
\fB+[no]onesoa\fR
.RS 4
Print only one (starting) SOA record when performing an AXFR. The default is to print both the starting and ending SOA records.
.RE
.PP
\fB+[no]qr\fR
.RS 4
Print [do not print] the query as it is sent. By default, the query is not printed.
.RE
.PP
\fB+[no]question\fR
.RS 4
Print [do not print] the question section of a query when an answer is returned. The default is to print the question section as a comment.
.RE
.PP
\fB+[no]recurse\fR
@@ -320,28 +429,24 @@ or
query options are used.
.RE
.PP
\fB+[no]nssearch\fR
\fB+retry=T\fR
.RS 4
When this option is set,
\fBdig\fR
attempts to find the authoritative name servers for the zone containing the name being looked up and display the SOA record that each name server has for the zone.
Sets the number of times to retry UDP queries to server to
\fIT\fR
instead of the default, 2. Unlike
\fI+tries\fR, this does not include the initial query.
.RE
.PP
\fB+[no]trace\fR
\fB+[no]rrcomments\fR
.RS 4
Toggle tracing of the delegation path from the root name servers for the name being looked up. Tracing is disabled by default. When tracing is enabled,
\fBdig\fR
makes iterative queries to resolve the name being looked up. It will follow referrals from the root servers, showing the answer from each server that was used to resolve the lookup.
.sp
\fB+dnssec\fR
is also set when +trace is set to better emulate the default queries from a nameserver.
Toggle the display of per\-record comments in the output (for example, human\-readable key information about DNSKEY records). The default is not to print record comments unless multiline mode is active.
.RE
.PP
\fB+[no]cmd\fR
\fB+[no]search\fR
.RS 4
Toggles the printing of the initial comment in the output identifying the version of
\fBdig\fR
and the query options that have been applied. This comment is printed by default.
Use [do not use] the search list defined by the searchlist or domain directive in
\fIresolv.conf\fR
(if any). The search list is not used by default.
.RE
.PP
\fB+[no]short\fR
@@ -349,21 +454,14 @@ and the query options that have been applied. This comment is printed by default
Provide a terse answer. The default is to print the answer in a verbose form.
.RE
.PP
\fB+[no]identify\fR
\fB+[no]showsearch\fR
.RS 4
Show [or do not show] the IP address and port number that supplied the answer when the
\fI+short\fR
option is enabled. If short form answers are requested, the default is not to show the source address and port number of the server that provided the answer.
Perform [do not perform] a search showing intermediate results.
.RE
.PP
\fB+[no]comments\fR
\fB+[no]sigchase\fR
.RS 4
Toggle the display of comment lines in the output. The default is to print comments.
.RE
.PP
\fB+[no]rrcomments\fR
.RS 4
Toggle the display of per\-record comments in the output (for example, human\-readable key information about DNSKEY records). The default is not to print record comments unless multiline mode is active.
Chase DNSSEC signature chains. Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+split=W\fR
@@ -384,34 +482,11 @@ causes fields not to be split at all. The default is 56 characters, or 44 charac
This query option toggles the printing of statistics: when the query was made, the size of the reply and so on. The default behavior is to print the query statistics.
.RE
.PP
\fB+[no]qr\fR
\fB+[no]tcp\fR
.RS 4
Print [do not print] the query as it is sent. By default, the query is not printed.
.RE
.PP
\fB+[no]question\fR
.RS 4
Print [do not print] the question section of a query when an answer is returned. The default is to print the question section as a comment.
.RE
.PP
\fB+[no]answer\fR
.RS 4
Display [do not display] the answer section of a reply. The default is to display it.
.RE
.PP
\fB+[no]authority\fR
.RS 4
Display [do not display] the authority section of a reply. The default is to display it.
.RE
.PP
\fB+[no]additional\fR
.RS 4
Display [do not display] the additional section of a reply. The default is to display it.
.RE
.PP
\fB+[no]all\fR
.RS 4
Set or clear all display flags.
Use [do not use] TCP when querying name servers. The default behavior is to use UDP unless an
ixfr=N
query is requested, in which case the default is TCP. AXFR queries always use TCP.
.RE
.PP
\fB+time=T\fR
@@ -423,6 +498,21 @@ seconds. The default timeout is 5 seconds. An attempt to set
to less than 1 will result in a query timeout of 1 second being applied.
.RE
.PP
\fB+[no]topdown\fR
.RS 4
When chasing DNSSEC signature chains perform a top\-down validation. Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+[no]trace\fR
.RS 4
Toggle tracing of the delegation path from the root name servers for the name being looked up. Tracing is disabled by default. When tracing is enabled,
\fBdig\fR
makes iterative queries to resolve the name being looked up. It will follow referrals from the root servers, showing the answer from each server that was used to resolve the lookup.
.sp
\fB+dnssec\fR
is also set when +trace is set to better emulate the default queries from a nameserver.
.RE
.PP
\fB+tries=T\fR
.RS 4
Sets the number of times to try UDP queries to server to
@@ -432,75 +522,6 @@ instead of the default, 3. If
is less than or equal to zero, the number of tries is silently rounded up to 1.
.RE
.PP
\fB+retry=T\fR
.RS 4
Sets the number of times to retry UDP queries to server to
\fIT\fR
instead of the default, 2. Unlike
\fI+tries\fR, this does not include the initial query.
.RE
.PP
\fB+ndots=D\fR
.RS 4
Set the number of dots that have to appear in
\fIname\fR
to
\fID\fR
for it to be considered absolute. The default value is that defined using the ndots statement in
\fI/etc/resolv.conf\fR, or 1 if no ndots statement is present. Names with fewer dots are interpreted as relative names and will be searched for in the domains listed in the
\fBsearch\fR
or
\fBdomain\fR
directive in
\fI/etc/resolv.conf\fR.
.RE
.PP
\fB+bufsize=B\fR
.RS 4
Set the UDP message buffer size advertised using EDNS0 to
\fIB\fR
bytes. The maximum and minimum sizes of this buffer are 65535 and 0 respectively. Values outside this range are rounded up or down appropriately. Values other than zero will cause a EDNS query to be sent.
.RE
.PP
\fB+edns=#\fR
.RS 4
Specify the EDNS version to query with. Valid values are 0 to 255. Setting the EDNS version will cause a EDNS query to be sent.
\fB+noedns\fR
clears the remembered EDNS version. EDNS is set to 0 by default.
.RE
.PP
\fB+[no]multiline\fR
.RS 4
Print records like the SOA records in a verbose multi\-line format with human\-readable comments. The default is to print each record on a single line, to facilitate machine parsing of the
\fBdig\fR
output.
.RE
.PP
\fB+[no]onesoa\fR
.RS 4
Print only one (starting) SOA record when performing an AXFR. The default is to print both the starting and ending SOA records.
.RE
.PP
\fB+[no]fail\fR
.RS 4
Do not try the next server if you receive a SERVFAIL. The default is to not try the next server which is the reverse of normal stub resolver behavior.
.RE
.PP
\fB+[no]besteffort\fR
.RS 4
Attempt to display the contents of messages which are malformed. The default is to not display malformed answers.
.RE
.PP
\fB+[no]dnssec\fR
.RS 4
Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) in the OPT record in the additional section of the query.
.RE
.PP
\fB+[no]sigchase\fR
.RS 4
Chase DNSSEC signature chains. Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+trusted\-key=####\fR
.RS 4
Specifies a file containing trusted keys to be used with
@@ -517,14 +538,16 @@ in the current directory.
Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+[no]topdown\fR
\fB+[no]ttlid\fR
.RS 4
When chasing DNSSEC signature chains perform a top\-down validation. Requires dig be compiled with \-DDIG_SIGCHASE.
Display [do not display] the TTL when printing the record.
.RE
.PP
\fB+[no]nsid\fR
\fB+[no]vc\fR
.RS 4
Include an EDNS name server ID request when sending a query.
Use [do not use] TCP when querying name servers. This alternate syntax to
\fI+[no]tcp\fR
is provided for backwards compatibility. The "vc" stands for "virtual circuit".
.RE
.SH "MULTIPLE QUERIES"
.PP
@@ -588,7 +611,7 @@ RFC1035.
.PP
There are probably too many query options.
.SH "COPYRIGHT"
Copyright \(co 2004\-2011 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -187,7 +187,7 @@ help(void) {
" +domain=### (Set default domainname)\n"
" +bufsize=### (Set EDNS0 Max UDP packet size)\n"
" +ndots=### (Set NDOTS value)\n"
" +edns=### (Set EDNS version) [0]\n"
" +[no]edns[=###] (Set EDNS version) [0]\n"
" +[no]search (Set whether to use searchlist)\n"
" +[no]showsearch (Search with intermediate results)\n"
" +[no]defname (Ditto)\n"
@@ -229,6 +229,7 @@ help(void) {
" +[no]split=## (Split hex/base64 fields into chunks)\n"
" +[no]multiline (Print records in an expanded format)\n"
" +[no]onesoa (AXFR prints only one soa record)\n"
" +[no]keepopen (Keep the TCP socket open between queries)\n"
" global d-opts and servers (before host name) affect all queries.\n"
" local d-opts and servers (after host name) affect only that lookup.\n"
" -h (print help and exit)\n"
@@ -242,20 +243,22 @@ help(void) {
void
received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
isc_uint64_t diff;
isc_time_t now;
time_t tnow;
struct tm tmnow;
char time_str[100];
char fromtext[ISC_SOCKADDR_FORMATSIZE];
isc_sockaddr_format(from, fromtext, sizeof(fromtext));
TIME_NOW(&now);
if (query->lookup->stats && !short_form) {
diff = isc_time_microdiff(&now, &query->time_sent);
diff = isc_time_microdiff(&query->time_recv, &query->time_sent);
printf(";; Query time: %ld msec\n", (long int)diff/1000);
printf(";; SERVER: %s(%s)\n", fromtext, query->servname);
time(&tnow);
printf(";; WHEN: %s", ctime(&tnow));
tmnow = *localtime(&tnow);
if (strftime(time_str, sizeof(time_str),
"%a %b %d %H:%M:%S %Z %Y", &tmnow) > 0U)
printf(";; WHEN: %s\n", time_str);
if (query->lookup->doing_xfr) {
printf(";; XFR size: %u records (messages %u, "
"bytes %" ISC_PRINT_QUADFORMAT "u)\n",
@@ -263,7 +266,6 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
query->byte_count);
} else {
printf(";; MSG SIZE rcvd: %u\n", bytes);
}
if (key != NULL) {
if (!validated)
@@ -275,12 +277,12 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
}
puts("");
} else if (query->lookup->identify && !short_form) {
diff = isc_time_microdiff(&now, &query->time_sent);
diff = isc_time_microdiff(&query->time_recv, &query->time_sent);
printf(";; Received %" ISC_PRINT_QUADFORMAT "u bytes "
"from %s(%s) in %d ms\n\n",
query->lookup->doing_xfr ?
query->byte_count : (isc_uint64_t)bytes,
fromtext, query->servname,
fromtext, query->userarg,
(int)diff/1000);
}
}
@@ -303,7 +305,6 @@ static isc_result_t
say_message(dns_rdata_t *rdata, dig_query_t *query, isc_buffer_t *buf) {
isc_result_t result;
isc_uint64_t diff;
isc_time_t now;
char store[sizeof("12345678901234567890")];
if (query->lookup->trace || query->lookup->ns_search_only) {
@@ -317,8 +318,7 @@ say_message(dns_rdata_t *rdata, dig_query_t *query, isc_buffer_t *buf) {
return (result);
check_result(result, "dns_rdata_totext");
if (query->lookup->identify) {
TIME_NOW(&now);
diff = isc_time_microdiff(&now, &query->time_sent);
diff = isc_time_microdiff(&query->time_recv, &query->time_sent);
ADD_STRING(buf, " from server ");
ADD_STRING(buf, query->servname);
snprintf(store, 19, " in %d ms.", (int)diff/1000);
@@ -543,8 +543,16 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
printf(";; WARNING: recursion requested "
"but not available\n");
}
if (msg != query->lookup->sendmsg &&
query->lookup->edns != -1 && msg->opt == NULL &&
(msg->rcode == dns_rcode_formerr ||
msg->rcode == dns_rcode_notimp))
printf("\n;; WARNING: EDNS query returned status "
"%s - retry with '%s+noedns'\n",
rcode_totext(msg->rcode),
query->lookup->dnssec ? "+nodnssec ": "");
if (msg != query->lookup->sendmsg && extrabytes != 0U)
printf(";; WARNING: Messages has %u extra byte%s at "
printf(";; WARNING: Message has %u extra byte%s at "
"end\n", extrabytes, extrabytes != 0 ? "s" : "");
}
@@ -874,8 +882,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->edns = -1;
break;
}
if (value == NULL)
goto need_value;
if (value == NULL) {
lookup->edns = 0;
break;
}
result = parse_uint(&num, value, 255, "edns");
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse edns");
@@ -897,6 +907,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->ignore = ISC_TRUE;
}
break;
case 'k':
FULLCHECK("keepopen");
keep_open = state;
break;
case 'm': /* multiline */
FULLCHECK("multiline");
multiline = state;
@@ -1073,7 +1087,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
if (splitwidth)
splitwidth += 3;
if (result != ISC_R_SUCCESS)
fatal("Couldn't parse retries");
fatal("Couldn't parse split");
break;
case 't': /* stats */
FULLCHECK("stats");
@@ -1087,8 +1101,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
switch (cmd[1]) {
case 'c': /* tcp */
FULLCHECK("tcp");
if (!is_batchfile)
if (!is_batchfile) {
lookup->tcp_mode = state;
lookup->tcp_mode_set = ISC_TRUE;
}
break;
case 'i': /* timeout */
FULLCHECK("timeout");
@@ -1168,8 +1184,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
break;
case 'v':
FULLCHECK("vc");
if (!is_batchfile)
if (!is_batchfile) {
lookup->tcp_mode = state;
lookup->tcp_mode_set = ISC_TRUE;
}
break;
default:
invalid_option:
@@ -1384,10 +1402,12 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
(*lookup)->ixfr_serial = serial;
(*lookup)->section_question = plusquest;
(*lookup)->comments = pluscomm;
(*lookup)->tcp_mode = ISC_TRUE;
if (!(*lookup)->tcp_mode_set)
(*lookup)->tcp_mode = ISC_TRUE;
} else {
(*lookup)->rdtype = rdtype;
(*lookup)->rdtypeset = ISC_TRUE;
if (!config_only)
(*lookup)->rdtypeset = ISC_TRUE;
if (rdtype == dns_rdatatype_axfr) {
(*lookup)->section_question = plusquest;
(*lookup)->comments = pluscomm;
@@ -1429,6 +1449,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
ip6_int, ISC_FALSE) == ISC_R_SUCCESS) {
strncpy((*lookup)->textname, textname,
sizeof((*lookup)->textname));
(*lookup)->textname[sizeof((*lookup)->textname)-1] = 0;
debug("looking up %s", (*lookup)->textname);
(*lookup)->trace_root = ISC_TF((*lookup)->trace ||
(*lookup)->ns_search_only);
@@ -1492,7 +1513,8 @@ preparse_args(int argc, char **argv) {
static void
parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
int argc, char **argv) {
int argc, char **argv)
{
isc_result_t result;
isc_textregion_t tr;
isc_boolean_t firstarg = ISC_TRUE;
@@ -1585,8 +1607,25 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
debug("main parsing %s", rv[0]);
if (strncmp(rv[0], "%", 1) == 0)
break;
if (strncmp(rv[0], "@", 1) == 0) {
addresscount = getaddresses(lookup, &rv[0][1], NULL);
if (rv[0][0] == '@') {
if (is_batchfile && !config_only) {
addresscount = getaddresses(lookup, &rv[0][1],
&result);
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "couldn't get address "
"for '%s': %s: skipping "
"lookup\n", &rv[0][1],
isc_result_totext(result));
if (ISC_LINK_LINKED(lookup, link))
ISC_LIST_DEQUEUE(lookup_list,
lookup, link);
destroy_lookup(lookup);
return;
}
} else
addresscount = getaddresses(lookup, &rv[0][1],
NULL);
} else if (rv[0][0] == '+') {
plus_option(&rv[0][1], is_batchfile,
lookup);
@@ -1650,7 +1689,8 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
lookup->section_question =
plusquest;
lookup->comments = pluscomm;
lookup->tcp_mode = ISC_TRUE;
if (!lookup->tcp_mode_set)
lookup->tcp_mode = ISC_TRUE;
} else {
lookup->rdtype = rdtype;
lookup->rdtypeset = ISC_TRUE;

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2011, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.html,v 1.51 2011/11/05 01:14:48 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,12 +29,12 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">dig</code> [@server] [<code class="option">-b <em class="replaceable"><code>address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-k <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-m</code>] [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>] [<code class="option">-q <em class="replaceable"><code>name</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>] [<code class="option">-y <em class="replaceable"><code>[<span class="optional">hmac:</span>]name:key</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [name] [type] [class] [queryopt...]</p></div>
<div class="cmdsynopsis"><p><code class="command">dig</code> [@server] [<code class="option">-b <em class="replaceable"><code>address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-k <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-m</code>] [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>] [<code class="option">-q <em class="replaceable"><code>name</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v</code>] [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>] [<code class="option">-y <em class="replaceable"><code>[<span class="optional">hmac:</span>]name:key</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [name] [type] [class] [queryopt...]</p></div>
<div class="cmdsynopsis"><p><code class="command">dig</code> [<code class="option">-h</code>]</p></div>
<div class="cmdsynopsis"><p><code class="command">dig</code> [global-queryopt...] [query...]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543525"></a><h2>DESCRIPTION</h2>
<a name="id2543544"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dig</strong></span>
(domain information groper) is a flexible tool
for interrogating DNS name servers. It performs DNS lookups and
@@ -57,9 +57,10 @@
</p>
<p>
Unless it is told to query a specific name server,
<span><strong class="command">dig</strong></span> will try each of the servers listed
in
<code class="filename">/etc/resolv.conf</code>.
<span><strong class="command">dig</strong></span> will try each of the servers listed in
<code class="filename">/etc/resolv.conf</code>. If no usable server addresses
are found, <span><strong class="command">dig</strong></span> will send the query to the local
host.
</p>
<p>
When no command line arguments or options are given,
@@ -73,14 +74,14 @@
</p>
<p>
The IN and CH class names overlap with the IN and CH top level
domains names. Either use the <code class="option">-t</code> and
domain names. Either use the <code class="option">-t</code> and
<code class="option">-c</code> options to specify the type and class,
use the <code class="option">-q</code> the specify the domain name, or
use "IN." and "CH." when looking up these top level domains.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543598"></a><h2>SIMPLE USAGE</h2>
<a name="id2543623"></a><h2>SIMPLE USAGE</h2>
<p>
A typical invocation of <span><strong class="command">dig</strong></span> looks like:
</p>
@@ -91,42 +92,49 @@
</p>
<div class="variablelist"><dl>
<dt><span class="term"><code class="constant">server</code></span></dt>
<dd><p>
is the name or IP address of the name server to query. This can
be an IPv4
address in dotted-decimal notation or an IPv6
address in colon-delimited notation. When the supplied
<em class="parameter"><code>server</code></em> argument is a
hostname,
<span><strong class="command">dig</strong></span> resolves that name before
querying that name
server. If no <em class="parameter"><code>server</code></em>
argument is provided,
<span><strong class="command">dig</strong></span> consults <code class="filename">/etc/resolv.conf</code>
and queries the name servers listed there. The reply from the
name
server that responds is displayed.
</p></dd>
<dd>
<p>
is the name or IP address of the name server to query. This
can be an IPv4 address in dotted-decimal notation or an IPv6
address in colon-delimited notation. When the supplied
<em class="parameter"><code>server</code></em> argument is a hostname,
<span><strong class="command">dig</strong></span> resolves that name before querying
that name server.
</p>
<p>
If no <em class="parameter"><code>server</code></em> argument is
provided, <span><strong class="command">dig</strong></span> consults
<code class="filename">/etc/resolv.conf</code>; if an
address is found there, it queries the name server at
that address. If either of the <code class="option">-4</code> or
<code class="option">-6</code> options are in use, then
only addresses for the corresponding transport
will be tried. If no usable addresses are found,
<span><strong class="command">dig</strong></span> will send the query to the
local host. The reply from the name server that
responds is displayed.
</p>
</dd>
<dt><span class="term"><code class="constant">name</code></span></dt>
<dd><p>
is the name of the resource record that is to be looked up.
</p></dd>
is the name of the resource record that is to be looked up.
</p></dd>
<dt><span class="term"><code class="constant">type</code></span></dt>
<dd><p>
indicates what type of query is required &#8212;
ANY, A, MX, SIG, etc.
<em class="parameter"><code>type</code></em> can be any valid query
type. If no
<em class="parameter"><code>type</code></em> argument is supplied,
<span><strong class="command">dig</strong></span> will perform a lookup for an
A record.
</p></dd>
indicates what type of query is required &#8212;
ANY, A, MX, SIG, etc.
<em class="parameter"><code>type</code></em> can be any valid query
type. If no
<em class="parameter"><code>type</code></em> argument is supplied,
<span><strong class="command">dig</strong></span> will perform a lookup for an
A record.
</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543689"></a><h2>OPTIONS</h2>
<a name="id2543726"></a><h2>OPTIONS</h2>
<p>
The <code class="option">-b</code> option sets the source IP address of the query
to <em class="parameter"><code>address</code></em>. This must be a valid
@@ -185,9 +193,13 @@
</p>
<p>
The <code class="option">-q</code> option sets the query name to
<em class="parameter"><code>name</code></em>. This useful do distinguish the
<em class="parameter"><code>name</code></em>. This is useful to distinguish the
<em class="parameter"><code>name</code></em> from other arguments.
</p>
<p>
The <code class="option">-v</code> causes <span><strong class="command">dig</strong></span> to
print the version number and exit.
</p>
<p>
Reverse lookups &#8212; mapping addresses to names &#8212; are simplified by the
<code class="option">-x</code> option. <em class="parameter"><code>addr</code></em> is
@@ -230,7 +242,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544038"></a><h2>QUERY OPTIONS</h2>
<a name="id2544018"></a><h2>QUERY OPTIONS</h2>
<p><span><strong class="command">dig</strong></span>
provides a number of query options which affect
the way in which lookups are made and the results displayed. Some of
@@ -250,62 +262,19 @@
</p>
<div class="variablelist"><dl>
<dt><span class="term"><code class="option">+[no]tcp</code></span></dt>
<dd><p>
Use [do not use] TCP when querying name servers. The default
behavior is to use UDP unless an AXFR or IXFR query is
requested, in
which case a TCP connection is used.
</p></dd>
<dt><span class="term"><code class="option">+[no]vc</code></span></dt>
<dd><p>
Use [do not use] TCP when querying name servers. This alternate
syntax to <em class="parameter"><code>+[no]tcp</code></em> is
provided for backwards
compatibility. The "vc" stands for "virtual circuit".
</p></dd>
<dt><span class="term"><code class="option">+[no]ignore</code></span></dt>
<dd><p>
Ignore truncation in UDP responses instead of retrying with TCP.
By
default, TCP retries are performed.
</p></dd>
<dt><span class="term"><code class="option">+domain=somename</code></span></dt>
<dd><p>
Set the search list to contain the single domain
<em class="parameter"><code>somename</code></em>, as if specified in
a
<span><strong class="command">domain</strong></span> directive in
<code class="filename">/etc/resolv.conf</code>, and enable
search list
processing as if the <em class="parameter"><code>+search</code></em>
option were given.
</p></dd>
<dt><span class="term"><code class="option">+[no]search</code></span></dt>
<dd><p>
Use [do not use] the search list defined by the searchlist or
domain
directive in <code class="filename">resolv.conf</code> (if
any).
The search list is not used by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]showsearch</code></span></dt>
<dd><p>
Perform [do not perform] a search showing intermediate
results.
</p></dd>
<dt><span class="term"><code class="option">+[no]defname</code></span></dt>
<dd><p>
Deprecated, treated as a synonym for <em class="parameter"><code>+[no]search</code></em>
</p></dd>
<dt><span class="term"><code class="option">+[no]aaonly</code></span></dt>
<dd><p>
Sets the "aa" flag in the query.
</p></dd>
<dt><span class="term"><code class="option">+[no]aaflag</code></span></dt>
<dd><p>
A synonym for <em class="parameter"><code>+[no]aaonly</code></em>.
</p></dd>
A synonym for <em class="parameter"><code>+[no]aaonly</code></em>.
</p></dd>
<dt><span class="term"><code class="option">+[no]aaonly</code></span></dt>
<dd><p>
Sets the "aa" flag in the query.
</p></dd>
<dt><span class="term"><code class="option">+[no]additional</code></span></dt>
<dd><p>
Display [do not display] the additional section of a
reply. The default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]adflag</code></span></dt>
<dd><p>
Set [do not set] the AD (authentic data) bit in the
@@ -318,21 +287,163 @@
of the answer was insecure or not validated. This
bit is set by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]all</code></span></dt>
<dd><p>
Set or clear all display flags.
</p></dd>
<dt><span class="term"><code class="option">+[no]answer</code></span></dt>
<dd><p>
Display [do not display] the answer section of a
reply. The default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]authority</code></span></dt>
<dd><p>
Display [do not display] the authority section of a
reply. The default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]besteffort</code></span></dt>
<dd><p>
Attempt to display the contents of messages which are
malformed. The default is to not display malformed
answers.
</p></dd>
<dt><span class="term"><code class="option">+bufsize=B</code></span></dt>
<dd><p>
Set the UDP message buffer size advertised using EDNS0
to <em class="parameter"><code>B</code></em> bytes. The maximum and
minimum sizes of this buffer are 65535 and 0 respectively.
Values outside this range are rounded up or down
appropriately. Values other than zero will cause a
EDNS query to be sent.
</p></dd>
<dt><span class="term"><code class="option">+[no]cdflag</code></span></dt>
<dd><p>
Set [do not set] the CD (checking disabled) bit in the query.
This
requests the server to not perform DNSSEC validation of
responses.
</p></dd>
Set [do not set] the CD (checking disabled) bit in
the query. This requests the server to not perform
DNSSEC validation of responses.
</p></dd>
<dt><span class="term"><code class="option">+[no]cl</code></span></dt>
<dd><p>
Display [do not display] the CLASS when printing the record.
</p></dd>
<dt><span class="term"><code class="option">+[no]ttlid</code></span></dt>
Display [do not display] the CLASS when printing the
record.
</p></dd>
<dt><span class="term"><code class="option">+[no]cmd</code></span></dt>
<dd><p>
Display [do not display] the TTL when printing the record.
</p></dd>
Toggles the printing of the initial comment in the
output identifying the version of <span><strong class="command">dig</strong></span>
and the query options that have been applied. This
comment is printed by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]comments</code></span></dt>
<dd><p>
Toggle the display of comment lines in the output.
The default is to print comments.
</p></dd>
<dt><span class="term"><code class="option">+[no]defname</code></span></dt>
<dd><p>
Deprecated, treated as a synonym for
<em class="parameter"><code>+[no]search</code></em>
</p></dd>
<dt><span class="term"><code class="option">+[no]dnssec</code></span></dt>
<dd><p>
Requests DNSSEC records be sent by setting the DNSSEC
OK bit (DO) in the OPT record in the additional section
of the query.
</p></dd>
<dt><span class="term"><code class="option">+domain=somename</code></span></dt>
<dd><p>
Set the search list to contain the single domain
<em class="parameter"><code>somename</code></em>, as if specified in
a <span><strong class="command">domain</strong></span> directive in
<code class="filename">/etc/resolv.conf</code>, and enable
search list processing as if the
<em class="parameter"><code>+search</code></em> option were given.
</p></dd>
<dt><span class="term"><code class="option">+[no]edns[=#]</code></span></dt>
<dd><p>
Specify the EDNS version to query with. Valid values
are 0 to 255. Setting the EDNS version will cause
a EDNS query to be sent. <code class="option">+noedns</code>
clears the remembered EDNS version. EDNS is set to
0 by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]fail</code></span></dt>
<dd><p>
Do not try the next server if you receive a SERVFAIL.
The default is to not try the next server which is
the reverse of normal stub resolver behavior.
</p></dd>
<dt><span class="term"><code class="option">+[no]identify</code></span></dt>
<dd><p>
Show [or do not show] the IP address and port number
that supplied the answer when the
<em class="parameter"><code>+short</code></em> option is enabled. If
short form answers are requested, the default is not
to show the source address and port number of the
server that provided the answer.
</p></dd>
<dt><span class="term"><code class="option">+[no]ignore</code></span></dt>
<dd><p>
Ignore truncation in UDP responses instead of retrying
with TCP. By default, TCP retries are performed.
</p></dd>
<dt><span class="term"><code class="option">+[no]keepopen</code></span></dt>
<dd><p>
Keep the TCP socket open between queries and reuse
it rather than creating a new TCP socket for each
lookup. The default is <code class="option">+nokeepopen</code>.
</p></dd>
<dt><span class="term"><code class="option">+[no]multiline</code></span></dt>
<dd><p>
Print records like the SOA records in a verbose
multi-line format with human-readable comments. The
default is to print each record on a single line, to
facilitate machine parsing of the <span><strong class="command">dig</strong></span>
output.
</p></dd>
<dt><span class="term"><code class="option">+ndots=D</code></span></dt>
<dd><p>
Set the number of dots that have to appear in
<em class="parameter"><code>name</code></em> to <em class="parameter"><code>D</code></em>
for it to be considered absolute. The default value
is that defined using the ndots statement in
<code class="filename">/etc/resolv.conf</code>, or 1 if no
ndots statement is present. Names with fewer dots
are interpreted as relative names and will be searched
for in the domains listed in the <code class="option">search</code>
or <code class="option">domain</code> directive in
<code class="filename">/etc/resolv.conf</code>.
</p></dd>
<dt><span class="term"><code class="option">+[no]nsid</code></span></dt>
<dd><p>
Include an EDNS name server ID request when sending
a query.
</p></dd>
<dt><span class="term"><code class="option">+[no]nssearch</code></span></dt>
<dd><p>
When this option is set, <span><strong class="command">dig</strong></span>
attempts to find the authoritative name servers for
the zone containing the name being looked up and
display the SOA record that each name server has for
the zone.
</p></dd>
<dt><span class="term"><code class="option">+[no]onesoa</code></span></dt>
<dd><p>
Print only one (starting) SOA record when performing
an AXFR. The default is to print both the starting
and ending SOA records.
</p></dd>
<dt><span class="term"><code class="option">+[no]qr</code></span></dt>
<dd><p>
Print [do not print] the query as it is sent. By
default, the query is not printed.
</p></dd>
<dt><span class="term"><code class="option">+[no]question</code></span></dt>
<dd><p>
Print [do not print] the question section of a query
when an answer is returned. The default is to print
the question section as a comment.
</p></dd>
<dt><span class="term"><code class="option">+[no]recurse</code></span></dt>
<dd><p>
Toggle the setting of the RD (recursion desired) bit
@@ -342,16 +453,83 @@
the <em class="parameter"><code>+nssearch</code></em> or
<em class="parameter"><code>+trace</code></em> query options are used.
</p></dd>
<dt><span class="term"><code class="option">+[no]nssearch</code></span></dt>
<dt><span class="term"><code class="option">+retry=T</code></span></dt>
<dd><p>
When this option is set, <span><strong class="command">dig</strong></span>
attempts to find the
authoritative name servers for the zone containing the name
being
looked up and display the SOA record that each name server has
for the
zone.
</p></dd>
Sets the number of times to retry UDP queries to
server to <em class="parameter"><code>T</code></em> instead of the
default, 2. Unlike <em class="parameter"><code>+tries</code></em>,
this does not include the initial query.
</p></dd>
<dt><span class="term"><code class="option">+[no]rrcomments</code></span></dt>
<dd><p>
Toggle the display of per-record comments in the
output (for example, human-readable key information
about DNSKEY records). The default is not to print
record comments unless multiline mode is active.
</p></dd>
<dt><span class="term"><code class="option">+[no]search</code></span></dt>
<dd><p>
Use [do not use] the search list defined by the
searchlist or domain directive in
<code class="filename">resolv.conf</code> (if any). The search
list is not used by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]short</code></span></dt>
<dd><p>
Provide a terse answer. The default is to print the
answer in a verbose form.
</p></dd>
<dt><span class="term"><code class="option">+[no]showsearch</code></span></dt>
<dd><p>
Perform [do not perform] a search showing intermediate
results.
</p></dd>
<dt><span class="term"><code class="option">+[no]sigchase</code></span></dt>
<dd><p>
Chase DNSSEC signature chains. Requires dig be
compiled with -DDIG_SIGCHASE.
</p></dd>
<dt><span class="term"><code class="option">+split=W</code></span></dt>
<dd><p>
Split long hex- or base64-formatted fields in resource
records into chunks of <em class="parameter"><code>W</code></em>
characters (where <em class="parameter"><code>W</code></em> is rounded
up to the nearest multiple of 4).
<em class="parameter"><code>+nosplit</code></em> or
<em class="parameter"><code>+split=0</code></em> causes fields not to
be split at all. The default is 56 characters, or
44 characters when multiline mode is active.
</p></dd>
<dt><span class="term"><code class="option">+[no]stats</code></span></dt>
<dd><p>
This query option toggles the printing of statistics:
when the query was made, the size of the reply and
so on. The default behavior is to print the query
statistics.
</p></dd>
<dt><span class="term"><code class="option">+[no]tcp</code></span></dt>
<dd><p>
Use [do not use] TCP when querying name servers. The
default behavior is to use UDP unless an
<code class="literal">ixfr=N</code> query is requested, in which
case the default is TCP. AXFR queries always use
TCP.
</p></dd>
<dt><span class="term"><code class="option">+time=T</code></span></dt>
<dd><p>
Sets the timeout for a query to
<em class="parameter"><code>T</code></em> seconds. The default
timeout is 5 seconds.
An attempt to set <em class="parameter"><code>T</code></em> to less
than 1 will result
in a query timeout of 1 second being applied.
</p></dd>
<dt><span class="term"><code class="option">+[no]topdown</code></span></dt>
<dd><p>
When chasing DNSSEC signature chains perform a top-down
validation. Requires dig be compiled with -DDIG_SIGCHASE.
</p></dd>
<dt><span class="term"><code class="option">+[no]trace</code></span></dt>
<dd>
<p>
@@ -364,224 +542,55 @@
from each server that was used to resolve the lookup.
</p>
<p>
<span><strong class="command">+dnssec</strong></span> is also set when +trace is
set to better emulate the default queries from a nameserver.
<span><strong class="command">+dnssec</strong></span> is also set when +trace
is set to better emulate the default queries from a
nameserver.
</p>
</dd>
<dt><span class="term"><code class="option">+[no]cmd</code></span></dt>
<dd><p>
Toggles the printing of the initial comment in the output
identifying
the version of <span><strong class="command">dig</strong></span> and the query
options that have
been applied. This comment is printed by default.
</p></dd>
<dt><span class="term"><code class="option">+[no]short</code></span></dt>
<dd><p>
Provide a terse answer. The default is to print the answer in a
verbose form.
</p></dd>
<dt><span class="term"><code class="option">+[no]identify</code></span></dt>
<dd><p>
Show [or do not show] the IP address and port number that
supplied the
answer when the <em class="parameter"><code>+short</code></em> option
is enabled. If
short form answers are requested, the default is not to show the
source address and port number of the server that provided the
answer.
</p></dd>
<dt><span class="term"><code class="option">+[no]comments</code></span></dt>
<dd><p>
Toggle the display of comment lines in the output. The default
is to print comments.
</p></dd>
<dt><span class="term"><code class="option">+[no]rrcomments</code></span></dt>
<dd><p>
Toggle the display of per-record comments in the output (for
example, human-readable key information about DNSKEY records).
The default is not to print record comments unless multiline
mode is active.
</p></dd>
<dt><span class="term"><code class="option">+split=W</code></span></dt>
<dd><p>
Split long hex- or base64-formatted fields in resource
records into chunks of <em class="parameter"><code>W</code></em> characters
(where <em class="parameter"><code>W</code></em> is rounded up to the nearest
multiple of 4).
<em class="parameter"><code>+nosplit</code></em> or
<em class="parameter"><code>+split=0</code></em> causes fields not to be
split at all. The default is 56 characters, or 44 characters
when multiline mode is active.
</p></dd>
<dt><span class="term"><code class="option">+[no]stats</code></span></dt>
<dd><p>
This query option toggles the printing of statistics: when the
query
was made, the size of the reply and so on. The default
behavior is
to print the query statistics.
</p></dd>
<dt><span class="term"><code class="option">+[no]qr</code></span></dt>
<dd><p>
Print [do not print] the query as it is sent.
By default, the query is not printed.
</p></dd>
<dt><span class="term"><code class="option">+[no]question</code></span></dt>
<dd><p>
Print [do not print] the question section of a query when an
answer is
returned. The default is to print the question section as a
comment.
</p></dd>
<dt><span class="term"><code class="option">+[no]answer</code></span></dt>
<dd><p>
Display [do not display] the answer section of a reply. The
default
is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]authority</code></span></dt>
<dd><p>
Display [do not display] the authority section of a reply. The
default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]additional</code></span></dt>
<dd><p>
Display [do not display] the additional section of a reply.
The default is to display it.
</p></dd>
<dt><span class="term"><code class="option">+[no]all</code></span></dt>
<dd><p>
Set or clear all display flags.
</p></dd>
<dt><span class="term"><code class="option">+time=T</code></span></dt>
<dd><p>
Sets the timeout for a query to
<em class="parameter"><code>T</code></em> seconds. The default
timeout is 5 seconds.
An attempt to set <em class="parameter"><code>T</code></em> to less
than 1 will result
in a query timeout of 1 second being applied.
</p></dd>
<dt><span class="term"><code class="option">+tries=T</code></span></dt>
<dd><p>
Sets the number of times to try UDP queries to server to
<em class="parameter"><code>T</code></em> instead of the default, 3.
If
<em class="parameter"><code>T</code></em> is less than or equal to
zero, the number of
tries is silently rounded up to 1.
</p></dd>
<dt><span class="term"><code class="option">+retry=T</code></span></dt>
<dd><p>
Sets the number of times to retry UDP queries to server to
<em class="parameter"><code>T</code></em> instead of the default, 2.
Unlike
<em class="parameter"><code>+tries</code></em>, this does not include
the initial
query.
</p></dd>
<dt><span class="term"><code class="option">+ndots=D</code></span></dt>
<dd><p>
Set the number of dots that have to appear in
<em class="parameter"><code>name</code></em> to <em class="parameter"><code>D</code></em> for it to be
considered absolute. The default value is that defined using
the
ndots statement in <code class="filename">/etc/resolv.conf</code>, or 1 if no
ndots statement is present. Names with fewer dots are
interpreted as
relative names and will be searched for in the domains listed in
the
<code class="option">search</code> or <code class="option">domain</code> directive in
<code class="filename">/etc/resolv.conf</code>.
</p></dd>
<dt><span class="term"><code class="option">+bufsize=B</code></span></dt>
<dd><p>
Set the UDP message buffer size advertised using EDNS0 to
<em class="parameter"><code>B</code></em> bytes. The maximum and minimum sizes
of this buffer are 65535 and 0 respectively. Values outside
this range are rounded up or down appropriately.
Values other than zero will cause a EDNS query to be sent.
</p></dd>
<dt><span class="term"><code class="option">+edns=#</code></span></dt>
<dd><p>
Specify the EDNS version to query with. Valid values
are 0 to 255. Setting the EDNS version will cause
a EDNS query to be sent. <code class="option">+noedns</code>
clears the remembered EDNS version. EDNS is set to
0 by default.
Sets the number of times to try UDP queries to server
to <em class="parameter"><code>T</code></em> instead of the default,
3. If <em class="parameter"><code>T</code></em> is less than or equal
to zero, the number of tries is silently rounded up
to 1.
</p></dd>
<dt><span class="term"><code class="option">+[no]multiline</code></span></dt>
<dd><p>
Print records like the SOA records in a verbose multi-line
format with human-readable comments. The default is to print
each record on a single line, to facilitate machine parsing
of the <span><strong class="command">dig</strong></span> output.
</p></dd>
<dt><span class="term"><code class="option">+[no]onesoa</code></span></dt>
<dd><p>
Print only one (starting) SOA record when performing
an AXFR. The default is to print both the starting and
ending SOA records.
</p></dd>
<dt><span class="term"><code class="option">+[no]fail</code></span></dt>
<dd><p>
Do not try the next server if you receive a SERVFAIL. The
default is
to not try the next server which is the reverse of normal stub
resolver
behavior.
</p></dd>
<dt><span class="term"><code class="option">+[no]besteffort</code></span></dt>
<dd><p>
Attempt to display the contents of messages which are malformed.
The default is to not display malformed answers.
</p></dd>
<dt><span class="term"><code class="option">+[no]dnssec</code></span></dt>
<dd><p>
Requests DNSSEC records be sent by setting the DNSSEC OK bit
(DO)
in the OPT record in the additional section of the query.
</p></dd>
<dt><span class="term"><code class="option">+[no]sigchase</code></span></dt>
<dd><p>
Chase DNSSEC signature chains. Requires dig be compiled with
-DDIG_SIGCHASE.
</p></dd>
<dt><span class="term"><code class="option">+trusted-key=####</code></span></dt>
<dd>
<p>
Specifies a file containing trusted keys to be used with
<code class="option">+sigchase</code>. Each DNSKEY record must be
on its own line.
</p>
<p>
If not specified, <span><strong class="command">dig</strong></span> will look for
<code class="filename">/etc/trusted-key.key</code> then
<code class="filename">trusted-key.key</code> in the current directory.
Specifies a file containing trusted keys to be used
with <code class="option">+sigchase</code>. Each DNSKEY record
must be on its own line.
</p>
<p>
Requires dig be compiled with -DDIG_SIGCHASE.
If not specified, <span><strong class="command">dig</strong></span> will look
for <code class="filename">/etc/trusted-key.key</code> then
<code class="filename">trusted-key.key</code> in the current
directory.
</p>
<p>
Requires dig be compiled with -DDIG_SIGCHASE.
</p>
</dd>
<dt><span class="term"><code class="option">+[no]topdown</code></span></dt>
<dt><span class="term"><code class="option">+[no]ttlid</code></span></dt>
<dd><p>
When chasing DNSSEC signature chains perform a top-down
validation.
Requires dig be compiled with -DDIG_SIGCHASE.
</p></dd>
<dt><span class="term"><code class="option">+[no]nsid</code></span></dt>
Display [do not display] the TTL when printing the
record.
</p></dd>
<dt><span class="term"><code class="option">+[no]vc</code></span></dt>
<dd><p>
Include an EDNS name server ID request when sending a query.
</p></dd>
Use [do not use] TCP when querying name servers. This
alternate syntax to <em class="parameter"><code>+[no]tcp</code></em>
is provided for backwards compatibility. The "vc"
stands for "virtual circuit".
</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545301"></a><h2>MULTIPLE QUERIES</h2>
<a name="id2545168"></a><h2>MULTIPLE QUERIES</h2>
<p>
The BIND 9 implementation of <span><strong class="command">dig </strong></span>
supports
@@ -627,7 +636,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545363"></a><h2>IDN SUPPORT</h2>
<a name="id2545229"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">dig</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -641,14 +650,14 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545385"></a><h2>FILES</h2>
<a name="id2545252"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
<p><code class="filename">${HOME}/.digrc</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545402"></a><h2>SEE ALSO</h2>
<a name="id2545269"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
@@ -656,7 +665,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545440"></a><h2>BUGS</h2>
<a name="id2545306"></a><h2>BUGS</h2>
<p>
There are probably too many query options.
</p>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -46,8 +46,10 @@
#include <dns/byaddr.h>
#ifdef DIG_SIGCHASE
#include <dns/callbacks.h>
#include <dns/dnssec.h>
#include <dns/ds.h>
#include <dns/master.h>
#include <dns/nsec.h>
#include <isc/random.h>
#include <ctype.h>
@@ -123,7 +125,8 @@ isc_boolean_t
usesearch = ISC_FALSE,
showsearch = ISC_FALSE,
qr = ISC_FALSE,
is_dst_up = ISC_FALSE;
is_dst_up = ISC_FALSE,
keep_open = ISC_FALSE;
in_port_t port = 53;
unsigned int timeout = 0;
unsigned int extrabytes;
@@ -155,6 +158,9 @@ static void idn_check_result(idn_result_t r, const char *msg);
int idnoptions = 0;
#endif
isc_socket_t *keep = NULL;
isc_sockaddr_t keepaddr;
/*%
* Exit Codes:
*
@@ -178,6 +184,7 @@ isc_boolean_t validated = ISC_TRUE;
isc_entropy_t *entp = NULL;
isc_mempool_t *commctx = NULL;
isc_boolean_t debugging = ISC_FALSE;
isc_boolean_t debugtiming = ISC_FALSE;
isc_boolean_t memdebugging = ISC_FALSE;
char *progname = NULL;
isc_mutex_t lookup_lock;
@@ -250,11 +257,10 @@ isc_result_t prove_nx(dns_message_t * msg, dns_name_t * name,
dns_rdataset_t ** sigrdataset);
static void nameFromString(const char *str, dns_name_t *p_ret);
int inf_name(dns_name_t * name1, dns_name_t * name2);
isc_result_t opentmpkey(isc_mem_t *mctx, const char *file,
char **tempp, FILE **fp);
isc_result_t removetmpkey(isc_mem_t *mctx, const char *file);
void clean_trustedkey(void);
void insert_trustedkey(dst_key_t **key);
isc_result_t insert_trustedkey(void *arg, dns_name_t *name,
dns_rdataset_t *rdataset);
#if DIG_SIGCHASE_BU
isc_result_t getneededrr(dns_message_t *msg);
void sigchase_bottom_up(dns_message_t *msg);
@@ -362,6 +368,11 @@ connect_timeout(isc_task_t *task, isc_event_t *event);
static void
launch_next_query(dig_query_t *query, isc_boolean_t include_question);
static void
check_next_lookup(dig_lookup_t *lookup);
static isc_boolean_t
next_origin(dig_lookup_t *oldlookup);
static void *
mem_alloc(void *arg, size_t size) {
@@ -442,7 +453,7 @@ static isc_result_t
append(const char *text, int len, char **p, char *end) {
if (len > end - *p)
return (ISC_R_NOSPACE);
memcpy(*p, text, len);
memmove(*p, text, len);
*p += len;
return (ISC_R_SUCCESS);
}
@@ -459,7 +470,7 @@ reverse_octets(const char *in, char **p, char *end) {
result = append(".", 1, p, end);
if (result != ISC_R_SUCCESS)
return (result);
len = dot - in;
len = (int)(dot - in);
} else {
len = strlen(in);
}
@@ -489,7 +500,7 @@ get_reverse(char *reverse, size_t len, char *value, isc_boolean_t ip6_int,
result = dns_byaddr_createptrname2(&addr, options, name);
if (result != ISC_R_SUCCESS)
return (result);
dns_name_format(name, reverse, len);
dns_name_format(name, reverse, (unsigned int)len);
return (ISC_R_SUCCESS);
} else {
/*
@@ -535,9 +546,15 @@ fatal(const char *format, ...) {
void
debug(const char *format, ...) {
va_list args;
isc_time_t t;
if (debugging) {
fflush(stdout);
if (debugtiming) {
TIME_NOW(&t);
fprintf(stderr, "%d.%06d: ", isc_time_seconds(&t),
isc_time_nanoseconds(&t) / 1000);
}
va_start(args, format);
vfprintf(stderr, format, args);
va_end(args);
@@ -599,7 +616,8 @@ addr2af(int lwresaddrtype)
static void
copy_server_list(lwres_conf_t *confdata, dig_serverlist_t *dest) {
dig_server_t *newsrv;
char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")];
char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255") +
sizeof("%4000000000")];
int af;
int i;
@@ -614,6 +632,12 @@ copy_server_list(lwres_conf_t *confdata, dig_serverlist_t *dest) {
lwres_net_ntop(af, confdata->nameservers[i].address,
tmp, sizeof(tmp));
if (af == AF_INET6 && confdata->nameservers[i].zone != 0) {
char buf[sizeof("%4000000000")];
snprintf(buf, sizeof(buf), "%%%u",
confdata->nameservers[i].zone);
strlcat(tmp, buf, sizeof(tmp));
}
newsrv = make_server(tmp, tmp);
ISC_LINK_INIT(newsrv, link);
ISC_LIST_ENQUEUE(*dest, newsrv, link);
@@ -779,6 +803,7 @@ make_empty_lookup(void) {
looknew->retries = tries;
looknew->nsfound = 0;
looknew->tcp_mode = ISC_FALSE;
looknew->tcp_mode_set = ISC_FALSE;
looknew->ip6_int = ISC_FALSE;
looknew->comments = ISC_TRUE;
looknew->stats = ISC_TRUE;
@@ -789,8 +814,10 @@ make_empty_lookup(void) {
looknew->new_search = ISC_FALSE;
looknew->done_as_is = ISC_FALSE;
looknew->need_search = ISC_FALSE;
dns_fixedname_init(&looknew->fdomain);
ISC_LINK_INIT(looknew, link);
ISC_LIST_INIT(looknew->q);
ISC_LIST_INIT(looknew->connecting);
ISC_LIST_INIT(looknew->my_server_list);
return (looknew);
}
@@ -812,11 +839,11 @@ clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
looknew = make_empty_lookup();
INSIST(looknew != NULL);
strncpy(looknew->textname, lookold->textname, MXNAME);
strlcpy(looknew->textname, lookold->textname, MXNAME);
#if DIG_SIGCHASE_TD
strncpy(looknew->textnamesigchase, lookold->textnamesigchase, MXNAME);
strlcpy(looknew->textnamesigchase, lookold->textnamesigchase, MXNAME);
#endif
strncpy(looknew->cmdline, lookold->cmdline, MXNAME);
strlcpy(looknew->cmdline, lookold->cmdline, MXNAME);
looknew->textname[MXNAME-1] = 0;
looknew->rdtype = lookold->rdtype;
looknew->qrdtype = lookold->qrdtype;
@@ -854,6 +881,7 @@ clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
looknew->cdflag = lookold->cdflag;
looknew->ns_search_only = lookold->ns_search_only;
looknew->tcp_mode = lookold->tcp_mode;
looknew->tcp_mode_set = lookold->tcp_mode_set;
looknew->comments = lookold->comments;
looknew->stats = lookold->stats;
looknew->section_question = lookold->section_question;
@@ -865,6 +893,9 @@ clone_lookup(dig_lookup_t *lookold, isc_boolean_t servers) {
looknew->need_search = lookold->need_search;
looknew->done_as_is = lookold->done_as_is;
dns_name_copy(dns_fixedname_name(&lookold->fdomain),
dns_fixedname_name(&looknew->fdomain), NULL);
if (servers)
clone_server_list(lookold->my_server_list,
&looknew->my_server_list);
@@ -993,7 +1024,7 @@ parse_hmac(const char *hmac) {
len = strlen(hmac);
if (len >= (int) sizeof(buf))
fatal("unknown key type '%.*s'", len, hmac);
strncpy(buf, hmac, sizeof(buf));
strlcpy(buf, hmac, sizeof(buf));
digestbits = 0;
@@ -1075,8 +1106,8 @@ read_confkey(void) {
secretstr = cfg_obj_asstring(secretobj);
algorithm = cfg_obj_asstring(algorithmobj);
strncpy(keynametext, keyname, sizeof(keynametext));
strncpy(keysecret, secretstr, sizeof(keysecret));
strlcpy(keynametext, keyname, sizeof(keynametext));
strlcpy(keysecret, secretstr, sizeof(keysecret));
parse_hmac(algorithm);
setup_text_key();
@@ -1159,7 +1190,7 @@ make_searchlist_entry(char *domain) {
if (search == NULL)
fatal("memory allocation failure in %s:%d",
__FILE__, __LINE__);
strncpy(search->origin, domain, MXNAME);
strlcpy(search->origin, domain, MXNAME);
search->origin[MXNAME-1] = 0;
ISC_LINK_INIT(search, link);
return (search);
@@ -1312,6 +1343,7 @@ setup_libs(void) {
result = isc_mem_create(0, 0, &mctx);
check_result(result, "isc_mem_create");
isc_mem_setname(mctx, "dig", NULL);
result = isc_log_create(mctx, &lctx, &logconfig);
check_result(result, "isc_log_create");
@@ -1330,6 +1362,7 @@ setup_libs(void) {
result = isc_task_create(taskmgr, 0, &global_task);
check_result(result, "isc_task_create");
isc_task_setname(global_task, "dig", NULL);
result = isc_timermgr_create(mctx, &timermgr);
check_result(result, "isc_timermgr_create");
@@ -1468,7 +1501,10 @@ clear_query(dig_query_t *query) {
if (lookup->current_query == query)
lookup->current_query = NULL;
ISC_LIST_UNLINK(lookup->q, query, link);
if (ISC_LINK_LINKED(query, link))
ISC_LIST_UNLINK(lookup->q, query, link);
if (ISC_LINK_LINKED(query, clink))
ISC_LIST_UNLINK(lookup->connecting, query, clink);
if (ISC_LINK_LINKED(&query->recvbuf, link))
ISC_LIST_DEQUEUE(query->recvlist, &query->recvbuf,
link);
@@ -1476,6 +1512,7 @@ clear_query(dig_query_t *query) {
ISC_LIST_DEQUEUE(query->lengthlist, &query->lengthbuf,
link);
INSIST(query->recvspace != NULL);
if (query->sock != NULL) {
isc_socket_detach(&query->sock);
sockcount--;
@@ -1503,13 +1540,22 @@ try_clear_lookup(dig_lookup_t *lookup) {
debug("try_clear_lookup(%p)", lookup);
if (ISC_LIST_HEAD(lookup->q) != NULL) {
if (ISC_LIST_HEAD(lookup->q) != NULL ||
ISC_LIST_HEAD(lookup->connecting) != NULL)
{
if (debugging) {
q = ISC_LIST_HEAD(lookup->q);
while (q != NULL) {
debug("query to %s still pending", q->servname);
q = ISC_LIST_NEXT(q, link);
}
q = ISC_LIST_HEAD(lookup->connecting);
while (q != NULL) {
debug("query to %s still connecting",
q->servname);
q = ISC_LIST_NEXT(q, clink);
}
}
return (ISC_FALSE);
}
@@ -1637,7 +1683,7 @@ start_lookup(void) {
= current_lookup->rdclassset;
current_lookup->rdclass = dns_rdataclass_in;
strncpy(current_lookup->textnamesigchase,
strlcpy(current_lookup->textnamesigchase,
current_lookup->textname, MXNAME);
current_lookup->trace_root_sigchase = ISC_TRUE;
@@ -1649,7 +1695,7 @@ start_lookup(void) {
check_result(result, "dns_name_totext");
isc_buffer_usedregion(b, &r);
r.base[r.length] = '\0';
strncpy(current_lookup->textname, (char*)r.base,
strlcpy(current_lookup->textname, (char*)r.base,
MXNAME);
isc_buffer_free(&b);
@@ -1660,8 +1706,10 @@ start_lookup(void) {
}
novalidation:
#endif
setup_lookup(current_lookup);
do_lookup(current_lookup);
if (setup_lookup(current_lookup))
do_lookup(current_lookup);
else if (next_origin(current_lookup))
check_next_lookup(current_lookup);
} else {
check_if_done();
}
@@ -1795,7 +1843,6 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
lookup->trace_root = ISC_FALSE;
if (lookup->ns_search_only)
lookup->recurse = ISC_FALSE;
dns_fixedname_init(&lookup->fdomain);
domain = dns_fixedname_name(&lookup->fdomain);
dns_name_copy(name, domain, NULL);
}
@@ -1863,14 +1910,17 @@ followup_lookup(dns_message_t *msg, dig_query_t *query, dns_section_t section)
* Return ISC_TRUE iff there was another searchlist entry.
*/
static isc_boolean_t
next_origin(dig_query_t *query) {
dig_lookup_t *lookup;
next_origin(dig_lookup_t *oldlookup) {
dig_lookup_t *newlookup;
dig_searchlist_t *search;
dns_fixedname_t fixed;
dns_name_t *name;
isc_result_t result;
INSIST(!free_now);
debug("next_origin()");
debug("following up %s", query->lookup->textname);
debug("following up %s", oldlookup->textname);
if (!usesearch)
/*
@@ -1878,23 +1928,36 @@ next_origin(dig_query_t *query) {
* about finding the next entry.
*/
return (ISC_FALSE);
if (query->lookup->origin == NULL && !query->lookup->need_search)
/*
* Check for a absolute name or ndots being met.
*/
dns_fixedname_init(&fixed);
name = dns_fixedname_name(&fixed);
result = dns_name_fromstring2(name, oldlookup->textname, NULL,
0, NULL);
if (result == ISC_R_SUCCESS &&
(dns_name_isabsolute(name) ||
(int)dns_name_countlabels(name) > ndots))
return (ISC_FALSE);
if (oldlookup->origin == NULL && !oldlookup->need_search)
/*
* Then we just did rootorg; there's nothing left.
*/
return (ISC_FALSE);
if (query->lookup->origin == NULL && query->lookup->need_search) {
lookup = requeue_lookup(query->lookup, ISC_TRUE);
lookup->origin = ISC_LIST_HEAD(search_list);
lookup->need_search = ISC_FALSE;
if (oldlookup->origin == NULL && oldlookup->need_search) {
newlookup = requeue_lookup(oldlookup, ISC_TRUE);
newlookup->origin = ISC_LIST_HEAD(search_list);
newlookup->need_search = ISC_FALSE;
} else {
search = ISC_LIST_NEXT(query->lookup->origin, link);
if (search == NULL && query->lookup->done_as_is)
search = ISC_LIST_NEXT(oldlookup->origin, link);
if (search == NULL && oldlookup->done_as_is)
return (ISC_FALSE);
lookup = requeue_lookup(query->lookup, ISC_TRUE);
lookup->origin = search;
newlookup = requeue_lookup(oldlookup, ISC_TRUE);
newlookup->origin = search;
}
cancel_lookup(query->lookup);
cancel_lookup(oldlookup);
return (ISC_TRUE);
}
@@ -1970,7 +2033,7 @@ insert_soa(dig_lookup_t *lookup) {
* well as the query structures and buffer space for the replies. If the
* server list is empty, clone it from the system default list.
*/
void
isc_boolean_t
setup_lookup(dig_lookup_t *lookup) {
isc_result_t result;
isc_uint32_t id;
@@ -2096,20 +2159,35 @@ setup_lookup(dig_lookup_t *lookup) {
if (lookup->trace && lookup->trace_root) {
dns_name_clone(dns_rootname, lookup->name);
} else {
dns_fixedname_t fixed;
dns_name_t *name;
dns_fixedname_init(&fixed);
name = dns_fixedname_name(&fixed);
len = strlen(lookup->textname);
isc_buffer_init(&b, lookup->textname, len);
isc_buffer_add(&b, len);
result = dns_name_fromtext(lookup->name, &b,
lookup->oname, 0,
&lookup->namebuf);
}
if (result != ISC_R_SUCCESS) {
dns_message_puttempname(lookup->sendmsg,
&lookup->name);
dns_message_puttempname(lookup->sendmsg,
&lookup->oname);
fatal("'%s' is not in legal name syntax (%s)",
lookup->textname, isc_result_totext(result));
result = dns_name_fromtext(name, &b, NULL, 0, NULL);
if (result == ISC_R_SUCCESS &&
!dns_name_isabsolute(name))
result = dns_name_concatenate(name,
lookup->oname,
lookup->name,
&lookup->namebuf);
else if (result == ISC_R_SUCCESS)
result = dns_name_copy(name, lookup->name,
&lookup->namebuf);
if (result != ISC_R_SUCCESS) {
dns_message_puttempname(lookup->sendmsg,
&lookup->name);
dns_message_puttempname(lookup->sendmsg,
&lookup->oname);
if (result == DNS_R_NAMETOOLONG)
return (ISC_FALSE);
fatal("'%s' is not in legal name syntax (%s)",
lookup->textname,
isc_result_totext(result));
}
}
dns_message_puttempname(lookup->sendmsg, &lookup->oname);
} else
@@ -2286,7 +2364,7 @@ setup_lookup(dig_lookup_t *lookup) {
query->rr_count = 0;
query->msg_count = 0;
query->byte_count = 0;
ISC_LINK_INIT(query, link);
query->ixfr_axfr = ISC_FALSE;
ISC_LIST_INIT(query->recvlist);
ISC_LIST_INIT(query->lengthlist);
query->sock = NULL;
@@ -2299,6 +2377,7 @@ setup_lookup(dig_lookup_t *lookup) {
isc_buffer_init(&query->slbuf, query->slspace, 2);
query->sendbuf = lookup->renderbuf;
ISC_LINK_INIT(query, clink);
ISC_LINK_INIT(query, link);
ISC_LIST_ENQUEUE(lookup->q, query, link);
}
@@ -2308,6 +2387,7 @@ setup_lookup(dig_lookup_t *lookup) {
printmessage(ISC_LIST_HEAD(lookup->q), lookup->sendmsg,
ISC_TRUE);
}
return (ISC_TRUE);
}
/*%
@@ -2334,14 +2414,16 @@ send_done(isc_task_t *_task, isc_event_t *event) {
for (b = ISC_LIST_HEAD(sevent->bufferlist);
b != NULL;
b = ISC_LIST_HEAD(sevent->bufferlist))
b = ISC_LIST_HEAD(sevent->bufferlist)) {
ISC_LIST_DEQUEUE(sevent->bufferlist, b, link);
isc_mem_free(mctx, b);
}
query = event->ev_arg;
query->waiting_senddone = ISC_FALSE;
l = query->lookup;
if (l->ns_search_only && !l->trace_root) {
if (l->ns_search_only && !l->trace_root && !l->tcp_mode) {
debug("sending next, since searching");
next = ISC_LIST_NEXT(query, link);
if (next != NULL)
@@ -2420,6 +2502,7 @@ static void
force_timeout(dig_lookup_t *l, dig_query_t *query) {
isc_event_t *event;
debug("force_timeout ()");
event = isc_event_allocate(mctx, query, ISC_TIMEREVENT_IDLE,
connect_timeout, l,
sizeof(isc_event_t));
@@ -2487,7 +2570,17 @@ send_tcp_connect(dig_query_t *query) {
send_tcp_connect(next);
return;
}
INSIST(query->sock == NULL);
if (keep != NULL && isc_sockaddr_equal(&keepaddr, &query->sockaddr)) {
sockcount++;
isc_socket_attach(keep, &query->sock);
query->waiting_connect = ISC_FALSE;
launch_next_query(query, ISC_TRUE);
goto search;
}
result = isc_socket_create(socketmgr,
isc_sockaddr_pf(&query->sockaddr),
isc_sockettype_tcp, &query->sock);
@@ -2510,6 +2603,7 @@ send_tcp_connect(dig_query_t *query) {
result = isc_socket_connect(query->sock, &query->sockaddr,
global_task, connect_done, query);
check_result(result, "isc_socket_connect");
search:
/*
* If we're at the endgame of a nameserver search, we need to
* immediately bring up all the queries. Do it here.
@@ -2517,11 +2611,25 @@ send_tcp_connect(dig_query_t *query) {
if (l->ns_search_only && !l->trace_root) {
debug("sending next, since searching");
next = ISC_LIST_NEXT(query, link);
if (ISC_LINK_LINKED(query, link))
ISC_LIST_DEQUEUE(l->q, query, link);
ISC_LIST_ENQUEUE(l->connecting, query, clink);
if (next != NULL)
send_tcp_connect(next);
}
}
static isc_buffer_t *
clone_buffer(isc_buffer_t *source) {
isc_buffer_t *buffer;
buffer = isc_mem_allocate(mctx, sizeof(*buffer));
if (buffer == NULL)
fatal("memory allocation failure in %s:%d",
__FILE__, __LINE__);
*buffer = *source;
return (buffer);
}
/*%
* Send a UDP packet to the remote nameserver, possible starting the
* recv action as well. Also make sure that the timer is running and
@@ -2531,6 +2639,7 @@ static void
send_udp(dig_query_t *query) {
dig_lookup_t *l = NULL;
isc_result_t result;
isc_buffer_t *sendbuf;
debug("send_udp(%p)", query);
@@ -2577,14 +2686,16 @@ send_udp(dig_query_t *query) {
debug("recvcount=%d", recvcount);
}
ISC_LIST_INIT(query->sendlist);
ISC_LIST_ENQUEUE(query->sendlist, &query->sendbuf, link);
sendbuf = clone_buffer(&query->sendbuf);
ISC_LIST_ENQUEUE(query->sendlist, sendbuf, link);
debug("sending a request");
TIME_NOW(&query->time_sent);
INSIST(query->sock != NULL);
query->waiting_senddone = ISC_TRUE;
result = isc_socket_sendtov(query->sock, &query->sendlist,
global_task, send_done, query,
&query->sockaddr, NULL);
result = isc_socket_sendtov2(query->sock, &query->sendlist,
global_task, send_done, query,
&query->sockaddr, NULL,
ISC_SOCKFLAG_NORETRY);
check_result(result, "isc_socket_sendtov");
sendcount++;
}
@@ -2597,7 +2708,7 @@ send_udp(dig_query_t *query) {
static void
connect_timeout(isc_task_t *task, isc_event_t *event) {
dig_lookup_t *l = NULL;
dig_query_t *query = NULL, *cq;
dig_query_t *query = NULL, *next, *cq;
UNUSED(task);
REQUIRE(event->ev_type == ISC_TIMEREVENT_IDLE);
@@ -2621,7 +2732,9 @@ connect_timeout(isc_task_t *task, isc_event_t *event) {
if (query->sock != NULL)
isc_socket_cancel(query->sock, NULL,
ISC_SOCKCANCEL_ALL);
send_tcp_connect(ISC_LIST_NEXT(cq, link));
next = ISC_LIST_NEXT(cq, link);
if (next != NULL)
send_tcp_connect(next);
}
UNLOCK_LOOKUP;
return;
@@ -2744,6 +2857,7 @@ static void
launch_next_query(dig_query_t *query, isc_boolean_t include_question) {
isc_result_t result;
dig_lookup_t *l;
isc_buffer_t *buffer;
INSIST(!free_now);
@@ -2767,9 +2881,15 @@ launch_next_query(dig_query_t *query, isc_boolean_t include_question) {
isc_buffer_putuint16(&query->slbuf, (isc_uint16_t) query->sendbuf.used);
ISC_LIST_INIT(query->sendlist);
ISC_LINK_INIT(&query->slbuf, link);
ISC_LIST_ENQUEUE(query->sendlist, &query->slbuf, link);
if (include_question)
ISC_LIST_ENQUEUE(query->sendlist, &query->sendbuf, link);
if (!query->first_soa_rcvd) {
buffer = clone_buffer(&query->slbuf);
ISC_LIST_ENQUEUE(query->sendlist, buffer, link);
if (include_question) {
buffer = clone_buffer(&query->sendbuf);
ISC_LIST_ENQUEUE(query->sendlist, buffer, link);
}
}
ISC_LINK_INIT(&query->lengthbuf, link);
ISC_LIST_ENQUEUE(query->lengthlist, &query->lengthbuf, link);
@@ -2864,12 +2984,17 @@ connect_done(isc_task_t *task, isc_event_t *event) {
if (next != NULL) {
bringup_timer(next, TCP_TIMEOUT);
send_tcp_connect(next);
} else {
} else
check_next_lookup(l);
}
UNLOCK_LOOKUP;
return;
}
if (keep_open) {
if (keep != NULL)
isc_socket_detach(&keep);
isc_socket_attach(query->sock, &keep);
keepaddr = query->sockaddr;
}
launch_next_query(query, ISC_TRUE);
isc_event_free(&event);
UNLOCK_LOOKUP;
@@ -2893,6 +3018,9 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
isc_boolean_t ixfr = query->lookup->rdtype == dns_rdatatype_ixfr;
isc_boolean_t axfr = query->lookup->rdtype == dns_rdatatype_axfr;
if (ixfr)
axfr = query->ixfr_axfr;
debug("check_for_more_data()");
/*
@@ -2941,7 +3069,7 @@ check_for_more_data(dig_query_t *query, dns_message_t *msg,
query->second_rr_rcvd = ISC_TRUE;
query->second_rr_serial = 0;
debug("got the second rr as nonsoa");
axfr = ISC_TRUE;
axfr = query->ixfr_axfr = ISC_TRUE;
goto next_rdata;
}
@@ -3056,6 +3184,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
INSIST(recvcount >= 0);
query = event->ev_arg;
TIME_NOW(&query->time_recv);
debug("lookup=%p, query=%p", query->lookup, query);
l = query->lookup;
@@ -3377,9 +3506,9 @@ recv_done(isc_task_t *task, isc_event_t *event) {
}
if (!l->doing_xfr || l->xfr_q == query) {
if (msg->rcode != dns_rcode_noerror &&
if (msg->rcode == dns_rcode_nxdomain &&
(l->origin != NULL || l->need_search)) {
if (!next_origin(query) || showsearch) {
if (!next_origin(query->lookup) || showsearch) {
printmessage(query, msg, ISC_TRUE);
received(b->used, &sevent->address, query);
}
@@ -3423,6 +3552,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
if (n == 0)
docancel = ISC_TRUE;
l->trace_root = ISC_FALSE;
usesearch = ISC_FALSE;
} else
#ifdef DIG_SIGCHASE
if (!do_sigchase)
@@ -3599,15 +3729,19 @@ getaddresses(dig_lookup_t *lookup, const char *host, isc_result_t *resultp) {
*/
void
do_lookup(dig_lookup_t *lookup) {
dig_query_t *query;
REQUIRE(lookup != NULL);
debug("do_lookup()");
lookup->pending = ISC_TRUE;
if (lookup->tcp_mode)
send_tcp_connect(ISC_LIST_HEAD(lookup->q));
else
send_udp(ISC_LIST_HEAD(lookup->q));
query = ISC_LIST_HEAD(lookup->q);
if (query != NULL) {
if (lookup->tcp_mode)
send_tcp_connect(query);
else
send_udp(query);
}
}
/*%
@@ -3643,18 +3777,31 @@ cancel_all(void) {
if (current_lookup != NULL) {
if (current_lookup->timer != NULL)
isc_timer_detach(&current_lookup->timer);
q = ISC_LIST_HEAD(current_lookup->q);
while (q != NULL) {
debug("canceling query %p, belonging to %p",
q, current_lookup);
for (q = ISC_LIST_HEAD(current_lookup->q);
q != NULL;
q = nq)
{
nq = ISC_LIST_NEXT(q, link);
if (q->sock != NULL) {
debug("canceling pending query %p, belonging to %p",
q, current_lookup);
if (q->sock != NULL)
isc_socket_cancel(q->sock, NULL,
ISC_SOCKCANCEL_ALL);
} else {
else
clear_query(q);
}
for (q = ISC_LIST_HEAD(current_lookup->connecting);
q != NULL;
q = nq)
{
nq = ISC_LIST_NEXT(q, clink);
debug("canceling connecting query %p, belonging to %p",
q, current_lookup);
if (q->sock != NULL)
isc_socket_cancel(q->sock, NULL,
ISC_SOCKCANCEL_ALL);
else
clear_query(q);
}
q = nq;
}
}
l = ISC_LIST_HEAD(lookup_list);
@@ -3681,6 +3828,8 @@ destroy_libs(void) {
isc_result_t result;
#endif
if (keep != NULL)
isc_socket_detach(&keep);
debug("destroy_libs()");
if (global_task != NULL) {
debug("freeing task");
@@ -3832,7 +3981,7 @@ output_filter(isc_buffer_t *buffer, unsigned int used_org,
fromlen = isc_buffer_usedlength(buffer) - used_org;
if (fromlen >= MAXDLEN)
return (ISC_R_SUCCESS);
memcpy(tmp1, (char *)isc_buffer_base(buffer) + used_org, fromlen);
memmove(tmp1, (char *)isc_buffer_base(buffer) + used_org, fromlen);
end_with_dot = (tmp1[fromlen - 1] == '.') ? ISC_TRUE : ISC_FALSE;
if (absolute && !end_with_dot) {
fromlen++;
@@ -3861,8 +4010,8 @@ output_filter(isc_buffer_t *buffer, unsigned int used_org,
return (ISC_R_NOSPACE);
isc_buffer_subtract(buffer, isc_buffer_usedlength(buffer) - used_org);
memcpy(isc_buffer_used(buffer), tmp1, tolen);
isc_buffer_add(buffer, tolen);
memmove(isc_buffer_used(buffer), tmp1, tolen);
isc_buffer_add(buffer, (unsigned int)tolen);
return (ISC_R_SUCCESS);
}
@@ -3881,7 +4030,8 @@ append_textname(char *name, const char *origin, size_t namesize) {
if (namelen + 1 + originlen >= namesize)
return idn_buffer_overflow;
name[namelen++] = '.';
if (*origin != '.')
name[namelen++] = '.';
(void)strcpy(name + namelen, origin);
return idn_success;
}
@@ -4079,7 +4229,7 @@ sigchase_scanname(dns_rdatatype_t type, dns_rdatatype_t covers,
check_result(result, "dns_name_totext");
isc_buffer_usedregion(b, &r);
r.base[r.length] = '\0';
strcpy(lookup->textname, (char*)r.base);
strlcpy(lookup->textname, (char*)r.base, sizeof(lookup->textname));
isc_buffer_free(&b);
if (type == dns_rdatatype_rrsig)
@@ -4104,17 +4254,35 @@ sigchase_scanname(dns_rdatatype_t type, dns_rdatatype_t covers,
return (NULL);
}
void
insert_trustedkey(dst_key_t **keyp)
isc_result_t
insert_trustedkey(void *arg, dns_name_t *name, dns_rdataset_t *rdataset)
{
if (*keyp == NULL)
return;
if (tk_list.nb_tk >= MAX_TRUSTED_KEY)
return;
isc_result_t result;
dst_key_t *key;
tk_list.key[tk_list.nb_tk++] = *keyp;
*keyp = NULL;
return;
UNUSED(arg);
if (rdataset == NULL || rdataset->type != dns_rdatatype_dnskey)
return (ISC_R_SUCCESS);
for (result = dns_rdataset_first(rdataset);
result == ISC_R_SUCCESS;
result = dns_rdataset_next(rdataset)) {
dns_rdata_t rdata = DNS_RDATA_INIT;
isc_buffer_t b;
dns_rdataset_current(rdataset, &rdata);
isc_buffer_init(&b, rdata.data, rdata.length);
isc_buffer_add(&b, rdata.length);
if (tk_list.nb_tk >= MAX_TRUSTED_KEY)
return (ISC_R_SUCCESS);
key = NULL;
result = dst_key_fromdns(name, rdata.rdclass, &b, mctx, &key);
if (result != ISC_R_SUCCESS)
continue;
tk_list.key[tk_list.nb_tk++] = key;
}
return (ISC_R_SUCCESS);
}
void
@@ -4160,87 +4328,12 @@ removetmpkey(isc_mem_t *mctx, const char *file)
return (result);
}
isc_result_t
opentmpkey(isc_mem_t *mctx, const char *file, char **tempp, FILE **fp) {
FILE *f = NULL;
isc_result_t result;
char *tempname = NULL;
char *tempnamekey = NULL;
int tempnamelen;
int tempnamekeylen;
char *x;
char *cp;
isc_uint32_t which;
while (1) {
tempnamelen = strlen(file) + 20;
tempname = isc_mem_allocate(mctx, tempnamelen);
if (tempname == NULL)
return (ISC_R_NOMEMORY);
memset(tempname, 0, tempnamelen);
result = isc_file_mktemplate(file, tempname, tempnamelen);
if (result != ISC_R_SUCCESS)
goto cleanup;
cp = tempname;
while (*cp != '\0')
cp++;
if (cp == tempname) {
isc_mem_free(mctx, tempname);
return (ISC_R_FAILURE);
}
x = cp--;
while (cp >= tempname && *cp == 'X') {
isc_random_get(&which);
*cp = alphnum[which % (sizeof(alphnum) - 1)];
x = cp--;
}
tempnamekeylen = tempnamelen+5;
tempnamekey = isc_mem_allocate(mctx, tempnamekeylen);
if (tempnamekey == NULL)
return (ISC_R_NOMEMORY);
memset(tempnamekey, 0, tempnamekeylen);
strncpy(tempnamekey, tempname, tempnamelen);
strcat(tempnamekey ,".key");
if (isc_file_exists(tempnamekey)) {
isc_mem_free(mctx, tempnamekey);
isc_mem_free(mctx, tempname);
continue;
}
if ((f = fopen(tempnamekey, "w")) == NULL) {
printf("get_trusted_key(): trusted key not found %s\n",
tempnamekey);
return (ISC_R_FAILURE);
}
break;
}
isc_mem_free(mctx, tempnamekey);
*tempp = tempname;
*fp = f;
return (ISC_R_SUCCESS);
cleanup:
isc_mem_free(mctx, tempname);
return (result);
}
isc_result_t
get_trusted_key(isc_mem_t *mctx)
{
isc_result_t result;
const char *filename = NULL;
char *filetemp = NULL;
char buf[1500];
FILE *fp, *fptemp;
dst_key_t *key = NULL;
dns_rdatacallbacks_t callbacks;
result = isc_file_exists(trustedkey);
if (result != ISC_TRUE) {
@@ -4261,40 +4354,11 @@ get_trusted_key(isc_mem_t *mctx)
return (ISC_R_FAILURE);
}
if ((fp = fopen(filename, "r")) == NULL) {
printf("get_trusted_key(): trusted key not found %s\n",
filename);
return (ISC_R_FAILURE);
}
while (fgets(buf, sizeof(buf), fp) != NULL) {
result = opentmpkey(mctx,"tmp_file", &filetemp, &fptemp);
if (result != ISC_R_SUCCESS) {
fclose(fp);
return (ISC_R_FAILURE);
}
if (fputs(buf, fptemp) < 0) {
fclose(fp);
fclose(fptemp);
return (ISC_R_FAILURE);
}
fclose(fptemp);
result = dst_key_fromnamedfile(filetemp, NULL, DST_TYPE_PUBLIC,
mctx, &key);
removetmpkey(mctx, filetemp);
isc_mem_free(mctx, filetemp);
if (result != ISC_R_SUCCESS) {
fclose(fp);
return (ISC_R_FAILURE);
}
#if 0
dst_key_tofile(key, DST_TYPE_PUBLIC,"/tmp");
#endif
insert_trustedkey(&key);
if (key != NULL)
dst_key_free(&key);
}
fclose(fp);
return (ISC_R_SUCCESS);
dns_rdatacallbacks_init_stdio(&callbacks);
callbacks.add = insert_trustedkey;
return (dns_master_loadfile(filename, dns_rootname, dns_rootname,
current_lookup->rdclass, 0, &callbacks,
mctx));
}
@@ -4308,7 +4372,7 @@ nameFromString(const char *str, dns_name_t *p_ret) {
REQUIRE(p_ret != NULL);
REQUIRE(str != NULL);
isc_buffer_init(&buffer, str, len);
isc_buffer_constinit(&buffer, str, len);
isc_buffer_add(&buffer, len);
dns_fixedname_init(&fixedname);
@@ -4338,7 +4402,7 @@ prepare_lookup(dns_name_t *name)
lookup->new_search = ISC_TRUE;
lookup->trace_root_sigchase = ISC_FALSE;
strncpy(lookup->textname, lookup->textnamesigchase, MXNAME);
strlcpy(lookup->textname, lookup->textnamesigchase, MXNAME);
lookup->rdtype = lookup->rdtype_sigchase;
lookup->rdtypeset = ISC_TRUE;
@@ -4397,7 +4461,7 @@ prepare_lookup(dns_name_t *name)
dns_rdata_totext(&aaaa, &ns.name, b);
isc_buffer_usedregion(b, &r);
r.base[r.length] = '\0';
strncpy(namestr, (char*)r.base,
strlcpy(namestr, (char*)r.base,
DNS_NAME_FORMATSIZE);
isc_buffer_free(&b);
dns_rdata_reset(&aaaa);
@@ -4426,7 +4490,7 @@ prepare_lookup(dns_name_t *name)
dns_rdata_totext(&a, &ns.name, b);
isc_buffer_usedregion(b, &r);
r.base[r.length] = '\0';
strncpy(namestr, (char*)r.base,
strlcpy(namestr, (char*)r.base,
DNS_NAME_FORMATSIZE);
isc_buffer_free(&b);
dns_rdata_reset(&a);
@@ -4605,7 +4669,6 @@ contains_trusted_key(dns_name_t *name, dns_rdataset_t *rdataset,
{
isc_result_t result;
dns_rdata_t rdata = DNS_RDATA_INIT;
dst_key_t *trustedKey = NULL;
dst_key_t *dnsseckey = NULL;
int i;
@@ -4649,10 +4712,6 @@ contains_trusted_key(dns_name_t *name, dns_rdataset_t *rdataset,
dst_key_free(&dnsseckey);
} while (dns_rdataset_next(rdataset) == ISC_R_SUCCESS);
if (trustedKey != NULL)
dst_key_free(&trustedKey);
trustedKey = NULL;
return (ISC_R_NOTFOUND);
}

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007-2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
@@ -13,18 +13,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: host.1,v 1.31 2009/07/11 01:12:45 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: host
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Jun 30, 2000
.\" Date: January 20, 2009
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "HOST" "1" "Jun 30, 2000" "BIND9" "BIND9"
.TH "HOST" "1" "January 20, 2009" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -33,7 +33,7 @@
host \- DNS lookup utility
.SH "SYNOPSIS"
.HP 5
\fBhost\fR [\fB\-aCdlnrsTwv\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-N\ \fR\fB\fIndots\fR\fR] [\fB\-R\ \fR\fB\fInumber\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-W\ \fR\fB\fIwait\fR\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-4\fR] [\fB\-6\fR] {name} [server]
\fBhost\fR [\fB\-aCdlnrsTwv\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-N\ \fR\fB\fIndots\fR\fR] [\fB\-R\ \fR\fB\fInumber\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-W\ \fR\fB\fIwait\fR\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [\fB\-v\fR] [\fB\-V\fR] {name} [server]
.SH "DESCRIPTION"
.PP
\fBhost\fR
@@ -194,6 +194,12 @@ can be used to set the memory usage debugging flags
\fIusage\fR
and
\fItrace\fR.
.PP
The
\fB\-V\fR
option causes
\fBhost\fR
to print the version number and exit.
.SH "IDN SUPPORT"
.PP
If
@@ -213,7 +219,7 @@ runs.
\fBdig\fR(1),
\fBnamed\fR(8).
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007\-2009 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007\-2009, 2014 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009-2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,8 +15,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: host.c,v 1.127 2011/03/11 06:11:20 marka Exp $ */
/*! \file */
#include <config.h>
@@ -166,7 +164,8 @@ show_usage(void) {
" -W specifies how long to wait for a reply\n"
" -4 use IPv4 query transport only\n"
" -6 use IPv6 query transport only\n"
" -m set memory debugging flag (trace|record|usage)\n", stderr);
" -m set memory debugging flag (trace|record|usage)\n"
" -v print version number and exit\n", stderr);
exit(1);
}
@@ -446,10 +445,18 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (msg->rcode != 0) {
char namestr[DNS_NAME_FORMATSIZE];
dns_name_format(query->lookup->name, namestr, sizeof(namestr));
printf("Host %s not found: %d(%s)\n",
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcode_totext(msg->rcode));
if (query->lookup->identify_previous_line)
printf("Nameserver %s:\n\t%s not found: %d(%s)\n",
query->servname,
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcode_totext(msg->rcode));
else
printf("Host %s not found: %d(%s)\n",
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcode_totext(msg->rcode));
return (ISC_R_SUCCESS);
}
@@ -595,7 +602,13 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
return (result);
}
static const char * optstring = "46ac:dilnm:rst:vwCDN:R:TW:";
static const char * optstring = "46ac:dilnm:rst:vVwCDN:R:TW:";
/*% version */
static void
version(void) {
fputs("host " VERSION "\n", stderr);
}
static void
pre_parse_args(int argc, char **argv) {
@@ -627,9 +640,15 @@ pre_parse_args(int argc, char **argv) {
case 's': break;
case 't': break;
case 'v': break;
case 'V':
version();
exit(0);
break;
case 'w': break;
case 'C': break;
case 'D':
if (debugging)
debugtiming = ISC_TRUE;
debugging = ISC_TRUE;
break;
case 'N': break;
@@ -746,6 +765,9 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
if (!lookup->rdtypeset ||
lookup->rdtype != dns_rdatatype_axfr)
lookup->rdtype = dns_rdatatype_any;
#ifdef WITH_IDN
idnoptions = 0;
#endif
list_type = dns_rdatatype_any;
list_addresses = ISC_FALSE;
lookup->rdtypeset = ISC_TRUE;

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -18,11 +18,10 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.docbook,v 1.20 2009/01/20 23:47:56 tbox Exp $ -->
<refentry id="man.host">
<refentryinfo>
<date>Jun 30, 2000</date>
<date>January 20, 2009</date>
</refentryinfo>
<refmeta>
@@ -43,6 +42,7 @@
<year>2007</year>
<year>2008</year>
<year>2009</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -65,6 +65,8 @@
<arg><option>-m <replaceable class="parameter">flag</replaceable></option></arg>
<arg><option>-4</option></arg>
<arg><option>-6</option></arg>
<arg><option>-v</option></arg>
<arg><option>-V</option></arg>
<arg choice="req">name</arg>
<arg choice="opt">server</arg>
</cmdsynopsis>
@@ -238,6 +240,11 @@
<parameter>record</parameter>, <parameter>usage</parameter> and
<parameter>trace</parameter>.
</para>
<para>
The <option>-V</option> option causes <command>host</command>
to print the version number and exit.
</para>
</refsect1>
<refsect1>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009, 2014 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.html,v 1.30 2009/07/11 01:12:45 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,10 +29,10 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">host</code> [<code class="option">-aCdlnrsTwv</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-N <em class="replaceable"><code>ndots</code></em></code>] [<code class="option">-R <em class="replaceable"><code>number</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-W <em class="replaceable"><code>wait</code></em></code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] {name} [server]</p></div>
<div class="cmdsynopsis"><p><code class="command">host</code> [<code class="option">-aCdlnrsTwv</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-N <em class="replaceable"><code>ndots</code></em></code>] [<code class="option">-R <em class="replaceable"><code>number</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-W <em class="replaceable"><code>wait</code></em></code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [<code class="option">-v</code>] [<code class="option">-V</code>] {name} [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543434"></a><h2>DESCRIPTION</h2>
<a name="id2543454"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">host</strong></span>
is a simple utility for performing DNS lookups.
It is normally used to convert names to IP addresses and vice versa.
@@ -182,9 +182,13 @@
<em class="parameter"><code>record</code></em>, <em class="parameter"><code>usage</code></em> and
<em class="parameter"><code>trace</code></em>.
</p>
<p>
The <code class="option">-V</code> option causes <span><strong class="command">host</strong></span>
to print the version number and exit.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543800"></a><h2>IDN SUPPORT</h2>
<a name="id2543831"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">host</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -198,12 +202,12 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543822"></a><h2>FILES</h2>
<a name="id2543853"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543834"></a><h2>SEE ALSO</h2>
<a name="id2543865"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
</p>

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -117,6 +117,7 @@ struct dig_lookup {
trace, /*% dig +trace */
trace_root, /*% initial query for either +trace or +nssearch */
tcp_mode,
tcp_mode_set,
ip6_int,
comments,
stats,
@@ -168,6 +169,7 @@ isc_boolean_t sigchase;
dns_name_t *oname;
ISC_LINK(dig_lookup_t) link;
ISC_LIST(dig_query_t) q;
ISC_LIST(dig_query_t) connecting;
dig_query_t *current_query;
dig_serverlist_t my_server_list;
dig_searchlist_t *origin;
@@ -201,6 +203,7 @@ struct dig_query {
isc_uint32_t second_rr_serial;
isc_uint32_t msg_count;
isc_uint32_t rr_count;
isc_boolean_t ixfr_axfr;
char *servname;
char *userarg;
isc_bufferlist_t sendlist,
@@ -214,8 +217,10 @@ struct dig_query {
slspace[4];
isc_socket_t *sock;
ISC_LINK(dig_query_t) link;
ISC_LINK(dig_query_t) clink;
isc_sockaddr_t sockaddr;
isc_time_t time_sent;
isc_time_t time_recv;
isc_uint64_t byte_count;
isc_buffer_t sendbuf;
};
@@ -273,7 +278,8 @@ extern isc_boolean_t validated;
extern isc_taskmgr_t *taskmgr;
extern isc_task_t *global_task;
extern isc_boolean_t free_now;
extern isc_boolean_t debugging, memdebugging;
extern isc_boolean_t debugging, debugtiming, memdebugging;
extern isc_boolean_t keep_open;
extern char *progname;
extern int tries;
@@ -305,7 +311,7 @@ debug(const char *format, ...) ISC_FORMAT_PRINTF(1, 2);
void
check_result(isc_result_t result, const char *msg);
void
isc_boolean_t
setup_lookup(dig_lookup_t *lookup);
void

View File

@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2007, 2010, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -12,18 +12,18 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: nslookup.1,v 1.16 2010/02/23 01:14:31 tbox Exp $
.\" $Id$
.\"
.hy 0
.ad l
.\" Title: nslookup
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/>
.\" Date: Jun 30, 2000
.\" Date: January 24, 2014
.\" Manual: BIND9
.\" Source: BIND9
.\"
.TH "NSLOOKUP" "1" "Jun 30, 2000" "BIND9" "BIND9"
.TH "NSLOOKUP" "1" "January 24, 2014" "BIND9" "BIND9"
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -61,6 +61,12 @@ nslookup \-query=hinfo \-timeout=10
.fi
.RE
.sp
.PP
The
\fB\-version\fR
option causes
\fBnslookup\fR
to print the version number and immediately exits.
.SH "INTERACTIVE COMMANDS"
.PP
\fBhost\fR [server]
@@ -216,6 +222,11 @@ Tell the name server to query other servers if it does not have the information.
(Default = recurse; abbreviation = [no]rec)
.RE
.PP
\fBndots=\fR\fInumber\fR
.RS 4
Set the number of dots (label separators) in a domain that will disable searching. Absolute names always stop searching.
.RE
.PP
\fBretry=\fR\fInumber\fR
.RS 4
Set the number of retries to number.
@@ -254,5 +265,5 @@ Try the next nameserver if a nameserver responds with SERVFAIL or a referral (no
.PP
Andrew Cherenson
.SH "COPYRIGHT"
Copyright \(co 2004\-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2007, 2010, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
.br

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,8 +15,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nslookup.c,v 1.130 2011/12/16 23:01:16 each Exp $ */
#include <config.h>
#include <stdlib.h>
@@ -65,6 +63,7 @@ static isc_boolean_t in_use = ISC_FALSE;
static char defclass[MXRD] = "IN";
static char deftype[MXRD] = "A";
static isc_event_t *global_event = NULL;
static int query_error = 1, print_error = 0;
static char domainopt[DNS_NAME_MAXTEXT];
@@ -414,6 +413,9 @@ isc_result_t
printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
char servtext[ISC_SOCKADDR_FORMATSIZE];
/* I've we've gotten this far, we've reached a server. */
query_error = 0;
debug("printmessage()");
isc_sockaddr_format(&query->sockaddr, servtext, sizeof(servtext));
@@ -438,9 +440,11 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
dns_name_format(query->lookup->name,
nametext, sizeof(nametext));
printf("** server can't find %s: %s\n",
(msg->rcode != dns_rcode_nxdomain) ? nametext :
query->lookup->textname, rcode_totext(msg->rcode));
nametext, rcode_totext(msg->rcode));
debug("returning with rcode == 0");
/* the lookup failed */
print_error |= 1;
return (ISC_R_SUCCESS);
}
@@ -495,8 +499,8 @@ show_settings(isc_boolean_t full, isc_boolean_t serv_only) {
printf(" %s\t\t%s\n",
usesearch ? "search" : "nosearch",
recurse ? "recurse" : "norecurse");
printf(" timeout = %d\t\tretry = %d\tport = %d\n",
timeout, tries, port);
printf(" timeout = %d\t\tretry = %d\tport = %d\tndots = %d\n",
timeout, tries, port, ndots);
printf(" querytype = %-8s\tclass = %s\n", deftype, defclass);
printf(" srchlist = ");
for (listent = ISC_LIST_HEAD(search_list);
@@ -567,6 +571,19 @@ set_tries(const char *value) {
tries = n;
}
static void
set_ndots(const char *value) {
isc_uint32_t n;
isc_result_t result = parse_uint(&n, value, 128, "ndots");
if (result == ISC_R_SUCCESS)
ndots = n;
}
static void
version(void) {
fputs("nslookup " VERSION "\n", stderr);
}
static void
setoption(char *opt) {
if (strncasecmp(opt, "all", 4) == 0) {
@@ -647,6 +664,8 @@ setoption(char *opt) {
nofail=ISC_FALSE;
} else if (strncasecmp(opt, "nofail", 3) == 0) {
nofail=ISC_TRUE;
} else if (strncasecmp(opt, "ndots=", 6) == 0) {
set_ndots(&opt[6]);
} else {
printf("*** Invalid option: %s\n", opt);
}
@@ -760,7 +779,8 @@ get_next_command(void) {
if (interactive) {
#ifdef HAVE_READLINE
ptr = readline("> ");
add_history(ptr);
if (ptr != NULL)
add_history(ptr);
#else
fputs("> ", stderr);
fflush(stderr);
@@ -788,9 +808,12 @@ parse_args(int argc, char **argv) {
for (argc--, argv++; argc > 0; argc--, argv++) {
debug("main parsing %s", argv[0]);
if (argv[0][0] == '-') {
if (argv[0][1] != 0)
if (strncasecmp(argv[0], "-ver", 4) == 0) {
version();
exit(0);
} else if (argv[0][1] != 0) {
setoption(&argv[0][1]);
else
} else
have_lookup = ISC_TRUE;
} else {
if (!have_lookup) {
@@ -909,5 +932,5 @@ main(int argc, char **argv) {
destroy_libs();
isc_app_finish();
return (0);
return (query_error | print_error);
}

View File

@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2010, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,6 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.docbook,v 1.18 2010/02/22 23:49:11 tbox Exp $ -->
<!--
- Copyright (c) 1985, 1989
- The Regents of the University of California. All rights reserved.
@@ -30,11 +29,7 @@
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
- 3. All advertising materials mentioning features or use of this software
- must display the following acknowledgement:
- This product includes software developed by the University of
- California, Berkeley and its contributors.
- 4. Neither the name of the University nor the names of its contributors
- 3. Neither the name of the University nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
@@ -53,7 +48,7 @@
<refentry>
<refentryinfo>
<date>Jun 30, 2000</date>
<date>January 24, 2014</date>
</refentryinfo>
<refmeta>
@@ -74,6 +69,8 @@
<year>2006</year>
<year>2007</year>
<year>2010</year>
<year>2013</year>
<year>2014</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
@@ -136,6 +133,11 @@ nslookup -query=hinfo -timeout=10
</programlisting>
<!-- </informalexample> -->
</para>
<para>
The <option>-version</option> option causes
<command>nslookup</command> to print the version
number and immediately exits.
</para>
</refsect1>
@@ -409,6 +411,17 @@ nslookup -query=hinfo -timeout=10
</listitem>
</varlistentry>
<varlistentry>
<term><constant>ndots=</constant><replaceable>number</replaceable></term>
<listitem>
<para>
Set the number of dots (label separators) in a domain
that will disable searching. Absolute names always
stop searching.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><constant>retry=</constant><replaceable>number</replaceable></term>
<listitem>

View File

@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2007, 2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2010, 2013, 2014 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.html,v 1.23 2010/02/23 01:14:31 tbox Exp $ -->
<!-- $Id$ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -21,7 +21,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.71.1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en">
<a name="id2476276"></a><div class="titlepage"></div>
<a name="id2476283"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2>Name</h2>
<p>nslookup &#8212; query Internet name servers interactively</p>
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">nslookup</code> [<code class="option">-option</code>] [name | -] [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543358"></a><h2>DESCRIPTION</h2>
<a name="id2543442"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">Nslookup</strong></span>
is a program to query Internet domain name servers. <span><strong class="command">Nslookup</strong></span>
has two modes: interactive and non-interactive. Interactive mode allows
@@ -43,7 +43,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543374"></a><h2>ARGUMENTS</h2>
<a name="id2543458"></a><h2>ARGUMENTS</h2>
<p>
Interactive mode is entered in the following cases:
</p>
@@ -76,9 +76,14 @@ nslookup -query=hinfo -timeout=10
<p>
</p>
<p>
The <code class="option">-version</code> option causes
<span><strong class="command">nslookup</strong></span> to print the version
number and immediately exits.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543418"></a><h2>INTERACTIVE COMMANDS</h2>
<a name="id2543512"></a><h2>INTERACTIVE COMMANDS</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="constant">host</code> [<span class="optional">server</span>]</span></dt>
<dd>
@@ -249,6 +254,12 @@ nslookup -query=hinfo -timeout=10
(Default = recurse; abbreviation = [no]rec)
</p>
</dd>
<dt><span class="term"><code class="constant">ndots=</code><em class="replaceable"><code>number</code></em></span></dt>
<dd><p>
Set the number of dots (label separators) in a domain
that will disable searching. Absolute names always
stop searching.
</p></dd>
<dt><span class="term"><code class="constant">retry=</code><em class="replaceable"><code>number</code></em></span></dt>
<dd><p>
Set the number of retries to number.
@@ -288,19 +299,19 @@ nslookup -query=hinfo -timeout=10
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2546284"></a><h2>FILES</h2>
<a name="id2546326"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2546296"></a><h2>SEE ALSO</h2>
<a name="id2546338"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2546330"></a><h2>Author</h2>
<a name="id2546372"></a><h2>Author</h2>
<p>
Andrew Cherenson
</p>

View File

@@ -2,9 +2,9 @@
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=dig - Win32 Debug
CFG=dig - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=dig - Win32 Debug
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "dig.mak" CFG="dig - Win32 Debug"
!MESSAGE NMAKE /f "dig.mak" CFG="dig - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "dig - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "dig - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "dig - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "dig - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=dig - Win32 Debug
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -41,18 +41,18 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/dighost.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/dig.exe"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/dighost.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib @IDN_LIB@ /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/dig.exe"
!ELSEIF "$(CFG)" == "dig - Win32 Debug"
!ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -65,24 +65,24 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /u /YX
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /u @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/dighost.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/dig.exe" /pdbtype:sept
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/dighost.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib @IDN_LIB@ /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/dig.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "dig - Win32 Release"
# Name "dig - Win32 Debug"
# Name "dig - @PLATFORM@ Release"
# Name "dig - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -1,20 +1,20 @@
# Microsoft Developer Studio Generated NMAKE File, Based on dig.dsp
!IF "$(CFG)" == ""
CFG=dig - Win32 Debug
!MESSAGE No configuration specified. Defaulting to dig - Win32 Debug.
CFG=dig - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to dig - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "dig - Win32 Release" && "$(CFG)" != "dig - Win32 Debug"
!IF "$(CFG)" != "dig - @PLATFORM@ Release" && "$(CFG)" != "dig - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "dig.mak" CFG="dig - Win32 Debug"
!MESSAGE NMAKE /f "dig.mak" CFG="dig - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "dig - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "dig - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "dig - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "dig - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
@@ -28,7 +28,7 @@ NULL=nul
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
@@ -103,7 +103,7 @@ _VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
@@ -114,12 +114,12 @@ ALL : "..\..\..\Build\Release\dig.exe"
!ELSE
ALL : "liblwres - Win32 Release" "libbind9 - Win32 Release" "libisc - Win32 Release" "libdns - Win32 Release" "..\..\..\Build\Release\dig.exe"
ALL : "liblwres - @PLATFORM@ Release" "libbind9 - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\Build\Release\dig.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - Win32 ReleaseCLEAN" "libisc - Win32 ReleaseCLEAN" "libbind9 - Win32 ReleaseCLEAN" "liblwres - Win32 ReleaseCLEAN"
CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN" "libbind9 - @PLATFORM@ ReleaseCLEAN" "liblwres - @PLATFORM@ ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
@@ -132,13 +132,13 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\dig.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\dig.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\dig.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\dig.pdb" /machine:I386 /out:"../../../Build/Release/dig.exe"
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib @IDN_LIB@ /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\dig.pdb" @MACHINE@ /out:"../../../Build/Release/dig.exe"
LINK32_OBJS= \
"$(INTDIR)\dig.obj" \
"$(INTDIR)\dighost.obj" \
@@ -154,7 +154,7 @@ LINK32_OBJS= \
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "dig - Win32 Debug"
!ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
@@ -168,12 +168,12 @@ ALL : "..\..\..\Build\Debug\dig.exe" "$(OUTDIR)\dig.bsc"
!ELSE
ALL : "liblwres - Win32 Debug" "libbind9 - Win32 Debug" "libisc - Win32 Debug" "libdns - Win32 Debug" "..\..\..\Build\Debug\dig.exe" "$(OUTDIR)\dig.bsc"
ALL : "liblwres - @PLATFORM@ Debug" "libbind9 - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\Build\Debug\dig.exe" "$(OUTDIR)\dig.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - Win32 DebugCLEAN" "libisc - Win32 DebugCLEAN" "libbind9 - Win32 DebugCLEAN" "liblwres - Win32 DebugCLEAN"
CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN" "libbind9 - @PLATFORM@ DebugCLEAN" "liblwres - @PLATFORM@ DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
@@ -192,7 +192,7 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\dig.bsc"
BSC32_SBRS= \
@@ -205,7 +205,7 @@ BSC32_SBRS= \
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\dig.pdb" /debug /machine:I386 /out:"../../../Build/Debug/dig.exe" /pdbtype:sept
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib @IDN_LIB@ /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\dig.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/dig.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\dig.obj" \
"$(INTDIR)\dighost.obj" \
@@ -263,17 +263,17 @@ LINK32_OBJS= \
!ENDIF
!IF "$(CFG)" == "dig - Win32 Release" || "$(CFG)" == "dig - Win32 Debug"
!IF "$(CFG)" == "dig - @PLATFORM@ Release" || "$(CFG)" == "dig - @PLATFORM@ Debug"
SOURCE=..\dig.c
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
"$(INTDIR)\dig.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "dig - Win32 Debug"
!ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
"$(INTDIR)\dig.obj" "$(INTDIR)\dig.sbr" : $(SOURCE) "$(INTDIR)"
@@ -284,14 +284,14 @@ SOURCE=..\dig.c
SOURCE=..\dighost.c
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
"$(INTDIR)\dighost.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "dig - Win32 Debug"
!ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
"$(INTDIR)\dighost.obj" "$(INTDIR)\dighost.sbr" : $(SOURCE) "$(INTDIR)"
@@ -300,106 +300,106 @@ SOURCE=..\dighost.c
!ENDIF
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
"libdns - Win32 Release" :
"libdns - @PLATFORM@ Release" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
cd "..\..\..\bin\dig\win32"
"libdns - Win32 ReleaseCLEAN" :
"libdns - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ELSEIF "$(CFG)" == "dig - Win32 Debug"
!ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
"libdns - Win32 Debug" :
"libdns - @PLATFORM@ Debug" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
cd "..\..\..\bin\dig\win32"
"libdns - Win32 DebugCLEAN" :
"libdns - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ENDIF
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
"libisc - Win32 Release" :
"libisc - @PLATFORM@ Release" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
cd "..\..\..\bin\dig\win32"
"libisc - Win32 ReleaseCLEAN" :
"libisc - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ELSEIF "$(CFG)" == "dig - Win32 Debug"
!ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
"libisc - Win32 Debug" :
"libisc - @PLATFORM@ Debug" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
cd "..\..\..\bin\dig\win32"
"libisc - Win32 DebugCLEAN" :
"libisc - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ENDIF
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
"libbind9 - Win32 Release" :
"libbind9 - @PLATFORM@ Release" :
cd "..\..\..\lib\bind9\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release"
cd "..\..\..\bin\dig\win32"
"libbind9 - Win32 ReleaseCLEAN" :
"libbind9 - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\bind9\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ELSEIF "$(CFG)" == "dig - Win32 Debug"
!ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
"libbind9 - Win32 Debug" :
"libbind9 - @PLATFORM@ Debug" :
cd "..\..\..\lib\bind9\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug"
cd "..\..\..\bin\dig\win32"
"libbind9 - Win32 DebugCLEAN" :
"libbind9 - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\bind9\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ENDIF
!IF "$(CFG)" == "dig - Win32 Release"
!IF "$(CFG)" == "dig - @PLATFORM@ Release"
"liblwres - Win32 Release" :
"liblwres - @PLATFORM@ Release" :
cd "..\..\..\lib\lwres\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Release"
cd "..\..\..\bin\dig\win32"
"liblwres - Win32 ReleaseCLEAN" :
"liblwres - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\lwres\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ELSEIF "$(CFG)" == "dig - Win32 Debug"
!ELSEIF "$(CFG)" == "dig - @PLATFORM@ Debug"
"liblwres - Win32 Debug" :
"liblwres - @PLATFORM@ Debug" :
cd "..\..\..\lib\lwres\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Debug"
cd "..\..\..\bin\dig\win32"
"liblwres - Win32 DebugCLEAN" :
"liblwres - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\lwres\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ENDIF

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\include\dig\dig.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\dig.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{F938F9B8-D395-4A40-BEC7-0122D289C692}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>dig</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\include;..\..\..\;@LIBXML2_INC@@IDN_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;..\..\..\lib\lwres\win32\include;..\..\..\lib\lwres\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);..\..\..\lib\lwres\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>dighost.lib;libisc.lib;libisccfg.lib;libdns.lib;libbind9.lib;liblwres.lib;@IDN_LIB@ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\include;..\..\..\;@LIBXML2_INC@@IDN_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;..\..\..\lib\lwres\win32\include;..\..\..\lib\lwres\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);..\..\..\lib\lwres\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>dighost.lib;libisc.lib;libisccfg.lib;libdns.lib;libbind9.lib;liblwres.lib;@IDN_LIB@ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\include\dig\dig.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\dig.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -2,9 +2,9 @@
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Static-Link Library" 0x0104
# TARGTYPE "@PLATFORM@ (x86) Static-Link Library" 0x0104
CFG=dighost - Win32 Debug
CFG=dighost - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=dighost - Win32 Debug
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "dighost.mak" CFG="dighost - Win32 Debug"
!MESSAGE NMAKE /f "dighost.mak" CFG="dighost - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "dighost - Win32 Release" (based on "Win32 (x86) Static-Link Library")
!MESSAGE "dighost - Win32 Debug" (based on "Win32 (x86) Static-Link Library")
!MESSAGE "dighost - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE "dighost - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Static-Link Library")
!MESSAGE
# Begin Project
@@ -29,7 +29,7 @@ CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "dighost - Win32 Release"
!IF "$(CFG)" == "dighost - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -42,8 +42,8 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /YX /FD /c /Fddighost
# ADD BASE CPP /nologo /MT /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" @COPTY@ /FD /c /Fddighost
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
@@ -56,7 +56,7 @@ LINK32=link.exe
# ADD BASE LINK32
# ADD LINK32 /out:"Release/dighost.lib"
!ELSEIF "$(CFG)" == "dighost - Win32 Debug"
!ELSEIF "$(CFG)" == "dighost - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -69,8 +69,8 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR /YX /FD /GZ /c /Fddighost
# ADD BASE CPP /nologo /MTd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "__STDC__" /D "_MBCS" /FR @COPTY@ /FD /GZ /c /Fddighost
# SUBTRACT CPP /X
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
@@ -87,8 +87,8 @@ LINK32=link.exe
# Begin Target
# Name "dighost - Win32 Release"
# Name "dighost - Win32 Debug"
# Name "dighost - @PLATFORM@ Release"
# Name "dighost - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\dighost.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,104 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{140DE800-E552-43CC-B0C7-A33A92E368CA}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>dighost</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>.\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>.\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@IDN_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\lwres\win32\include;..\..\..\lib\lwres\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\..\..\;@LIBXML2_INC@@IDN_INC@..\include;..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\lwres\win32\include;..\..\..\lib\lwres\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<LinkTimeCodeGeneration>false</LinkTimeCodeGeneration>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\dighost.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -2,9 +2,9 @@
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=host - Win32 Debug
CFG=host - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=host - Win32 Debug
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "host.mak" CFG="host - Win32 Debug"
!MESSAGE NMAKE /f "host.mak" CFG="host - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "host - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "host - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "host - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "host - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=host - Win32 Debug
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -41,18 +41,18 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/dighost.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/host.exe"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Release/dighost.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib @IDN_LIB@ /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/host.exe"
!ELSEIF "$(CFG)" == "host - Win32 Debug"
!ELSEIF "$(CFG)" == "host - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -65,24 +65,24 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /u /YX
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /u @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/dighost.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/host.exe" /pdbtype:sept
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib Debug/dighost.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib @IDN_LIB@ /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/host.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "host - Win32 Release"
# Name "host - Win32 Debug"
# Name "host - @PLATFORM@ Release"
# Name "host - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

View File

@@ -1,20 +1,20 @@
# Microsoft Developer Studio Generated NMAKE File, Based on host.dsp
!IF "$(CFG)" == ""
CFG=host - Win32 Debug
!MESSAGE No configuration specified. Defaulting to host - Win32 Debug.
CFG=host - @PLATFORM@ Debug
!MESSAGE No configuration specified. Defaulting to host - @PLATFORM@ Debug.
!ENDIF
!IF "$(CFG)" != "host - Win32 Release" && "$(CFG)" != "host - Win32 Debug"
!IF "$(CFG)" != "host - @PLATFORM@ Release" && "$(CFG)" != "host - @PLATFORM@ Debug"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "host.mak" CFG="host - Win32 Debug"
!MESSAGE NMAKE /f "host.mak" CFG="host - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "host - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "host - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "host - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "host - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
@@ -28,7 +28,7 @@ NULL=nul
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
_VC_MANIFEST_INC=0
_VC_MANIFEST_BASENAME=__VC80
!ELSE
@@ -103,7 +103,7 @@ _VC_MANIFEST_CLEAN=
!endif
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
OUTDIR=.\Release
INTDIR=.\Release
@@ -114,12 +114,12 @@ ALL : "..\..\..\Build\Release\host.exe"
!ELSE
ALL : "liblwres - Win32 Release" "libbind9 - Win32 Release" "libisc - Win32 Release" "libdns - Win32 Release" "..\..\..\Build\Release\host.exe"
ALL : "liblwres - @PLATFORM@ Release" "libbind9 - @PLATFORM@ Release" "libisc - @PLATFORM@ Release" "libdns - @PLATFORM@ Release" "..\..\..\Build\Release\host.exe"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - Win32 ReleaseCLEAN" "libisc - Win32 ReleaseCLEAN" "libbind9 - Win32 ReleaseCLEAN" "liblwres - Win32 ReleaseCLEAN"
CLEAN :"libdns - @PLATFORM@ ReleaseCLEAN" "libisc - @PLATFORM@ ReleaseCLEAN" "libbind9 - @PLATFORM@ ReleaseCLEAN" "liblwres - @PLATFORM@ ReleaseCLEAN"
!ELSE
CLEAN :
!ENDIF
@@ -132,13 +132,13 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /W3 /GX /O2 /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\host.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
CPP_PROJ=/nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\host.pch" @COPTY@ /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\host.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\host.pdb" /machine:I386 /out:"../../../Build/Release/host.exe"
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib @IDN_LIB@ /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\host.pdb" @MACHINE@ /out:"../../../Build/Release/host.exe"
LINK32_OBJS= \
"$(INTDIR)\dighost.obj" \
"$(INTDIR)\host.obj" \
@@ -154,7 +154,7 @@ LINK32_OBJS= \
<<
$(_VC_MANIFEST_EMBED_EXE)
!ELSEIF "$(CFG)" == "host - Win32 Debug"
!ELSEIF "$(CFG)" == "host - @PLATFORM@ Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
@@ -168,12 +168,12 @@ ALL : "..\..\..\Build\Debug\host.exe" "$(OUTDIR)\host.bsc"
!ELSE
ALL : "liblwres - Win32 Debug" "libbind9 - Win32 Debug" "libisc - Win32 Debug" "libdns - Win32 Debug" "..\..\..\Build\Debug\host.exe" "$(OUTDIR)\host.bsc"
ALL : "liblwres - @PLATFORM@ Debug" "libbind9 - @PLATFORM@ Debug" "libisc - @PLATFORM@ Debug" "libdns - @PLATFORM@ Debug" "..\..\..\Build\Debug\host.exe" "$(OUTDIR)\host.bsc"
!ENDIF
!IF "$(RECURSE)" == "1"
CLEAN :"libdns - Win32 DebugCLEAN" "libisc - Win32 DebugCLEAN" "libbind9 - Win32 DebugCLEAN" "liblwres - Win32 DebugCLEAN"
CLEAN :"libdns - @PLATFORM@ DebugCLEAN" "libisc - @PLATFORM@ DebugCLEAN" "libbind9 - @PLATFORM@ DebugCLEAN" "liblwres - @PLATFORM@ DebugCLEAN"
!ELSE
CLEAN :
!ENDIF
@@ -192,7 +192,7 @@ CLEAN :
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
CPP_PROJ=/nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @IDN_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR"$(INTDIR)\\" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\host.bsc"
BSC32_SBRS= \
@@ -205,7 +205,7 @@ BSC32_SBRS= \
<<
LINK32=link.exe
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\host.pdb" /debug /machine:I386 /out:"../../../Build/Debug/host.exe" /pdbtype:sept
LINK32_FLAGS=user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib @IDN_LIB@ /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\host.pdb" /debug @MACHINE@ /out:"../../../Build/Debug/host.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\dighost.obj" \
"$(INTDIR)\host.obj" \
@@ -263,17 +263,17 @@ LINK32_OBJS= \
!ENDIF
!IF "$(CFG)" == "host - Win32 Release" || "$(CFG)" == "host - Win32 Debug"
!IF "$(CFG)" == "host - @PLATFORM@ Release" || "$(CFG)" == "host - @PLATFORM@ Debug"
SOURCE=..\dighost.c
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
"$(INTDIR)\dighost.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "host - Win32 Debug"
!ELSEIF "$(CFG)" == "host - @PLATFORM@ Debug"
"$(INTDIR)\dighost.obj" "$(INTDIR)\dighost.sbr" : $(SOURCE) "$(INTDIR)"
@@ -284,14 +284,14 @@ SOURCE=..\dighost.c
SOURCE=..\host.c
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
"$(INTDIR)\host.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "host - Win32 Debug"
!ELSEIF "$(CFG)" == "host - @PLATFORM@ Debug"
"$(INTDIR)\host.obj" "$(INTDIR)\host.sbr" : $(SOURCE) "$(INTDIR)"
@@ -300,106 +300,106 @@ SOURCE=..\host.c
!ENDIF
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
"libdns - Win32 Release" :
"libdns - @PLATFORM@ Release" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release"
cd "..\..\..\bin\dig\win32"
"libdns - Win32 ReleaseCLEAN" :
"libdns - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ELSEIF "$(CFG)" == "host - Win32 Debug"
!ELSEIF "$(CFG)" == "host - @PLATFORM@ Debug"
"libdns - Win32 Debug" :
"libdns - @PLATFORM@ Debug" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug"
cd "..\..\..\bin\dig\win32"
"libdns - Win32 DebugCLEAN" :
"libdns - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\dns\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libdns.mak" CFG="libdns - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ENDIF
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
"libisc - Win32 Release" :
"libisc - @PLATFORM@ Release" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release"
cd "..\..\..\bin\dig\win32"
"libisc - Win32 ReleaseCLEAN" :
"libisc - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ELSEIF "$(CFG)" == "host - Win32 Debug"
!ELSEIF "$(CFG)" == "host - @PLATFORM@ Debug"
"libisc - Win32 Debug" :
"libisc - @PLATFORM@ Debug" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug"
cd "..\..\..\bin\dig\win32"
"libisc - Win32 DebugCLEAN" :
"libisc - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\isc\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libisc.mak" CFG="libisc - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ENDIF
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
"libbind9 - Win32 Release" :
"libbind9 - @PLATFORM@ Release" :
cd "..\..\..\lib\bind9\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release"
cd "..\..\..\bin\dig\win32"
"libbind9 - Win32 ReleaseCLEAN" :
"libbind9 - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\bind9\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ELSEIF "$(CFG)" == "host - Win32 Debug"
!ELSEIF "$(CFG)" == "host - @PLATFORM@ Debug"
"libbind9 - Win32 Debug" :
"libbind9 - @PLATFORM@ Debug" :
cd "..\..\..\lib\bind9\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug"
cd "..\..\..\bin\dig\win32"
"libbind9 - Win32 DebugCLEAN" :
"libbind9 - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\bind9\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\libbind9.mak" CFG="libbind9 - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ENDIF
!IF "$(CFG)" == "host - Win32 Release"
!IF "$(CFG)" == "host - @PLATFORM@ Release"
"liblwres - Win32 Release" :
"liblwres - @PLATFORM@ Release" :
cd "..\..\..\lib\lwres\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - Win32 Release"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Release"
cd "..\..\..\bin\dig\win32"
"liblwres - Win32 ReleaseCLEAN" :
"liblwres - @PLATFORM@ ReleaseCLEAN" :
cd "..\..\..\lib\lwres\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - Win32 Release" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Release" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ELSEIF "$(CFG)" == "host - Win32 Debug"
!ELSEIF "$(CFG)" == "host - @PLATFORM@ Debug"
"liblwres - Win32 Debug" :
"liblwres - @PLATFORM@ Debug" :
cd "..\..\..\lib\lwres\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - Win32 Debug"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Debug"
cd "..\..\..\bin\dig\win32"
"liblwres - Win32 DebugCLEAN" :
"liblwres - @PLATFORM@ DebugCLEAN" :
cd "..\..\..\lib\lwres\win32"
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - Win32 Debug" RECURSE=1 CLEAN
$(MAKE) /$(MAKEFLAGS) /F ".\liblwres.mak" CFG="liblwres - @PLATFORM@ Debug" RECURSE=1 CLEAN
cd "..\..\..\bin\dig\win32"
!ENDIF

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\host.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|@PLATFORM@">
<Configuration>Debug</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|@PLATFORM@">
<Configuration>Release</Configuration>
<Platform>@PLATFORM@</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{BA1048A8-6961-4A20-BE12-08BE20611C9D}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>host</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\Build\$(Configuration)\</OutDir>
<IntDir>.\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|@PLATFORM@'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<FunctionLevelLinking>false</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<BrowseInformation>true</BrowseInformation>
<AdditionalIncludeDirectories>.\;..\include;..\..\..\;@LIBXML2_INC@@IDN_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;..\..\..\lib\lwres\win32\include;..\..\..\lib\lwres\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);..\..\..\lib\lwres\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>dighost.lib;@IDN_LIB@libisc.lib;libisccfg.lib;libdns.lib;libbind9.lib;liblwres.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|@PLATFORM@'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>@INTRINSIC@</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
<WholeProgramOptimization>false</WholeProgramOptimization>
<StringPooling>true</StringPooling>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>
<ObjectFileName>.\$(Configuration)\</ObjectFileName>
<ProgramDataBaseFileName>$(OutDir)$(TargetName).pdb</ProgramDataBaseFileName>
<AdditionalIncludeDirectories>.\;..\include;..\..\..\;@LIBXML2_INC@@IDN_INC@..\..\..\lib\isc\win32;..\..\..\lib\isc\win32\include;..\..\..\lib\isc\include;..\..\..\lib\isccfg\include;..\..\..\lib\dns\include;..\..\..\lib\bind9\include;..\..\..\lib\lwres\win32\include;..\..\..\lib\lwres\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<OutputFile>..\..\..\Build\$(Configuration)\$(TargetName)$(TargetExt)</OutputFile>
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
<AdditionalLibraryDirectories>$(Configuration);..\..\..\lib\isc\win32\$(Configuration);..\..\..\lib\isccfg\win32\$(Configuration);..\..\..\lib\dns\win32\$(Configuration);..\..\..\lib\bind9\win32\$(Configuration);..\..\..\lib\lwres\win32\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>dighost.lib;@IDN_LIB@libisc.lib;libisccfg.lib;libdns.lib;libbind9.lib;liblwres.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\host.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
</Project>

View File

@@ -2,9 +2,9 @@
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Console Application" 0x0103
# TARGTYPE "@PLATFORM@ (x86) Console Application" 0x0103
CFG=nslookup - Win32 Debug
CFG=nslookup - @PLATFORM@ Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
@@ -13,12 +13,12 @@ CFG=nslookup - Win32 Debug
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "nslookup.mak" CFG="nslookup - Win32 Debug"
!MESSAGE NMAKE /f "nslookup.mak" CFG="nslookup - @PLATFORM@ Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "nslookup - Win32 Release" (based on "Win32 (x86) Console Application")
!MESSAGE "nslookup - Win32 Debug" (based on "Win32 (x86) Console Application")
!MESSAGE "nslookup - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE "nslookup - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application")
!MESSAGE
# Begin Project
@@ -28,7 +28,7 @@ CFG=nslookup - Win32 Debug
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "nslookup - Win32 Release"
!IF "$(CFG)" == "nslookup - @PLATFORM@ Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
@@ -41,18 +41,18 @@ RSC=rc.exe
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE CPP /nologo /W3 @COPTX@ @COPTI@ /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD CPP /nologo /MD /W3 @COPTX@ @COPTI@ /O2 /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @READLINE_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "USE_READLINE_STATIC" /D "__STDC__" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /c
# ADD BASE RSC /l 0x409 /d "NDEBUG"
# ADD RSC /l 0x409 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib /nologo /subsystem:console /machine:I386 /out:"../../../Build/Release/nslookup.exe"
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console @MACHINE@
# ADD LINK32 @READLINE_LIB@ @IDN_LIB@ user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Release/libisc.lib ../../../lib/isccfg/win32/Release/libisccfg.lib ../../../lib/dns/win32/Release/libdns.lib ../../../lib/bind9/win32/Release/libbind9.lib ../../../lib/lwres/win32/Release/liblwres.lib /nologo /subsystem:console @MACHINE@ /out:"../../../Build/Release/nslookup.exe"
!ELSEIF "$(CFG)" == "nslookup - Win32 Debug"
!ELSEIF "$(CFG)" == "nslookup - @PLATFORM@ Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
@@ -65,24 +65,24 @@ LINK32=link.exe
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "./" /I "../include" /I "../../../" /I "../../../../libxml2-2.7.3/include" /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isc/noatomic/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /u /YX
# ADD BASE CPP /nologo /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" @COPTY@ /FD /GZ /c
# ADD CPP /nologo /MDd /W3 /Gm @COPTX@ @COPTI@ /ZI /Od /I "./" /I "../include" /I "../../../" @LIBXML2_INC@ @READLINE_INC@ /I "../../../lib/isc/win32" /I "../../../lib/isc/win32/include" /I "../../../lib/isc/include" /I "../../../lib/isccfg/include" /I "../../../lib/dns/include" /I "../../../lib/bind9/include" /I "../../../lib/lwres/win32/include" /I "../../../lib/lwres/include" /D "WIN32" /D "USE_READLINE_STATIC" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c
# SUBTRACT CPP /X /u @COPTY@
# ADD BASE RSC /l 0x409 /d "_DEBUG"
# ADD RSC /l 0x409 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib /nologo /subsystem:console /debug /machine:I386 /out:"../../../Build/Debug/nslookup.exe" /pdbtype:sept
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug @MACHINE@ /pdbtype:sept
# ADD LINK32 @READLINE_LIBD@ @IDN_LIB@ user32.lib advapi32.lib ws2_32.lib ../../../lib/isc/win32/Debug/libisc.lib ../../../lib/isccfg/win32/Debug/libisccfg.lib ../../../lib/dns/win32/Debug/libdns.lib ../../../lib/bind9/win32/Debug/libbind9.lib ../../../lib/lwres/win32/Debug/liblwres.lib /nologo /subsystem:console /debug @MACHINE@ /out:"../../../Build/Debug/nslookup.exe" /pdbtype:sept
!ENDIF
# Begin Target
# Name "nslookup - Win32 Release"
# Name "nslookup - Win32 Debug"
# Name "nslookup - @PLATFORM@ Release"
# Name "nslookup - @PLATFORM@ Debug"
# Begin Group "Source Files"
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"

Some files were not shown because too many files have changed in this diff Show More