Compare commits

...
3548 Commits
Author SHA1 Message Date
Mark Andrews 0c9f4521b1 9.5.2-P4 2010-05-10 02:03:17 +00:00
Mark Andrews a39f02a741 CHANGES 2010-05-10 02:03:05 +00:00
Mark Andrews 14b4dd1bb1 2876. [bug] Named could return SERVFAIL for negative responses
from unsigned zones. [RT #21131]
2010-04-21 04:29:56 +00:00
Automatic Updater 8f92ccc13c newcopyrights 2010-03-03 22:13:06 +00:00
Mark Andrews 31bba4b1ae dns_rdataset_expire/dns_rdataset_settrust 2010-03-03 07:00:10 +00:00
Mark Andrews df4d09d4f4 dns_resolver_*badcache 2010-03-03 05:01:30 +00:00
Automatic Updater ca7f482d9a newcopyrights 2010-02-26 23:30:36 +00:00
Mark Andrews 445f5b23cd grab a write lock before updating header->trust 2010-02-26 00:26:54 +00:00
Automatic Updater 16f75845f0 9.5.2-P3 2010-02-25 23:48:04 +00:00
Automatic Updater 48443bda2d update copyright notice 2010-02-25 23:47:12 +00:00
Automatic Updater ce21516b5c newcopyrights 2010-02-25 23:30:28 +00:00
Automatic Updater 44f6ec8956 regen v9_5_2_patch 2010-02-25 11:54:12 +00:00
Automatic Updater 0fb5a84b30 update copyright notice 2010-02-25 10:56:02 +00:00
Automatic Updater 8ba5fc2d66 newcopyrights 2010-02-25 10:49:50 +00:00
Mark Andrews 5757880d9e 9.5.2-P3 2010-02-25 10:49:12 +00:00
Mark Andrews 947d9dd4e4 2852. [bug] Handle broken DNSSEC trust chains better. [RT #15619] 2010-02-25 10:47:49 +00:00
Automatic Updater 017b0cf2e2 update copyright notice 2010-02-25 05:23:41 +00:00
Automatic Updater 9bbeda7f54 newcopyrights 2010-02-25 05:13:11 +00:00
Automatic Updater 08928340c6 update 2010-02-25 05:12:17 +00:00
Mark Andrews bc14f0ae19 regen 2010-02-22 00:52:56 +00:00
Evan Hunt 9bc8d05a23 2831. [security] Do not attempt to validate or cache
out-of-bailiwick data returned with a secure
			answer; it must be re-fetched from its original
			source and validated in that context. [RT #20819]
2010-01-07 17:19:22 +00:00
cvs2git 8684baddb8 This commit was manufactured by cvs2git to create branch 'v9_5_2_patch'. 2010-01-07 16:48:27 +00:00
Evan Hunt 597642c0ba 2831. [security] Do not attempt to validate or cache
out-of-bailiwick data returned with a secure
			answer; it must be re-fetched from its original
			source and validated in that context. [RT #20819]
2010-01-07 16:48:23 +00:00
Automatic Updater 4715754ba9 update 2010-01-07 00:19:43 +00:00
Automatic Updater 247f299fb0 update copyright notice 2010-01-06 23:48:47 +00:00
Automatic Updater b29e5c56eb newcopyrights 2010-01-06 23:30:45 +00:00
Automatic Updater 76e65f9151 update 2010-01-06 01:16:55 +00:00
Evan Hunt b1fbf2a4db fix spacing 2010-01-06 00:53:45 +00:00
Automatic Updater f977f347f0 update 2010-01-06 00:19:50 +00:00
Automatic Updater 3ee1371212 update copyright notice 2010-01-05 23:48:37 +00:00
Automatic Updater 0977f3f39e newcopyrights 2010-01-05 23:30:42 +00:00
Automatic Updater 0261624e84 auto update 2010-01-05 23:18:43 +00:00
Automatic Updater f9205dd2ef update 2010-01-05 16:17:10 +00:00
Evan Hunt 564d687132 missing newline in dnssec-signzone usage 2010-01-05 15:31:58 +00:00
Automatic Updater fa0736a341 update 2010-01-05 00:19:28 +00:00
Automatic Updater 842920c7db update copyright notice 2010-01-04 23:48:51 +00:00
Automatic Updater 205c10066a newcopyrights 2010-01-04 23:30:43 +00:00
Automatic Updater 9ee9011747 update 2010-01-04 23:17:18 +00:00
Evan Hunt d3a6cd7c7e 2830. [bug] Changing the OPTOUT setting could take multiple
passes. [RT #20813]
2010-01-04 22:47:58 +00:00
Evan Hunt 845bb3195a 2829. [bug] Fixed potential node inconsistency in rbtdb.c.
[RT #20808]
2010-01-04 22:30:14 +00:00
Automatic Updater 54d6cdaec6 regen 2009-12-31 23:48:52 +00:00
Automatic Updater 41d96750dd sync 2009-12-31 23:36:36 +00:00
Evan Hunt d443732b18 the previous delta had the DNS_DBFIND_ADDITIONALOK flag in the wrong place 2009-12-31 22:52:47 +00:00
Evan Hunt 3bbd38e611 add missing fixes 2009-12-31 21:45:53 +00:00
Evan Hunt d53eb81c21 rolling 9.5.2-P2 2009-12-31 21:02:45 +00:00
Automatic Updater 7549cd6daa update 2009-12-31 00:20:02 +00:00
Automatic Updater 400615c294 update copyright notice 2009-12-30 23:49:14 +00:00
Automatic Updater 6473a5d888 newcopyrights 2009-12-30 23:30:48 +00:00
Automatic Updater 9745e98876 update 2009-12-30 08:19:52 +00:00
cvs2git da874a40f4 This commit was manufactured by cvs2git to create branch 'v9_5_2_patch'. 2009-12-30 08:02:35 +00:00
cvs2git 1525b941bd This commit was manufactured by cvs2git to create branch 'v9_5_2_patch'. 2009-12-30 08:02:34 +00:00
cvs2git 829d1a8978 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-12-30 08:02:33 +00:00
Tatuya JINMEI 神明達哉 d8680445d6 2828. [security] Cached CNAME or DNAME RR could be returned to clients
without DNSSEC validation. [RT #20737]

9.4-ESV, 9.5.3, 9.6.2, 9.7.0, 9.8.0(?)
2009-12-30 08:02:23 +00:00
Automatic Updater 0f348b269b update 2009-12-30 07:17:54 +00:00
Automatic Updater 34cd8d1b24 update 2009-12-30 07:16:17 +00:00
Evan Hunt 9ead684875 2827. [security] Bogus NXDOMAIN could be cached as if valid. [RT #20712] 2009-12-30 06:46:58 +00:00
Evan Hunt 7c6cda4b57 2827. [security] Bogus NXDOMAIN could be cached as if valid. [RT #20712] 2009-12-30 06:44:22 +00:00
Automatic Updater 3156309a79 update 2009-12-30 04:21:03 +00:00
Evan Hunt 687b6322fb 2826. [bug] NSEC3->NSEC transitions could fail due to a lock not
being released.  [RT #20740]
2009-12-30 03:38:57 +00:00
Automatic Updater 5a1d90c7ed update 2009-12-30 03:21:48 +00:00
Mark Andrews 57fb4f7bbe 2825. [bug] Changing the setting of OPTOUT in a NSEC3 chain that
was in the process of being created was not properly
                        recorded in the zone. [RT #20786]
2009-12-30 02:43:09 +00:00
Mark Andrews 7ddd859470 more for:
2824.   [bug]           "rndc sign" was not being run by the correct task.
                        [RT #20759]
2009-12-30 02:32:13 +00:00
Mark Andrews 502dc92f58 more for:
2824.   [bug]           "rndc sign" was not being run by the correct task.
                        [RT #20759]
2009-12-30 02:26:30 +00:00
Automatic Updater 0216fd2ac6 auto update 2009-12-29 23:19:13 +00:00
Automatic Updater 7fc63ac0ed update 2009-12-29 23:17:04 +00:00
Mark Andrews 5b77627c09 2824. [bug] "rndc sign" was not being run by the correct task.
[RT #20759]
2009-12-29 22:20:33 +00:00
Automatic Updater 5e4b540170 update 2009-12-29 22:17:09 +00:00
Mark Andrews 288486df9d 2823. [bug] rbtdb.c:getsigningtime() was missing locks. [RT #20781] 2009-12-29 22:04:16 +00:00
Automatic Updater d4c0bf0a08 update 2009-12-29 09:17:23 +00:00
Mark Andrews 5773d3c007 2822. [bug] rbtdb.c:loadnode() could return the wrong result.
[RT #20802]
2009-12-29 08:53:33 +00:00
Automatic Updater 845309d349 update 2009-12-29 01:16:31 +00:00
Automatic Updater d856585f5f regen 2009-12-29 01:14:03 +00:00
Automatic Updater 773199d3ad update 2009-12-29 00:19:31 +00:00
Evan Hunt 85c5ed3577 2821. [doc] Add note that named-checkconf doesn't automatically
read rndc.key and bind.keys [RT #20758]
2009-12-28 23:21:16 +00:00
Automatic Updater ead17d97ab auto update 2009-12-27 23:18:41 +00:00
Automatic Updater 85087d31ab auto update 2009-12-24 23:18:40 +00:00
Automatic Updater c67053f35f update 2009-12-24 18:17:17 +00:00
Francis Dupont 0faf1492c7 non-readable openssl.cnf [20668] 2009-12-24 17:49:39 +00:00
Automatic Updater 0eaa00ce70 update 2009-12-24 01:16:43 +00:00
Automatic Updater fab00a8b58 update 2009-12-24 01:15:41 +00:00
Evan Hunt bd31f734ee 2819. [cleanup] Removed unnecessary DNS_POINTER_MAXHOPS define
[RT #20771]
2009-12-24 00:35:46 +00:00
Evan Hunt e62109ae5d 2819. [cleanup] Removed unnecessary DNS_POINTER_MAXHOPS define
[RT #20771]
2009-12-24 00:34:43 +00:00
Automatic Updater c6323eed9d update 2009-12-24 00:20:11 +00:00
Automatic Updater c5acfbecf7 update 2009-12-24 00:17:18 +00:00
Evan Hunt 972eda1bc3 2818. [cleanup] rndc could return an incorrect error code
when a zone was not found. [RT #20767]
2009-12-24 00:17:06 +00:00
Evan Hunt 1361014b02 2818. [cleanup] rndc could return an incorrect error code
when a zone was not found. [RT #20767]
2009-12-24 00:14:20 +00:00
Evan Hunt 40ad4ed01b 2817. [cleanup] Removed unnecessary isc_tasc_endexclusive() calls.
[RT #20768]
2009-12-23 23:59:42 +00:00
Evan Hunt b09559fd36 2816. [bug] previous_closest_nsec() could fail to return
data for NSEC3 nodes [RT #29730]
2009-12-23 23:43:01 +00:00
Evan Hunt 0c5734cf05 2815. [bug] Exclusively lock the task when freezing a zone.
[RT #19838]
2009-12-23 23:34:45 +00:00
Evan Hunt aa3415ba49 2815. [bug] Exclusively lock the task when freezing a zone.
[RT #19838]
2009-12-23 23:33:09 +00:00
Automatic Updater f09e6b6025 auto update 2009-12-22 23:18:46 +00:00
Automatic Updater a9890810cf update 2009-12-21 05:17:55 +00:00
Automatic Updater e7fe0d5845 update 2009-12-21 05:16:22 +00:00
Mark Andrews fc5d9b6078 2814. [func] Provide a definitive error message when a master
zone is not loaded. [RT #20757]
2009-12-21 04:34:08 +00:00
Mark Andrews c9630524c7 2814. [func] Provide a definitive error message when a master
zone is not loaded. [RT #20757]
2009-12-21 04:29:10 +00:00
Automatic Updater 1585604c53 auto update 2009-12-19 23:19:16 +00:00
Automatic Updater 4c2ac09e46 update 2009-12-19 18:17:05 +00:00
Evan Hunt f766024a27 change all keys from rsasha1 to nsec3rsasha1 so that the nsec->nsec3
transitions work correctly.  (they worked before, but weren't supposed
to; when that bug was fixed, the test broke.)
2009-12-19 17:30:31 +00:00
Automatic Updater 3c8a4c7a8b update 2009-12-19 01:16:40 +00:00
Automatic Updater 7a0d680aa5 regen 2009-12-19 01:14:05 +00:00
Automatic Updater 0d41ea8c5c update 2009-12-19 00:19:37 +00:00
Automatic Updater 928e12ccdc update copyright notice 2009-12-18 23:49:03 +00:00
Automatic Updater 59edd79b87 newcopyrights 2009-12-18 23:30:39 +00:00
Automatic Updater f219cfd749 update 2009-12-18 23:16:58 +00:00
Evan Hunt 4e55893d30 2813. [bug] Better handling of unreadable DNSSEC key files.
[RT #20710]

2812.	[bug]		Make sure updates can't result in a zone with
			NSEC-only keys and NSEC3 records. [RT 20748]
2009-12-18 22:16:49 +00:00
Automatic Updater 84faa4f2ef update 2009-12-18 08:20:18 +00:00
Evan Hunt 0da859c5a7 2811. [cleanup] Add "rndc sign" to list of commands in rndc usage
output. [RT #20733]
2009-12-18 07:59:43 +00:00
Evan Hunt 19a6c40c37 2810. [doc] Clarified the process of transitioning an NSEC3 zone
to insecure. [RT #20746]
2009-12-18 07:56:29 +00:00
Evan Hunt 9de98fbbbe 2809. [cleanup] Restored accidentally-deleted text in usage output
in dnssec-settime and dnssec-revoke [RT #20739]
2009-12-18 07:49:42 +00:00
Automatic Updater c020cb62e9 update 2009-12-18 04:20:53 +00:00
Mark Andrews c221360e9f spelling 2009-12-18 04:07:58 +00:00
Mark Andrews 28f4cd0a45 2808. [bug] Remove the attempt to install atomic.h from lib/isc.
atomic.h is correctly intalled by the architecture
                        specific subdirectories.  [RT #20722]
2009-12-18 04:07:08 +00:00
Automatic Updater 6f74c4a2ab update 2009-12-18 03:21:15 +00:00
Mark Andrews 485a435efe 2808. [bug] atomic.h was not being properly installed under all
circumstances. [RT #20722]
2009-12-18 03:05:37 +00:00
Automatic Updater 0025b05075 auto update 2009-12-17 23:18:52 +00:00
Automatic Updater 110214b8ca update 2009-12-17 01:16:44 +00:00
Automatic Updater 90c38ab4e6 regen 2009-12-17 01:13:46 +00:00
Automatic Updater 6afeeeab25 update 2009-12-16 07:21:41 +00:00
Evan Hunt 535bc8112a s/ddns.key/session.key/ 2009-12-16 07:13:02 +00:00
Automatic Updater e9017c9b6a update 2009-12-11 01:16:40 +00:00
Evan Hunt bc04d6ec15 2807. [bug] Fixed a possible ASSERT when reconfiguring zone
keys. [RT #20720]
2009-12-11 01:06:03 +00:00
Automatic Updater 1180d56549 auto update 2009-12-09 23:18:54 +00:00
Automatic Updater 332979b16c update 2009-12-09 02:23:16 +00:00
Automatic Updater 38394b7679 sync 2009-12-09 01:33:09 +00:00
Automatic Updater 297aed661d auto update 2009-12-08 23:18:39 +00:00
Automatic Updater 9e01a3fb5e update 2009-12-08 05:17:01 +00:00
cvs2git bba567c072 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-12-08 04:57:43 +00:00
Mark Andrews 4d0f4a9d3c new draft 2009-12-08 04:57:40 +00:00
Automatic Updater ed6fe51716 update 2009-12-07 20:54:13 +00:00
Evan Hunt b8b602f89b 2806. [bug] "rdnc sign" could delay re-signing the DNSKEY
when it had changed. [RT #20703]
2009-12-07 20:51:12 +00:00
Automatic Updater 18f0a7f147 update 2009-12-07 00:18:46 +00:00
Automatic Updater 8b82c01d74 update copyright notice 2009-12-06 23:48:29 +00:00
Automatic Updater 47ff70af9e newcopyrights 2009-12-06 23:30:32 +00:00
Automatic Updater d49d63260e update 2009-12-06 03:13:41 +00:00
Evan Hunt 3cd574df2f s/journalprint/named-journalprint/ 2009-12-06 03:06:16 +00:00
Evan Hunt 0d796b1aaa improve cleanup and add named.run to .cvsignore files 2009-12-06 03:04:39 +00:00
Automatic Updater 4adecd0845 update 2009-12-06 02:59:59 +00:00
Evan Hunt daa4933c4d prep for 9.7.0rc1 2009-12-06 02:54:26 +00:00
Automatic Updater 292a9dd882 update 2009-12-06 02:32:33 +00:00
Evan Hunt c7611c7dd2 prep for 9.7.0rc1 release 2009-12-06 02:31:42 +00:00
Evan Hunt 16de5dbc71 prep for 9.7.0rc1 release 2009-12-06 01:49:08 +00:00
Automatic Updater c93ed439e5 update 2009-12-06 00:18:43 +00:00
Evan Hunt 12178c8652 2805. [bug] Fixed namespace problems encountered when building
external programs using non-exported BIND9 libraries
			(i.e., built without --enable-exportlib). [RT #20679]
2009-12-05 23:31:41 +00:00
Automatic Updater 06f5acb11f newcopyrights 2009-12-05 23:30:32 +00:00
Automatic Updater 07a6184c3a update 2009-12-05 06:18:51 +00:00
Evan Hunt d4d836350f add .cvsignore files 2009-12-05 05:36:03 +00:00
Automatic Updater 96912588e2 update 2009-12-05 02:27:01 +00:00
Evan Hunt c2f095969c oops: missed a declaration, and forgot to lock the zone before clearing
the flag.  (and accidentally ran make tests in the wrong tree, misleading
myself into thinking it was fine.)
2009-12-05 01:25:43 +00:00
Automatic Updater 6d85ab241a update 2009-12-04 23:22:03 +00:00
Automatic Updater e330b6116c auto update 2009-12-04 23:18:23 +00:00
Evan Hunt d601ef9e89 2804. [bug] Send notifies when a zone is signed with "rndc sign"
or as a result of a scheduled key change. [RT #20700]
2009-12-04 22:45:11 +00:00
Automatic Updater a8d090b362 update copyright notice 2009-12-04 22:32:31 +00:00
Automatic Updater d99e249ff3 newcopyrights 2009-12-04 22:28:59 +00:00
Automatic Updater fc2381b901 new 2009-12-04 22:23:33 +00:00
Automatic Updater e2e4d32199 regen 2009-12-04 22:22:27 +00:00
Automatic Updater 661c6b52c4 update 2009-12-04 22:18:51 +00:00
Automatic Updater 4b6dc226f7 update copyright notice 2009-12-04 22:06:37 +00:00
Automatic Updater 979e02d122 newcopyrights 2009-12-04 22:02:28 +00:00
Mark Andrews 71ba75c604 2803. [port] win32: Install named-journalprint, nsec3hash, arpaname
and genrandom under windows. [RT #20670]

2802.   [cleanup]       Rename journalprint to named-journalprint. [RT #20670]
2009-12-04 21:59:24 +00:00
Automatic Updater 530e510458 update 2009-12-04 21:16:43 +00:00
Mark Andrews 3d17a3ba61 2801. [func] Detect and report records that are different according
to DNSSEC but are sematically equal according to plain
                        DNS.  Apply plain DNS comparisons rather than DNSSEC
                        comparisons when processing UPDATE requests.
                        dnssec-signzone now removes such semantically duplicate
                        records prior to signing the RRset.

                        named-checkzone -r {ignore|warn|fail} (default warn)
                        named-compilezone -r {ignore|warn|fail} (default warn)

                        named.conf: check-dup-records {ignore|warn|fail};
2009-12-04 21:09:34 +00:00
Evan Hunt e438e29354 claried log message when no active private keys are found to use for
signing. [rt20690]
2009-12-04 20:32:07 +00:00
Evan Hunt 2ec4ab2183 update copyrights 2009-12-04 20:18:04 +00:00
Automatic Updater a4457e0d89 update 2009-12-04 20:16:38 +00:00
Evan Hunt 306b36adb6 - moved NSEC3-NOTES to README.dnssec
- moved README.idnkit to contrib/idn
2009-12-04 20:14:28 +00:00
Evan Hunt e2d43cd9d5 some minor clarifications 2009-12-04 20:04:43 +00:00
Automatic Updater 08ce421808 update 2009-12-04 04:18:42 +00:00
Evan Hunt 3353e0d964 Updated with auto-dnssec information. 2009-12-04 03:49:43 +00:00
Mark Andrews 5d850024cb 2800. [func] Reject zones which have NS records which refer to
CNAMEs, DNAMEs or don't have address record (class IN
                        only).  Reject UPDATEs which would cause the zone
                        to fail the above checks if committed. [RT #20678]
2009-12-04 03:33:15 +00:00
Automatic Updater 4a3ec743a1 update 2009-12-04 02:29:42 +00:00
Automatic Updater b6339527e6 regen 2009-12-04 01:44:11 +00:00
Automatic Updater 6ec134549f update 2009-12-04 01:16:40 +00:00
Automatic Updater 089c63b69c regen 2009-12-04 01:13:45 +00:00
Automatic Updater 185cb1aaaf update 2009-12-04 00:18:47 +00:00
Automatic Updater 63aeaafd97 update copyright notice 2009-12-03 23:48:22 +00:00
Automatic Updater 47a171a75a auto update 2009-12-03 23:19:10 +00:00
Evan Hunt 8e4f3f1cbc 2799. [cleanup] Changed the "secure-to-insecure" option to
"dnssec-secure-to-insecure", and "dnskey-ksk-only"
			to "dnssec-dnskey-kskonly", for clarity. [RT #20586]
2009-12-03 23:18:17 +00:00
Automatic Updater f70450a70f update 2009-12-03 17:16:30 +00:00
Evan Hunt 22304041d1 typo caused a missing semicolon 2009-12-03 16:49:09 +00:00
Automatic Updater 61c87dbe87 update 2009-12-03 16:16:24 +00:00
Evan Hunt e6dda86e8b 2798. [bug] Addressed bugs in managed-keys initialization
and rollover. [RT #20683]
2009-12-03 15:40:03 +00:00
Automatic Updater 7b844d9590 update 2009-12-03 05:19:51 +00:00
Automatic Updater 4092ff5d68 update 2009-12-03 05:17:38 +00:00
Mark Andrews 9ab02aa320 add copyright 2009-12-03 04:52:53 +00:00
Mark Andrews ecbbb29519 add copyright 2009-12-03 04:51:41 +00:00
Mark Andrews 6c110a273c handle EXCLUDED 2009-12-03 04:47:13 +00:00
Mark Andrews 620a452ebe handle EXCLUDED 2009-12-03 04:45:10 +00:00
Automatic Updater 0c16de4c40 update copyright notice 2009-12-03 04:42:48 +00:00
Automatic Updater ba70b2883f newcopyrights 2009-12-03 04:39:39 +00:00
Mark Andrews 663d561df0 2601. [doc] Mention file creation mode mask in the
named manual page.
2009-12-03 04:34:42 +00:00
Mark Andrews 518694e12b 2659. [doc] Clarify dnssec-keygen doc: key name must match zone
name for DNSSEC keys. [RT #19938]
2009-12-03 04:32:43 +00:00
Mark Andrews 6fcd5a7545 2701. [doc] Correction to ARM: hmac-md5 is no longer the only
supported TSIG key algorithm. [RT #18046]
2009-12-03 04:21:42 +00:00
Automatic Updater 5fa86f9aca update 2009-12-03 04:17:21 +00:00
Mark Andrews bf2e4b654c 2533. [doc] ARM: document @ (at-sign). [RT #17144 2009-12-03 03:39:45 +00:00
Automatic Updater df31d36c3f update 2009-12-03 01:16:22 +00:00
Mark Andrews b99efc39de rt# 2009-12-03 01:06:21 +00:00
Automatic Updater e388818cc9 update 2009-12-03 00:19:26 +00:00
Automatic Updater dd50350612 update 2009-12-03 00:17:14 +00:00
Mark Andrews ac8aa59f62 spelling 2009-12-03 00:01:03 +00:00
Mark Andrews 9d5e42bb87 remove trailing whitespace 2009-12-02 23:56:30 +00:00
Mark Andrews c71ae1bc33 2797. [bug] Don't decrement the dispatch manager's maxbuffers.
[RT #20613]
2009-12-02 23:32:38 +00:00
Mark Andrews 2a0d4c4d6b 2797. [bug] Don't decrement the dispatch manager's maxbuffers.
[RT #20613]
2009-12-02 23:15:14 +00:00
Automatic Updater 63be8a9807 update 2009-12-02 18:16:41 +00:00
Evan Hunt 6a4d6e3379 adapted to the special needs of solaris's really old awk 2009-12-02 17:54:45 +00:00
Automatic Updater 5d698de5b4 update 2009-12-02 06:16:34 +00:00
Evan Hunt 095810f8cb fixed autosign/metadata brokenness on solaris [rt20685] 2009-12-02 05:42:15 +00:00
Automatic Updater c82447ebbf update 2009-12-02 02:26:12 +00:00
Automatic Updater 3e8fdd8828 sync 2009-12-02 01:33:41 +00:00
Automatic Updater 049a56fb19 update 2009-12-01 08:20:55 +00:00
cvs2git d1a08d6671 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-12-01 07:29:27 +00:00
Mark Andrews 6f0fe31b85 new draft 2009-12-01 07:29:24 +00:00
Automatic Updater 717d095d85 update 2009-12-01 06:17:02 +00:00
Mark Andrews d524a81532 2796. [bug] Missing dns_rdataset_disassociate() call in
dns_nsec3_delnsec3sx(). [RT #20681]
2009-12-01 05:28:40 +00:00
Automatic Updater 506c084124 update 2009-12-01 01:16:39 +00:00
Evan Hunt feeca57f18 2795. [cleanup] Add text to differentiate "update with no effect"
log messages. [RT #18889]
2009-12-01 00:47:09 +00:00
Automatic Updater 88adaa322e update 2009-12-01 00:19:41 +00:00
Automatic Updater ffd297db79 update copyright notice 2009-11-30 23:48:02 +00:00
Automatic Updater 31a540386a newcopyrights 2009-11-30 23:30:28 +00:00
Automatic Updater 1cb8c8d52e auto update 2009-11-30 23:18:40 +00:00
Automatic Updater 4f4b55df87 update 2009-11-30 22:16:56 +00:00
Mark Andrews 8b37c0dd6e 2794. [bug] Install <isc/namespace.h>. [RT #20677] 2009-11-30 21:34:57 +00:00
Automatic Updater 7579858399 update 2009-11-30 21:16:58 +00:00
Evan Hunt c073c65719 missed committing change note:
2793.	[func]		Add "autosign" and "metadata" tests to the
			automatic tests. [RT #19946]
2009-11-30 21:06:53 +00:00
Evan Hunt 7511904837 add cvsignore files 2009-11-30 21:03:17 +00:00
Evan Hunt 75b8de8787 Create automatic tests "autosign" and "metadata". [rt19946] 2009-11-30 21:00:48 +00:00
Automatic Updater 6585014aa0 update 2009-11-29 01:16:22 +00:00
Automatic Updater 996dbb1957 regen 2009-11-29 01:14:51 +00:00
Automatic Updater e8277bed1b update 2009-11-28 16:16:26 +00:00
Vernon Schryver 5d9922e86f Allow the optional filter-aaaa-on-v4 option in view statements to close #20635 2009-11-28 15:57:37 +00:00
Automatic Updater 9df45151f5 update 2009-11-27 00:19:17 +00:00
Automatic Updater 53cce6b5b5 update 2009-11-27 00:17:12 +00:00
Automatic Updater 3e920dd0c6 update copyright notice 2009-11-26 23:48:14 +00:00
Automatic Updater da8e409f85 update copyright notice 2009-11-26 23:46:48 +00:00
Automatic Updater 45fb40e1f7 update 2009-11-26 22:21:27 +00:00
Automatic Updater cb1c5b5a1c update 2009-11-26 22:19:03 +00:00
Automatic Updater 979f1cf4af update 2009-11-26 21:47:29 +00:00
Mark Andrews b006a39570 rt# 2009-11-26 21:33:47 +00:00
Mark Andrews 88a7702a9d rt# 2009-11-26 21:32:38 +00:00
Mark Andrews c4e3976707 line length 2009-11-26 21:01:04 +00:00
Mark Andrews 49f788cbd3 2791. [bug] The installation of isc-config.sh was broken. [RT #20667] 2009-11-26 20:52:44 +00:00
Automatic Updater 54341ecaa1 update 2009-11-26 04:19:42 +00:00
Automatic Updater 3a9c6337a9 update 2009-11-26 04:17:38 +00:00
Mark Andrews e7a35d4e83 2790. [bug] Handle DS queries to stub zones. 2009-11-26 03:40:20 +00:00
Mark Andrews 66ecb6789b 2790. [bug] Handle DS queries to stub zones. 2009-11-26 03:28:19 +00:00
Automatic Updater e053dbfeb0 update 2009-11-26 02:17:40 +00:00
Automatic Updater dd046c1a8e update 2009-11-26 01:16:40 +00:00
Automatic Updater b7ce89b8ca regen 2009-11-26 01:15:25 +00:00
Evan Hunt bccacfdbf0 corrected rndc sign syntax 2009-11-26 00:20:28 +00:00
Automatic Updater b47987bc53 update 2009-11-26 00:19:24 +00:00
Automatic Updater 7d722d99b2 update 2009-11-26 00:17:17 +00:00
Automatic Updater 2b2fc9b4df update copyright notice 2009-11-25 23:49:22 +00:00
Automatic Updater 57b0ee84c4 update copyright notice 2009-11-25 23:47:42 +00:00
Automatic Updater d26e883326 auto update 2009-11-25 23:19:12 +00:00
Automatic Updater 9bf8182b1c update 2009-11-25 23:16:20 +00:00
Mark Andrews 4bf4beede2 silence compiler warnings 2009-11-25 23:00:32 +00:00
Automatic Updater 4ec3458524 update 2009-11-25 21:16:01 +00:00
Mark Andrews a5d8e28ed0 adjust dnssec-keygen command line to that supported before 9.7 2009-11-25 20:53:27 +00:00
Automatic Updater 172465b683 update 2009-11-25 14:16:56 +00:00
Automatic Updater 075356d3fe update 2009-11-25 14:16:09 +00:00
Mark Andrews 26ae17ea64 fix genrandom location 2009-11-25 13:40:48 +00:00
Mark Andrews 536e36ac8d declarations before statements 2009-11-25 13:17:59 +00:00
Automatic Updater 1f794e6297 update 2009-11-25 06:17:25 +00:00
Evan Hunt cfc22e53a8 2789. [bug] Fixed an INSIST in dispatch.c [RT #20576] 2009-11-25 05:55:32 +00:00
Automatic Updater f6aa4de371 update 2009-11-25 04:18:16 +00:00
Automatic Updater 3a341ee535 update 2009-11-25 03:20:52 +00:00
Automatic Updater 19a2ba0ffa update 2009-11-25 03:18:13 +00:00
Evan Hunt ce3b2c5189 2788. [bug] dnssec-signzone could sign with keys that were
not requested [RT #20625]
2009-11-25 03:17:11 +00:00
Mark Andrews 718d7963a6 2786. [bug] Additional could be promoted to answer. [RT #20663] 2009-11-25 02:32:05 +00:00
Evan Hunt fc1fb1a469 2786. [bug] Spurious log message when zone keys were
dynamically reconfigured. [RT #20659]
2009-11-25 02:30:54 +00:00
Mark Andrews d0ca4e90e2 2786. [bug] Additional could be promoted to answer. [RT #20663] 2009-11-25 02:22:05 +00:00
Automatic Updater 996f875de4 update 2009-11-25 00:19:46 +00:00
Automatic Updater 1dd95655de update 2009-11-25 00:17:23 +00:00
Automatic Updater b314ea10b4 update copyright notice 2009-11-24 23:48:12 +00:00
Automatic Updater 07aed83e3e update copyright notice 2009-11-24 23:46:42 +00:00
Automatic Updater fc6533c79e newcopyrights 2009-11-24 23:30:15 +00:00
Automatic Updater cd41f377c8 update 2009-11-24 04:18:56 +00:00
Automatic Updater c139a0ce47 update 2009-11-24 04:17:22 +00:00
Evan Hunt d312bc5d81 2785. [bug] Revoked keys could fail to self-sign [RT #20652] 2009-11-24 03:42:32 +00:00
Mark Andrews db6cd7ee05 rt# 2009-11-24 03:34:26 +00:00
Mark Andrews 91d4065eab rt# 2009-11-24 03:33:03 +00:00
Mark Andrews ff472b3819 2784. [bug] TC was not always being set when required glue was
dropped. [RT #234186]
2009-11-24 03:24:42 +00:00
Automatic Updater b0f986128a update 2009-11-24 03:20:05 +00:00
Mark Andrews 9dd2ee95f1 2784. [bug] TC was not always being set when required glue was
dropped. [RT #234186]
2009-11-24 03:20:02 +00:00
Mark Andrews bec6b4b55f 2783. [func] Return minimal responses to EDNS/UDP queries with a UDP
buffer size of 512 or less.  [RT #20654]
2009-11-24 03:15:54 +00:00
Mark Andrews dc92707066 2783. [func] Return minimal responses to EDNS/UDP queries with a UDP
buffer size of 512 or less.  [RT #20654]
2009-11-24 03:09:57 +00:00
Automatic Updater fa14b39ce9 update 2009-11-24 02:19:58 +00:00
Automatic Updater e2bcbcaf85 update 2009-11-24 02:17:37 +00:00
Mark Andrews 1f6ee6da34 2782. [port] win32: use getaddrinfo() for hostname lookups.
[RT #20650]
2009-11-24 02:14:17 +00:00
Mark Andrews 503e5aa8d2 2782. [port] win32: use getaddrinfo() for hostname lookups.
[RT #20650]
2009-11-24 02:09:28 +00:00
Automatic Updater ebaaeff9ea update 2009-11-24 00:19:13 +00:00
Automatic Updater 94e3a63110 update copyright notice 2009-11-23 23:48:16 +00:00
Automatic Updater f7bef440fa update 2009-11-23 16:16:12 +00:00
Evan Hunt 5985af3f5c 2781. [bug] Inactive keys could be used for signing. [RT #20649] 2009-11-23 15:18:07 +00:00
Automatic Updater 5942a43b99 update 2009-11-23 03:20:11 +00:00
Automatic Updater 804a00b766 update 2009-11-23 03:17:51 +00:00
Evan Hunt cef109efa7 2780. [bug] dnssec-keygen -A none didn't properly unset the
activation date in all cases. [RT #20648]

2779.	[bug]		Dynamic key revokation could fail. [RT #20644]

2778.	[bug]		dnssec-signzone could fail when a key was revoked
			without deleting the unrevoked version. [RT #20638]
2009-11-23 02:55:41 +00:00
Mark Andrews dfc7f79a4f 2777. [contrib] DLZ MYSQL auto reconnect support discovery was wrong. 2009-11-23 02:40:25 +00:00
Mark Andrews 289dbe005c 2777. [contrib] DLZ MYSQL auto reconnect support discovery was wrong. 2009-11-23 02:37:14 +00:00
Automatic Updater 00464ff770 update 2009-11-23 02:17:52 +00:00
Automatic Updater 7d01ab71f6 update 2009-11-23 02:17:03 +00:00
Mark Andrews c16d37d06e 2776. [bug] Change #2762 was not correct. [RT #20647] 2009-11-23 02:10:16 +00:00
Automatic Updater d0d79e4c01 sync 2009-11-23 01:35:54 +00:00
Automatic Updater 00fac9f21a update 2009-11-22 23:16:38 +00:00
cvs2git 72917dd64b This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-11-22 22:36:07 +00:00
Mark Andrews 40ff4bb482 new draft 2009-11-22 22:36:03 +00:00
Automatic Updater 8b4aab25fa auto update 2009-11-21 23:18:38 +00:00
Automatic Updater a7df2367f2 update 2009-11-21 18:16:28 +00:00
Francis Dupont 1cd538c051 20643: RSASHA2 NSEC3 compatible in dnssec-keyfromlabel 2009-11-21 17:54:09 +00:00
Automatic Updater 19af988924 auto update 2009-11-20 23:18:21 +00:00
Automatic Updater 3541f13d9e update 2009-11-20 02:18:04 +00:00
Automatic Updater 582e9959ae sync 2009-11-20 01:41:03 +00:00
Automatic Updater 1a0f31121f update 2009-11-20 01:39:42 +00:00
Automatic Updater 44ed66f065 rfc5625.txt 2009-11-20 01:39:40 +00:00
Automatic Updater fcb6264de5 rfc5452.txt 2009-11-20 01:39:36 +00:00
Automatic Updater d1de14528c rfc5001.txt 2009-11-20 01:39:32 +00:00
Automatic Updater d82564b6bd rfc4956.txt 2009-11-20 01:39:28 +00:00
Automatic Updater f5d2889c70 rfc4955.txt 2009-11-20 01:39:24 +00:00
Automatic Updater 186771ca21 rfc4697.txt 2009-11-20 01:39:20 +00:00
Automatic Updater c18a9377fe rfc4472.txt 2009-11-20 01:39:16 +00:00
Automatic Updater dd78075d4a rfc4471.txt 2009-11-20 01:39:08 +00:00
Automatic Updater 338efca8d8 rfc4339.txt 2009-11-20 01:39:03 +00:00
Automatic Updater 4b04283067 rfc4294.txt 2009-11-20 01:38:59 +00:00
Automatic Updater 916870de8e rfc3755.txt 2009-11-20 01:38:55 +00:00
Automatic Updater 3c1e75c23f auto update 2009-11-19 23:19:15 +00:00
Automatic Updater 158908972b update 2009-11-19 19:17:11 +00:00
Evan Hunt 0088b45de5 2774. [bug] Existing cache DB wasn't being reused after
reconfiguration. [RT #20629]
2009-11-19 18:52:40 +00:00
Automatic Updater 3f9f79b5c4 update 2009-11-19 06:16:55 +00:00
cvs2git cd3d1bcf1a This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-11-19 05:58:25 +00:00
Mark Andrews acf4c05953 new draft 2009-11-19 05:58:22 +00:00
Mark Andrews fad04ffe23 cleanup 2009-11-19 05:34:56 +00:00
Automatic Updater 6b5b1d74a4 update 2009-11-19 05:17:19 +00:00
Mark Andrews f6566e9ec2 cleanup 2009-11-19 05:15:35 +00:00
Mark Andrews 9dad3e2710 new draft 2009-11-19 05:11:47 +00:00
Mark Andrews f7e3edb15a cleanup 2009-11-19 05:03:52 +00:00
Automatic Updater a3386c9241 update 2009-11-19 02:17:55 +00:00
Automatic Updater 2b9197c806 remove draft-park-ipv6-extensions-dns-pnp-00.txt 2009-11-19 01:39:42 +00:00
Automatic Updater 76ea3822cd draft-ietf-dnsop-name-server-management-reqs-02.txt 2009-11-19 01:39:25 +00:00
Automatic Updater 5b121aa1eb draft-ietf-dnsop-default-local-zones-05.txt 2009-11-19 01:39:23 +00:00
Automatic Updater 3a903016d7 draft-ietf-dnsext-tsig-md5-deprecated-03.txt 2009-11-19 01:39:22 +00:00
Automatic Updater 47aa29f85b draft-ietf-dnsext-rfc3597-bis-00.txt 2009-11-19 01:39:20 +00:00
Automatic Updater 03a606bb47 draft-ietf-dnsext-rfc2672bis-dname-18.txt 2009-11-19 01:39:17 +00:00
Automatic Updater ee3f92879b draft-ietf-dnsext-rfc2671bis-edns0-01.txt 2009-11-19 01:39:15 +00:00
Automatic Updater 6d87e77519 draft-ietf-dnsext-forgery-resilience-02.txt 2009-11-19 01:39:12 +00:00
Automatic Updater cf94f10796 draft-ietf-dnsext-dnssec-gost-03.txt 2009-11-19 01:39:11 +00:00
Automatic Updater 26eaeb1bd8 draft-ietf-dnsext-dnssec-bis-updates-09.txt 2009-11-19 01:39:09 +00:00
Automatic Updater 639ff59181 draft-ietf-dnsext-dnsproxy-05.txt 2009-11-19 01:39:04 +00:00
Automatic Updater 3a786a57a6 draft-ietf-dnsext-dns-tcp-requirements-01.txt 2009-11-19 01:39:01 +00:00
Automatic Updater 81c38d294f draft-ietf-dnsext-axfr-clarify-11.txt 2009-11-19 01:38:55 +00:00
Automatic Updater 79e3323fe9 draft-ietf-behave-dns64-01.txt 2009-11-19 01:38:53 +00:00
Automatic Updater cb3dc36864 draft-ietf-6man-text-addr-representation-01.txt 2009-11-19 01:38:51 +00:00
Automatic Updater d77a5d4d83 draft-dolmatov-dnsext-dnssec-gost-00.txt 2009-11-19 01:38:49 +00:00
Automatic Updater f95bdcf65d update 2009-11-19 00:19:08 +00:00
Automatic Updater 7fe7be3547 update 2009-11-19 00:17:03 +00:00
Automatic Updater fe2b9bf570 update copyright notice 2009-11-18 23:48:07 +00:00
Automatic Updater 401585877e update copyright notice 2009-11-18 23:46:39 +00:00
Mark Andrews d359fe9597 9.5.2-P1 2009-11-18 23:41:18 +00:00
Automatic Updater c95f536d78 newcopyrights 2009-11-18 23:30:33 +00:00
Automatic Updater d839d9ad86 newcopyrights 2009-11-18 23:30:21 +00:00
Automatic Updater ae5b67a0c0 auto update 2009-11-18 23:19:11 +00:00
Automatic Updater 3e084fed8d update 2009-11-18 22:16:59 +00:00
Evan Hunt b08325a7f3 2773. [bug] In autosigned zones, the SOA could be signed
with the KSK. [RT #20628]
2009-11-18 21:22:31 +00:00
Automatic Updater e83a7cabc3 update 2009-11-18 16:52:52 +00:00
Evan Hunt 2ad776a5c4 changed age to 0 2009-11-18 16:46:10 +00:00
Automatic Updater 66d5a4ad86 update 2009-11-18 01:16:58 +00:00
Automatic Updater 850853340a regen 2009-11-18 00:38:26 +00:00
Evan Hunt af52d6ddd7 prep for release of 9.7.0b3 2009-11-18 00:30:37 +00:00
Automatic Updater 823c5a49e5 update 2009-11-18 00:19:05 +00:00
Automatic Updater aafdac5a64 update 2009-11-18 00:17:09 +00:00
Mark Andrews 8c4db61211 2772. [security] When validating, track whether pending data was from
the additional section or not and only return it if
                        validates as secure. [RT #20438]
2009-11-18 00:09:00 +00:00
cvs2git dfdc1ca5e5 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-11-17 23:55:19 +00:00
Mark Andrews a39a5f4d81 2772. [security] When validating, track whether pending data was from
the additional section or not and only return it if
                        validates as secure. [RT #20438]
2009-11-17 23:55:18 +00:00
Automatic Updater e34e9a8d68 update copyright notice 2009-11-17 23:48:13 +00:00
Automatic Updater 124293bba2 auto update 2009-11-17 23:19:03 +00:00
Automatic Updater a5f51e95e7 update 2009-11-17 06:16:53 +00:00
Evan Hunt 7ee4b13ded 2771. [bug] dnssec-signzone: DNSKEY records could be
corrupted when importing from key files [RT #20624]
2009-11-17 05:46:53 +00:00
Automatic Updater f9a07be8b3 update 2009-11-17 03:20:19 +00:00
Evan Hunt 44a3999cf4 2770. [cleanup] Add log messages to resolver.c to indicate events
causing FORMERR responses. [RT #20526]
2009-11-17 02:23:15 +00:00
Automatic Updater 3ed58d6162 auto update 2009-11-16 23:20:46 +00:00
Automatic Updater 13cb972c40 update 2009-11-16 08:19:51 +00:00
Evan Hunt 7048af0a55 2769. [cleanup] Change #2742 was incomplete. [RT #19589] 2009-11-16 07:56:06 +00:00
Automatic Updater c548608321 update 2009-11-16 05:18:00 +00:00
Evan Hunt 00295e0650 2768. [bug] dnssec-signzone: -S no longer implies -g [RT #20568] 2009-11-16 04:27:44 +00:00
Automatic Updater 36d20ac80b update 2009-11-16 02:17:59 +00:00
Evan Hunt e856482b1f 2767. [bug] named could crash on startup if a zone was
configured with auto-dnssec and there was no
			key-directory. [RT #20615]
2009-11-16 01:44:33 +00:00
Automatic Updater 67b57046ef update 2009-11-13 06:17:03 +00:00
cvs2git 19b84f67c4 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-11-13 06:05:00 +00:00
Mark Andrews 9b33a79659 new draft 2009-11-13 06:04:59 +00:00
Automatic Updater 6bb622d361 update 2009-11-13 01:16:30 +00:00
Evan Hunt 37a34ab54f 2766. [bug] isc_socket_fdwatchpoke() should only update the
socketmgr state if the socket is not pending on a
			read or write.  [RT #20603]
2009-11-13 00:41:58 +00:00
Automatic Updater 88a4f97370 update 2009-11-13 00:19:07 +00:00
Automatic Updater 116bb155c3 update 2009-11-13 00:16:57 +00:00
Automatic Updater 53d502202a update copyright notice 2009-11-12 23:47:59 +00:00
Mark Andrews ddf5347a68 2765. [bug] Skip masters for which the TSIG key cannot be found.
[RT #20595]
2009-11-12 23:43:36 +00:00
Evan Hunt 86132f0ef5 eliminate warning when building without -DBIND9 2009-11-12 23:43:02 +00:00
Automatic Updater 710b3ae385 newcopyrights 2009-11-12 23:31:05 +00:00
Mark Andrews 1d0ebb4cf2 2765. [bug] Skip masters for which the TSIG key cannot be found.
[RT #20595]
2009-11-12 23:30:36 +00:00
Automatic Updater a53778d3bb newcopyrights 2009-11-12 23:30:22 +00:00
Automatic Updater 841380d975 auto update 2009-11-12 23:19:16 +00:00
Automatic Updater a64415fc94 update 2009-11-12 21:16:21 +00:00
Mark Andrews 2667bea6bc new draft 2009-11-12 20:47:28 +00:00
Automatic Updater 6d4fb86a4d update 2009-11-12 14:27:28 +00:00
Automatic Updater 36df41d5be update 2009-11-12 14:21:43 +00:00
Mark Andrews 5d061b8d76 add ./doc/private/SRCID 2009-11-12 14:18:09 +00:00
Mark Andrews 25082002ed add ./doc/private/SRCID 2009-11-12 14:17:49 +00:00
Mark Andrews adb4211586 2764. [bug] "rndc-confgen -a" could trigger a REQUIRE. [RT #20610] 2009-11-12 14:02:38 +00:00
Evan Hunt e9dff04d3b 2763. [bug] "rndc sign" didn't create an NSEC chain. [RT #20591] 2009-11-12 03:03:36 +00:00
Evan Hunt 0c3948e606 2761. [bug] DLV validation failed with a local slave DLV zone.
[RT #20577]
2009-11-12 02:59:20 +00:00
Automatic Updater 700f235399 update 2009-11-12 00:16:58 +00:00
Automatic Updater aba6fd4234 generate 2009-11-11 09:28:31 +00:00
Automatic Updater 4e8a9f1300 generate 2009-11-11 09:27:29 +00:00
Tatuya JINMEI 神明達哉 06db2784b5 regen 2009-11-11 08:47:27 +00:00
Tatuya JINMEI 神明達哉 2c016c64f5 2757. [cleanup] Enable internal symbol table for backtrace only for
systems that are known to work.  Currently, BSD
			variants, Linux and Solaris are supported. [RT# 20202]

9.7.0rc1
2009-11-11 08:46:47 +00:00
Automatic Updater 05505f40f3 regen 2009-11-11 01:45:17 +00:00
Automatic Updater 3a5fe5abf0 regen 2009-11-11 01:14:42 +00:00
Mark Andrews f466c1552a new draft 2009-11-10 22:13:24 +00:00
Evan Hunt 2e2a294b05 remove unnecessary braces around {-o filename} 2009-11-10 21:30:42 +00:00
Evan Hunt 3839749200 2760. [cleanup] Corrected named-compilezone usage summary. [RT #20533] 2009-11-10 20:02:01 +00:00
Evan Hunt aeb13ffe04 2760. [cleanup] Corrected named-compilezone usage summary. [RT #20533] 2009-11-10 20:01:15 +00:00
Evan Hunt f82d52e82d 2759. [doc] Add information about .jbk/.jnw files to
the ARM. [RT #20303]
2009-11-10 19:49:32 +00:00
Evan Hunt c857d67816 2759. [doc] Add information about .jbk/.jnw files to
the ARM. [RT #20303]
2009-11-10 19:47:34 +00:00
Evan Hunt 5857247dbb 2758. [bug] win32: Added a workaround for a windows 2008 bug
that could cause the UDP client handler to shut
			down. [RT #19176]
2009-11-10 18:31:47 +00:00
Evan Hunt 279547769f 2758. [bug] win32: Added a workaround for a windows 2008 bug
that could cause the UDP client handler to shut
			down. [RT #19176]
2009-11-10 18:31:07 +00:00
Evan Hunt 7fe4b0447f 2757. [bug] dig: assertion failure could occur in connect
timeout. [RT #20599]
2009-11-10 17:27:40 +00:00
Evan Hunt b2df419c30 2757. [bug] dig: assertion failure could occur in connect
timeout. [RT #20599]
2009-11-10 17:26:47 +00:00
Automatic Updater ca35524ce2 newcopyrights 2009-11-09 23:30:31 +00:00
Evan Hunt e2facd7af2 2756. [bug] Fixed corrupt logfile message in update.c. [RT# 20597] 2009-11-09 01:28:32 +00:00
Mark Andrews 2d46d268cc handle openssl patches 2009-11-08 23:52:20 +00:00
Evan Hunt 5c6c5669ec #include <time.h> for the ctime() prototype. 2009-11-07 03:36:58 +00:00
Automatic Updater c3b7d35e03 regen 2009-11-07 01:45:05 +00:00
Automatic Updater b3c2030de4 regen 2009-11-07 01:14:41 +00:00
Automatic Updater 61e41d72b7 update copyright notice 2009-11-06 23:46:40 +00:00
Automatic Updater ec4b270383 newcopyrights 2009-11-06 23:30:15 +00:00
Automatic Updater 6f0cdcbfbc auto update 2009-11-06 23:18:40 +00:00
Evan Hunt 3594635af7 add placeholder 2009-11-06 21:36:43 +00:00
Evan Hunt ba5329c8c1 2755. [doc] Clarify documentation of keyset- files in
dnssec-signzone man page. [RT #19810]
2009-11-06 21:35:56 +00:00
Evan Hunt 8433da5e37 fix misspelling of queryport-pool-updateinterval in options list 2009-11-06 18:54:48 +00:00
Evan Hunt 6e53926208 fix misspelling of queryport-pool-updateinterval in obsolete options list 2009-11-06 18:52:18 +00:00
Evan Hunt cc3ed192b0 2754. [bug] Secure-to-insecure transitions failed when zone
was signed with NSEC3. [RT #20587]
2009-11-06 08:38:56 +00:00
Mark Andrews df1599d0e1 address initialization type mismatch warning 2009-11-06 04:19:28 +00:00
Mark Andrews 7963a67df0 address statement not reached warning 2009-11-06 04:12:15 +00:00
Evan Hunt c1bfa5b0ad 2753. [bug] Removed an unnecessary warning that could appear when
building an NSEC chain. [RT #20588]
2009-11-06 03:26:59 +00:00
Evan Hunt aa2f010f13 Switch from OpenSSL 0.9.8k to 0.9.8l 2009-11-06 03:14:10 +00:00
Mark Andrews 302ed789bd 2752. [bug] Locking violation. [RT #20587] 2009-11-06 01:30:06 +00:00
Automatic Updater cd0df9459e regen 2009-11-06 01:14:51 +00:00
Evan Hunt 6f6f08b7a4 2751. [bug] Fixed a memory leak in dnssec-keyfromlabel. [RT #20588] 2009-11-06 01:06:38 +00:00
Evan Hunt ca97301c37 remove extra \n from a log message 2009-11-05 21:45:05 +00:00
Evan Hunt 2a81568d17 filter-aaaa-on-v4 was listed incorrectly in the options summary.
also the configure option which enables it was wrong.
2009-11-05 19:12:13 +00:00
Mark Andrews d586a9b72f file test.sh was initially added on branch rt20438. 2009-11-05 04:49:48 +00:00
Mark Andrews 052e7083ac correct bind9.xsl.h dependancy 2009-11-05 02:59:04 +00:00
Evan Hunt 9a050780dc 2750. [bug] dig: assertion failure could occur when a server
didn't have an address. [RT #20579]
2009-11-05 01:57:49 +00:00
Evan Hunt 50c0240ac1 2750. [bug] dig: assertion failure could occur when a server
didn't have an address. [RT #20579]
2009-11-05 01:57:08 +00:00
Automatic Updater b55ce50367 regen 2009-11-05 01:15:15 +00:00
Automatic Updater 2d84cba8f4 update copyright notice 2009-11-04 23:48:18 +00:00
Evan Hunt 515cba20eb fixed typos 2009-11-04 22:35:08 +00:00
Mark Andrews 7efc6d9cb8 cleanup [RT #20509] 2009-11-04 05:58:46 +00:00
Mark Andrews 2484c7db7a spelling 2009-11-04 04:22:16 +00:00
Mark Andrews e94fe42a20 2749. [bug] ixfr-from-differences generated a non-minimal ixfr
for NSEC3 signed zones. [RT #20452]
2009-11-04 03:46:44 +00:00
Mark Andrews 0a30185f80 2748. [func] Identify bad answers from GTLD servers and treat them
as referrals. [RT #18884]
2009-11-04 02:15:30 +00:00
Automatic Updater e5826a3ca3 regen 2009-11-04 01:44:38 +00:00
Mark Andrews 0181a0a92f 2747. [bug] Journal roll forwards failed to set the re-signing
time of RRSIGs correctly. [RT #20541]
2009-11-04 01:25:55 +00:00
Mark Andrews a3285e811d 2746. [port] hpux: address signed/unsigned expansion mismatch of
dns_rbtnode_t.nsec. [RT #20542]
2009-11-04 01:18:19 +00:00
Automatic Updater 126dce8ebf update copyright notice 2009-11-03 23:48:23 +00:00
Tatuya JINMEI 神明達哉 7184a893c1 regen 2009-11-03 23:18:11 +00:00
Tatuya JINMEI 神明達哉 4ffd660d41 2745. [bug] configure script didn't probe the return type of
gai_strerror(3) correctly. [RT #20573]
2009-11-03 23:17:31 +00:00
Automatic Updater 64affc54f9 regen 2009-11-03 21:59:04 +00:00
Evan Hunt f80b665135 fix typo: s/pcks11/pkcs11/ 2009-11-03 21:44:46 +00:00
Mark Andrews 5ccd971c72 UNUSED(engine) if !defined(OPENSSL) 2009-11-03 19:43:54 +00:00
Mark Andrews d937817697 remove synatx errors from example 2009-11-03 14:02:20 +00:00
Mark Andrews 9d856845d6 2744. [func] Log if a query was over TCP. [RT #19961] 2009-11-03 04:39:41 +00:00
Mark Andrews 90065a6881 s/sent/set/ 2009-11-03 02:00:14 +00:00
Mark Andrews 2162c1ed3d add missing period 2009-11-03 01:31:17 +00:00
Mark Andrews 554d22d2de 2743. [bug] RRSIG could be incorrectly sent in the NSEC3 record
for a insecure delegation.
2009-11-03 01:07:48 +00:00
Automatic Updater 717a6020e6 auto update 2009-11-02 23:18:25 +00:00
Evan Hunt af104911b7 missing period in a sentence 2009-11-02 20:04:39 +00:00
Jeremy Reed cc11677a72 Fix misspelling. 2009-11-02 18:49:59 +00:00
Automatic Updater 660818f4c7 auto update 2009-10-31 23:18:12 +00:00
Automatic Updater 21e93db03a update 2009-10-31 01:35:01 +00:00
Automatic Updater dc4ae5d020 rfc5011.txt 2009-10-31 01:35:00 +00:00
Automatic Updater 6e27aa67be auto update 2009-10-30 23:18:51 +00:00
cvs2git b406c36a02 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-10-30 05:21:02 +00:00
Mark Andrews d90f3a24c7 5011: Automated Updates of DNS Security (DNSSEC) Trust Anchors 2009-10-30 05:20:59 +00:00
Mark Andrews 8a0943e125 silence compiler warnings. [RT #20472] 2009-10-30 05:08:23 +00:00
Automatic Updater d90f6ac848 update 2009-10-29 01:34:02 +00:00
Automatic Updater 3b38c7df86 rfc5702.txt 2009-10-29 01:34:00 +00:00
Automatic Updater e98e7e6680 auto update 2009-10-28 23:18:53 +00:00
cvs2git f88b2a9d74 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-10-28 21:08:21 +00:00
Mark Andrews 4c53f98dbd RFC5702 2009-10-28 21:08:18 +00:00
Evan Hunt 3684692720 update def file 2009-10-28 18:39:47 +00:00
Automatic Updater b37b0818d8 regen 2009-10-28 18:21:26 +00:00
Evan Hunt 5b72cda36b update API and def files for 9.7.0b2 release 2009-10-28 18:13:24 +00:00
Evan Hunt da1f044e5d prep for 9.7.0b2 release 2009-10-28 18:06:30 +00:00
Evan Hunt 5cb44a38d9 back out change 2740 2009-10-28 18:04:29 +00:00
Evan Hunt be69d48443 2742. [cleanup] Clarify some DNSSEC-related log messages in
validator.c. [RT #19589]
2009-10-28 05:34:21 +00:00
Automatic Updater 2b06e9c63c update 2009-10-28 01:34:42 +00:00
Automatic Updater d0ce206c51 rfc1912.txt 2009-10-28 01:34:40 +00:00
Automatic Updater 575e15fed9 regen 2009-10-28 01:14:38 +00:00
cvs2git e683feead6 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-10-28 00:56:20 +00:00
Mark Andrews a050fc374c 1912: Common DNS Operational and Configuration Errors 2009-10-28 00:56:17 +00:00
Mark Andrews df4408b77a new draft 2009-10-28 00:46:15 +00:00
Mark Andrews c6d2578fd6 2741. [func] Allow the dnssec-keygen progress messages to be
suppressed (dnssec-keygen -q).  Automatically
                        suppress the progress messages when stdin is not
                        a tty. [RT #20474]
2009-10-28 00:27:10 +00:00
Automatic Updater 990dca4605 update copyright notice 2009-10-27 23:47:45 +00:00
Automatic Updater 4104e236f7 newcopyrights 2009-10-27 23:30:34 +00:00
Automatic Updater fb93a46d74 auto update 2009-10-27 23:18:42 +00:00
Mark Andrews e9d45c0a04 2740. [func] Identify bad answers from GTLD servers and treat them
as referrals. [RT #18884]
2009-10-27 23:05:53 +00:00
Mark Andrews ac6f82a841 2729. [func] When constructing a CNAME from a DNAME use the DNAME
TTL. [RT #20451]
2009-10-27 22:49:15 +00:00
Evan Hunt 95f2377b4f 2739. [cleanup] Clean up API for initializing and clearing trust
anchors for a view. [RT #20211]
2009-10-27 22:46:13 +00:00
Mark Andrews 9a97696b54 regen 2009-10-27 22:26:05 +00:00
Mark Andrews e09cdbac08 2738. [func] Add RSASHA256 and RSASHA512 tests to the dnssec system
test. [RT #20453]
2009-10-27 22:25:37 +00:00
Evan Hunt e3b59e4af7 Minor cleanup in dnssec-* tools 2009-10-27 18:56:49 +00:00
Evan Hunt 312a00fb75 add named-symtbl.c to .cvsignore 2009-10-27 06:06:46 +00:00
Evan Hunt 72cfcb48a7 cleanup ddns.key after nsupdate test 2009-10-27 05:57:06 +00:00
Evan Hunt 0ce9fba8f0 cleanup DLV test 2009-10-27 05:49:50 +00:00
Evan Hunt 42f7c09369 prep for 9.7.0b2 release 2009-10-27 05:49:31 +00:00
Mark Andrews 9e9e7112f9 2737. [func] UPDATE requests can leak existance information.
[RT #17261]
2009-10-27 05:42:25 +00:00
Mark Andrews 63d5a6f680 2736. [func] Improve the performance of NSEC signed zones with
more than a normal amount of glue below a delegation.
                        [RT #20191]
2009-10-27 04:46:58 +00:00
Evan Hunt e8831e51c1 2735. [bug] dnssec-signzone could fail to read keys
that were specified on the command line with
			full paths, but weren't in the current
			directory. [RT #20421]
2009-10-27 03:59:45 +00:00
Mark Andrews af30180834 2734. [port] cygwin: arpaname did not compile. [RT #20473] 2009-10-27 03:05:33 +00:00
Automatic Updater e4adb07cc1 regen 2009-10-27 01:14:46 +00:00
Automatic Updater 5f744ebbdc update copyright notice 2009-10-26 23:47:35 +00:00
Evan Hunt 6f9c93a885 2733. [cleanup] Clean up coding style in pkcs11-* tools. [RT #20355] 2009-10-26 23:36:53 +00:00
Evan Hunt c8aa7ce70d 2732. [func] Add optional filter-aaaa-on-v4 option, available
if built with './configure --enable-filter-aaaa'.
			Filters out AAAA answers to clients connecting
			via IPv4.  (This is NOT recommended for general
			use.) [RT #20339]
2009-10-26 23:14:54 +00:00
Evan Hunt c021499604 2731. [func] Additional work on change 2709. The key parser
will now ignore unrecognized fields when the
			minor version number of the private key format
			has been increased.  It will reject any key with
			the major version number increased. [RT #20310]
2009-10-26 21:18:24 +00:00
Automatic Updater 0da9fafc18 update copyright notice 2009-10-24 23:47:36 +00:00
Automatic Updater 7bc8c1465b newcopyrights 2009-10-24 23:30:31 +00:00
Francis Dupont 775a8d86d9 keygen progress indication [RT #20284] 2009-10-24 09:46:19 +00:00
Mark Andrews c07236a635 2729. [func] When constructing a CNAME from a DNAME use the DNAME
TTL. [RT #20451]
2009-10-24 04:38:19 +00:00
Evan Hunt 8f0502e922 2728. [bug] dnssec-keygen, dnssec-keyfromlabel and
dnssec-signzone now warn immediately if asked to
			write into a nonexistent directory. [RT #20278]
2009-10-24 00:00:06 +00:00
Automatic Updater 412b30659b auto update 2009-10-23 23:18:16 +00:00
Automatic Updater 8e821eea5f regen 2009-10-23 01:14:48 +00:00
Automatic Updater 510032fdf4 update copyright notice 2009-10-22 23:48:07 +00:00
Automatic Updater 2fe5f8303e auto update 2009-10-22 23:19:17 +00:00
Evan Hunt f10a8fa034 2727. [func] The 'key-directory' option can now specify a relative
path. [RT #20154]
2009-10-22 03:43:16 +00:00
Evan Hunt cc6cddfd94 2726. [func] Added support for SHA-2 DNSSEC algorithms,
RSASHA256 and RSASHA512. [RT #20023]
2009-10-22 02:21:31 +00:00
Evan Hunt 8d307467b7 Doc the "managed-keys.bind" and "managed-keys.bind.jnl" file. [rt20235] 2009-10-22 02:04:07 +00:00
Mark Andrews d2a8d00228 2724. [bug] Updates to a existing node in secure zone using NSEC
were failing. [RT #20448]
2009-10-22 01:55:55 +00:00
Automatic Updater 3cae549ddb update copyright notice 2009-10-21 23:48:05 +00:00
Automatic Updater 403448b003 update copyright notice 2009-10-21 23:46:33 +00:00
Automatic Updater 55aec75784 newcopyrights 2009-10-21 23:30:41 +00:00
Automatic Updater dedfd63144 newcopyrights 2009-10-21 23:30:23 +00:00
Mark Andrews ae5da6a185 new draft 2009-10-21 22:33:23 +00:00
Evan Hunt 5604faa129 2723. [bug] isc_base64_totext() didn't always mark regions of
memory as fully consumed after conversion.  [RT #20445]
2009-10-21 01:23:19 +00:00
Evan Hunt 8ec993c774 2723. [bug] isc_base32_totext(), isc_base32hex_totext(), and
isc_base64_totext(), didn't always mark regions of
			memory as fully consumed after conversion.  [RT #20445]
2009-10-21 01:22:29 +00:00
Automatic Updater b15df8f9bc update copyright notice 2009-10-20 23:47:32 +00:00
Automatic Updater e193c6c98e auto update 2009-10-20 23:18:22 +00:00
Evan Hunt ef311b4d86 fix typo 2009-10-20 14:43:13 +00:00
Evan Hunt eccf8cc404 fix typo 2009-10-20 14:42:57 +00:00
Mark Andrews 123f33f60e 2722. [bug] Ensure that the memory associated with the name of
a node in a rbt tree is not altered during the life
                        of the node. [RT #20431]
2009-10-20 05:06:29 +00:00
Mark Andrews 7704a47aec 2722. [bug] Ensure that the memory associated with the name of
a node in a rbt tree is not altered during the life
                        of the node. [RT #20431]
2009-10-20 04:57:57 +00:00
Mark Andrews 1f52e23ca8 2721. [port] Have dst__entropy_status() prime the random number
generator. [RT #20369]
2009-10-20 04:47:52 +00:00
Mark Andrews a01095a487 2721. [port] Have dst__entropy_status() prime the random number
generator. [RT #20369]
2009-10-20 04:39:48 +00:00
Evan Hunt bfbd69c43f 2720. [bug] RFC 5011 trust anchor updates could trigger an
assert if the DNSKEY record was unsigned. [RT #20406]
2009-10-20 04:13:38 +00:00
Mark Andrews 32ba8dd2f0 silence compiler warnings. [RT #20412] 2009-10-20 03:31:40 +00:00
Mark Andrews 859cfb24bf silence compiler warnings. [RT #20412] 2009-10-20 03:30:07 +00:00
Mark Andrews 06e7340198 2719. [func] Skip trusted/managed keys for unsupported algorithms.
[RT #20392]
2009-10-20 03:15:06 +00:00
Mark Andrews ceff44dae2 2718. [bug] The space calculations in opensslrsa_todns() were
incorrect. [RT #20394]
2009-10-20 03:06:32 +00:00
Mark Andrews 3c5e54941f 2718. [bug] The space calculations in opensslrsa_todns() were
incorrect. [RT #20394]
2009-10-20 02:59:19 +00:00
Mark Andrews 29dd4bdd14 2717. [bug] named failed to update the NSEC/NSEC3 record when
the last private type record was removed as a result
                        of completing the signing the zone with a key.
                        [RT #20399]
2009-10-20 02:45:06 +00:00
Mark Andrews ef2f226ac1 2716. [bug] nslookup debug mode didn't return the ttl. [RT #20414] 2009-10-20 01:16:46 +00:00
Mark Andrews 4b30598fb9 2716. [bug] nslookup debug mode didn't return the ttl. [RT #20414] 2009-10-20 01:04:03 +00:00
Mark Andrews 13174b302f new draft 2009-10-19 23:42:52 +00:00
Evan Hunt 2623503170 added some clarifications, per rt20407 2009-10-19 19:21:07 +00:00
Evan Hunt a17270b2a6 fix typo 2009-10-19 18:36:37 +00:00
Mark Andrews 84dd224e46 new draft 2009-10-19 04:56:27 +00:00
Mark Andrews f885074740 grammar, line length 2009-10-19 02:57:47 +00:00
Mark Andrews 9ac35b4e4d grammar, line length 2009-10-19 02:37:08 +00:00
Automatic Updater 02b69ec7f2 regen 2009-10-17 01:24:06 +00:00
Automatic Updater 5a24d24c8f regen 2009-10-17 01:14:35 +00:00
Automatic Updater 8ab6a775bb update copyright notice 2009-10-16 23:47:54 +00:00
Automatic Updater 799933b034 auto update 2009-10-16 23:18:39 +00:00
Jeremy Reed eec29cfd40 Fix typo as reported by SUN Guonian <sun@cnnic.cn>.
This was seen in 9.7.0a3.
No CHANGES entry as is too minor.
2009-10-16 15:37:01 +00:00
Mark Andrews 6dfde0c8cb regen 2009-10-16 04:29:29 +00:00
Mark Andrews eaf4d04fee 2715. [bug] Require OpenSSL support to be explicitly disabled.
[RT #20288]
2009-10-16 04:28:17 +00:00
Mark Andrews 67b97c83c1 2714. [port] aix/powerpc: 'asm("ics");' needs non standard assembler
flags.
2009-10-16 04:27:07 +00:00
Automatic Updater d060d8669f regen 2009-10-16 04:20:49 +00:00
Evan Hunt abe20c2cca bumping 9.7.0b1 release line 2009-10-16 04:19:48 +00:00
Mark Andrews 3e888c5b81 regen 2009-10-16 04:18:04 +00:00
Mark Andrews 45eea1bda6 2715. [bug] Require OpenSSL support to be explicitly disabled.
[RT #20288]
2009-10-16 04:16:17 +00:00
Mark Andrews 616560e3db 2713. [port] aix/powerpc: 'asm("ics");' needs non standard assembler
flags.
2009-10-16 04:10:06 +00:00
Evan Hunt 8f7de3db7e Respinning to fix memory leak in dnssec-signzone. (Also adopting doc changes.) 2009-10-16 02:59:41 +00:00
Automatic Updater 102ccdd2c0 regen 2009-10-15 01:15:23 +00:00
Automatic Updater f6cd5ef97a update copyright notice 2009-10-14 23:47:51 +00:00
Automatic Updater 60d4005664 update copyright notice 2009-10-14 23:46:42 +00:00
Automatic Updater 3493b4e0ef newcopyrights 2009-10-14 23:30:34 +00:00
Automatic Updater a83e2495af newcopyrights 2009-10-14 23:30:18 +00:00
Automatic Updater 0f81966242 auto update 2009-10-14 23:18:20 +00:00
Mark Andrews 1ed01b3390 silence compiler warning 2009-10-14 22:07:13 +00:00
Jeremy Reed da2c52acae Add a few missing docbook formatting tags.
No content changed. No CHANGES entry added.
2009-10-14 12:49:11 +00:00
Mark Andrews 900410be0d 2713. [bug] powerpc: atomic operations missing asm("ics") /
__isync() calls.
2009-10-14 04:04:48 +00:00
Mark Andrews cbee6197d1 2713. [bug] powerpc: atomic operations missing asm("ics") /
__isync() calls.
2009-10-14 03:54:23 +00:00
Automatic Updater ef9ee92543 update copyright notice 2009-10-13 23:48:12 +00:00
Mark Andrews 0d5dc31f9f regen 2009-10-13 03:42:27 +00:00
Mark Andrews a95d4c4083 support ESV version strings 2009-10-13 03:38:49 +00:00
Mark Andrews 9b8465aed1 support ESV version strings 2009-10-13 03:04:55 +00:00
Mark Andrews b043b56271 support ESV version strings 2009-10-13 03:03:05 +00:00
Evan Hunt 5c0fd37335 changes needed for win32 build 2009-10-13 02:39:38 +00:00
Evan Hunt 19ac4707ee changes needed for win32 build 2009-10-13 00:55:51 +00:00
Automatic Updater 97639003b0 update copyright notice 2009-10-12 23:48:02 +00:00
Automatic Updater c243d77973 newcopyrights 2009-10-12 23:30:34 +00:00
Automatic Updater 3b2c6af63e regen 2009-10-12 23:16:15 +00:00
Evan Hunt d2a3eaf162 prepare release of 9.7.0b1 2009-10-12 23:05:07 +00:00
Evan Hunt c00929ed9f additional doc improvement 2009-10-12 23:02:32 +00:00
Evan Hunt 69677f863f improve doc on update-ksk-check and dnskey-ksk-only 2009-10-12 22:54:54 +00:00
Evan Hunt 77b8f88f14 2712. [func] New 'auto-dnssec' zone option allows zone signing
to be fully automated in zones configured for
			dynamic DNS.  'auto-dnssec allow;' permits a zone
			to be signed by creating keys for it in the
			key-directory and using 'rndc sign <zone>'.
			'auto-dnssec maintain;' allows that too, plus it
			also keeps the zone's DNSSEC keys up to date
			according to their timing metadata. [RT #19943]
2009-10-12 20:48:12 +00:00
Evan Hunt 6a90baa0d5 2711. [port] win32: Add the bin/pkcs11 tools into the full
build. [RT #20372]
2009-10-12 16:41:13 +00:00
Mark Andrews 30bb4870da remove, not zero, extended flags 2009-10-12 09:03:06 +00:00
Mark Andrews 11804ca08f zero extended flags 2009-10-12 08:57:38 +00:00
Mark Andrews 515053881b remove extended flags before comparing if set 2009-10-12 06:05:29 +00:00
Mark Andrews af20baa960 silence compiler warning/enforce const [RT #20390] 2009-10-12 05:50:52 +00:00
Automatic Updater 8de0d8a690 regen 2009-10-11 01:14:49 +00:00
Automatic Updater 8667770ad2 update copyright notice 2009-10-10 23:47:58 +00:00
Evan Hunt 3727725bb7 2710. [func] New 'dnssec-signzone -x' flag and 'dnskey-ksk-only'
zone option cause a zone to be signed with only KSKs
			signing the DNSKEY RRset, not ZSKs.  This reduces
			the size of a DNSKEY answer.  [RT #20340]
2009-10-10 01:48:00 +00:00
Mark Andrews 0d9fb986c5 silence comiler warning 2009-10-10 01:13:39 +00:00
Automatic Updater 8a07de2f03 update copyright notice 2009-10-09 23:48:09 +00:00
Automatic Updater 3f802a977e newcopyrights 2009-10-09 23:30:39 +00:00
Automatic Updater c356aac151 auto update 2009-10-09 23:18:54 +00:00
Evan Hunt 315a1514a5 2709. [func] Added some data fields, currently unused, to the
private key file format, to allow implementation
			of explicit key rollover in a future release
			without impairing backward or forward compatibility.
			[RT #20310]
2009-10-09 06:09:21 +00:00
Automatic Updater b05106c7e6 regen 2009-10-09 01:14:47 +00:00
Mark Andrews d1bcaec0d6 2708. [func] Insecure to secure and NSEC3 parameter changes via
update are now fully supported and no longer require
                        defines to enable.  We now no longer overload the
                        NSEC3PARAM flag field, nor the NSEC OPT bit at the
                        apex.  Secure to insecure changes are controlled by
                        by the named.conf option 'secure-to-insecure'.

                        Warning: If you had previously enabled support by
                        adding defines at compile time to BIND 9.6 you should
                        ensure that all changes that are in progress have
                        completed prior to upgrading to BIND 9.7.  BIND 9.7
                        is not backwards compatible.
2009-10-09 00:33:39 +00:00
Mark Andrews bb4e0bd8e8 silence ininitialised 2009-10-08 23:58:14 +00:00
Mark Andrews 0838b3c02f Recompute check_ksk as it may have changed 2009-10-08 23:55:57 +00:00
Automatic Updater 15bbb8a129 update copyright notice 2009-10-08 23:48:10 +00:00
Automatic Updater 70f5a54bf2 newcopyrights 2009-10-08 23:30:37 +00:00
Mark Andrews 2847930722 2708. [func] Insecure to secure and NSEC3 parameter changes via
update are now fully supported and no longer require
                        defines to enable.  We now no longer overload the
                        NSEC3PARAM flag field, nor the NSEC OPT bit at the
                        apex.  Secure to insecure changes are controlled by
                        by the named.conf option 'secure-to-insecure'.

                        Warning: If you had previously enabled support by
                        adding defines at compile time to BIND 9.6 you should
                        ensure that all changes that are in progress have
                        completed prior to upgrading to BIND 9.7.  BIND 9.7
                        is not backwards compatible.
2009-10-08 23:13:07 +00:00
Mark Andrews 169b900303 new draft 2009-10-07 04:55:15 +00:00
Automatic Updater 2a6d4c9948 regen 2009-10-07 01:14:42 +00:00
Automatic Updater e8fc8c884b newcopyrights 2009-10-06 23:30:29 +00:00
Evan Hunt 22b23fb59d tbox wants an #include <isc/print.h>... 2009-10-06 23:22:51 +00:00
Automatic Updater 552cbf3900 auto update 2009-10-06 23:18:42 +00:00
Evan Hunt d1f39121a6 2707. [func] dnssec-keyfromlabel no longer require engine name
to be specified in the label if there is a default
			engine or the -E option has been used.  Also, it
			now uses default algorithms as dnssec-keygen does
			(i.e., RSASHA1, or NSEC3RSASHA1 if -3 is used).
			[RT #20371]
2009-10-06 22:58:45 +00:00
Evan Hunt ca60f7ba75 Add pkcs11 tools to standard windows BIND 9 build. 2009-10-06 22:14:13 +00:00
Evan Hunt cd3e5ca69a updated for 9.7.0b1 release 2009-10-06 21:44:18 +00:00
Evan Hunt 246c504f90 2706. [bug] Loading a zone with a very large NSEC3 salt could
trigger an assert. [RT #20368]
2009-10-06 21:20:45 +00:00
Evan Hunt f6e719d145 regen 2009-10-06 20:31:10 +00:00
Evan Hunt 95b41985f7 - build pkcs11 tools when compiling --with-pkcs11=yes
- add PKCS11_PROVIDER environment variable as a method for specifying
  the provider.
2009-10-06 20:27:55 +00:00
Automatic Updater e74245134d update copyright notice 2009-10-06 04:40:14 +00:00
Automatic Updater 7d12a6b412 newcopyrights 2009-10-06 04:36:32 +00:00
Mark Andrews 807ffe7aba bin/pkcs11/win32/setprovider 2009-10-06 04:16:38 +00:00
Mark Andrews 699487d802 bin/pkcs11/openssl-0.9.8k-patch 2009-10-06 04:14:58 +00:00
Automatic Updater dbfb734a8f regen 2009-10-06 01:45:25 +00:00
Automatic Updater 8ec3c08523 regen 2009-10-06 01:14:42 +00:00
Automatic Updater 464f9144fe update copyright notice 2009-10-05 23:48:27 +00:00
Automatic Updater 1e81af1c6a update copyright notice 2009-10-05 23:46:58 +00:00
Evan Hunt b10528a3a5 version -> 9.7.0b1 2009-10-05 22:48:07 +00:00
Tatuya JINMEI 神明達哉 fa78dfd247 removed duplicate copyright notice [RT #20356] 2009-10-05 22:39:09 +00:00
Evan Hunt a88f8c2dd1 update README for 9.7.0b1 release 2009-10-05 22:02:44 +00:00
Evan Hunt ea845a6b72 Rebase all of the API files to interface=60, as this is the first
beta of a new major release.
2009-10-05 22:01:26 +00:00
Evan Hunt 845b0ee4f6 2705. [bug] Reconcile the XML stats version number with a later
BIND9 release, by adding a "name" attribute to
                        "cache" elements and increasing the version number
                        to 2.2.  (This is a minor version change, but may
                        affect XML parsers if they assume the cache element
                        doesn't take an attribute.)

2704.	[bug]		Serial of dynamic and stub zones could be inconsistent
			with their SOA serial.  [RT #19387]
2009-10-05 21:57:42 +00:00
Evan Hunt ff71474ede add placeholder 2009-10-05 21:56:19 +00:00
Evan Hunt 3ff75c89eb 2704. [bug] Serial of dynamic and stub zones could be inconsistent
with their SOA serial.  [RT #19387]
2009-10-05 19:39:20 +00:00
Francis Dupont 3c52c4e44c 20230 update 2009-10-05 17:39:36 +00:00
Francis Dupont 8b78c993cb explicit engine rt20230a 2009-10-05 17:30:49 +00:00
Francis Dupont b56f3f5c66 PKCS#11 20225 & all 2009-10-05 13:39:45 +00:00
Francis Dupont e853728477 update OpenSSL PKCS#11 patch (rt19910) 2009-10-05 13:20:06 +00:00
Francis Dupont d220cab39d pkcs11 rt20229 2009-10-05 13:02:31 +00:00
Francis Dupont 247806c820 regen 2009-10-05 12:25:29 +00:00
Francis Dupont f89a9bcf1c pkcs11 rt20236 2009-10-05 12:23:11 +00:00
Francis Dupont b091b4bb80 regen 2009-10-05 12:13:15 +00:00
Francis Dupont a631b30b1d pkcs11 rt20225 2009-10-05 12:07:08 +00:00
Francis Dupont 78e0199a39 update OpenSSL PKCS#11 patch (19143) 2009-10-05 11:12:45 +00:00
Evan Hunt 48b6d2f585 2701. [doc] Correction to ARM: hmac-md5 is no longer the only
supported TSIG key algorithm. [RT #18046]
2009-10-05 01:49:59 +00:00
Automatic Updater 58b81e7151 auto update 2009-10-04 23:18:24 +00:00
Automatic Updater 3d4dd3c1d1 regen 2009-10-04 01:45:34 +00:00
Automatic Updater 04ecc85ca6 regen 2009-10-04 01:14:58 +00:00
Automatic Updater 4fa2649d57 update copyright notice 2009-10-03 23:48:10 +00:00
Evan Hunt 1a0eecfe69 2700. [doc] The match-mapped-addresses option is discouraged.
[RT #12252]
2009-10-03 23:35:28 +00:00
Evan Hunt 54611c86b5 2700. [doc] The match-mapped-addresses option is discouraged.
[RT #12252]
2009-10-03 23:34:19 +00:00
Evan Hunt c36ba263d6 2699. [bug] Missing lock in rbtdb.c. [RT #20037] 2009-10-03 22:39:27 +00:00
Evan Hunt 1210799345 Add /* NOTREACHED */ comments 2009-10-03 18:03:54 +00:00
Evan Hunt 4256ffffb9 add placeholder 2009-10-03 16:24:51 +00:00
Evan Hunt 98ca8fdfba regen 2009-10-03 16:22:45 +00:00
Evan Hunt e86128a10a 2698. [cleanup] configure --enable-libbind is deprecated. [RT #20090] 2009-10-03 16:22:08 +00:00
Automatic Updater 3d0d370eb9 auto update 2009-10-02 23:18:41 +00:00
Mark Andrews 339c130823 ISC_PLATFORM_NORETURN_POST not ISC_PLATFORM_NORETURN 2009-10-02 06:28:27 +00:00
Automatic Updater edb08fdf7b update copyright notice 2009-10-01 23:48:08 +00:00
Automatic Updater b09a4be0df update copyright notice 2009-10-01 23:46:45 +00:00
Automatic Updater 098097efb9 newcopyrights 2009-10-01 23:30:45 +00:00
Automatic Updater 4d8c24fa5f newcopyrights 2009-10-01 23:30:29 +00:00
Mark Andrews 2ca835ce4d 2697. [port] win32: ensure that S_IFMT, S_IFDIR, S_IFCHR and
S_IFREG are defined after including <isc/stat.h>.
                        [RT #20309]
2009-10-01 05:19:35 +00:00
Mark Andrews cf7432f747 2697. [port] win32: ensure that S_IFMT, S_IFDIR, S_IFCHR and
S_IFREG are defined after including <isc/stat.h>.
                        [RT #20309]
2009-10-01 04:43:30 +00:00
Mark Andrews b781575060 2696. [bug] named failed to successfully process some valid
acl constructs. [RT #20308]
2009-10-01 04:20:37 +00:00
Mark Andrews eb95d2e917 2696. [bug] named failed to successfully process some valid
acl constructs. [RT #20308]
2009-10-01 04:06:37 +00:00
Shawn Routhier bafa76b324 Updates to fdwatch code to support DHCP/DDNS code, ticket rt20253. 2009-10-01 01:30:01 +00:00
Mark Andrews 3a6023567d fix rt number 2009-09-30 02:46:46 +00:00
Mark Andrews 970849e012 fix CHANGE number 2009-09-30 02:22:30 +00:00
Mark Andrews 4977518a4c fix CHANGES 2009-09-30 02:17:50 +00:00
Automatic Updater 66fec05962 regen 2009-09-30 01:14:47 +00:00
Automatic Updater 61dd99bfae update copyright notice 2009-09-29 23:48:04 +00:00
Automatic Updater 407d5c84de update copyright notice 2009-09-29 23:46:40 +00:00
Automatic Updater 7f79131f9a newcopyrights 2009-09-29 23:30:36 +00:00
Automatic Updater d96a67ec13 newcopyrights 2009-09-29 23:30:16 +00:00
Automatic Updater f5212c68d0 auto update 2009-09-29 23:18:56 +00:00
Evan Hunt a93a66f618 2794. [bug] Reduce default NSEC3 iterations from 100 to 10.
[RT #19970]
2009-09-29 22:17:34 +00:00
Francis Dupont c300f45d7b 20257 configure 2009-09-29 15:08:12 +00:00
Francis Dupont debd489a44 noreturn RT #20257 2009-09-29 15:06:07 +00:00
Mark Andrews fb1221fe57 2792. [port] win32: 32/64 bit cleanups. [RT #128244] 2009-09-29 05:09:43 +00:00
Mark Andrews 1e733ffc11 2792. [port] win32: 32/64 bit cleanups. [RT #128244] 2009-09-29 04:38:23 +00:00
Automatic Updater 242ba12742 auto update 2009-09-28 23:18:51 +00:00
Automatic Updater a4720d523e auto update 2009-09-26 23:18:17 +00:00
Automatic Updater f3d1a0ba52 regen 2009-09-26 01:14:51 +00:00
Automatic Updater 627f3e0805 update copyright notice 2009-09-25 23:48:13 +00:00
Automatic Updater efcd66dd5f update copyright notice 2009-09-25 23:46:54 +00:00
Automatic Updater 98215f7120 newcopyrights 2009-09-25 23:30:33 +00:00
Automatic Updater 36bb030be1 newcopyrights 2009-09-25 23:30:16 +00:00
Automatic Updater 67cf787116 auto update 2009-09-25 23:18:21 +00:00
Evan Hunt 1e3c9961bb Move dns_rdataset_init() call earlier so "goto cleanup" won't trigger
an assert in dns_rdataset_isassociated().  (This is trivial, I'm going
to commit without review.)
2009-09-25 14:30:10 +00:00
Evan Hunt fb596cc9af 2691. [func] dnssec-signzone: retain the existing NSEC or NSEC3
chain when re-signing a previously-signed zone.
			Use -u to modify NSEC3 parameters or switch
			between NSEC and NSEC3. [RT #20304]
2009-09-25 06:47:50 +00:00
Mark Andrews a7bc7ec2f8 2690. [bug] win32: fix isc_thread_key_getspecific() prototype.
[RT #20315]
2009-09-25 05:51:09 +00:00
Mark Andrews ff850b81c8 2690. [bug] win32: fix isc_thread_key_getspecific() prototype.
[RT #20315]
2009-09-25 05:48:17 +00:00
Mark Andrews e57dd35a87 regen: use consistant versions of Autoconf 2009-09-25 04:46:05 +00:00
Mark Andrews ef830a7750 use (char *) for {get,set}sockopt argument 2009-09-25 02:44:06 +00:00
Mark Andrews fd44157655 silence signed/unsigned comparision warning 2009-09-25 01:48:10 +00:00
Mark Andrews 11144f86dc silence signed/unsigned comparision warning 2009-09-25 01:42:09 +00:00
Mark Andrews b4cc584425 new draft 2009-09-25 01:07:36 +00:00
Automatic Updater b4336342d1 update copyright notice 2009-09-24 23:48:13 +00:00
Automatic Updater b4086a1fde update copyright notice 2009-09-24 23:46:53 +00:00
Automatic Updater 78d7186253 newcopyrights 2009-09-24 23:30:34 +00:00
Automatic Updater 04d8af93b1 newcopyrights 2009-09-24 23:30:20 +00:00
Automatic Updater 9e6a0b09c0 auto update 2009-09-24 23:18:21 +00:00
Mark Andrews 0b6c1173a7 2689. [bug] Correctly handle snprintf result. [RT #20306] 2009-09-24 22:22:22 +00:00
Mark Andrews 0f869e8d52 2689. [bug] Correctly handle snprintf result. [RT #20306] 2009-09-24 22:19:08 +00:00
Francis Dupont c59a7b0629 missing updates in recent changes 2009-09-24 14:39:17 +00:00
Francis Dupont 78092514b3 trivial typo 2009-09-24 13:03:39 +00:00
Mark Andrews 7c7eca0de8 2688. [bug] Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
to decide to fetch the destination address. [RT #20305]
2009-09-24 06:42:00 +00:00
Mark Andrews 69338455d9 2688. [bug] Use INTERFACE_F_POINTTOPOINT, not IFF_POINTOPOINT,
to decide to fetch the destination address. [RT #20305]
2009-09-24 06:37:50 +00:00
Evan Hunt 63a1800105 Fix several problems introduced by rt19943 2009-09-24 04:36:28 +00:00
Mark Andrews 8292deab03 OLD-PKCS11-NOTES 2009-09-24 03:04:33 +00:00
Automatic Updater d48690af7a update copyright notice 2009-09-23 23:47:56 +00:00
Automatic Updater 45d9fd6069 update copyright notice 2009-09-23 23:46:44 +00:00
Automatic Updater f7941a19b7 newcopyrights 2009-09-23 23:30:23 +00:00
Automatic Updater 4344643693 auto update 2009-09-23 23:18:35 +00:00
Mark Andrews 3a2a2463f2 new draft 2009-09-23 22:15:24 +00:00
Mark Andrews 91c6a86724 spelling 2009-09-23 21:27:39 +00:00
Mark Andrews b3c8f1e9e8 number 2009-09-23 20:36:58 +00:00
Evan Hunt 53c22b8e0d 2685. [bug] Fixed dnssec-signzone -S handling of revoked keys.
Also, added warnings when revoking a ZSK, as this is
			not defined by protocol (but is legal).  [RT #19943]
2009-09-23 16:01:57 +00:00
Mark Andrews 4d0e2cf9b9 2684. [bug] dnssec-signzone should clean the old NSEC chain when
signing with NSEC3 and vica versa. [RT #20301]
2009-09-23 14:05:11 +00:00
Francis Dupont 484076c325 move to zkt 0,99c (RT #20054) 2009-09-23 13:27:59 +00:00
Francis Dupont 6839f8b6df cleanup USE_EVP_RSA (RT #20044) 2009-09-23 11:16:50 +00:00
Francis Dupont 40d3bb52b6 adjust for RT #20067 2009-09-23 11:09:38 +00:00
Francis Dupont 265daffadb adjust 2680 (RT #20067) 2009-09-23 10:56:33 +00:00
Francis Dupont e25451b66c pkcs11 tools were moved (20067) 2009-09-23 10:54:46 +00:00
Francis Dupont 2946e44c86 pkcs11 tools were moved (20067) 2009-09-23 10:52:18 +00:00
Francis Dupont 3d3b7e5a5b pkcs11 tools were moved (20067) 2009-09-23 10:43:53 +00:00
Evan Hunt 8436cc14ba 2684. [cleanup] dig: formalize +ad and +cd as synonyms for
+adflag and +cdflag.  [RT #19305]
2009-09-23 06:21:36 +00:00
Mark Andrews 011d0b7dc8 2683. [bug] dnssec-signzone should clean out old NSEC3 chains when
the NSEC3 parameters used to sign the zone change.
                        [RT #20246]
2009-09-23 04:30:16 +00:00
Evan Hunt 2b2539f3c5 fix typo in net.c -- s/closeocket/closesocket/ 2009-09-23 00:46:47 +00:00
Francis Dupont 2f4d747a26 "configure --enable-symtable=all" failed to build. [RT #20282] 2009-09-22 08:47:55 +00:00
Francis Dupont adb6972f01 minor fix, cf 20295 2009-09-22 08:38:14 +00:00
cvs2git dcf943b372 This commit was manufactured by cvs2git to create branch 'v9_5_2_patch'. 2009-09-21 01:51:12 +00:00
Mark Andrews 144cb36893 9.5.2 2009-09-21 01:51:10 +00:00
Automatic Updater 54f0466614 auto update 2009-09-20 23:18:28 +00:00
Automatic Updater d081840d42 auto update 2009-09-19 23:18:26 +00:00
Tatuya JINMEI 神明達哉 c9424f08b0 fixed the position of the period. 2009-09-19 21:47:13 +00:00
Tatuya JINMEI 神明達哉 bd6bd562ea fixed the position of the period. 2009-09-19 21:46:34 +00:00
Automatic Updater d2ebd5d5fb regen 2009-09-19 01:14:52 +00:00
Automatic Updater fa5748c1ab auto update 2009-09-18 23:18:31 +00:00
Francis Dupont b67b58ebe7 small improvement (rt20291) 2009-09-18 22:08:55 +00:00
Tatuya JINMEI 神明達哉 e5bce1dd89 2681. [bug] IPSECKEY RR of gateway type 3 was not correctly
decoded [RT #20269].

BIND 9.7.0, 9.6.2, 9.5.2, 9.4.4
2009-09-18 21:56:25 +00:00
Tatuya JINMEI 神明達哉 790e471f6e 2681. [bug] IPSECKEY RR of gateway type 3 was not correctly
decoded [RT #20269].

BIND 9.7.0, 9.6.2, 9.5.2, 9.4.4
2009-09-18 21:55:21 +00:00
Francis Dupont b0dafbb309 spelling 2009-09-18 13:14:47 +00:00
Francis Dupont 1def913211 config.h issue is fixed: cleanup 2009-09-18 11:07:04 +00:00
Tatuya JINMEI 神明達哉 148e9f3feb removed a non-existent .h. gmake (which is assumed to be used to build
the exportlib) ignores it so it doesn't cause a trouble in practice, but
should still better be fixed.

(found by Shawn, I confirmed it.)
2009-09-18 07:18:04 +00:00
Evan Hunt 0e32dda176 add include <config.h>, and update comments to use the new names 2009-09-17 23:46:34 +00:00
Mark Andrews 3351ccbd5c update 2009-09-17 23:45:08 +00:00
Francis Dupont 6b87f60431 Move some contrib/pkcs11-keygen to bin/pkcs11 RT #20067 2009-09-17 23:34:39 +00:00
Automatic Updater 56e7dc0c24 newcopyrights 2009-09-17 23:30:25 +00:00
Francis Dupont be728633c1 init .cvsignore 2009-09-17 22:55:59 +00:00
Francis Dupont 8b5a11217c from contrib/pkcs11-keygen 2009-09-17 22:51:59 +00:00
Mark Andrews cef43239cb 2678. [func] Treat DS queries as if "minimal-response yes;"
was set. [RT #20258]

2427.   [func]          Treat DNSKEY queries as if "minimal-response yes;"
                        was set. [RT #18528]
2009-09-16 22:28:52 +00:00
Automatic Updater 4765fc7c3f update copyright notice 2009-09-15 23:48:09 +00:00
Automatic Updater 1a06700908 newcopyrights 2009-09-15 23:30:30 +00:00
Automatic Updater 4479e4cea3 auto update 2009-09-15 23:19:01 +00:00
Tatuya JINMEI 神明達哉 edabc8134d regen 2009-09-15 23:18:00 +00:00
Tatuya JINMEI 神明達哉 866a531c59 typo in a warning message (found in rt #20280) 2009-09-15 23:17:22 +00:00
Evan Hunt 0e4fda8862 typo fix 2009-09-15 19:30:28 +00:00
Tatuya JINMEI 神明達哉 32c7a00e26 s/--with-export-installdir/--with-export-includedir/ 2009-09-15 19:12:03 +00:00
Evan Hunt d514c0dc9b 2679. [func] dig -k can now accept TSIG keys in named.conf
format.  [RT #20031]
2009-09-15 03:13:44 +00:00
Automatic Updater f8e3e03cac regen 2009-09-15 01:14:42 +00:00
Automatic Updater 5e38811a8f auto update 2009-09-14 23:18:43 +00:00
Mark Andrews a12c8549d6 2678. [func] Treat DS queries as if "minimal-response yes;"
was set. [RT #20258]
2009-09-14 23:13:37 +00:00
Evan Hunt b843f577bb 2677. [func] Changes to key metadata behavior:
- Keys without "publish" or "active" dates set will
			  no longer be used for smart signing.  However,
			  those dates will be set to "now" by default when
			  a key is created; to generate a key but not use
			  it yet, use dnssec-keygen -G.
			- New "inactive" date (dnssec-keygen/settime -I)
			  sets the time when a key is no longer used for
			  signing but is still published.
			- The "unpublished" date (-U) is deprecated in
			  favor of "deleted" (-D).
			[rt20247]
2009-09-14 18:45:45 +00:00
Tatuya JINMEI 神明達哉 d00827dabc regen 2009-09-14 18:31:47 +00:00
Tatuya JINMEI 神明達哉 2fa5af7b73 2676. [bug] --with-export-installdir should have been
--with-export-includedir. [RT #20252]
2009-09-14 18:31:15 +00:00
Automatic Updater f819b54e38 auto update 2009-09-11 23:18:12 +00:00
Automatic Updater 6d7e30b030 update copyright notice 2009-09-10 23:48:00 +00:00
Evan Hunt f267b27f0e 2675. [bug] dnssec-signzone could crash if the key directory
did not exist. [RT #20232]
2009-09-10 05:09:31 +00:00
Evan Hunt 0e7cb68ea0 fix implicit memset() declaration 2009-09-10 02:18:40 +00:00
Evan Hunt be63f34b6a wrong change numbers. 2009-09-10 02:16:26 +00:00
Evan Hunt a457576b58 "dnssec-lookaside auto" crashed if named was built without openssl [rt20231] 2009-09-10 01:49:29 +00:00
Evan Hunt dbabab1f37 rt20045:
- sync_keyzone() could leak ISC_R_NOMORE, causing zone_postload() to think
  it had failed
- journal roll-forward on key zones complained about having the wrong
  number of SOA records
- dns_soa_buildrdata() could return a pointer to memory allocated on the
  stack
2009-09-10 01:47:09 +00:00
Evan Hunt c211111e64 more cleanup 2009-09-10 01:43:09 +00:00
Automatic Updater 31f1c9a241 regen 2009-09-09 23:30:30 +00:00
Evan Hunt 6145e3c8fa Update comment, since the key won't expire in 9/2009 after all. 2009-09-09 15:47:51 +00:00
Evan Hunt 8036473e6c Update comment, since the key isn't actually going to expire in 9/2009
after all.
2009-09-09 15:44:33 +00:00
Evan Hunt 4c9c08e4a1 more solaris/sca6000 simplification 2009-09-09 07:15:24 +00:00
Evan Hunt 08927bbead Simplify solaris build instructions, it had some unnecessary compile
options
2009-09-09 06:42:15 +00:00
Mark Andrews 05398561e0 make more portable 2009-09-09 04:48:01 +00:00
Mark Andrews 7c87a8bf7b remove util if empty, for pre 9.7 2009-09-09 04:27:40 +00:00
Automatic Updater 68d3ffa39f 9.5.2rc1 2009-09-09 00:44:19 +00:00
Automatic Updater d8b801bd19 update copyright notice 2009-09-08 23:41:50 +00:00
Mark Andrews 76d2dc1150 9.5.2rc1 2009-09-08 23:35:59 +00:00
Automatic Updater 9f0225ba7e newcopyrights 2009-09-08 23:30:35 +00:00
Mark Andrews 625d1345a4 9.5.2rc1 2009-09-08 23:30:07 +00:00
Mark Andrews e1379b42f8 2672. [bug] Don't enable searching in 'host' when doing reverse
lookups. [RT #20218]
2009-09-08 23:28:40 +00:00
Mark Andrews 14cd8ac04c 2672. [bug] Don't enable searching in 'host' when doing reverse
lookups. [RT #20218]
2009-09-08 23:23:22 +00:00
Evan Hunt 523598fafa - update README for a3 release
- update README.rfc5011 to remove info now in the ARM, and to add
  smart-signing info
2009-09-08 16:33:01 +00:00
Evan Hunt 2636aac047 - s/OpenSolaris/Solaris/
- s/Windows 2003/Windows Server 2003/
- use the term "PKCS #11 provider"
2009-09-08 15:32:11 +00:00
Francis Dupont e7de5dcef6 typo, cf RT20219 2009-09-08 13:04:29 +00:00
Francis Dupont fc47f5d6f1 typo 2009-09-08 12:52:23 +00:00
Mark Andrews d247c0d92a new draft 2009-09-08 07:20:39 +00:00
Evan Hunt 5e4d54bc79 grammar fix 2009-09-08 07:07:13 +00:00
Evan Hunt d7c15f7c37 - new README.pkcs11
- old README.pkcs11 moved to contrib/pkcs11-keygen/PKCS11-NOTES
2009-09-08 06:54:00 +00:00
Evan Hunt d7e3784c77 Now that include files are in place in the opencryptoki subdirectory,
remove "#ifndef OPENCRYPTOKI" conditionals
2009-09-08 06:00:11 +00:00
Evan Hunt 8a86c12ec2 Instead of removing all of util from the release kit, retain
util/mksymtbl.pl.
2009-09-08 03:39:30 +00:00
Automatic Updater c7d32c0b0f regen 2009-09-08 01:14:42 +00:00
Automatic Updater 822e877c4c newcopyrights 2009-09-07 23:30:31 +00:00
Francis Dupont 210970a248 two votes for keys -> key pair 2009-09-07 23:11:48 +00:00
Francis Dupont bf1fb08416 PKCS#11 includes from OpenCryptoki project 2009-09-07 21:19:21 +00:00
Evan Hunt 6cdb18f5d4 bump release tag 2009-09-07 15:56:01 +00:00
Francis Dupont 1f821c1058 merge rt19294 2009-09-07 12:58:33 +00:00
Mark Andrews 4db96e8b27 2670. [bug] Unexpected connect failures failed to log enough
information to be useful. [RT #20205]
2009-09-07 02:14:40 +00:00
Mark Andrews 0b8385f5c5 2670. [bug] Unexpected connect failures failed to log enough
information to be useful. [RT #20205]
2009-09-07 02:08:51 +00:00
Evan Hunt 09386e47d1 moved release tag up 2009-09-06 17:47:15 +00:00
Automatic Updater 121bd24f4b newcopyrights 2009-09-04 23:30:34 +00:00
Automatic Updater acb6750f8f auto update 2009-09-04 23:18:05 +00:00
Tatuya JINMEI 神明達哉 457144a0c6 explained the portability workaround macro for isc__ vs isc___ 2009-09-04 18:51:37 +00:00
Tatuya JINMEI 神明達哉 2eb6a502bc added a missing .c file to SRC 2009-09-04 18:13:44 +00:00
Evan Hunt 82629edf81 jinmei's updated mem.h, which uses macros to generate function prototypes.
this change was needed to support the bind9 build and export library build
on both *nix and win32.  cleanup from change 2660/rt19369.
2009-09-04 17:47:26 +00:00
Evan Hunt 30a60d2aff On some slower systems the startup is delayed and this causes an
apparent transfer failure on the initial calls to dig.  Adding a test
here to make sure the zones are fully loaded before attempting to query
them.
2009-09-04 17:14:58 +00:00
Evan Hunt 8d0a1ede2f RT #20213:
- correctly use -K option in dnssec-keygen
- fix an improper free() in dnssec-revoke
- fix grammar in dnssec-settime
2009-09-04 16:57:22 +00:00
Mark Andrews 8b5f99861f use HAVE_GETPASS 2009-09-04 03:58:57 +00:00
Mark Andrews 06eb464ae2 ALG_FORMATSIZE -> 20 2009-09-04 02:31:29 +00:00
Mark Andrews 762682e990 make getpass dependent on HAVE_GETPASS 2009-09-04 02:09:33 +00:00
Mark Andrews 2d13af354a isc_resourcevalue_t is unsigned. use %ISC_PRINT_QUADFORMATu 2009-09-04 00:49:50 +00:00
Mark Andrews 730e25bf11 'test' uses '=' not '==' 2009-09-04 00:46:09 +00:00
Automatic Updater 7b1894bec1 update copyright notice 2009-09-03 23:48:13 +00:00
Automatic Updater 78cb74fab4 newcopyrights 2009-09-03 23:30:32 +00:00
Tatuya JINMEI 神明達哉 af55bddf26 cleanup: fixed incorrect ifdef [RT #20210] 2009-09-03 21:55:13 +00:00
Tatuya JINMEI 神明達哉 0984eeca5b added workaround for a recent change thatview->secroots is not created
with view. [RT #20209]
2009-09-03 21:45:46 +00:00
Evan Hunt 2e46523695 update cvsignore files 2009-09-03 20:28:46 +00:00
Francis Dupont 760a6c5ac1 remove extra ./Makefile 2009-09-03 13:51:46 +00:00
Francis Dupont 9916d13704 oldkey must be initialized to NULL 2009-09-03 13:43:52 +00:00
Mark Andrews f4b1fec888 remove md4.c from patch 2009-09-03 04:33:13 +00:00
Mark Andrews bbc204a237 2669. [func] Update PKCS#11 support to support Keyper HSM.
Update PKCS#11 patch to be against openssl-0.9.8i.
2009-09-03 04:09:58 +00:00
Automatic Updater 3e1938b728 commit pdf for 9.7.0a3 2009-09-03 01:25:54 +00:00
Automatic Updater 2895f101b5 regen 2009-09-03 01:14:42 +00:00
Evan Hunt 9f8d002a66 silence win32 compiler warnings 2009-09-03 00:12:23 +00:00
Evan Hunt c164f233b4 s/isc__mem_reallocate/isc___mem_reallocate/ 2009-09-02 23:51:55 +00:00
Automatic Updater d7201de09b update copyright notice 2009-09-02 23:48:03 +00:00
Automatic Updater fe6e6e93be update copyright notice 2009-09-02 23:46:40 +00:00
Evan Hunt e7c38ca963 - define isc_mem_reallocate() in the abstract API for export lib [rt20208]
- define BIND9 in config.h.win32
- fix problems in mem.h caused by the win32 preprocessor failing to
  expand macros used within macros
- silence a win32 compiler warning in hip_55.c
2009-09-02 23:43:54 +00:00
Automatic Updater 9cd5eb6fe0 newcopyrights 2009-09-02 23:30:44 +00:00
Automatic Updater bb8c25fbf1 newcopyrights 2009-09-02 23:30:19 +00:00
Jeremy Reed a4666db97c Minor two word change about managed-keys (fixes typo too).
As discussed in RT #19874.
2009-09-02 21:24:24 +00:00
Evan Hunt fff4ec3629 add /D BIND9 for win32 build 2009-09-02 19:36:36 +00:00
Evan Hunt 41e251fad0 add backtrace.c, backtrace.h, backtrace-emptytbl.c, backtrace-emptytbl.h
to win32 build
2009-09-02 19:01:49 +00:00
Tatuya JINMEI 神明達哉 9dbca282e4 corrected trivial comment errors (reviewed by Evan in jabber) 2009-09-02 18:38:40 +00:00
Evan Hunt f0eecd4d62 changes needed for win32 build 2009-09-02 18:32:25 +00:00
Evan Hunt 0c1326fa62 add /D "BIND9" for win32 builds
(we'll probably need a different project file for creating an exportable DLL)
2009-09-02 18:00:51 +00:00
Evan Hunt e30d8c5a47 missing include needed for win32 build 2009-09-02 17:58:06 +00:00
Evan Hunt a21cde0291 update win32 libisc.def 2009-09-02 17:23:45 +00:00
Evan Hunt 63b17e175f retroactively added a note to change 2630 that "ddns-autoconf" has been removed. 2009-09-02 16:39:20 +00:00
Evan Hunt 3a6b6f5b11 remove references to the "ddns-autoconf" option, which no longer exists 2009-09-02 16:10:03 +00:00
Francis Dupont ae6bd1ae93 trivial fix: second Step 2 -> 3 2009-09-02 08:41:06 +00:00
Evan Hunt d699672160 Initial prep for 9.7.0a3 release. 2009-09-02 06:41:31 +00:00
Evan Hunt eab9975bcf 2668. [func] Several improvements to dnssec-* tools, including:
- dnssec-keygen and dnssec-settime can now set key
			  metadata fields 0 (to unset a value, use "none")
			- dnssec-revoke sets the revocation date in
			  addition to the revoke bit
			- dnssec-settime can now print individual metadata
			  fields instead of always printing all of them,
			  and can print them in unix epoch time format for
			  use by scripts
			[RT #19942]
2009-09-02 06:29:01 +00:00
Mark Andrews be3d498c6e close off command 2009-09-02 04:45:41 +00:00
Tatuya JINMEI 神明達哉 8fec8134ea suppress compiler warnings [RT #20203] 2009-09-02 04:25:19 +00:00
Mark Andrews 7fc3b88c3a update 2009-09-02 03:56:54 +00:00
Mark Andrews ea854b5850 README.libdns 2009-09-02 03:54:09 +00:00
Mark Andrews c7574cf6f6 2663. [func] win32: allow named to run as a service using
"NT AUTHORITY\LocalService" as the account. [RT #19977]
2009-09-02 00:30:44 +00:00
Mark Andrews f55006eb18 2656. [func] win32: add a "tools only" check box to the installer
which causes it to only install dig, host, nslookup,
                        nsupdate and relevent dlls.  [RT #19998]
2009-09-02 00:29:56 +00:00
Automatic Updater 823ca3c14f update copyright notice 2009-09-01 23:47:45 +00:00
Automatic Updater 54123c5a3f update copyright notice 2009-09-01 23:46:36 +00:00
Automatic Updater 117c3d6de5 newcopyrights 2009-09-01 23:30:20 +00:00
Tatuya JINMEI 神明達哉 ae16941d9f cleanup: removed a redundant semi-colon 2009-09-01 23:05:33 +00:00
Tatuya JINMEI 神明達哉 d364948549 treat FD_SIZE as int (which can be defined as unsigned on some platforms)
to silence compiler
2009-09-01 22:52:27 +00:00
Tatuya JINMEI 神明達哉 ee537376ad avoid using @< (which some make don't seem to understand) for portability 2009-09-01 22:30:28 +00:00
Evan Hunt 93ebf0fc08 - add .cvsignore files
- silence tinderbox warnings about missing config.h in a few files.
2009-09-01 20:13:44 +00:00
Tatuya JINMEI 神明達哉 f909fbf73c missing new file 2009-09-01 18:50:52 +00:00
Tatuya JINMEI 神明達哉 7daca48bf2 regen 2009-09-01 18:41:05 +00:00
Tatuya JINMEI 神明達哉 a27fe4c990 2667. [func] Add support for logging stack backtrace on assertion
failure (not available for all platforms). [RT #19780]
9.7.0
2009-09-01 18:40:25 +00:00
Tatuya JINMEI 神明達哉 11254f9c5a regen 2009-09-01 17:55:07 +00:00
Tatuya JINMEI 神明達哉 588f79e557 fixed build error on hpux due to gai_strerror() prototype mismatch
[RT #20194]
2009-09-01 17:54:16 +00:00
Tatuya JINMEI 神明達哉 44de0b1f7d 2666. [func] Added an 'options' argument to dns_name_fromstring()
(API change from 9.7.0a2). [RT #20196]
2009-09-01 17:36:51 +00:00
Tatuya JINMEI 神明達哉 965b6e2a1b fixed trivial errors about the type of function return values 2009-09-01 08:12:33 +00:00
Evan Hunt 61dc9951fb back out changes 2661 & 2662 until post 9.5.2 2009-09-01 07:17:46 +00:00
Evan Hunt 85be60e3c8 2665. [func] Clarify syntax for managed-keys {} statement, add
ARM documentation about RFC 5011 support. [RT #19874]
2009-09-01 07:14:26 +00:00
Evan Hunt b1f3364f52 2664. [bug] create_keydata() and minimal_update() in zone.c
didn't properly check return values for some
			functions.  [RT #19956]
2009-09-01 07:04:12 +00:00
Mark Andrews 479b80d4d7 2663. [func] win32: allow named to run as a service using
"NT AUTHORITY\LocalService" as the account. [RT #19977]
2009-09-01 06:51:47 +00:00
Evan Hunt 9647f67a0a 2662. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]

2661.	[bug]		Check whether socket fd exceeds FD_SETSIZE when
			creating lwres context. [RT #20029]
2009-09-01 06:49:29 +00:00
Evan Hunt ef22fffeeb 2662. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]

2661.	[bug]		Check whether socket fd exceeds FD_SETSIZE when
			creating lwres context. [RT #20029]
2009-09-01 05:50:18 +00:00
Tatuya JINMEI 神明達哉 9eae5f2a7a added include <config.h> 2009-09-01 03:43:27 +00:00
Tatuya JINMEI 神明達哉 93d2c48b0b make the _H definition consistent with the file name. 2009-09-01 03:32:33 +00:00
Tatuya JINMEI 神明達哉 1eb6d0f372 make the _H definition consistent with the file name. 2009-09-01 03:31:33 +00:00
Mark Andrews e2a61b7bb2 add #include <isc/print.h> 2009-09-01 02:54:26 +00:00
Mark Andrews 713b816c6f regen 2009-09-01 01:59:57 +00:00
Tatuya JINMEI 神明達哉 307d208450 2660. [func] Add a new set of DNS libraries for non-BIND9
applications.  See README.libdns. [RT #19369]
2009-09-01 00:22:28 +00:00
Automatic Updater ad671240d6 regen 2009-08-29 01:14:37 +00:00
Automatic Updater 5ac9ef9448 update copyright notice 2009-08-28 23:48:02 +00:00
Evan Hunt 41eeb37b51 2659. [doc] Clarify dnssec-keygen doc: key name must match zone
name for DNSSEC keys. [RT #19938]
2009-08-28 21:47:02 +00:00
Evan Hunt 747abb4993 2658. [bug] dnssec-settime and dnssec-revoke didn't process
key file paths correctly. [RT #20078]
2009-08-28 03:13:08 +00:00
Automatic Updater 85eb2c7635 auto update 2009-08-27 23:18:22 +00:00
Automatic Updater 163af735c2 regen 2009-08-27 01:14:39 +00:00
Jeremy Reed 35490da615 Update date for manpage.
Add -l to synopsis sections. (It is already documented.)
Mention the RFC number for DLV.
Not adding a CHANGES entry. No official release since this was added.
The previous CHANGES entries for this are 2611 and 2636.
2009-08-26 21:56:05 +00:00
Jeremy Reed de10c46b2a Add -l to synopsis. For RT BUG 20147.
Not adding a CHANGES entry as is so minor and the -l addition is
in 2630 which is not in any official release.
Also update the date for the manual page.
2009-08-26 21:34:44 +00:00
Automatic Updater 056bbcd41d regen 2009-08-26 01:44:42 +00:00
Automatic Updater f8da2eefea regen 2009-08-26 01:14:39 +00:00
Automatic Updater da035d9f44 update copyright notice 2009-08-25 23:47:51 +00:00
Automatic Updater 3a9593055e newcopyrights 2009-08-25 23:30:31 +00:00
Mark Andrews 11b4f17027 2657. [cleanup] Lower "journal file <path> does not exist, creating it"
log level to debug 1. [RT #20058]
2009-08-25 07:41:28 +00:00
Mark Andrews 7179c3476f 2656. [func] win32: add a "tools only" check box to the installer
which causes it to only install dig, host, nslookup,
                        nsupdate and relevent dlls.  [RT #19998]
2009-08-25 06:47:32 +00:00
Mark Andrews 2bee3c2e70 CHANGES 2009-08-25 06:47:06 +00:00
Mark Andrews 96b1813e98 2655. [doc] Document that key-directory does not affect
rndc.key.  [RT #20155]
2009-08-25 04:41:23 +00:00
Mark Andrews a0ba5a502e 2655. [doc] Document that key-directory does not affect
bind.keys, rndc.key or session.key.  [RT #20155]
2009-08-25 02:56:03 +00:00
Mark Andrews 18114698b4 2654. [bug] Improve error reporting on duplicated names for
deny-answer-xxx. [RT #20164]
2009-08-25 02:42:46 +00:00
Francis Dupont 995f3bc4c4 indent 2009-08-23 11:44:44 +00:00
Automatic Updater 7bae9e718e auto update 2009-08-20 23:20:50 +00:00
Automatic Updater 39bf89d91c regen 2009-08-20 01:43:31 +00:00
Automatic Updater 80c2098825 regen 2009-08-20 01:13:34 +00:00
Mark Andrews 34ef21525e add comments to multi view tsig example 2009-08-19 23:38:11 +00:00
Automatic Updater 7f7412f12c auto update 2009-08-18 23:18:25 +00:00
Mark Andrews 97a2451eea 2653. [bug] Treat ENGINE_load_private_key() failures as key
not found rather than out of memory.  [RT #18033]
2009-08-18 07:45:14 +00:00
Mark Andrews 88471538d6 2652. [func] Provide more detail about what record is being
deleted. [RT #20061]
2009-08-17 07:18:41 +00:00
Automatic Updater 800fb35bf0 update copyright notice 2009-08-15 23:48:06 +00:00
Automatic Updater bde521789e newcopyrights 2009-08-15 23:30:34 +00:00
Evan Hunt 181b990c21 Back out change #2652 2009-08-15 05:03:14 +00:00
Evan Hunt 38cd84d1b3 2652. [bug] lwres_getipnodebyname() and lwres_getipnodebyaddr()
returned a misleading error code when lwresd was
			down. [RT #20028]
2009-08-15 03:11:57 +00:00
Automatic Updater 3fe0b63ff1 auto update 2009-08-14 23:18:42 +00:00
Automatic Updater f92d5bc205 newcopyrights 2009-08-14 07:55:21 +00:00
Mark Andrews ece6c39dd8 missing semicolon 2009-08-14 07:51:08 +00:00
Mark Andrews 8801bef4ea missing semicolon 2009-08-14 07:48:45 +00:00
Evan Hunt ddc225b15d 2651. [bug] Dates could print incorrectly in K*.key files on
64-bit systems. [RT #20076]
2009-08-14 06:28:40 +00:00
Mark Andrews 3d2ce18535 remove false positive for out of date documentation 2009-08-14 06:17:20 +00:00
Automatic Updater 8df03195cf 9.5.2b1 2009-08-14 05:57:36 +00:00
Evan Hunt 813b34ebec 2650. [bug] Assertion failure in dnssec-signzone when trying
to read keyset-* files. [RT #20075]
2009-08-14 01:07:00 +00:00
Mark Andrews eb3aaebeb3 9.5.2 2009-08-13 08:17:02 +00:00
Automatic Updater 386e69d256 newcopyrights 2009-08-13 08:09:40 +00:00
Mark Andrews 696bfc84a0 9.5.2b1 2009-08-13 08:07:58 +00:00
Automatic Updater 1f5dc0fc22 update copyright notice 2009-08-13 07:14:05 +00:00
Automatic Updater 4ea93e7cfa update copyright notice 2009-08-13 07:12:58 +00:00
Automatic Updater f97e3595af newcopyrights 2009-08-13 07:10:05 +00:00
Mark Andrews de3200acf4 silence format warnings: treat uid/gid as longs when printing 2009-08-13 07:04:38 +00:00
Mark Andrews 1348806439 9.5.2b1 2009-08-13 06:47:46 +00:00
Mark Andrews c199662ea2 2649. [bug] Set the domain for forward only zones. [RT #19944] 2009-08-13 04:54:21 +00:00
Mark Andrews bcd0cbfdae 2649. [bug] Set the domain for forward only zones. [RT #19944] 2009-08-13 04:33:51 +00:00
Mark Andrews 50eab6c2aa silence compiler warnings 2009-08-13 04:13:58 +00:00
Mark Andrews 29f607744a 2648. [port] win32: isc_time_seconds() was broken. [RT #19900] 2009-08-13 03:40:57 +00:00
Mark Andrews 1d9958c6cc 2648. [port] win32: isc_time_seconds() was broken. [RT #19900] 2009-08-13 03:34:10 +00:00
Mark Andrews 8cff1a894f 2647. [bug] Remove unnecessary SOA updates when a new KSK is
added. [RT #19913]
2009-08-13 02:53:01 +00:00
Mark Andrews d028ae461b 2646. [bug] Incorrect cleanup on error in socket.c. [RT #19987] 2009-08-13 02:19:18 +00:00
Mark Andrews 048690a34d 2646. [bug] Incorrect cleanup on error in socket.c. [RT #19987] 2009-08-13 02:11:20 +00:00
Mark Andrews a6f2a3bf33 2645. [port] "gcc -m32" didn't work on amd64 and x86_64 platforms
which default to 64 bits. [RT #19927]
2009-08-13 02:02:45 +00:00
Mark Andrews 90c1e763d5 2645. [port] "gcc -m32" didn't work on amd64 and x86_64 platforms
which default to 64 bits. [RT #19927]
2009-08-13 01:51:19 +00:00
Automatic Updater 835ee9481b auto update 2009-08-11 23:17:58 +00:00
Automatic Updater 1762bd3d21 auto update 2009-08-10 23:18:36 +00:00
Automatic Updater 60f06c1960 auto update 2009-08-07 23:18:01 +00:00
Automatic Updater 6bf23b0270 update copyright notice 2009-08-06 23:47:44 +00:00
Automatic Updater 68e1b398b5 newcopyrights 2009-08-06 23:30:29 +00:00
Mark Andrews 9be408c368 update how to regenerate the documentation 2009-08-06 01:31:50 +00:00
Mark Andrews 3f5510b6fd update "Update the copyrights" directions 2009-08-06 01:21:58 +00:00
Automatic Updater 0a7e3c7d09 update copyright notice 2009-08-05 23:47:43 +00:00
Automatic Updater cf7e98f591 newcopyrights 2009-08-05 23:30:31 +00:00
Automatic Updater b73fda8035 auto update 2009-08-05 23:18:20 +00:00
Evan Hunt 2ac8f58412 needed fixes for windows build 2009-08-05 18:43:37 +00:00
Evan Hunt 3a87540047 2644. [bug] Change #2628 caused a regression on some systems;
named was unable to write the PID file and would
                        fail on startup. [RT #20001]
2009-08-05 17:35:33 +00:00
Mark Andrews 6beee732e4 2643. [bug] Stub zones interacted badly with NSEC3 support.
[RT #19777]
2009-08-05 02:09:04 +00:00
Automatic Updater 4be54137d1 update 2009-08-02 01:32:57 +00:00
Automatic Updater 8b45303755 rfc4635.txt 2009-08-02 01:32:52 +00:00
cvs2git 23472854fb This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-08-01 06:05:49 +00:00
Mark Andrews 10f35749cf 4635: HMAC SHA TSIG Algorithm Identifiers 2009-08-01 06:05:45 +00:00
Evan Hunt 33a31c5cab fix a comment ("ddns.key" should have been changed to "session.key"). 2009-07-31 23:43:23 +00:00
Automatic Updater 11a014304a auto update 2009-07-31 23:18:30 +00:00
Evan Hunt 4103d428a9 use genrandom to produce random data for input to ddns-confgen 2009-07-30 15:11:41 +00:00
Evan Hunt a7271c81d6 2642. [bug] nsupdate could dump core on solaris when reading
improperly formatted key files.  [RT #20015]
2009-07-29 23:55:00 +00:00
Automatic Updater 0282f038eb update copyright notice 2009-07-29 23:47:43 +00:00
Evan Hunt a3288b425a 2642. [bug] nsupdate could dump core on solaris when reading
improperly formatted key files.  [RT #20015]
2009-07-29 23:45:24 +00:00
Automatic Updater 47ce374fcf newcopyrights 2009-07-29 23:30:27 +00:00
Evan Hunt 9069215eac 2641. [bug] Fixed an error in parsing update-policy syntax,
added a regression test to check it. [RT #20007]
2009-07-29 17:52:00 +00:00
Automatic Updater 95f36ad29f auto update 2009-07-28 23:18:56 +00:00
Automatic Updater b7b4fc9a0e prepare 9.7.0a2 re-release 2009-07-28 20:37:09 +00:00
Evan Hunt 4189dd1e2c bump release tag 2009-07-28 19:58:21 +00:00
Mark Andrews fdf8bb9e4e 2640. [security] A specially crafted update packet will cause named
to exit. [RT #20000]
2009-07-28 15:54:31 +00:00
Mark Andrews bd190a40a8 2640. [security] A specially crafted update packet will cause named
to exit. [RT #20000]
2009-07-28 15:45:43 +00:00
Mark Andrews 610f3aa54c placeholder 2009-07-28 13:53:48 +00:00
Automatic Updater 3daad56dbb regen 2009-07-27 01:13:17 +00:00
Evan Hunt 352f93d94a trivial doc change in ARM ("12" should have been "13") 2009-07-27 00:43:13 +00:00
Automatic Updater 963df54288 auto update 2009-07-23 23:18:42 +00:00
Mark Andrews 086467312c 2639. [bug] Silence compiler warnings in gssapi code. [RT #19954] 2009-07-21 07:29:23 +00:00
Mark Andrews 661f055cc1 update 2009-07-21 07:06:08 +00:00
Automatic Updater 3e02c9e336 regen 2009-07-21 07:02:09 +00:00
Mark Andrews d173d06cae 2639. [bug] Silence compiler warnings in gssapi code. [RT #19954] 2009-07-21 06:58:22 +00:00
Mark Andrews 6a1a8186af 2638. [bug] Silence compiler warnings in gssapi code. [RT #19954] 2009-07-21 06:53:09 +00:00
Automatic Updater 305653254a update copyright notice 2009-07-21 06:45:06 +00:00
Automatic Updater aef04be866 newcopyrights 2009-07-21 06:42:40 +00:00
Mark Andrews af84f6917c HTML -> X man.dnssec-revoke.html man.dnssec-settime.html 2009-07-21 04:14:44 +00:00
Mark Andrews a3373a86c2 2637. [func] Rationalize dnssec-signzone's signwithkey() calling.
[RT #19959]
2009-07-21 03:36:49 +00:00
Mark Andrews ca8576a564 change numbers 2009-07-21 03:30:33 +00:00
Mark Andrews 99a0cd0236 fix comment 2009-07-21 03:27:38 +00:00
Tatuya JINMEI 神明達哉 2847ddeaf1 misc. bug fixes including null pointer dereference and memory leak.
[RT #19953]

I don't update CHANGES as this code has never been publicly released.
2009-07-21 02:57:39 +00:00
Mark Andrews 97725b410a 2628. [bug] Install arpaname. [RT #19957] 2009-07-21 02:41:01 +00:00
Mark Andrews 520cea04a2 2627. [func] Rationalize dnssec-signzone's signwithkey() calling.
[RT #19959]
2009-07-21 01:22:27 +00:00
Automatic Updater fd0b768f4c regen 2009-07-21 01:13:24 +00:00
Automatic Updater 61302bdbbf update copyright notice 2009-07-20 23:47:44 +00:00
Automatic Updater ee20d30cc4 newcopyrights 2009-07-20 23:30:31 +00:00
Francis Dupont 938dfe6dcd re-indent (to be finished) 2009-07-20 12:11:58 +00:00
Francis Dupont 85f5bb5274 fix extra space after now- in now-revoked 2009-07-20 11:56:35 +00:00
Automatic Updater 590c12cfe3 man.dnssec-settime.html 2009-07-20 02:10:42 +00:00
Mark Andrews bc2a72892a char mechbuf[17] -> unsigned char mechbuf[17] 2009-07-20 01:56:05 +00:00
Mark Andrews f1de96a386 char mechbuf[17] -> unsigned char mechbuf[17] 2009-07-20 01:55:37 +00:00
Automatic Updater 52c1cac19a regen 2009-07-20 01:13:18 +00:00
Automatic Updater 26d8ffe715 update copyright notice 2009-07-19 23:47:55 +00:00
Automatic Updater 133e6d43fa newcopyrights 2009-07-19 23:30:30 +00:00
Evan Hunt f73695f9bd fix a merge error from rebasing dnssec-settime (an assignment was left in
place that was supposed to have been removed--this was already reviewed, I
just merged the fix wrong)
2009-07-19 16:11:53 +00:00
Tatuya JINMEI 神明達哉 15fcbe3917 spelling 2009-07-19 06:40:07 +00:00
Evan Hunt dba9901bb7 update cvsignore 2009-07-19 05:33:10 +00:00
Evan Hunt 2a3574f8d4 windows portability fix (review by mgraff) 2009-07-19 05:26:05 +00:00
Evan Hunt 9edd523c22 more win32 build fixes 2009-07-19 05:06:48 +00:00
Evan Hunt da520bccdd add settime project files for win32 build 2009-07-19 04:56:47 +00:00
Evan Hunt b1fa84a099 win32 build fixes 2009-07-19 04:50:15 +00:00
Automatic Updater b478865635 Prepare for 9.7.0a2 release 2009-07-19 04:29:02 +00:00
Automatic Updater 0a7ed88633 regen 2009-07-19 04:27:56 +00:00
Evan Hunt 553ead32ff 2636. [func] Simplify zone signing and key maintenance with the
dnssec-* tools.  Major changes:
			- all dnssec-* tools now take a -K option to
			  specify a directory in which key files will be
			  stored
			- DNSSEC can now store metadata indicating when
			  they are scheduled to be published, acttivated,
			  revoked or removed; these values can be set by
			  dnssec-keygen or overwritten by the new
			  dnssec-settime command
			- dnssec-signzone -S (for "smart") option reads key
			  metadata and uses it to determine automatically
			  which keys to publish to the zone, use for
			  signing, revoke, or remove from the zone
			[RT #19816]
2009-07-19 04:18:05 +00:00
Automatic Updater 8888457a85 update copyright notice 2009-07-18 23:46:53 +00:00
Automatic Updater 1726629869 newcopyrights 2009-07-18 23:30:17 +00:00
Evan Hunt 1c335ef174 2635. [bug] isc_inet_ntop() incorrectly handled 0.0/16 addresses.
[RT #19716]
2009-07-18 21:14:16 +00:00
Automatic Updater 4a979d3577 update copyright notice 2009-07-17 23:47:41 +00:00
Automatic Updater f2770f6b39 newcopyrights 2009-07-17 23:30:40 +00:00
Evan Hunt 3967528c77 2635. [bug] isc_inet_ntop() incorrectly handled 0.0/16 addresses.
[RT #19716]
2009-07-17 22:01:44 +00:00
Evan Hunt aeff7de836 2634. [port] win32: Add support for libxml2, enable
statschannel. [RT #19773]
2009-07-17 06:25:45 +00:00
Automatic Updater ae11a72378 update copyright notice 2009-07-16 23:47:55 +00:00
Automatic Updater ae0302331d update copyright notice 2009-07-16 23:46:44 +00:00
Automatic Updater ac94adf868 newcopyrights 2009-07-16 23:30:41 +00:00
Automatic Updater 87cdb1ae1b newcopyrights 2009-07-16 23:30:24 +00:00
Mark Andrews 7bc7684b3a 2633. [bug] Handle 15 bit rand() functions. [RT #19783] 2009-07-16 06:00:31 +00:00
Mark Andrews 2792e226c7 2633. [bug] Handle 15 bit rand() functions. [RT #19783] 2009-07-16 05:52:46 +00:00
Mark Andrews 5152197216 2632. [func] util/kit.sh: warn if documentation appears to be out of
date.  [RT #19922]
2009-07-16 05:33:48 +00:00
Mark Andrews 4347f7ac12 2632. [func] util/kit.sh: warn if documentation appears to be out of
date.  [RT #19922]
2009-07-16 05:29:35 +00:00
Mark Andrews ab280fdfc5 util/kit.sh 2009-07-16 05:29:05 +00:00
Automatic Updater 3fe0256d53 regen 2009-07-15 01:43:30 +00:00
Automatic Updater 3cddb2c552 regen 2009-07-15 01:13:11 +00:00
Mark Andrews fb8db7fc3f 2631. [bug] Handle "//", "/./" and "/../" in mkdirpath().
[RT #19926 ]
2009-07-15 00:36:37 +00:00
Automatic Updater 3e12c54de2 update copyright notice 2009-07-14 23:47:54 +00:00
Evan Hunt 08f860f800 2630. [func] Improved syntax for DDNS autoconfiguration: use
"update-policy local;" to switch on local DDNS in a
			zone.  [RT #19875]
2009-07-14 22:54:57 +00:00
Evan Hunt 38cd4d14cc 2629. [port] Check for seteuid()/setegid(), use setresuid()/
setresgid() if not present. [RT #19932]
2009-07-14 22:39:30 +00:00
Jeremy Reed 00f35bc78c Update grammar for sig-validity-interval in ARM to include
optional second argument.

I had noticed a few days ago that the ARM grammar for sig-validity-interval
was missing the optional second number. I saw an email again about
this today. This is for part of my RT #19931.

Not adding a CHANGES entry for this (because feature itself was
already documented.)
2009-07-14 18:08:26 +00:00
Jeremy Reed 7372696617 Few grammar fixes already done in HEAD.
Spelling fix already also done in HEAD and reported in RT #19935.
(This is v9_5.)

Note this is too minor for review or a CHANGES entry.
2009-07-14 18:01:02 +00:00
Mark Andrews a4463732ad 2628. [port] linux: Allow /var/run/named/named.pid to be opened
at startup with reduced capabilities in operation.
                        [RT #19884]
2009-07-14 05:15:00 +00:00
Automatic Updater d85c83c414 regen 2009-07-14 01:13:07 +00:00
Automatic Updater fd4dcaddae update copyright notice 2009-07-13 23:47:42 +00:00
Automatic Updater 3cc98b8ece newcopyrights 2009-07-13 23:30:31 +00:00
Automatic Updater 425682fb71 auto update 2009-07-13 23:18:04 +00:00
Evan Hunt 943cbe8ae5 2627. [bug] Named aborted if the same key was included in
trusted-keys more than once. [RT #19918]
2009-07-13 21:53:03 +00:00
Evan Hunt ef370118d5 2626. [bug] Multiple trusted-keys could trigger an assertion
failure. [RT #19914]
2009-07-13 21:49:57 +00:00
Mark Andrews 5b7525f51f 2625. [bug] Missing UNLOCK in rbtdb.c. [RT #19865] 2009-07-13 07:03:47 +00:00
Mark Andrews 3bc4221346 2624. [func] 'named-checkconf -p' will print out the parsed
configuration. [RT #18871]
2009-07-13 06:57:21 +00:00
Mark Andrews d7b3bab049 2623. [bug] Named started seaches for DS non-optimally. [RT #19915] 2009-07-13 06:33:11 +00:00
Mark Andrews 6d5852f318 2623. [bug] Named started seaches for DS non-optimally. [RT #19915] 2009-07-13 06:24:27 +00:00
Automatic Updater 0a6ae75c6c update 2009-07-13 01:32:58 +00:00
Automatic Updater 1d0484fb12 rfc4509.txt 2009-07-13 01:32:57 +00:00
cvs2git a51f68ec05 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-07-12 23:51:52 +00:00
Mark Andrews 8a655e59bc 4509: Use of SHA-256 in DNSSEC Delegation Signer (DS) Resource Records (RRs) 2009-07-12 23:51:48 +00:00
Automatic Updater 7500692933 update copyright notice 2009-07-11 23:46:45 +00:00
Automatic Updater 0d756c045d newcopyrights 2009-07-11 23:30:16 +00:00
Mark Andrews 8edb9e5da5 2920. [bug] Delay thawing the zone until the reload of it has
completed successfully.  [RT #19750]
2009-07-11 04:28:14 +00:00
Automatic Updater 9c57eb8e7e regen 2009-07-11 01:43:40 +00:00
Automatic Updater 4a14ce5ba0 regen 2009-07-11 01:12:47 +00:00
Mark Andrews 6f2500a8a4 catch errors when generating options 2009-07-11 00:14:28 +00:00
Automatic Updater b655c721b6 update copyright notice 2009-07-10 23:47:58 +00:00
Automatic Updater 0c0fae379d update copyright notice 2009-07-10 23:46:39 +00:00
Automatic Updater cff0e0b52c newcopyrights 2009-07-10 23:30:31 +00:00
Automatic Updater 5ca3b81622 newcopyrights 2009-07-10 23:30:20 +00:00
Mark Andrews 848dcebe28 regen 2009-07-10 07:49:44 +00:00
Mark Andrews 54ff69c981 catch errors when generating options 2009-07-10 07:47:46 +00:00
Mark Andrews 98e8948bd7 2622. [bug] Printing of named.conf grammar was broken. [RT #19919] 2009-07-10 07:33:21 +00:00
Tatuya JINMEI 神明達哉 474e865f32 2621. [doc] Made copyright boilterplate consistent. [RT #19833] 2009-07-10 07:23:09 +00:00
Tatuya JINMEI 神明達哉 d7d05319a6 2621. [doc] Made copyright boilterplate consistent. [RT #19833] 2009-07-10 07:22:06 +00:00
Jeremy Reed e5af5f24c7 State the default for zone-statistics (no).
Evi asked me:
> what is the default value of the zone-statistics
> option? its not listed in the ARM anywhere that i can find.

Not adding a CHANGES entry number for this minor one sentence
addition.
2009-07-10 01:22:18 +00:00
Automatic Updater 7847f8e69e auto update 2009-07-09 23:18:22 +00:00
Automatic Updater 0bddff542c newcopyrights 2009-07-08 23:30:33 +00:00
Evan Hunt 51204d6aee TYPE65535->TYPE65534 2009-07-08 21:23:36 +00:00
Automatic Updater 4ee4e2f761 auto update 2009-07-04 23:18:04 +00:00
Automatic Updater 2cbb4ab757 regen 2009-07-04 01:13:19 +00:00
Mark Andrews 8d80232e77 change number 2009-07-03 03:17:03 +00:00
Jeremy Reed 60735f8bfa Fix some misspellings. 2009-07-03 01:53:53 +00:00
Jeremy Reed 1dcf2a88ce Fix XML by closing a tag. 2009-07-03 01:45:37 +00:00
Automatic Updater c8da39c6c7 update copyright notice 2009-07-02 23:47:26 +00:00
Automatic Updater 3b6e4c84a5 newcopyrights 2009-07-02 23:30:32 +00:00
Automatic Updater 18a39213e9 auto update 2009-07-02 23:18:39 +00:00
Tatuya JINMEI 神明達哉 6493425eaa the update-policy template doesn't match the implementation. [RT #19877]
for 9.7.0a2.
2009-07-02 22:50:24 +00:00
Mark Andrews 109580e7e5 2920. [bug] Delay thawing the zone until the reload of it has
completed successfully.  [RT #19750]
2009-07-02 07:39:03 +00:00
Mark Andrews d173a072dd <xi:include href=../../bin/dnssec/dnssec-revoke.docbook/> 2009-07-02 02:19:17 +00:00
Automatic Updater c6fb85f950 update copyright notice 2009-07-01 23:47:36 +00:00
Automatic Updater dd65eb1efb newcopyrights 2009-07-01 23:30:28 +00:00
Automatic Updater b9cb51539f auto update 2009-07-01 23:19:00 +00:00
Mark Andrews c89d02f2fb README.rfc5011 2009-07-01 01:24:34 +00:00
Automatic Updater f66c8eed51 update copyright notice 2009-06-30 23:48:01 +00:00
Automatic Updater 0ae35ecf05 regen 2009-06-30 03:32:58 +00:00
Evan Hunt 1bc5499c2a dnssec-revoke docbook fix 2009-06-30 03:20:26 +00:00
Evan Hunt 6210cd4970 update 2009-06-30 02:56:09 +00:00
Evan Hunt cfb1587eb9 2619. [func] Add support for RFC 5011, automatic trust anchor
maintenance.  The new "managed-keys" statement can
			be used in place of "trusted-keys" for zones which
			support this protocol.  (Note: this syntax is
			expected to change prior to 9.7.0 final.) [RT #19248]
2009-06-30 02:53:46 +00:00
Automatic Updater d3907d27cc regen 2009-06-30 01:13:00 +00:00
Mark Andrews bf741de055 update description of 2517 2009-06-30 00:11:15 +00:00
Mark Andrews 858cc1200e update description of 2517 2009-06-30 00:10:01 +00:00
Jeremy Reed 670fa07bc8 Change a few "a" to "an". Also remove some errant "a". 2009-06-29 09:46:40 +00:00
Automatic Updater 97face2458 regen 2009-06-27 01:12:53 +00:00
Automatic Updater 6815ef40df update copyright notice 2009-06-26 23:47:58 +00:00
Automatic Updater 93d3f14511 update copyright notice 2009-06-26 23:46:40 +00:00
Automatic Updater 6d3ca68adc newcopyrights 2009-06-26 23:30:35 +00:00
Automatic Updater 6c2cdc808f newcopyrights 2009-06-26 23:30:18 +00:00
Tatuya JINMEI 神明達哉 e47809ad55 cleanup: removed redundant initialization [RT #19866] 2009-06-26 08:02:57 +00:00
Mark Andrews 6f8754d1f6 2618. [bug] The sdb and sdlz db_interator_seek() methods could
loop infinitely. [RT #19847]
2009-06-26 06:23:47 +00:00
Mark Andrews 01dbc4fc00 2618. [bug] The sdb and sdlz db_interator_seek() methods could
loop infinitely. [RT #19847]
2009-06-26 06:21:03 +00:00
Mark Andrews 1266d22581 2617. [bug] ifconfig.sh failed to emit an error message when
run from the wrong location. [RT #19375]
2009-06-26 06:17:56 +00:00
Mark Andrews 870332fb6d 2617. [bug] ifconfig.sh failed to emit an error message when
run from the wrong location. [RT #19375]
2009-06-26 06:08:40 +00:00
Evan Hunt a97e51e5e2 change 9.6 to 9.7 in "scope of document" section 2009-06-26 04:05:01 +00:00
Automatic Updater eddfb6120c update copyright notice 2009-06-25 23:48:02 +00:00
Automatic Updater bcb4e7756a update copyright notice 2009-06-25 23:46:43 +00:00
Automatic Updater 78bc8fdc24 newcopyrights 2009-06-25 23:30:30 +00:00
Automatic Updater dda83d4a02 newcopyrights 2009-06-25 23:30:15 +00:00
Evan Hunt de679d396e Fix install rule for bind.keys 2009-06-25 17:06:42 +00:00
Mark Andrews 1953233d8f Editorial nits. [RT #19815] 2009-06-25 05:33:17 +00:00
Mark Andrews 371642de8b update description 2009-06-25 05:32:48 +00:00
Mark Andrews 86739ab72c Editorial nits. [RT #19815] 2009-06-25 05:28:34 +00:00
Mark Andrews 25bad13b4c update description 2009-06-24 03:47:28 +00:00
Mark Andrews 6d01ae150c 2616. [bug] The nameserver argument to 'host' was being ignored.
[RT #19852]
2009-06-24 03:42:32 +00:00
Mark Andrews d8f118f4a0 2616. [bug] The nameserver argument to 'host' was being ignored.
[RT #19852]
2009-06-24 02:51:29 +00:00
Mark Andrews 24518feffa 2615. [bug] "__attribute__((unused))" was in the wrong place
for ia64 gcc builds. [RT #19854]
2009-06-24 02:23:27 +00:00
Mark Andrews 76110b31fe 2615. [bug] "__attribute__((unused))" was in the wrong place
for ia64 gcc builds. [RT #19854]
2009-06-24 02:22:50 +00:00
Mark Andrews 3eb87d8319 change number 2009-06-24 02:12:49 +00:00
Mark Andrews 8777696411 change number 2009-06-24 02:11:59 +00:00
Mark Andrews ce773a54f9 missing unsigned 2009-06-24 01:27:06 +00:00
Automatic Updater 0382130cdc update copyright notice 2009-06-23 23:47:44 +00:00
Automatic Updater 38f5a45b3e update copyright notice 2009-06-23 23:46:35 +00:00
Automatic Updater 361bec4bde newcopyrights 2009-06-23 23:30:37 +00:00
Automatic Updater 2121318857 newcopyrights 2009-06-23 23:30:20 +00:00
Mark Andrews 93a7b94184 2615. [port] win32: 'named -v' should automatically be executed
in the foreground. [RT #19844]
2009-06-23 07:51:49 +00:00
Mark Andrews 0f00ee4327 2615. [port] win32: 'named -v' should automatically be executed
in the foreground. [RT #19844]
2009-06-23 07:43:48 +00:00
Mark Andrews f7b683b054 2615. [port] win32: 'named -v' should automatically be executed
in the foreground. [RT #19844]
2009-06-23 07:34:39 +00:00
Automatic Updater a782b7f08a update copyright notice 2009-06-22 23:47:53 +00:00
Automatic Updater c3ef5f41a7 update copyright notice 2009-06-22 23:46:43 +00:00
Automatic Updater 72628f51c7 newcopyrights 2009-06-22 23:30:32 +00:00
Automatic Updater ead8a1183c newcopyrights 2009-06-22 23:30:17 +00:00
Mark Andrews 2bf1ef20fc update 2009-06-22 02:09:08 +00:00
Mark Andrews 416f38d033 update 2009-06-22 02:02:50 +00:00
Mark Andrews 420e099c2f update 2009-06-22 01:59:30 +00:00
Evan Hunt 8605599cbd corrected supported windows OS's 2009-06-22 01:47:42 +00:00
Evan Hunt c907893aaf corrected version number and supported windows OS's 2009-06-22 01:47:00 +00:00
Automatic Updater 06d5197518 auto update 2009-06-19 23:18:39 +00:00
Mark Andrews eabc9c3c07 preserve rndcconfgen.* history 2009-06-19 01:58:37 +00:00
Mark Andrews a7c1e824b8 cleanup 2009-06-19 01:55:09 +00:00
Automatic Updater cdfc81e048 newcopyrights 2009-06-18 23:30:24 +00:00
Automatic Updater 9d8ff70bf7 auto update 2009-06-18 23:18:36 +00:00
Evan Hunt 31a6411712 - fix windows build of ddns-confgen
- fix unix build of arpaname
2009-06-18 16:02:25 +00:00
Mark Andrews 8dec76d68b file confgentool.h was initially added on branch marka_970. 2009-06-18 03:14:27 +00:00
Mark Andrews 23a426bc56 file confgentool.c was initially added on branch marka_970. 2009-06-18 03:14:26 +00:00
Automatic Updater 80383d0360 regen 2009-06-18 01:13:02 +00:00
Mark Andrews 53b3182afa add more dependancies 2009-06-18 00:38:39 +00:00
Automatic Updater dde8659175 update copyright notice 2009-06-17 23:53:04 +00:00
Tatuya JINMEI 神明達哉 95f999508b placeholder for rt#19828 (not necessary for the head) 2009-06-17 23:40:32 +00:00
Automatic Updater 9174e44c14 newcopyrights 2009-06-17 23:35:21 +00:00
Automatic Updater ca67ebfe9e regen 2009-06-17 23:12:09 +00:00
Evan Hunt 13f7f63deb windows build fixes 2009-06-17 20:21:50 +00:00
Tatuya JINMEI 神明達哉 90ca8e224d an editorial nit for the usage() 2009-06-17 19:18:37 +00:00
Evan Hunt 245b4fe655 changes needed for windows build 2009-06-17 07:55:59 +00:00
Evan Hunt 207d8962fa Update for 9.7.0a1 release 2009-06-17 07:06:47 +00:00
Evan Hunt e60076cb25 Change "dynamic" to "ddns-autoconf" (forgot to do this in the ticket,
see 19284)
2009-06-17 07:02:45 +00:00
Evan Hunt b272d38cc5 2612. [func] Add default values for the arguments to
dnssec-keygen.  Without arguments, it will now
			generate a 1024-bit RSASHA1 zone-signing key,
			or with the -f KSK option, a 2048-bit RSASHA1
			key-signing key. [RT #19300]

2611.	[func]		Add -l option to dnssec-dsfromkey to generate
			DLV records instead of DS records. [RT #19300]
2009-06-17 06:51:44 +00:00
Mark Andrews b577875266 missing line breaks 2009-06-17 04:29:43 +00:00
Automatic Updater 7ae7246a63 regen 2009-06-17 01:12:48 +00:00
Tatuya JINMEI 神明達哉 45d4d69a8d minor additional improvements to ddns-confgen (see rt#19825) 2009-06-16 22:36:53 +00:00
Automatic Updater 2f17cfb4e0 update 2009-06-16 01:32:52 +00:00
Automatic Updater 443f12f2ac rfc4892.txt 2009-06-16 01:32:50 +00:00
Automatic Updater 9210d8796e regen 2009-06-16 01:12:45 +00:00
Automatic Updater bfeb2af9cf update copyright notice 2009-06-15 23:47:59 +00:00
Automatic Updater 2d2dc37599 newcopyrights 2009-06-15 23:30:30 +00:00
Evan Hunt aa9c561961 update with ddns-confgen files 2009-06-15 19:51:20 +00:00
cvs2git dd6909d9a4 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-06-15 01:58:27 +00:00
Mark Andrews f7ba2cb042 4892: Requirements for a Mechanism Identifying a Name Server Instance 2009-06-15 01:58:23 +00:00
Automatic Updater 75fa8d3861 update copyright notice 2009-06-12 23:47:42 +00:00
Automatic Updater e2caa75363 newcopyrights 2009-06-12 23:30:30 +00:00
Automatic Updater 1910b2f535 auto update 2009-06-12 23:18:05 +00:00
Mark Andrews 3c97b9745c don't hard code the current year 2009-06-12 04:07:43 +00:00
Mark Andrews 7877ad5db2 don't hard code the current year 2009-06-12 04:04:38 +00:00
Automatic Updater 9b469e3c59 regen 2009-06-12 02:48:00 +00:00
Evan Hunt 76786c2904 - assorted changes needed for windows build
- began versioning for 9.7.0a1
2009-06-12 02:33:21 +00:00
Automatic Updater 156d095d86 regen 2009-06-12 01:12:50 +00:00
Automatic Updater 754cb8a2b3 update copyright notice 2009-06-11 23:47:56 +00:00
Automatic Updater b2db28e57c update copyright notice 2009-06-11 23:46:36 +00:00
Automatic Updater d8a205c241 newcopyrights 2009-06-11 23:30:18 +00:00
Tatuya JINMEI 神明達哉 6a122cef16 missing break in a case block (rt#19812) 2009-06-11 20:01:22 +00:00
Mark Andrews 173ea93388 .mak -> X 2009-06-11 01:31:49 +00:00
Mark Andrews f65a7c1a07 showsearh -> showsearch 2009-06-11 01:26:19 +00:00
Mark Andrews e8a534049c showsearh -> showsearch 2009-06-11 01:21:03 +00:00
Automatic Updater 8655537825 regen 2009-06-11 01:12:49 +00:00
Automatic Updater 9513a2a667 newcopyrights 2009-06-10 23:56:29 +00:00
Mark Andrews b616f6ed69 add .mak to list of extensions to be X'd 2009-06-10 23:52:44 +00:00
Automatic Updater b6306ef56e update copyright notice 2009-06-10 23:47:47 +00:00
Evan Hunt 18ad4708eb commit windows build changes needed for DDNS patch 2009-06-10 23:36:57 +00:00
Automatic Updater 8b6f093b0a auto update 2009-06-10 23:17:24 +00:00
Mark Andrews 63f55865df 2610. [port] sunos: Change #2363 was not complete. [RT #19796] 2009-06-10 02:27:00 +00:00
Mark Andrews f4ea363e3a 2610. [port] sunos: Change #2363 was not complete. [RT #19796] 2009-06-10 02:23:42 +00:00
Evan Hunt 8c091f4733 add #include <isc/print.h> 2009-06-10 01:44:53 +00:00
Automatic Updater 852ccdd42a regen 2009-06-10 01:12:51 +00:00
Evan Hunt 68d766400e added .cvsignore files 2009-06-10 00:56:15 +00:00
Evan Hunt f8c3dfee69 added missing file 2009-06-10 00:55:02 +00:00
Evan Hunt 2004ccf6bf update configure 2009-06-10 00:46:11 +00:00
Evan Hunt 351b62535d 2609. [func] Simplify the configuration of dynamic zones:
- add ddns-confgen command to generate
			  configuration text for named.conf
			- add zone option "ddns-autoconf yes;", which
			  causes named to generate a TSIG session key
			  and allow updates to the zone using that key
			- add '-l' (localhost) option to nsupdate, which
			  causes nsupdate to connect to a locally-running
			  named process using the session key generated
			  by named
			[RT #19284]
2009-06-10 00:27:22 +00:00
Mark Andrews afbe695de3 "got insecure response; parent indicates it should be secure" wrongly emitted [RT #19800] 2009-06-09 22:57:09 +00:00
Mark Andrews 996b4d8982 fix bad test to determine if both ksk's and zsk's are present. [RT #19802] 2009-06-09 22:54:21 +00:00
Automatic Updater d29d33390a auto update 2009-06-08 23:18:10 +00:00
Automatic Updater 1c51f79aba regen 2009-06-06 01:12:32 +00:00
Jeremy Reed 6a550cb83c Please bump date on manpage. So we know we aren't using 2000 docs.
For -P: clean up sentence and clarify that the option skips the tests.

(This is for RT19653. No CHANGES entry added for this minor fix.)
2009-06-05 21:59:43 +00:00
Evan Hunt e8c7dc2a5c X out bind.keys.h so it doesn't get a copyright message 2009-06-05 16:34:42 +00:00
Mark Andrews 988023d8bc missing unsigned 2009-06-05 06:59:03 +00:00
Automatic Updater 6283056805 regen 2009-06-05 01:12:33 +00:00
Automatic Updater 9f4702d025 update copyright notice 2009-06-04 23:47:53 +00:00
Mark Andrews 3d785d7666 dns_dnssec_selfsigns 2009-06-04 04:58:10 +00:00
Mark Andrews 97573334cb fix up bad merge 2009-06-04 04:33:11 +00:00
Automatic Updater 39844d4710 update copyright notice 2009-06-04 02:56:47 +00:00
Automatic Updater ae7e54b14c newcopyrights 2009-06-04 02:50:55 +00:00
Mark Andrews 5d3cf2f323 update 2009-06-04 02:50:15 +00:00
Mark Andrews 2534a73a59 2608. [func] Perform post signing verification checks in
dnssec-signzone.  These can be disabled with -P.

                        The post sign verification test ensures that for each
                        algorithm in use there is at least one non revoked
                        self signed KSK key.  That all revoked KSK keys are
                        self signed.  That all records in the zone are signed
                        by the algorithm.  [RT #19653]
2009-06-04 02:13:37 +00:00
Mark Andrews f05a6b110f 2607. [bug] named could incorrectly delete NSEC3 records for
empty nodes when processing a update request.
                        [RT #19749]
2009-06-04 01:43:41 +00:00
Automatic Updater aae46ae27b auto update 2009-06-03 23:18:26 +00:00
Mark Andrews 71044767d5 2606. [bug] "delegation-only" was not being accepted in
delegation-only type zones. [RT #19717]
2009-06-03 07:08:20 +00:00
Automatic Updater d90f03a6ac regen 2009-06-03 01:43:35 +00:00
Automatic Updater 38760f5b07 regen 2009-06-03 01:13:13 +00:00
Mark Andrews 0bc3af9834 2606. [bug] "delegation-only" was not being accepted in
delegation-only type zones. [RT #19717]
2009-06-03 00:04:38 +00:00
Automatic Updater dc0c165ce3 update copyright notice 2009-06-02 23:47:50 +00:00
Automatic Updater 29d84c4544 update copyright notice 2009-06-02 23:46:44 +00:00
Mark Andrews f6eb52ac40 2605. [bug] Accept DS responses from delegation only zones.
[RT # 19296]
2009-06-02 06:00:40 +00:00
Mark Andrews 5422cf284f 2605. [bug] Accept DS responses from delegation only zones.
[RT # 19296]
2009-06-02 05:51:44 +00:00
Automatic Updater afb33f777a regen 2009-05-30 01:13:58 +00:00
Automatic Updater e6ada020f5 update copyright notice 2009-05-29 23:47:49 +00:00
Automatic Updater 6de27e27ad newcopyrights 2009-05-29 23:30:35 +00:00
Automatic Updater 10e31e1ace newcopyrights 2009-05-29 23:30:19 +00:00
Tatuya JINMEI 神明達哉 40d0f115a6 2604. [func] Add support for DNS rebinding attack prevention through
new options, deny-answer-addresses and
			deny-answer-aliases.  Based on contributed code from
			JD Nurmi, Google. [RT #18192]
2009-05-29 22:22:37 +00:00
Mark Andrews a3290f6c8b 2603. [port] win32: handle .exe extension of named-checkzone and
named-comilezone argv[0] names under windows.
                        [RT #19767]
2009-05-29 02:18:32 +00:00
Mark Andrews fc7ecc628d 2603. [port] win32: handle .exe extension of named-checkzone and
named-comilezone argv[0] names under windows.
                        [RT #19767]
2009-05-29 02:14:31 +00:00
Mark Andrews 641e328cfd 2602. [port] win32: fix debugging command line build of libisccfg.
[RT #19767]
2009-05-29 01:37:47 +00:00
Mark Andrews 7be6336565 2602. [port] win32: fix debugging command line build of libisccfg.
[RT #19767]
2009-05-29 01:16:31 +00:00
Automatic Updater a9a054302d regen 2009-05-22 01:14:49 +00:00
Automatic Updater bbe20aa62c update copyright notice 2009-05-21 23:47:28 +00:00
Automatic Updater f7c88d61cc newcopyrights 2009-05-21 23:30:29 +00:00
Jeremy Reed 5d924e398e 2601. [doc] Mention file creation mode mask in the
named manual page.

Similar to what is also in the migration document.
Also see Support ticket 862.
2009-05-21 19:54:28 +00:00
Automatic Updater ac93437301 regen 2009-05-15 01:15:47 +00:00
Jeremy Reed ed0e837058 Fix example output and tables that disappear into right margin in
section 6.2.10.3 The query-errors Category on PDF page 44.

For example output added newlines and replaced <computeroutput>
with <programlisting>.

For query-errors table, used hardcoded column widths as used
elsewhere in the ARM.

This is a continuation of CHANGE 2600 [RT #19574].
2009-05-14 20:46:04 +00:00
Jeremy Reed 6c3c79e491 2600. [doc] ARM: miscellaneous reformatting for different
page widths. [RT #19574]

Split comments to multiple lines or move comments to own lines for
example.

Some fixed width examples are too wide for my printed page, so fixed

Splits many programlisting's to multiple lines.
Some move comments to above and some merge some comments.

Note that this patch covers configuration examples and also the "Grammar".

Also while here fix docbook formatting for a Not Implemented
check-names (but still that is too wide so I need to change).  And
also the patch changes a couple tabs to spaces. And changed case of
example comments to be consistent with previous lines.

There shouldn't be any content changes here.

This doesn't complete this PR.
Even this patch, the official ARM PDF has other text that disappears
into the right margin. So still working on this.
2009-05-14 20:24:14 +00:00
Automatic Updater cc5f9fe224 update copyright notice 2009-05-11 02:38:35 +00:00
Automatic Updater 2fb6c5e6ce update copyright notice 2009-05-11 02:37:36 +00:00
Mark Andrews 8a805c9f41 spelling 2009-05-11 02:30:07 +00:00
Mark Andrews bde3f64286 spelling 2009-05-11 02:29:53 +00:00
Mark Andrews 7070efbd61 2599. [bug] Address rapid memory growth when validation fails.
[RT #19654]
2009-05-11 02:27:26 +00:00
Mark Andrews 4c2ed3d141 2599. [bug] Address rapid memory growth when validation fails.
[RT #19654]
2009-05-11 02:22:03 +00:00
Mark Andrews 4bb70681e0 new draft 2009-05-09 00:35:19 +00:00
Automatic Updater 54cdd2b307 update copyright notice 2009-05-07 23:47:44 +00:00
Automatic Updater d09e8b0154 update copyright notice 2009-05-07 23:46:32 +00:00
Automatic Updater 5236788545 newcopyrights 2009-05-07 23:30:35 +00:00
Automatic Updater cf532dff4f newcopyrights 2009-05-07 23:30:19 +00:00
Automatic Updater f5cd704007 auto update 2009-05-07 23:18:11 +00:00
Francis Dupont ff380b05fe comment fixes (rt19624) 2009-05-07 09:41:23 +00:00
Francis Dupont ddac1a2b98 reserve -F 2009-05-07 09:33:52 +00:00
Mark Andrews e7eede965d 2597. [bug] Handle a validation failure with a insecure delegation
from a NSEC3 signed master/slave zone.  [RT #19464]
2009-05-07 02:34:19 +00:00
Automatic Updater 7a272c6b0d update copyright notice 2009-05-06 23:47:50 +00:00
Automatic Updater d7f630bb00 update copyright notice 2009-05-06 23:46:49 +00:00
Tatuya JINMEI 神明達哉 05eae05c7a back out an irrelevant diff (sorry) 2009-05-06 23:38:35 +00:00
Tatuya JINMEI 神明達哉 a6aa668679 2596. [bug] Stale tree nodes of cache/dynamic rbtdb could stay
long, leading to inefficient memory usage or rejecting
			newer cache entries in the worst case. [RT #19563]
2009-05-06 23:34:48 +00:00
Automatic Updater db5b7e2cdf newcopyrights 2009-05-06 23:30:32 +00:00
Automatic Updater bc98fc09f3 newcopyrights 2009-05-06 23:30:22 +00:00
Automatic Updater c8a40c1936 auto update 2009-05-06 23:18:13 +00:00
Tatuya JINMEI 神明達哉 5d7849ad7f 2596. [bug] Stale tree nodes of cache/dynamic rbtdb could stay
long, leading to inefficient memory usage or rejecting
			newer cache entries in the worst case. [RT #19563]
2009-05-06 22:53:54 +00:00
Francis Dupont a2af528ff3 add isc/print.h 2009-05-06 11:42:36 +00:00
Francis Dupont 0e77d33686 add isc/print.h 2009-05-06 11:41:07 +00:00
Francis Dupont e57c75209a Fix unknown extended rcodes in dig 2009-05-06 10:19:49 +00:00
Francis Dupont d302a620e0 Fix unknown extended rcodes in dig 2009-05-06 10:16:32 +00:00
Jeremy Reed 708ebf710e Wrap long line (I added). 2009-05-04 17:57:59 +00:00
Jeremy Reed 4144efb390 2594. [func] Have rndc warn if using its default configuration file
when the key file also exists. [RT #19424]
2009-05-04 17:38:56 +00:00
Automatic Updater 092d8d701d auto update 2009-05-01 23:18:57 +00:00
Automatic Updater d37010c7a7 update 2009-05-01 01:37:17 +00:00
Automatic Updater 28efca5b53 rfc5507.txt 2009-05-01 01:37:16 +00:00
Francis Dupont cc620f9fdb Improve a corner source of SERVFAILs [RT #19632] 2009-04-30 11:45:10 +00:00
Mark Andrews 60d5d1309c 2592. [bug] Treat "any" as a type in nsupdate. [RT #19455] 2009-04-30 07:12:15 +00:00
Mark Andrews 3836f447ee 2592. [bug] Treat "any" as a type in nsupdate. [RT #19455] 2009-04-30 07:10:09 +00:00
Mark Andrews 82dc7bcbee 2591. [bug] named could die when processing a update in
removed_orphaned_ds(). [RT #19507]
2009-04-30 07:01:21 +00:00
Mark Andrews 47323be2af 2591. [bug] named could die when processing a update in
removed_orphaned_ds(). [RT #19507]
2009-04-30 06:59:11 +00:00
Mark Andrews b770eae51e s/diff/update/ 2009-04-30 06:55:33 +00:00
Mark Andrews d2c115f913 2590. [func] Report zone/class of "diff with no effect". [RT #19542] 2009-04-30 06:53:10 +00:00
Automatic Updater 542b74bec7 update copyright notice 2009-04-29 23:48:02 +00:00
Automatic Updater 50e71de901 update copyright notice 2009-04-29 23:46:55 +00:00
Automatic Updater e36b9ac8fd newcopyrights 2009-04-29 23:30:59 +00:00
Automatic Updater 029e90b3ff newcopyrights 2009-04-29 23:30:34 +00:00
Mark Andrews f432e672b8 2589. [bug] dns_db_unregister() failed to clear '*dbimp'.
[RT #19626]
2009-04-29 22:22:32 +00:00
Mark Andrews f030c71500 2589. [bug] dns_db_unregister() failed to clear '*dbimp'.
[RT #19626]
2009-04-29 22:11:34 +00:00
Mark Andrews 14f5485d1d new draft 2009-04-29 07:09:04 +00:00
cvs2git 666500d840 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-04-29 04:10:40 +00:00
Mark Andrews a8a268bb81 new draft 2009-04-29 04:10:36 +00:00
Mark Andrews 1e18f761a7 5507: Design Choices When Expanding the DNS 2009-04-29 03:16:05 +00:00
Automatic Updater d76bbb6c40 update copyright notice 2009-04-28 23:48:01 +00:00
Automatic Updater bfaea70e56 update copyright notice 2009-04-28 23:46:43 +00:00
Automatic Updater 8a56b144c4 newcopyrights 2009-04-28 23:30:15 +00:00
Tatuya JINMEI 神明達哉 821f19dd42 (forgot to commit)
2586.	[bug]		Missing cleanup of SIG rdataset in searching a DLZ DB
			or SDB. [RT #19577]
2009-04-28 21:41:54 +00:00
Tatuya JINMEI 神明達哉 089f456eb3 2588. [bug] SO_REUSEADDR could be set unconditionally after failure
of bind(2) call.  This should be rare and mostly
			harmless, but may cause interference with other
			processes that happen to use the same port. [RT #19642]
2009-04-28 21:39:00 +00:00
Jeremy Reed f20f19de19 2587. [func] Improve logging by reporting serial numbers for
when zone serial has gone backwards or unchanged.
			[RT #19506]
2009-04-28 12:48:35 +00:00
Automatic Updater b7296c802f auto update 2009-04-24 23:18:01 +00:00
Automatic Updater ab381c1e22 update copyright notice 2009-04-21 23:48:04 +00:00
Automatic Updater 9f4f6472f9 newcopyrights 2009-04-21 23:30:34 +00:00
Tatuya JINMEI 神明達哉 b1b0dca146 2586. [bug] Missing cleanup of SIG rdataset in searching a DLZ DB
or SDB. [RT #19577]
2009-04-21 00:41:02 +00:00
Tatuya JINMEI 神明達哉 29ef15495a 2585. [bug] Uninitialized socket name could be referenced via a
statistics channel, triggering an assertion failure in
			XML rendering. [RT #19427]
2009-04-18 01:30:34 +00:00
Tatuya JINMEI 神明達哉 cda7c783c3 2585. [bug] Uninitialized socket name could be referenced via a
statistics channel, triggering an assertion failure in
			XML rendering. [RT #19427]
2009-04-18 01:28:17 +00:00
Automatic Updater 65e9adc0e8 regen 2009-04-17 01:12:43 +00:00
Jeremy Reed 7f69908ff8 Further explain "mismatch" counter
per support ticket 2449.
2009-04-16 18:05:30 +00:00
Automatic Updater f60f4a412c auto update 2009-04-11 23:18:31 +00:00
Mark Andrews b5c6266263 new draft 2009-04-09 06:37:10 +00:00
Automatic Updater 8ee776c51b regen 2009-04-09 01:12:31 +00:00
Jeremy Reed a9f215a87e Replace some tabs with spaces within a <programlisting> output.
No change in our generated files, but makes a difference with dblatex.
2009-04-08 20:06:06 +00:00
Automatic Updater cc0f37ba17 update copyright notice 2009-04-08 06:48:23 +00:00
Automatic Updater 9b5c101b39 update copyright notice 2009-04-08 06:47:03 +00:00
Automatic Updater 603cf17f33 newcopyrights 2009-04-08 06:44:48 +00:00
Automatic Updater 94b19a8e7c newcopyrights 2009-04-08 06:44:31 +00:00
Tatuya JINMEI 神明達哉 688cbcdf8d 2584. [bug] alpha: gcc optimization could break atomic operations.
[RT #19227]
2009-04-08 05:49:16 +00:00
Tatuya JINMEI 神明達哉 af2e2f5ed7 2584. [bug] alpha: gcc optimization could break atomic operations.
[RT #19227]
2009-04-08 05:46:22 +00:00
Tatuya JINMEI 神明達哉 1ffa559d2b wording fix for cpp error message (rt #19569) 2009-04-07 02:50:37 +00:00
Tatuya JINMEI 神明達哉 3dc1cb7e96 wording fix for cpp error message (rt #19569) 2009-04-07 02:49:37 +00:00
Mark Andrews 142c06266e 2583. [port] netbsd: provide a control to not add the compile
date to the version string, -DNO_VERSION_DATE.
2009-04-03 20:18:26 +00:00
Mark Andrews b9636a8e43 2583. [port] netbsd: provide a control to not add the compile
date to the version string, -DNO_VERSION_DATE.
2009-04-03 19:55:59 +00:00
Automatic Updater 978f35dd4c regen 2009-04-03 03:32:58 +00:00
Mark Andrews 36271b68ab removed extraneous 'd' 2009-04-03 02:05:31 +00:00
Automatic Updater 314b6f2402 update copyright notice 2009-04-02 23:46:45 +00:00
Jeremy Reed 00c8156b24 Update my 2562 doc ARM entry. 2009-04-02 15:44:20 +00:00
Jeremy Reed c0ecdf89fb Say chapter instead of section when referring to chapter.
(No structure change here.)

(Note that the "Organization of This Document" is somewhat wrong,
but I am not fixing this yet as I have to consider my restructuring
ideas for ARM first.)
2009-04-02 15:30:54 +00:00
Jeremy Reed af07ac8186 Many minor changes:
Add formatting tags around syntax that was missing. Be consistent.

Remove a few paragraph breaks before "For example:".

Fix typo "will will".

Change description of pid-file to not mislead (since other programs
don't parse named.conf to figure out the PID file :)
(I had to manually edit this as my patch from HEAD didn't apply here
in v9_5.)

Remove some unneeded commas.

Minor grammar fixes.

Clarify edns-udp-size to say "... to control the size of packets received."
Reformatted that paragragh too (in docbook, not rendered version.
(TODO: cross-reference these descriptions.)

Hyphenate "built-in" to be consistent.

Remove space in "100000" (for style). (Some use space, period, comma
for thousands.)

Capitalize TTL in one place.

Say that the -t option is "for named". (Reformat that paragraph in
docbook while here.)

named is in /usr/local/sbin not /usr/local/bin for example.

BIND 8 is deprecated. Don't publicly say we do security-related patches
for BIND 4 or BIND 8.

(Note I have many, many more improvements to do. Trying to catch up on
all my uncommitted fixes some dating back to 2007. I originally
planned to not backport these from HEAD to v9_6, v9_5, and v9_4,
but now I am doing that.)
2009-04-02 15:21:32 +00:00
Jeremy Reed 312bb5110c Use <command> tag for some more commands. Most already had this.
So be consistent.
Add formatting for a configuration option.
Add formatting for a filename.
Uppercase "DNSSEC" in a couple places.
syslog "logs" (not "prints").
Also add formatting for some command line options. (NOTE: this is not
consistent yet, as some use <command> and some use <option> -- need
to define this in a style guide.)
2009-04-02 15:13:31 +00:00
Jeremy Reed 1a3bbaa346 2562. [doc] ARM: miscellaneous improvements, reorganization,
and some new content.

This CHANGES entry is for various work I did in late February
in HEAD, now pulling into v9_4, v9_5, v9_6.
2009-04-02 14:53:17 +00:00
Jeremy Reed eaac9c2bb7 Also mention in the first definition of options also-notify about
the optional "port".
(Note that this was still covered in the later zone description.
There is some overlap here.)
2009-04-02 14:46:34 +00:00
Jeremy Reed 6ad05384d9 Move statistics-channels in table and also move the grammar and
definition sections.  This is just to be in alphabetical order
(was: ..., masters,  options, statistics-channels, server,
trusted-keys, ...).  No content changes.

Note that the indention doesn't match up, but that was wrong before
my commit here.
2009-04-02 14:23:29 +00:00
Jeremy Reed ca364d1057 Add space between RFC and number. This is to be consistent.
This same sentence did it two different ways!

(I will later fix the rest per my old ticket #16942.)
2009-04-02 14:18:38 +00:00
Mark Andrews 784d4017da new draft 2009-03-30 21:41:19 +00:00
Automatic Updater f36bdaf5a7 newcopyrights 2009-03-26 23:30:36 +00:00
Automatic Updater 11fb2a3ad0 newcopyrights 2009-03-26 23:30:20 +00:00
Mark Andrews 8e56af65e3 2582. [bug] Don't emit warning log message when we attempt to
remove non-existant journal. [RT #19516]
2009-03-26 22:59:15 +00:00
Mark Andrews 64e161a7f7 2582. [bug] Don't emit warning log message when we attempt to
remove non-existant journal. [RT #19516]
2009-03-26 22:51:54 +00:00
Mark Andrews cc59ed5719 2581. [contrib] dlz/mysql set MYSQL_OPT_RECONNECT option on connection.
Requires MySQL 5.0.19 or later. [RT #19084]
2009-03-26 17:53:23 +00:00
Mark Andrews 9384dc16a1 2581. [contrib] dlz/mysql set MYSQL_OPT_RECONNECT option on connection.
Requires MySQL 5.0.19 or later. [RT #19084]
2009-03-26 17:40:15 +00:00
Automatic Updater cbf7f1435f regen 2009-03-24 01:12:41 +00:00
Evan Hunt 6b9728dde7 ARM and log message changes to clarify "insecure response". [rt19400] 2009-03-23 22:30:57 +00:00
Evan Hunt 8c5482b3ea Corrected install rule to install arpaname.1 not arpaname.8 2009-03-23 21:59:56 +00:00
Mark Andrews a2b615f7e8 new draft 2009-03-23 14:45:35 +00:00
Tatuya JINMEI 神明達哉 0d4a9d665c 2580. [bug] UpdateRej statistics counter could be incremented twice
for one rejection. [RT #19476]
2009-03-18 22:17:54 +00:00
Tatuya JINMEI 神明達哉 3af7cd2661 2580. [bug] UpdateRej statistics counter could be incremented twice
for one rejection. [RT #19476]
2009-03-18 22:17:24 +00:00
Automatic Updater 8e3d340655 update copyright notice 2009-03-17 23:48:02 +00:00
Automatic Updater e6ad8900f9 update copyright notice 2009-03-17 23:46:41 +00:00
Mark Andrews f2e6839b8a mis-aplied hunk 2009-03-17 02:09:44 +00:00
Mark Andrews 72dbc7216a 2579. [bug] DNSSEC lookaside validation failed to handle unknown
algorithms. [RT #19479]
2009-03-17 01:34:28 +00:00
Mark Andrews 8d64734402 2579. [bug] DNSSEC lookaside validation failed to handle unknown
algorithms. [RT #19479]
2009-03-17 01:24:23 +00:00
Evan Hunt ca23cf7e28 2578. [bug] Changed default sig-signing-type to 65534, because
65535 turns out to be reserved.  [RT #19477]
2009-03-16 23:41:21 +00:00
Automatic Updater 8257edf5c4 regen 2009-03-14 01:42:48 +00:00
Automatic Updater ea21c734ff regen 2009-03-14 01:12:26 +00:00
Tatuya JINMEI 神明達哉 fef147679a 2577. [doc] Clarified some statistics counters. [RT #19454] 2009-03-13 01:53:07 +00:00
Tatuya JINMEI 神明達哉 a142972ea9 2577. [doc] Clarified some statistics counters. [RT #19454] 2009-03-13 01:51:50 +00:00
Mark Andrews d0e7c8712f RET -> RT 2009-03-13 01:36:07 +00:00
Mark Andrews 56708c6fb4 2576. [bug] NSEC record were not being correctly signed when
a zone transitions from insecure to secure.
                        Handle such incorrectly signed zones. [RET #19114]
2009-03-13 01:35:18 +00:00
Automatic Updater 74f4bfde4a update copyright notice 2009-03-11 23:47:35 +00:00
Automatic Updater b1dc6282fe newcopyrights 2009-03-11 23:30:33 +00:00
Evan Hunt 3f8be559f0 2575. [func] New functions dns_name_fromstring() and
dns_name_tostring(), to simplify conversion
			of a string to a dns_name structure and vice
			versa. [RT #19451]
2009-03-11 07:02:34 +00:00
Automatic Updater ed4475f3f5 regen 2009-03-10 01:12:31 +00:00
Mark Andrews b98225ff8a 2574. [doc] Document nsupdate -g and -o. [RT #19351] 2009-03-09 04:18:51 +00:00
Automatic Updater 2919fef5d1 update copyright notice 2009-03-07 23:47:45 +00:00
Automatic Updater 510f19039b newcopyrights 2009-03-07 23:30:32 +00:00
Mark Andrews cab3e375b7 nsec3hash journalprint genrandom 2009-03-07 00:39:35 +00:00
Automatic Updater 8ba94ff0c4 newcopyrights 2009-03-06 23:30:30 +00:00
Automatic Updater ca53bed82c regen 2009-03-06 01:41:29 +00:00
Automatic Updater 7a7a44400d regen 2009-03-06 01:12:33 +00:00
Mark Andrews 62ac086e89 genrandom.c journalprint.c nsec3hash.c 2009-03-06 00:08:46 +00:00
Automatic Updater 2464bd58eb update copyright notice 2009-03-05 23:47:36 +00:00
Automatic Updater 2fdd48927c update copyright notice 2009-03-05 23:46:34 +00:00
Automatic Updater 0df8ead472 newcopyrights 2009-03-05 23:30:30 +00:00
Automatic Updater ba0b088a27 newcopyrights 2009-03-05 23:30:15 +00:00
Automatic Updater f3627d1297 auto update 2009-03-05 23:18:00 +00:00
Mark Andrews a6d93d26f9 2573. [bug] Replacing a non-CNAME record with a CNAME record in a
single transaction in a signed zone failed. [RT #19397]
2009-03-05 05:00:13 +00:00
Mark Andrews e422b84c73 2573. [bug] Replacing a non-CNAME record with a CNAME record in a
single transaction in a signed zone failed. [RT #19397]
2009-03-05 04:54:33 +00:00
Mark Andrews 29bc980c42 side -> string 2009-03-05 04:32:34 +00:00
Mark Andrews 3ce6daf1c0 side -> string 2009-03-05 04:30:56 +00:00
Mark Andrews a132838005 silence 'Different types treated as unsigned for >.' warnings 2009-03-05 03:45:40 +00:00
Mark Andrews f605647060 Undocumented firewall test hook. [RT #19398] 2009-03-05 03:13:55 +00:00
Mark Andrews 0072e4bb3c unbalanced tag 2009-03-05 02:09:40 +00:00
Mark Andrews 3d3088c228 add bind.keys 2009-03-04 23:59:32 +00:00
Mark Andrews 5aa85659d2 add bind.keys 2009-03-04 23:58:36 +00:00
Automatic Updater e61db954bf update copyright notice 2009-03-04 23:48:02 +00:00
Mark Andrews 1559511ada don't use a implied source in a direct rule 2009-03-04 05:48:32 +00:00
Evan Hunt a866c76a7f Added bind.keys, containing dlv.isc.org trust anchor, to source tree
for users' convenience [rt18685]
2009-03-04 02:51:37 +00:00
cvs2git 95b5dc20f1 This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-03-04 02:42:33 +00:00
Evan Hunt 3a30493983 2572. [func] Simplify DLV configuration, with a new option
"dnssec-lookaside auto;"  This is the equivalent
			of "dnssec-lookaside . trust-anchor dlv.isc.org;"
			plus setting a trusted-key for dlv.isc.org.

			Note: The trusted key is hard-coded into named,
			but is also stored in (and can be overridden
			by) $sysconfdir/bind.keys.  As the ISC DLV key
			rolls over it can be kept up to date by replacing
			the bind.keys file with a key downloaded from
			https://www.isc.org/solutions/dlv. [RT #18685]
2009-03-04 02:42:31 +00:00
Mark Andrews ffcd068f87 add config.h 2009-03-04 02:23:36 +00:00
Evan Hunt 6201345ba9 Added .cvsignore for bin/tools 2009-03-04 01:55:32 +00:00
Mark Andrews 620508359f 2571. [func] Add a new tool "arpaname" which translates IP addresses
to the corresponding IN-ADDR.ARPA or IP6.ARPA name.
                        [RT #18976]
2009-03-04 01:30:27 +00:00
Automatic Updater 919c99b7a4 regen 2009-03-04 01:12:20 +00:00
Automatic Updater cd83ba4484 update copyright notice 2009-03-03 23:48:02 +00:00
Mark Andrews b3ea72e4d1 add newline 2009-03-03 02:42:40 +00:00
Mark Andrews d36ba0f0ca 2570. [func] Log the destination address the query was sent to.
[RT #19209]
2009-03-03 01:36:17 +00:00
Automatic Updater bd537d750f regen 2009-03-03 01:12:26 +00:00
Automatic Updater 4f91bcae43 update copyright notice 2009-03-02 23:47:43 +00:00
Automatic Updater d094e4a717 update copyright notice 2009-03-02 23:46:31 +00:00
Automatic Updater 6c6a121295 newcopyrights 2009-03-02 23:30:33 +00:00
Automatic Updater 3d765a22d9 newcopyrights 2009-03-02 23:30:19 +00:00
Evan Hunt ca42dcc068 2569. [func] Move journalprint, nsec3hash, and genrandom
commands from bin/tests into bin/tools;
                        "make install" will put them in $sbindir. [RT #19301]
2009-03-02 03:54:10 +00:00
Mark Andrews dfa3ca995c 2568. [bug] Report when the write to indicate a otherwise
successful start fails. [RT #19360]
2009-03-02 03:08:22 +00:00
Mark Andrews af0729c144 2568. [bug] Report when the write to indicate a otherwise
successful start fails. [RT #19360]
2009-03-02 03:07:05 +00:00
Mark Andrews 98b2be76fc 2567. [bug] dst__privstruct_writefile() could miss write errors.
write_public_key() could miss write errors.
                        dnssec-dsfromkey could miss write errors.
                        [RT #19360]
2009-03-02 03:01:04 +00:00
Mark Andrews be9fd19472 2567. [bug] dst__privstruct_writefile() could miss write errors.
write_public_key() could miss write errors.
                        [RT #19360]
2009-03-02 02:57:24 +00:00
Mark Andrews 8381489c5b report and abort on getcwd() failures 2009-03-02 02:48:44 +00:00
Mark Andrews 1cac6c196f report and abort on getcwd() failures 2009-03-02 02:48:02 +00:00
Mark Andrews c1498af3c6 report write error. [RT #19360] 2009-03-02 02:43:14 +00:00
Mark Andrews 56fe846d21 report write error. [RT #19360] 2009-03-02 02:42:50 +00:00
Mark Andrews 45f7713097 2567. [bug] dst__privstruct_writefile() could miss write errors.
[RT #19360]
2009-03-02 02:34:12 +00:00
Mark Andrews 05c162292f 2567. [bug] dst__privstruct_writefile() could miss write errors.
[RT #19360]
2009-03-02 02:03:59 +00:00
Mark Andrews d78ee12f80 report when chdir fails. [RT #19360] 2009-03-02 01:57:35 +00:00
Mark Andrews d55bdffe2f report when chdir fails. [RT #19360] 2009-03-02 01:57:10 +00:00
Automatic Updater 3e63c43386 update copyright notice 2009-03-01 23:47:25 +00:00
Automatic Updater e050a037cb newcopyrights 2009-03-01 23:30:30 +00:00
Evan Hunt bfe0517fdc Clarify logged message when an insecure DNSSEC response arrives from a zone
thought to be secure: "insecurity proof failed" instead of "not insecure".
[RT #19400]
2009-03-01 02:45:38 +00:00
Mark Andrews 2cfac8b1fd new draft 2009-02-27 23:15:24 +00:00
Mark Andrews af705bce49 2564. [bug] Only take EDNS fallback steps when processing timeouts.
[RT #19405]
2009-02-27 23:08:09 +00:00
Mark Andrews 549e34bbf4 2564. [bug] Only take EDNS fallback steps when processing timeouts.
[RT #19405]
2009-02-27 23:01:48 +00:00
Automatic Updater 92e4603c55 update copyright notice 2009-02-26 11:18:56 +00:00
Automatic Updater 59b277af9d newcopyrights 2009-02-26 11:12:50 +00:00
Mark Andrews e4c6491bbf 2565. [func] Add support for HIP record. Includes new functions
dns_rdata_hip_first(), dns_rdata_hip_next()
                        and dns_rdata_hip_current().  [RT #19384]
2009-02-26 06:09:19 +00:00
Automatic Updater 9c6a5d1f22 regen 2009-02-26 01:12:16 +00:00
Mark Andrews e1d574ac1d 2564. [bug] 'named' was treating a TCP retry as a timeout when
deciding whether to perform a EDNS fallback step.
                        [RT #19393]
2009-02-25 22:50:34 +00:00
Mark Andrews 499fa72075 2564. [bug] 'named' was treating a TCP retry as a timeout when
deciding whether to perform a EDNS fallback step.
                        [RT #19393]
2009-02-25 22:46:05 +00:00
Jeremy Reed 522d25b296 Say chapter instead of section when referring to chapter.
(No structure change here.)

(Note that the "Organization of This Document" is somewhat wrong,
but I am not fixing this yet as I have to consider my restructuring
ideas for ARM first.)
2009-02-25 17:39:30 +00:00
Jeremy Reed 7a2c4df881 Many minor changes:
Add formatting tags around syntax that was missing. Be consistent.

Remove a few paragraph breaks before "For example:".

Fix typo "will will".

Change description of pid-file to not mislead (since other programs
don't parse named.conf to figure out the PID file :)

Remove some unneeded commas.

Minor grammar fixes.

Clarify edns-udp-size to say "... to control the size of packets received."
Reformatted that paragragh too (in docbook, not rendered version.
(TODO: cross-reference these descriptions.)

Hyphenate "built-in" to be consistent.

Remove space in "100000" (for style). (Some use space, period, comma
for thousands.)

Capitalize TTL in one place.

Say that the -t option is "for named". (Reformat that paragraph in
docbook while here.)

named is in /usr/local/sbin not /usr/local/bin for example.

BIND 8 is deprecated. Don't publicly say we do security-related patches
for BIND 4 or BIND 8.

(Note I have many, many more improvements to do. Trying to catch up on
all my uncommitted fixes some dating back to 2007. Note I can't easily
-- due to time -- commit all separately and then check to see if the
apply to older ARMs and backport. If you think differently on how this
should be approached or if you have time to backport some of these
or want me to pick at least some to backport, please let me know.)
2009-02-25 15:40:41 +00:00
Mark Andrews 54d9895cf8 2563. [bug] Dig could leak a socket causing it to wait forever
to exit. [RT #19359]
2009-02-25 02:41:37 +00:00
Mark Andrews 967a70944d 2563. [bug] Dig could leak a socket causing it to wait forever
to exit. [RT #19359]
2009-02-25 02:34:21 +00:00
Automatic Updater 58d9e9169e regen 2009-02-25 01:12:09 +00:00
Automatic Updater 2e91ce87e4 auto update 2009-02-24 23:18:00 +00:00
Jeremy Reed 71a509772b Use <command> tag for some more commands. Most already had this.
So be consistent.
Add formatting for a configuration option.
Add formatting for a filename.
Uppercase "DNSSEC" in a couple places.
syslog "logs" (not "prints").
Also add formatting for some command line options. (NOTE: this is not
consistent yet, as some use <command> and some use <option> -- need
to define this in a style guide.)
2009-02-24 15:50:48 +00:00
Jeremy Reed 3464fafb9f 2562. [doc] ARM: miscellaneous improvements and reorganization
and some new content.

This CHANGES entry will be for my various work on the ARM this week.
I may clarify or improve the CHANGES entry later to better reflect the
improvements or be more precise about the new content.
2009-02-24 15:17:04 +00:00
Jeremy Reed 8f8c46ede4 Also mention in the first definition of options also-notify about
the optional "port".
(Note that this was still covered in the later zone description.
There is some overlap here.)
2009-02-24 14:59:02 +00:00
Automatic Updater a1ad6695ed regen 2009-02-24 01:12:23 +00:00
Automatic Updater 1f5ace14ac auto update 2009-02-23 23:18:19 +00:00
Jeremy Reed 5e2291fbe5 Move statistics-channels in table and also move the grammar and
definition sections.  This is just to be in alphabetical order
(was: ..., masters,  options, statistics-channels, server,
trusted-keys, ...).  No content changes.

Note that the indention doesn't match up, but that was wrong before
my commit here.
2009-02-23 22:29:00 +00:00
Jeremy Reed e039fe38ac Add space between RFC and number. This is to be consistent.
This same sentence did it two different ways!

(I will later fix the rest per my old ticket #16942.)
2009-02-23 21:32:23 +00:00
Jeremy Reed 66af559a53 Correct list of Windows versions BIND runs on. 2009-02-23 19:51:38 +00:00
Automatic Updater 9cd4b3f809 newcopyrights 2009-02-21 23:30:26 +00:00
Jeremy Reed acf4e79711 HEAD is currently 9.7.0pre-alpha (not 9.6.0rc1).
See tech-staff thread "when/how is bind9/version updated?"
2009-02-21 21:34:07 +00:00
Automatic Updater 0f99b8dd02 update 2009-02-21 01:20:27 +00:00
Automatic Updater e113758bde rfc5205.txt 2009-02-21 01:20:26 +00:00
Automatic Updater 01eb8e213b update copyright notice 2009-02-20 23:48:02 +00:00
Automatic Updater 8be721920f update copyright notice 2009-02-20 23:46:49 +00:00
Automatic Updater 0190c262f9 newcopyrights 2009-02-20 23:30:31 +00:00
Automatic Updater d421d673ec newcopyrights 2009-02-20 23:30:16 +00:00
Jeremy Reed ca93fee66c 2561. [doc] Add isc-config.sh(1) man page. [RT #16378] 2009-02-20 22:40:48 +00:00
cvs2git 198962042f This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-02-20 22:24:51 +00:00
Jeremy Reed cdcd52e680 Add generated docs for new isc-config.sh manpage.
Built on docs.
2009-02-20 22:24:49 +00:00
Mark Andrews e438f713c6 5295: Host Identity Protocol (HIP) Domain Name System (DNS) Extension 2009-02-20 21:13:59 +00:00
Automatic Updater 5594690d41 auto update 2009-02-19 23:17:58 +00:00
Mark Andrews 55bf33e89b CHANGE numbers 2009-02-19 02:36:45 +00:00
Mark Andrews 4bf9fe787e CHANGE numbers 2009-02-19 02:34:46 +00:00
Automatic Updater 55ae1a8232 regen 2009-02-19 01:41:00 +00:00
Automatic Updater d0db3c262b regen 2009-02-19 01:11:54 +00:00
Automatic Updater 87a58323be update copyright notice 2009-02-18 23:47:48 +00:00
Automatic Updater 146b5d78a6 update copyright notice 2009-02-18 23:46:34 +00:00
Automatic Updater 2bb3422dc6 newcopyrights 2009-02-18 23:30:26 +00:00
Automatic Updater 41aa8f8b31 newcopyrights 2009-02-18 23:30:14 +00:00
Jeremy Reed 6db1357c34 2661. [doc] Add isc-config.sh(1) man page. [RT #16378]
This commit is for docbook and Makefile.in. I assume the
doc generation will create and add the generated html and roff files.
I purposely don't include in ARM generation since it doesn't
include "development" functions.
2009-02-18 23:21:50 +00:00
Jeremy Reed 9e83f50fd6 Remove redundant name of config file in example.
(It was listed immediately above and don't see other uses
in same document listing the path to config file in the examples.)
2009-02-18 22:48:52 +00:00
Jeremy Reed f8aafe8286 Add myself to builtin authors. Hope my middle initial is okay. 2009-02-18 22:41:57 +00:00
Mark Andrews d53cade6ae add #include "config.h" 2009-02-18 06:44:58 +00:00
Mark Andrews f46fcfc304 Add #include <config.h> to iptable.c. [RT #18258] 2009-02-18 05:57:31 +00:00
Mark Andrews 1b7dd640e8 RET -> RT 2009-02-18 05:43:07 +00:00
Mark Andrews 0f39e477c5 2660. [bug] Add #include <config.h> to iptable.c. [RET #18258] 2009-02-18 05:31:17 +00:00
Automatic Updater 389d1c1cb9 update copyright notice 2009-02-17 23:47:46 +00:00
Automatic Updater 55e03fc547 newcopyrights 2009-02-17 23:30:29 +00:00
Automatic Updater 10e074b823 auto update 2009-02-17 23:18:18 +00:00
Mark Andrews 8dd2efc269 linux doesn't need checks for -lsocket and -lnsl 2009-02-17 06:31:17 +00:00
Mark Andrews f3f20f5d18 silence 'Different types treated as unsigned for <=.' warning 2009-02-17 05:54:41 +00:00
Mark Andrews 803bf59371 silence 'Different types treated as unsigned for <=.' warning 2009-02-17 05:53:13 +00:00
Mark Andrews e876cf83d6 silence compiler warnings [RT #17079] 2009-02-17 03:47:28 +00:00
Mark Andrews eab2fb739e silence compiler warnings [RT #17079] 2009-02-17 03:40:28 +00:00
Mark Andrews 52dec6996a 2559. [bug] dnssec-dsfromkey could compute bad DS records when
reading from a K* files.  [RT #19357]
2009-02-17 00:16:45 +00:00
Automatic Updater bf33eb0b52 update copyright notice 2009-02-16 23:48:04 +00:00
Automatic Updater 26adb9b921 update copyright notice 2009-02-16 23:46:45 +00:00
Automatic Updater 96713299d0 newcopyrights 2009-02-16 23:30:34 +00:00
Automatic Updater 946eabb329 newcopyrights 2009-02-16 23:30:14 +00:00
Mark Andrews 8f196ee82b 2558. [func] Set the ownership of missing directories created
for pid-file if -u has been specified on the command
                        line. [RT #19328]
2009-02-16 05:08:43 +00:00
Mark Andrews fd8c0286c1 silence 'Different types treated as unsigned for >.' warning 2009-02-16 03:19:40 +00:00
Mark Andrews 9b1f27e560 silence 'Different types treated as unsigned for >=.' warning 2009-02-16 03:17:29 +00:00
Mark Andrews 6fbeed7f8f silence 'Different types treated as unsigned for >=.' warning 2009-02-16 03:16:10 +00:00
Mark Andrews 9150681ebb fix change number 2009-02-16 02:32:07 +00:00
Mark Andrews 56907aff69 fix change number 2009-02-16 02:28:23 +00:00
Mark Andrews edc3dc4bb5 2556. [cleanup] PCI compliance:
* new libisc log module file
                        * isc_dir_chroot() now also changes the working
                          directory to "/".
                        * additional INSISTs
                        * additional logging when files can't be removed.
2009-02-16 02:10:58 +00:00
Mark Andrews e502b133d6 2556. [cleanup] PCI compliance:
* new libisc log module file
                        * isc_dir_chroot() now also changes the working
                          directory to "/".
                        * additional INSISTs
                        * additional logging when files can't be removed.
2009-02-16 02:01:16 +00:00
Mark Andrews d3268fd41d custom_WFB_v9_6_0_P1 2009-02-16 01:39:49 +00:00
Mark Andrews e478ff2b65 2503. [port] linux: improve compatibility with Linux Standard
Base. [RT #18793]
2009-02-16 00:59:14 +00:00
Mark Andrews ec281e5d51 2503. [port] linux: improve compatibility with Linux Standard
Base. [RT #18793]
2009-02-16 00:53:58 +00:00
Mark Andrews fc12220bab out of memory condition could be missed. [RT #18970] 2009-02-16 00:23:34 +00:00
Mark Andrews 598da901ab 2555. [port] Solaris: mkdir(2) on tmpfs filesystems does not do the
error checks in the correct order resulting in the
                        wrong error code sometimes being returned. [RT #19249]
2009-02-16 00:13:02 +00:00
Mark Andrews cac4576405 2554. [func] dig: when emitting a hex dump also display the
corresponding characters. [RT #19258]
2009-02-16 00:01:37 +00:00
Mark Andrews 7d211b458f 2554. [bug] Validation of uppercase queries from NSEC3 zones could
fail. [RT #19297]
2009-02-15 23:46:23 +00:00
Mark Andrews a0a3d4f1e6 2553. [bug] Reference leak on DNSSEC validation errors. [RT #19291] 2009-02-15 23:39:34 +00:00
Mark Andrews d2ef5b3c5c 2553. [bug] Reference leak on DNSSEC validation errors. [RT #19291] 2009-02-15 23:37:29 +00:00
Mark Andrews eca41a6b05 2552. [bug] zero-no-soa-ttl-cache was not being honoured.
[RT #19340]
2009-02-15 23:15:31 +00:00
Mark Andrews 45c3c12ed3 2552. [bug] zero-no-soa-ttl-cache was not being honoured.
[RT #19340]
2009-02-15 23:13:32 +00:00
Mark Andrews 2912d502a7 2551. [bug] Potential Reference leak on return. [RT #19341] 2009-02-15 23:07:53 +00:00
Mark Andrews 692ce6c313 2551. [bug] Potential Reference leak on return. [RT #19341] 2009-02-15 23:04:38 +00:00
Mark Andrews f2fd8c27c5 2550. [bug] Check --with-openssl=<path> finds <openssl/opensslv.h>.
[RT #19343]
2009-02-15 23:00:04 +00:00
Mark Andrews 0807f596b5 2550. [bug] Check --with-openssl=<path> finds <openssl/opensslv.h>.
[RT #19343]
2009-02-15 22:54:29 +00:00
Automatic Updater bbdbde5fa0 update copyright notice 2009-02-13 23:48:14 +00:00
Automatic Updater dda277af23 update copyright notice 2009-02-13 23:46:42 +00:00
Automatic Updater ce0fd07045 newcopyrights 2009-02-13 23:30:33 +00:00
Automatic Updater e33ceafea8 newcopyrights 2009-02-13 23:30:20 +00:00
Mark Andrews 60d6bd25c8 2549. [port] linux: define NR_OPEN if not currently defined.
[RT #19344]
2009-02-13 09:31:06 +00:00
Mark Andrews 6cf047f100 2549. [port] linux: define NR_OPEN if not currently defined.
[RT #19344]
2009-02-13 09:15:18 +00:00
Automatic Updater dd0adce112 update copyright notice 2009-02-12 23:47:56 +00:00
Automatic Updater 9538c4b0ee update copyright notice 2009-02-12 23:46:42 +00:00
Automatic Updater 0429fc942e newcopyrights 2009-02-12 23:30:31 +00:00
Automatic Updater 0122239d3f newcopyrights 2009-02-12 23:30:16 +00:00
Automatic Updater b7a0ded96e auto update 2009-02-12 23:18:16 +00:00
Rob Austein 3126bec82b Add rule to build Bv9ARM-all.html [RT #19142] 2009-02-12 22:50:48 +00:00
Rob Austein 60380305f5 Add rule to build Bv9ARM-all.html [RT #19142] 2009-02-12 22:50:42 +00:00
Mark Andrews b663e99af6 2548. [bug] Install iterated_hash.h. [RT #19335] 2009-02-12 22:17:15 +00:00
Mark Andrews 5f5a505905 new draft 2009-02-12 22:04:20 +00:00
Francis Dupont fc297df830 add dns_resolver_logfetch 2009-02-12 13:50:28 +00:00
Francis Dupont b5297573c9 add 8 missing exports 2009-02-12 13:46:41 +00:00
Francis Dupont beb5c4a897 add isc__mem_reallocate() 2009-02-12 12:49:33 +00:00
Francis Dupont d7d2a7fbad add isc__mem_reallocate() 2009-02-12 12:45:04 +00:00
Francis Dupont 187e9979cb add stats 2009-02-12 11:39:48 +00:00
Francis Dupont ee620d5bd0 add stats 2009-02-12 11:32:57 +00:00
Automatic Updater 8c4fd9390d update copyright notice 2009-02-11 23:46:41 +00:00
Automatic Updater ca9de9f421 newcopyrights 2009-02-11 23:30:23 +00:00
Automatic Updater b172529021 auto update 2009-02-11 23:18:13 +00:00
Tatuya JINMEI 神明達哉 421fa787ea 2547. [bug] openssl_link.c:mem_realloc() could reference an
out-of-range area of the source buffer.  New public
			function isc_mem_reallocate() was introduced to address
			this bug. [RT #19313]
2009-02-11 03:09:55 +00:00
Tatuya JINMEI 神明達哉 77d90dc2b5 2547. [bug] openssl_link.c:mem_realloc() could reference an
out-of-range area of the source buffer.  New public
			function isc_mem_reallocate() was introduced to address
			this bug. [RT #19313]
2009-02-11 03:04:18 +00:00
Automatic Updater d7a7065fd5 auto update 2009-02-10 23:18:32 +00:00
Mark Andrews 4af0003c79 update 2009-02-08 23:57:53 +00:00
Mark Andrews dcbf2a0562 update 2009-02-07 00:14:01 +00:00
Automatic Updater 53f0234c3e update copyright notice 2009-02-06 23:47:42 +00:00
Automatic Updater b4cebdb6cc newcopyrights 2009-02-06 23:30:26 +00:00
Automatic Updater 191ccd4002 auto update 2009-02-06 23:18:38 +00:00
Francis Dupont 7558bd3e38 OpenSSL hashes 2009-02-06 12:33:17 +00:00
Francis Dupont c1d7e0562f OpenSSL hashes 2009-02-06 12:26:23 +00:00
Automatic Updater ddca7275b2 auto update 2009-02-05 23:18:55 +00:00
Automatic Updater c937d424fd regen 2009-02-05 01:42:46 +00:00
Automatic Updater 72628d3a5e regen 2009-02-05 01:11:55 +00:00
Jeremy Reed d660b6781d 2545. [doc] ARM: Legal hostname checking (check-names) is
for SRV RDATA too. [RT #19304]
2009-02-05 00:38:11 +00:00
Automatic Updater c520b0f616 update copyright notice 2009-02-04 23:48:09 +00:00
Automatic Updater 8dcc84f169 update copyright notice 2009-02-04 23:46:39 +00:00
Automatic Updater 67f4b01f01 newcopyrights 2009-02-04 23:30:31 +00:00
Automatic Updater 5b4e3a9115 newcopyrights 2009-02-04 23:30:19 +00:00
Jeremy Reed 334a4fd338 2545. [doc] ARM: Legal hostname checking (check-names) is
for SRV RDATA too. [RT #19304]
2009-02-04 21:33:54 +00:00
Mark Andrews 59c8f1682b silence comiler warning. [RT #18630] 2009-02-04 04:44:36 +00:00
Mark Andrews ba576cf8e7 silence comiler warning. [RT #18630] 2009-02-04 04:43:42 +00:00
Automatic Updater 0b580e05ae newcopyrights 2009-02-03 23:30:30 +00:00
Tatuya JINMEI 神明達哉 440e6eb710 2544. [cleanup] Removed unused structure members in adb.c. [RT #19225] 2009-02-03 22:35:00 +00:00
Tatuya JINMEI 神明達哉 5d0984f4fd 2544. [cleanup] Removed unused structure members in adb.c. [RT #19225] 2009-02-03 22:33:13 +00:00
Mark Andrews c349441d7e 2543. [contrib] Update contrib/zkt to version 0.98. [RT #19113] 2009-02-03 06:59:35 +00:00
Automatic Updater 68b64cbaec regen 2009-02-03 01:40:49 +00:00
Automatic Updater 370c55dfcd regen 2009-02-03 01:11:46 +00:00
Mark Andrews 46af69f123 add missing [ 2009-02-02 04:48:55 +00:00
Mark Andrews d794683e73 add missing [ 2009-02-02 04:47:55 +00:00
Mark Andrews f1463fa3d8 2542. [doc] Update the description of dig +adflag. RT #19290] 2009-02-02 04:44:14 +00:00
Mark Andrews 70f292a50f 2542. [doc] Update the description of dig +adflag. RT #19290] 2009-02-02 04:41:28 +00:00
Automatic Updater 92b2158062 regen 2009-01-31 02:00:22 +00:00
Automatic Updater 8ae3bbdd86 regen 2009-01-31 01:17:11 +00:00
Mark Andrews bbcca61932 2541. [bug] Conditionally update dispatch manager statistics.
[RT #19247]
2009-01-31 00:44:43 +00:00
Mark Andrews 870a748bae isc_statscounter_t 2009-01-31 00:37:04 +00:00
Mark Andrews f19e6ef1eb 2541. [bug] Conditionally update dispatch manager statistics.
[RT #19247]
2009-01-31 00:10:24 +00:00
Automatic Updater 8b835581b4 update copyright notice 2009-01-30 23:47:50 +00:00
Automatic Updater 1dc911b528 update copyright notice 2009-01-30 23:46:48 +00:00
Automatic Updater bbf7c3fd96 newcopyrights 2009-01-30 23:30:39 +00:00
Automatic Updater 228472c480 newcopyrights 2009-01-30 23:30:17 +00:00
Automatic Updater cc07b949cc regen 2009-01-30 23:30:16 +00:00
Automatic Updater 68123db906 auto update 2009-01-30 23:18:24 +00:00
Mark Andrews ba054c86ac 2539. [security] Update the interaction between recursion, allow-query,
allow-query-cache and allow-recursion.  [RT #19198]
2009-01-30 08:20:47 +00:00
Mark Andrews 14810640b7 2539. [security] Update the interaction between recursion, allow-query,
allow-query-cache and allow-recursion.  [RT #19198]
2009-01-30 08:19:00 +00:00
Mark Andrews 53cd44e716 2540. [func] Add a nibble mode to $GENERATE. [RT #1887] 2009-01-30 04:35:44 +00:00
Mark Andrews db83b2a1c7 2539. [security] Update the interaction between recursion, allow-query,
allow-query-cache and allow-recursion.  [RT #19198]
2009-01-30 04:24:59 +00:00
Mark Andrews e80b693272 2539. [security] Update the interaction between recursion, allow-query,
allow-query-cache and allow-recursion.  [RT #19198]
2009-01-30 03:48:54 +00:00
Automatic Updater 5f76aa2d5f regen 2009-01-30 01:40:52 +00:00
Automatic Updater 833b6aca57 update copyright notice 2009-01-29 23:47:14 +00:00
Automatic Updater b200783acd newcopyrights 2009-01-29 23:30:17 +00:00
Automatic Updater c4df43ee98 regen 2009-01-29 23:30:16 +00:00
Automatic Updater 1b69320c14 auto update 2009-01-29 23:18:54 +00:00
Tatuya JINMEI 神明達哉 a5111559bb 2537. [experimental] Added more statistics counters including those on socket
I/O events and query RTT histograms. [RT #18802]
2009-01-29 22:41:45 +00:00
Mark Andrews e5d447be8c category is unused without HAVE_LIBXML2 2009-01-29 05:11:29 +00:00
Mark Andrews e5a9e2ece7 9.5.1 2009-01-29 03:21:48 +00:00
cvs2git 54fce2270b This commit was manufactured by cvs2git to create branch 'v9_5'. 2009-01-29 01:03:57 +00:00
Tatuya JINMEI 神明達哉 03ff5c04b8 missing 'ISC_LANG_BEGINDECLS' 2009-01-29 01:03:56 +00:00
Automatic Updater c5bd541137 update copyright notice 2009-01-28 23:46:50 +00:00
Automatic Updater c06bf2ff5c regen 2009-01-28 23:30:30 +00:00
Automatic Updater 8e51ca217d newcopyrights 2009-01-28 23:30:14 +00:00
Tatuya JINMEI 神明達哉 8ae009698d 2538. [bug] cache/ADB memory could grow over max-cache-size,
especially with threads and smaller max-cache-size
			values. [RT #19240]
2009-01-28 23:24:31 +00:00
Tatuya JINMEI 神明達哉 c82bb6a709 2538. [bug] cache/ADB memory could grow over max-cache-size,
especially with threads and smaller max-cache-size
			values. [RT #19240]
2009-01-28 23:20:23 +00:00
Automatic Updater 1f129d7363 auto update 2009-01-28 23:18:46 +00:00
Automatic Updater f060747247 regen 2009-01-28 01:41:32 +00:00
Automatic Updater c821eb7048 regen 2009-01-28 01:11:59 +00:00
Automatic Updater 39a8abdb83 update copyright notice 2009-01-27 23:47:54 +00:00
Automatic Updater 352c2fc0f6 update copyright notice 2009-01-27 23:46:50 +00:00
Automatic Updater 0ce87e5749 newcopyrights 2009-01-27 23:30:31 +00:00
Automatic Updater 2ec317aee9 regen 2009-01-27 23:30:26 +00:00
Automatic Updater 7860a38fcf newcopyrights 2009-01-27 23:30:19 +00:00
Automatic Updater 248ce5c8f9 auto update 2009-01-27 23:18:35 +00:00
Tatuya JINMEI 神明達哉 f895c5b042 removed redundant white space 2009-01-27 22:30:38 +00:00
Tatuya JINMEI 神明達哉 d9059b0c38 2537. [func] Added more statistics counters including those on socket
I/O events and query RTT histograms.  [RT #18802]
2009-01-27 22:30:00 +00:00
Tatuya JINMEI 神明達哉 2d45099b92 2525. [experimental] New logging category "query-errors" to provide detailed
internal information about query failures, especially
			about server failures. [RT #19027]

(merged into 9.5)
2009-01-27 21:17:40 +00:00
Automatic Updater 3bed8e9913 update copyright notice 2009-01-23 23:47:54 +00:00
Automatic Updater ec90e18ead update copyright notice 2009-01-23 23:46:44 +00:00
Automatic Updater daa2df86d3 newcopyrights 2009-01-23 23:30:21 +00:00
Automatic Updater 7f94f65f95 auto update 2009-01-23 23:18:33 +00:00
Automatic Updater 0c2882580b regen 2009-01-23 01:41:20 +00:00
Mark Andrews ca2109aabb move formating out of msgcat 2009-01-23 01:29:18 +00:00
Mark Andrews 0cee7fdce3 move formating out of msgcat 2009-01-23 01:27:12 +00:00
Mark Andrews 6bcb646fd1 undo one change from #2536 2009-01-23 01:15:41 +00:00
Automatic Updater 3319413a67 update copyright notice 2009-01-22 23:47:54 +00:00
Automatic Updater 095bba9ca3 update copyright notice 2009-01-22 23:46:36 +00:00
Automatic Updater a26b22914b newcopyrights 2009-01-22 23:30:32 +00:00
Automatic Updater 76063809ef newcopyrights 2009-01-22 23:30:20 +00:00
Mark Andrews 33857225e5 2536. [cleanup] Silence some warnings when -Werror=format-security is
specified. [RT #19083]
2009-01-22 05:53:42 +00:00
Mark Andrews f148f53794 2536. [cleanup] Silence some warnings when -Werror=format-security is
specified. [RT #19083]
2009-01-22 05:39:29 +00:00
Mark Andrews 3669982bf6 2535. [bug] dig +showsearh and +trace interacted badly. [RT #19091] 2009-01-22 05:15:30 +00:00
Mark Andrews 00f8377316 2535. [bug] dig +showsearh and +trace interacted badly. [RT #19091] 2009-01-22 05:06:33 +00:00
Mark Andrews 6cd55d6d3d Add missing commas 2009-01-22 02:09:47 +00:00
Automatic Updater 83b86f3936 update copyright notice 2009-01-21 23:47:27 +00:00
Automatic Updater 601c1908d0 newcopyrights 2009-01-21 23:30:27 +00:00
Mark Andrews 10e8f96abe spelling 2009-01-21 05:53:27 +00:00
Mark Andrews 31b7a2fed6 2534. [func] Check NAPTR records regular expressions and
replacement strings to ensure they are syntaxically
                        valid and consistant. [RT #18168]
2009-01-21 05:37:55 +00:00
Automatic Updater 9fbbfb5757 regen 2009-01-21 01:12:08 +00:00
Automatic Updater d60212e03f update copyright notice 2009-01-20 23:47:56 +00:00
Automatic Updater 6e879816a6 update copyright notice 2009-01-20 23:46:55 +00:00
Automatic Updater 80faf15888 newcopyrights 2009-01-20 23:30:31 +00:00
Automatic Updater 54f391bc00 newcopyrights 2009-01-20 23:30:15 +00:00
Jeremy Reed f9f11eb54b Add missing commas. Makes it more consistent with rest of docs
(even in same document).
2009-01-20 20:06:29 +00:00
Jeremy Reed 5567f54834 Document @ (asperand) for bugs ticket 17144.
While here also add missing period at end of sentence and describe
dot to fix problem as noted by SUN Guonian off-list (because Chinese
end of sentence dot is different than dot).
2009-01-20 19:59:25 +00:00
Mark Andrews ef90489db1 2532. [bug] dig: check the question section of the response to
see if it matches the asked question. [RT #18495]
2009-01-20 05:06:17 +00:00
Mark Andrews ed4efb0805 2532. [bug] dig: check the question section of the response to
see if it matches the asked question. [RT #18495]
2009-01-20 04:39:29 +00:00
Mark Andrews 7b18de7428 new draft 2009-01-20 03:46:13 +00:00
Mark Andrews 95e25f169b 2531. [bug] Change #2207 was incomplete. [RT #19098] 2009-01-20 03:13:00 +00:00
Mark Andrews 13f4bdc9b4 2531. [bug] Change #2207 was incomplete. [RT #19098] 2009-01-20 02:01:11 +00:00
Mark Andrews 3efa3f07d5 2530. [bug] named failed to reject insecure to secure transitions
via UPDATE. [RT #19101]
2009-01-20 01:40:04 +00:00
Automatic Updater 8d1b72dd27 update copyright notice 2009-01-19 23:47:03 +00:00
Automatic Updater 2fd97723b2 newcopyrights 2009-01-19 23:30:31 +00:00
Automatic Updater f0bb8c7948 newcopyrights 2009-01-19 23:30:16 +00:00
Automatic Updater 56c67310f2 auto update 2009-01-19 23:18:29 +00:00
Mark Andrews 85587a04e6 new draft 2009-01-19 05:12:06 +00:00
Mark Andrews e42a332d2d 2529. [cleanup] Upgrade libtool to silence complaints from recent
version of autoconf. [RT #18657]
2009-01-19 01:59:36 +00:00
Mark Andrews b3f6aa9e54 2529. [cleanup] Upgrade libtool to silence complaints from recent
version of autoconf. [RT #18657]
2009-01-19 01:52:44 +00:00
Mark Andrews 914eeb3314 2529. [cleanup] Upgrade libtool to silence complaints from recent
version of autoconf. [RT #18657]
2009-01-19 01:39:50 +00:00
Mark Andrews 8552bf2079 spelling 2009-01-19 00:01:12 +00:00
Automatic Updater 9a14f870dd update copyright notice 2009-01-18 23:48:14 +00:00
Automatic Updater 5181f73551 update copyright notice 2009-01-18 23:46:50 +00:00
Automatic Updater faa406d25d newcopyrights 2009-01-18 23:30:34 +00:00
Automatic Updater 7dd56a1f9b newcopyrights 2009-01-18 23:30:18 +00:00
Francis Dupont 98cc7e7c59 spelling 2009-01-18 18:08:22 +00:00
Francis Dupont 9b899a5758 spelling 2009-01-18 18:02:14 +00:00
Automatic Updater f598092a8e regen 2009-01-18 01:40:13 +00:00
Automatic Updater 56c373a01a regen 2009-01-18 01:11:44 +00:00
Francis Dupont a05abc1767 spelling 2009-01-18 00:50:21 +00:00
Francis Dupont 1016f2638f spelling 2009-01-18 00:34:19 +00:00
Francis Dupont 3b8b44559a spelling 2009-01-18 00:11:07 +00:00
Francis Dupont 23af793acb spelling 2009-01-18 00:06:06 +00:00
Automatic Updater d362465c77 update copyright notice 2009-01-17 23:47:43 +00:00
Francis Dupont 0ef59d2288 spelling 2009-01-17 23:42:01 +00:00
Automatic Updater 59528addd7 newcopyrights 2009-01-17 23:30:31 +00:00
Francis Dupont b65746833b spelling 2009-01-17 23:13:19 +00:00
Francis Dupont 09eaa8e309 spelling 2009-01-17 15:18:15 +00:00
Francis Dupont 708383382f spelling 2009-01-17 15:12:26 +00:00
Francis Dupont a344069fe8 spelling 2009-01-17 15:06:49 +00:00
Francis Dupont bdfaef63f5 spelling 2009-01-17 14:59:03 +00:00
Francis Dupont 47b7dfffe5 spelling 2009-01-17 14:45:17 +00:00
Francis Dupont 584848087f spelling 2009-01-17 14:18:27 +00:00
Francis Dupont 340804cbdb spelling 2009-01-17 13:52:02 +00:00
Francis Dupont a7e3a86619 spelling 2009-01-17 13:45:25 +00:00
Francis Dupont 08d44d4510 spelling 2009-01-17 13:33:29 +00:00
Francis Dupont 7d6d9c2240 spelling 2009-01-17 13:25:11 +00:00
Francis Dupont 45b4efd07f spelling 2009-01-17 12:56:23 +00:00
Francis Dupont 3678015d3f spelling 2009-01-17 11:57:25 +00:00
Francis Dupont d18d8da1fe spelling 2009-01-17 11:41:17 +00:00
Francis Dupont b9d4899121 spelling 2009-01-17 11:35:11 +00:00
Francis Dupont 7f1785d0de spelling 2009-01-17 11:23:46 +00:00
Francis Dupont d2a94a51a1 spelling 2009-01-17 11:12:10 +00:00
Francis Dupont 482b24c9a4 spelling 2009-01-17 11:04:25 +00:00
Francis Dupont 287910778c spelling 2009-01-17 10:39:26 +00:00
Francis Dupont 06d145cbf8 spelling 2009-01-17 10:31:25 +00:00
Francis Dupont 86e018c2bc spelling 2009-01-17 10:26:17 +00:00
Francis Dupont a9435a8871 spelling 2009-01-17 10:15:38 +00:00
Francis Dupont db874a7b5c spelling 2009-01-17 09:58:29 +00:00
Francis Dupont 45fb3c75ed spelling 2009-01-17 09:43:50 +00:00
Francis Dupont 323a9f3430 spelling 2009-01-17 09:35:58 +00:00
Francis Dupont 8e1fc63570 regen 2009-01-17 09:33:46 +00:00
Francis Dupont f0bd4d6a2c spelling 2009-01-17 09:20:00 +00:00
Francis Dupont 4e59e2e59b spelling: existant->existent 2009-01-17 09:16:26 +00:00
Automatic Updater 03faa7804e update copyright notice 2009-01-14 23:48:00 +00:00
Automatic Updater 96de4f44dc update copyright notice 2009-01-14 23:46:33 +00:00
Automatic Updater 009a0837d5 newcopyrights 2009-01-14 23:30:28 +00:00
Automatic Updater 79d9597c4c newcopyrights 2009-01-14 23:30:18 +00:00
Francis Dupont 0d9aa71b7c integrate -P1 patch 2009-01-14 17:41:12 +00:00
Francis Dupont fa7ef31685 integrate -P1 patch 2009-01-14 17:28:47 +00:00
Mark Andrews d6acbaf5b4 new draft 2009-01-12 00:54:25 +00:00
Automatic Updater 0ff24367a6 update copyright notice 2009-01-10 23:47:28 +00:00
Automatic Updater 1ce368824e update copyright notice 2009-01-10 23:46:31 +00:00
Automatic Updater 75b70a68ae newcopyrights 2009-01-10 23:30:35 +00:00
Automatic Updater 8908211c75 newcopyrights 2009-01-10 23:30:21 +00:00
Automatic Updater 211eca413e auto update 2009-01-10 23:18:28 +00:00
Tatuya JINMEI 神明達哉 492df05874 added new features for 9.7.0 so that they won't be forgotten (we can remove
them later if they are considered minor details).
2009-01-10 03:02:37 +00:00
Evan Hunt e2257065b0 Silence spurious --datarootdir warning [rt19096] 2009-01-10 02:00:12 +00:00
Evan Hunt a8673c536b Silence spurious --datarootdir warning [rt19096] 2009-01-10 01:57:00 +00:00
Tatuya JINMEI 神明達哉 bc4bc3579b added credit to the contributor 2009-01-10 01:33:25 +00:00
Automatic Updater 0ddeab91cf regen 2009-01-10 01:11:54 +00:00
Automatic Updater 9e0d0a279b update copyright notice 2009-01-09 23:47:46 +00:00
Automatic Updater 1d10a4ba1c update copyright notice 2009-01-09 23:46:32 +00:00
Automatic Updater 7f94d9a816 newcopyrights 2009-01-09 23:30:34 +00:00
Automatic Updater d5e4bfcd2a newcopyrights 2009-01-09 23:30:19 +00:00
Tatuya JINMEI 神明達哉 4f4dbfb95a added '#' sign 2009-01-09 22:52:33 +00:00
Tatuya JINMEI 神明達哉 3abeb9ce62 2527. [bug] named could reuse cache on reload with
enabling/disabling validation. [RT #19119]
2009-01-09 22:40:09 +00:00
Tatuya JINMEI 神明達哉 616b4544d0 2527. [placeholder]
(head branch doesn't need this fix because change#2526 includes the fix)
2009-01-09 22:37:36 +00:00
Tatuya JINMEI 神明達哉 7781f25078 2526. [func] New named option "attach-cache" that allows multiple
views to share a single cache to save memory and
			improve lookup efficiency. [RT 18905]
2009-01-09 22:24:37 +00:00
Automatic Updater 2cc6eb92f9 regen 2009-01-09 01:11:53 +00:00
Automatic Updater 41ffa5503c newcopyrights 2009-01-08 23:30:29 +00:00
Jeremy Reed 6a534776e0 Remove empty <emphasis/> tag.
Reported by SUN Guonian <sun@cnnic.cn> to me off-list.
(Translated ARM to Chinese.)
2009-01-08 14:19:05 +00:00
Automatic Updater 1fdd2470b6 regen 2009-01-08 01:11:51 +00:00
Automatic Updater d7845fc5ba update copyright notice 2009-01-07 23:47:47 +00:00
Automatic Updater bc0a53583d newcopyrights 2009-01-07 23:30:31 +00:00
Tatuya JINMEI 神明達哉 609f86163a 2525. [func] New logging category "query-errors" to provide detailed
internal information about query failures, especially
			about server failures. [RT #19027]
2009-01-07 01:46:40 +00:00
Automatic Updater 0cfbb9285a update copyright notice 2009-01-06 23:47:57 +00:00
Automatic Updater 114efc23eb update copyright notice 2009-01-06 23:46:48 +00:00
Automatic Updater 885f475768 newcopyrights 2009-01-06 23:30:30 +00:00
Automatic Updater af367294c7 newcopyrights 2009-01-06 23:30:14 +00:00
Francis Dupont 1879dbe0d9 dnssec-signzone needs strtoul() - 19129 2009-01-06 09:14:03 +00:00
Francis Dupont b393e55a76 bug in dns_nsec_typepresent() - 19112 2009-01-06 09:06:02 +00:00
Francis Dupont a851556c9c bug in dns_nsec_typepresent() - 19112 2009-01-06 09:03:24 +00:00
Mark Andrews e83770c99d s/2008/2009/ 2009-01-06 04:00:55 +00:00
Mark Andrews 41329de6d2 s/2008/2009/ 2009-01-06 03:58:29 +00:00
Automatic Updater 5569e7de51 update copyright notice 2009-01-05 23:47:54 +00:00
Automatic Updater a89e9e18b2 update copyright notice 2009-01-05 23:46:59 +00:00
Automatic Updater 71bd43eebd newcopyrights 2009-01-05 23:30:32 +00:00
Automatic Updater 49ccd2d45c newcopyrights 2009-01-05 23:30:15 +00:00
Tatuya JINMEI 神明達哉 c1a1fca08a trivial comment cleanups (RT#19118) 2009-01-05 23:21:50 +00:00
Tatuya JINMEI 神明達哉 3fb1637c92 trivial comment cleanups (RT#19118) 2009-01-05 23:20:22 +00:00
Automatic Updater cc0287243b auto update 2008-12-30 23:18:25 +00:00
Tatuya JINMEI 神明達哉 93ecc6904e removed a duplicate line 2008-12-25 02:03:09 +00:00
Tatuya JINMEI 神明達哉 726d737626 removed a duplicate line 2008-12-25 02:02:39 +00:00
Tatuya JINMEI 神明達哉 48058e86de comment update 2008-12-25 02:01:25 +00:00
Tatuya JINMEI 神明達哉 d7e2f1d572 comment update 2008-12-25 02:00:49 +00:00
Automatic Updater 27462e0c6e update copyright notice 2008-12-24 23:46:32 +00:00
Mark Andrews 28235e849c 2502. [cleanup] isc_radix: Improve compliance with coding style,
document function in <isc/radix.h>. [RT #18534]
2008-12-24 05:09:26 +00:00
Automatic Updater 7c3694f7e5 auto update 2008-12-23 23:18:49 +00:00
Mark Andrews efc3d7a002 update 2008-12-22 23:47:41 +00:00
Mark Andrews 52cee51063 placeholder 2008-12-22 23:40:57 +00:00
Mark Andrews 51bcc7d768 2521. [bug] Improve epoll cross compilation support. [RT #19047] 2008-12-22 04:27:15 +00:00
Mark Andrews 1239139a2c 2521. [bug] Improve epoll cross compilation support. [RT #19047] 2008-12-22 04:26:34 +00:00
Mark Andrews de3e26173c 9.5.1 2008-12-22 04:20:23 +00:00
Mark Andrews 1c5511b54a 2521. [bug] Improve epoll cross compilation support. [RT #19047] 2008-12-22 04:18:39 +00:00
Mark Andrews ddb35cf2f3 2521. [bug] Improve epoll cross compilation support. [RT #19047] 2008-12-22 04:16:37 +00:00
Tatuya JINMEI 神明達哉 4aa174ddd5 exlain the reason for change #2520:
2520.	[bug]		Update xml statistics version number to 2.0 as change
			#2388 made the schema incompatible to the previous
			version. [RT #19080]
2008-12-19 22:59:08 +00:00
Jeremy Reed df6663c900 Add another NetBSD version. (I use that.)
These lists of operating systems and versions need to be updated
-- working on that in bugs ticket 16378.
2008-12-19 18:22:37 +00:00
Tatuya JINMEI 神明達哉 6feca40adf clarification for change #2411 (RT #18783)
Note: with changes #2469 and #2421 above, there is no
			need to tweak ISC_SOCKET_MAXSOCKETS at compilation time
			any more.
2008-12-18 23:51:40 +00:00
Tatuya JINMEI 神明達哉 476de6f156 clarification for change #2411 (RT #18783)
Note: with changes #2469 and #2421 above, there is no
			need to tweak ISC_SOCKET_MAXSOCKETS at compilation time
			any more.
2008-12-18 23:48:55 +00:00
Mark Andrews e5a5c944aa 2520. [bug] Update xml statistics version number to 2.0.
[RT #19080]
2008-12-18 02:37:23 +00:00
Mark Andrews 09d7358c48 2520. [bug] Update xml statistics version number to 2.0.
[RT #19080]
2008-12-18 02:23:27 +00:00
Automatic Updater c6b65dff51 update copyright notice 2008-12-17 23:47:58 +00:00
Automatic Updater 07b2d897ce update copyright notice 2008-12-17 23:46:34 +00:00
Automatic Updater a900e4f99f newcopyrights 2008-12-17 23:30:26 +00:00
Automatic Updater d0bee39dc7 newcopyrights 2008-12-17 23:30:16 +00:00
Tatuya JINMEI 神明達哉 db8024ced2 2519. [bug] dig/host with -4 or -6 didn't work if more than two
nameserver addresses of the excluded address family
			preceded in resolv.conf. [RT #19081]
2008-12-17 19:21:25 +00:00
Tatuya JINMEI 神明達哉 10a6f640ed 2519. [bug] dig/host with -4 or -6 didn't work if more than two
nameserver addresses of the excluded address family
			preceded in resolv.conf. [RT #19081]
2008-12-17 19:19:29 +00:00
Automatic Updater 96eeb9496c update copyright notice 2008-12-16 23:47:57 +00:00
Automatic Updater b18416e3bb update copyright notice 2008-12-16 23:46:45 +00:00
Automatic Updater c0b771f683 newcopyrights 2008-12-16 23:30:35 +00:00
Automatic Updater 7f46062ef2 newcopyrights 2008-12-16 23:30:24 +00:00
Mark Andrews 1ee054ca44 2518. [func] Add support for the new CERT types from RFC 4398.
[RT #19077]
2008-12-16 05:04:47 +00:00
Tatuya JINMEI 神明達哉 f8324d4a93 2517. [bug] dig +trace with -4 or -6 failed when it chose a
nameserver address of the unsupported address.
			[RT #18843]
2008-12-16 02:59:46 +00:00
Tatuya JINMEI 神明達哉 7f65860391 2517. [bug] dig +trace with -4 or -6 failed when it chose a
nameserver address of the unsupported address.
			[RT #18843]
2008-12-16 02:57:24 +00:00
Tatuya JINMEI 神明達哉 cdbcf65dcf 2516. [bug] glue sort for responses was performed even when not
needed. [RT #19039]
2008-12-16 02:45:05 +00:00
Tatuya JINMEI 神明達哉 cb30636abd 2516. [bug] glue sort for responses was performed even when not
needed. [RT #19039]
2008-12-16 02:19:46 +00:00
Automatic Updater a4cd1c315a update copyright notice 2008-12-14 21:33:25 +00:00
Automatic Updater cdd2498994 newcopyrights 2008-12-14 21:31:34 +00:00
Automatic Updater fe80a4909b merge copyrights 2008-12-14 21:29:46 +00:00
Mark Andrews 96ec50549a 2515. [port] win32: build dnssec-dsfromkey and dnssec-keyfromlabel.
[RT #19063]
2008-12-14 21:27:24 +00:00
Mark Andrews 8bf0c05627 2515. [port] win32: build dnssec-dsfromkey and dnssec-keyfromlabel.
[RT #19063]
2008-12-14 21:14:54 +00:00
Automatic Updater 018c888384 newcopyrights 2008-12-13 23:30:15 +00:00
Automatic Updater 76bf8f52a3 auto update 2008-12-13 23:18:41 +00:00
Tatuya JINMEI 神明達哉 c017c739cb 2514. [bug] dig/host failed with -4 or -6 when resolv.conf contains
a nameserver of the unsupported address family.
			[RT #18848]
2008-12-13 04:42:59 +00:00
Tatuya JINMEI 神明達哉 96465858fa 2514. [bug] dig/host failed with -4 or -6 when resolv.conf contains
a nameserver of the unsupported address family.
			[RT #18848]
2008-12-13 02:43:25 +00:00
Mark Andrews 09046484ae 2513 [bug] Fix windows cli build. [RT #19062] 2008-12-13 00:26:06 +00:00
Mark Andrews 24450ad58d 2513 [bug] Fix windows cli build. [RT #19062] 2008-12-13 00:23:54 +00:00
Automatic Updater a989c69260 update copyright notice 2008-12-12 23:46:38 +00:00
Automatic Updater 1446cda545 newcopyrights 2008-12-12 23:30:23 +00:00
Mark Andrews 93fe3a73ee 2511. [cleanup] dns_rdata_tofmttext() add const to linebreak.
[RT #18885]
2008-12-12 04:45:18 +00:00
Mark Andrews 47d89fcd4f 2512. [func] Print a summary of the cached records which make up
the negative response.  [RT #18885]
2008-12-12 04:41:25 +00:00
Mark Andrews a5746c4ec1 2511. [cleanup] dns_rdata_tofmttext() add const to linebreak.
[RT #18885]
2008-12-12 04:37:24 +00:00
Mark Andrews 504994b965 add 9.5.1rc2 release marker 2008-12-11 03:09:30 +00:00
Automatic Updater a8a8e73121 update copyright notice 2008-12-10 23:48:43 +00:00
Automatic Updater 7f14f2cb66 update copyright notice 2008-12-10 23:46:38 +00:00
Mark Andrews adef34a81d 2510. [bug] "dig +sigchase" could trigger REQUIRE failures.
[RT #19033]
2008-12-10 23:27:54 +00:00
Mark Andrews b06e034906 reword 2008-12-10 22:35:13 +00:00
Mark Andrews 8684cd3a6f 2510. [bug] dig +sigchase could trigger REQUIREs. [RT #19033] 2008-12-10 22:33:54 +00:00
Mark Andrews adb88b1989 2509. [bug] Specifying a fixed query source port was broken.
[RT #19051]
2008-12-10 12:45:28 +00:00
Mark Andrews 92241b04f1 2509. [bug] Specifying a fixed query source port was broken.
[RT #19051]
2008-12-10 07:03:50 +00:00
Tatuya JINMEI 神明達哉 43c68170fe 2508. [placeholder] (for a 9.5.0-P2-WFB-2 specific change) 2008-12-10 01:57:45 +00:00
Automatic Updater e4cd6dbd56 auto update 2008-12-08 23:18:21 +00:00
Mark Andrews 69f0cf898e 2507. [func] Log the recursion quota values when killing the
oldest query or refusing to recurse due to quota.
                        [RT #19022]
2008-12-08 06:39:42 +00:00
Mark Andrews 5938a4d682 2506. [port] solaris: Check at configure time if
hack_shutup_pthreadonceinit is needed. [RT #19037]
2008-12-08 05:00:23 +00:00
Mark Andrews 104d339e1b 2506. [port] solaris: Check at configure time if
hack_shutup_pthreadonceinit is needed. [RT #19037]
2008-12-08 04:59:39 +00:00
Mark Andrews 9908cbc06f 2506. [port] solaris: Check at configure time if
hack_shutup_pthreadonceinit is needed. [RT #19037]
2008-12-08 04:50:52 +00:00
Mark Andrews c621b3c63d 2505. [port] Treat amd64 similarly to x86_64 when determining
atomic operation support. [RT #19031]
2008-12-05 02:04:55 +00:00
Mark Andrews 2e61d171bc 2505. [port] Treat amd64 similarly to x86_64 when determining
atomic operation support. [RT #19031]
2008-12-05 02:02:12 +00:00
Mark Andrews 76fe07917f new draft 2008-12-05 00:21:52 +00:00
Mark Andrews 0339c8af8c new draft 2008-12-04 04:54:31 +00:00
Automatic Updater d3d1cf19e0 auto update 2008-12-03 23:19:05 +00:00
Mark Andrews 02dae8e6d7 2504. [bug] Address race condition in the socket code. [RT #18899] 2008-12-03 02:22:35 +00:00
Mark Andrews 3d4e5a200f remove XXXMPA 2008-12-03 02:11:32 +00:00
Mark Andrews d8fc8514b1 2504. [bug] Address race condition in the socket code. [RT #18899] 2008-12-03 02:03:47 +00:00
Automatic Updater fc8e82904a regen 2008-12-02 01:11:45 +00:00
Automatic Updater f8f8a5b3a3 update copyright notice 2008-12-01 23:47:45 +00:00
Automatic Updater 90ff38a0d8 newcopyrights 2008-12-01 23:30:27 +00:00
Jeremy Reed 318570ecb3 Clarify the cache db for "Cache DB RRsets".
In particular explain the exclamation mark (!) is NXRRSET.
This is from patch from jinmei in support ticket #2038.

I didn't add to changes as this is very minor, but if you want in
CHANGES let me know.
2008-12-01 17:11:54 +00:00
Mark Andrews 04ec5b376d unsigned contants 2008-12-01 13:26:51 +00:00
Mark Andrews d5518bf5bc linux doesn't need checks for -lsocket and -lnsl 2008-12-01 07:50:17 +00:00
Mark Andrews c4c6e5094b dnssec-dsfromkey 2008-12-01 04:20:22 +00:00
Mark Andrews 36c12f1bb4 #undef inet_aton 2008-12-01 04:14:54 +00:00
Mark Andrews 9935447b51 2503. [port] linux: improve compatibility with Linux Standard
Base. [RT #18793]
2008-12-01 03:53:32 +00:00
Automatic Updater 07e2d9518d regen 2008-12-01 01:11:34 +00:00
Mark Andrews ce1d07a80f out of memory condition could be missed. [RT #18970] 2008-12-01 00:15:37 +00:00
Mark Andrews 175a8bd2b7 2502. [cleanup] isc_radix: Improve compliance with coding style,
document function in <isc/radix.h>. [RT #18534]
2008-12-01 00:04:21 +00:00
Mark Andrews 46018d5d23 2501. [func] $GENERATE now supports all rdata types. Multi-field
rdata types need to be quoted.  See the ARM for
                        details. [RT #18368]
2008-11-30 23:49:21 +00:00
Automatic Updater 14b7618e88 auto update 2008-11-30 23:18:22 +00:00
Automatic Updater 9f2b98b844 auto update 2008-11-28 23:18:40 +00:00
Automatic Updater 2e525a52ab update copyright notice 2008-11-27 23:46:44 +00:00
Automatic Updater b795291f8e newcopyrights 2008-11-27 23:30:26 +00:00
Automatic Updater c83bd3fb3d newcopyrights 2008-11-27 23:30:22 +00:00
Automatic Updater 81c63d0e9f auto update 2008-11-27 23:18:47 +00:00
Mark Andrews ee5b211d9a remove dead code. [RT #18629] 2008-11-27 23:12:02 +00:00
Mark Andrews 719045b68e remove dead code. [RT #18629] 2008-11-27 23:11:24 +00:00
Mark Andrews c0e1886441 2500. [contrib] contrib/sdb/pgsql/zonetodb.c called non-existant
function. [RT #18582]
2008-11-27 06:16:11 +00:00
Mark Andrews 47d9a2bec1 2500. [contrib] contrib/sdb/pgsql/zonetodb.c called non-existant
function. [RT #18582]
2008-11-27 06:14:22 +00:00
Mark Andrews fe3f310e2e refine dnssec-keyfromlabel description 2008-11-26 03:09:51 +00:00
Mark Andrews 8d460bed78 add dnssec-keyfromlabel description 2008-11-26 03:06:11 +00:00
Automatic Updater 1f426f426e update copyright notice 2008-11-25 23:47:23 +00:00
Automatic Updater 7bdde15a5d update copyright notice 2008-11-25 23:46:36 +00:00
Automatic Updater a9638b6e89 newcopyrights 2008-11-25 23:30:23 +00:00
Automatic Updater a776917519 newcopyrights 2008-11-25 23:30:18 +00:00
Mark Andrews d934d4f130 2499. [port] solaris: lib/lwres/getaddrinfo.c namespace clash.
[RT #18837]
2008-11-25 05:44:06 +00:00
Mark Andrews 9019569316 2499. [port] solaris: lib/lwres/getaddrinfo.c namespace clash.
[RT #18837]
2008-11-25 05:39:10 +00:00
Tatuya JINMEI 神明達哉 0ccc29985c 2498. [bug] Removed a bogus function argument used with
ISC_SOCKET_USE_POLLWATCH: it could cause compiler
			warning or crash named with the debug 1 level
			of logging. [RT #18917]

(Note that this entry is placed under the 9.5.1rc1 mark)
2008-11-20 00:06:01 +00:00
Tatuya JINMEI 神明達哉 eb8265942b 2498. [bug] Removed a bogus function argument used with
ISC_SOCKET_USE_POLLWATCH: it could cause compiler
			warning or crash named with the debug 1 level
			of logging. [RT #18917]

(Note that this entry is placed below the 9.6.0rc1 mark)
2008-11-20 00:04:17 +00:00
Jeremy Reed b58d2c6a1c Fix various spelling typos. (And changed one spelling to be
consistent.)

Note that I changed historical entries here, because if someone
was to search for some keyword, correct spelling makes it easier.
(The argument is now that can't search for the mispelled term to
compare.)
2008-11-19 23:28:32 +00:00
Mark Andrews 515a537cd1 silence compiler 2008-11-19 06:21:45 +00:00
Mark Andrews 8d47095904 silence compiler 2008-11-19 06:20:58 +00:00
Mark Andrews 5172ed9785 1204 -> 1024U 2008-11-19 05:39:32 +00:00
Mark Andrews 9f41ec8010 1204 -> 1024U 2008-11-19 05:38:49 +00:00
Mark Andrews e7ba4d8dc4 2497. [bug] Don't add RRSIG bit to NSEC3 bit map for insecure
delegation.
2008-11-17 23:46:42 +00:00
Mark Andrews cb98b2c207 windows: complain if -t is set 2008-11-17 05:41:10 +00:00
Mark Andrews a435080fb8 fix for windows compiler 2008-11-16 22:49:18 +00:00
Automatic Updater f4ba2dcad3 9.5.1rc1 2008-11-16 22:03:15 +00:00
Mark Andrews 5dadcf6515 9.5.1rc1 2008-11-16 22:01:09 +00:00
Automatic Updater 61da0da99e 9.6.0rc1 2008-11-16 21:25:27 +00:00
Mark Andrews ac4b736ab2 9.6.0rc1 2008-11-16 21:21:42 +00:00
Mark Andrews 6c25e24ae1 2496. [bug] Add sanity length checks to NSID option. [RT #18813] 2008-11-16 21:04:03 +00:00
Mark Andrews 81e5de1741 2496. [bug] Add sanity length checks to NSID option. [RT #18813] 2008-11-16 20:57:55 +00:00
Automatic Updater 49960a74b5 update copyright notice 2008-11-14 23:47:33 +00:00
Automatic Updater a02055f66b update copyright notice 2008-11-14 23:46:41 +00:00
Automatic Updater 251d306600 newcopyrights 2008-11-14 23:30:20 +00:00
Automatic Updater 22d4a2fe59 newcopyrights 2008-11-14 23:30:14 +00:00
Mark Andrews 56a3bb82db 2495. [bug] Tighten RRSIG checks. [RT #18795] 2008-11-14 22:57:29 +00:00
Mark Andrews 50df1ec60a 2495. [bug] Tighten RRSIG checks. [RT #18795] 2008-11-14 22:53:46 +00:00
Mark Andrews 2628c71479 silence compiler warning. [RT #18990] 2008-11-14 14:07:48 +00:00
Mark Andrews 0973621b7d 2494. [bug] isc/radix.h, dns/sdlz.h and dns/dlz.h were not being
installed. [RT #18826]
2008-11-14 05:26:13 +00:00
Mark Andrews da2d57c8cf 2493. [bug] The linux capabilites code was not correctly cleaning
up after itself. [RT #18767]
2008-11-14 05:24:11 +00:00
Mark Andrews 3bcdfee9c6 2493. [bug] The linux capabilites code was not correctly cleaning
up after itself. [RT #18767]
2008-11-14 05:11:42 +00:00
Mark Andrews ef4eed2a2a 2493. [bug] The linux capabilites code was not correctly cleaning
up after itself. [RT #18767]
2008-11-14 05:08:48 +00:00
Mark Andrews d5be219ff7 spelling 2008-11-14 05:01:04 +00:00
Mark Andrews 7d89c53f6e 2492. [func] Rndc status new reports the number of cpus discovered
and the number of worker threads when running
                        multi-threaded. [RT #18273]
2008-11-14 04:57:04 +00:00
Automatic Updater cfeaf83e2b update copyright notice 2008-11-12 23:47:17 +00:00
Automatic Updater 0196a0bf89 update copyright notice 2008-11-12 23:46:31 +00:00
Mark Andrews 96b3cb85d3 2491. [func] Attempt to re-use a local port if we are already using
the port. [RT #18548]
2008-11-12 23:10:57 +00:00
Mark Andrews 8b9197762d 2490. [port] aix: work around a kernel bug where IPV6_RECVPKTINFO
is cleared when IPV6_V6ONLY is set. [RT #18785]
2008-11-12 03:56:19 +00:00
Mark Andrews dc143a8f5c 2490. [port] aix: work around a kernel bug where IPV6_RECVPKTINFO
is cleared when IPV6_V6ONLY is set. [RT #18785]
2008-11-12 03:52:32 +00:00
Automatic Updater f1b35969d3 auto update 2008-11-11 23:18:27 +00:00
Mark Andrews ac62b63619 add NULL gssapi fromlabel method. [RT #18877] 2008-11-11 03:55:01 +00:00
Automatic Updater 6a42ab6427 regen 2008-11-09 01:11:56 +00:00
Tatuya JINMEI 神明達哉 35726c4745 wording consistency 2008-11-08 22:44:10 +00:00
Tatuya JINMEI 神明達哉 cfa708b8a7 wording consistency 2008-11-08 22:43:39 +00:00
Tatuya JINMEI 神明達哉 b85af8da8d 2489. [port] solaris: Workaround Solaris's kernel bug about
/dev/poll:
			http://bugs.opensolaris.org/view_bug.do?bug_id=6724237
			Define ISC_SOCKET_USE_POLLWATCH at build time to enable
			this workaround. [RT #18870]
2008-11-08 22:38:11 +00:00
Tatuya JINMEI 神明達哉 f99fd90097 2489. [port] solaris: Workaround Solaris's kernel bug about
/dev/poll:
			http://bugs.opensolaris.org/view_bug.do?bug_id=6724237
			Define ISC_SOCKET_USE_POLLWATCH at build time to enable
			this workaround. [RT #18870]
2008-11-08 22:35:12 +00:00
Mark Andrews ed5da425c8 update 2008-11-08 21:16:44 +00:00
Automatic Updater b27ce68bae regen 2008-11-08 01:11:47 +00:00
Automatic Updater 9807318c04 update copyright notice 2008-11-07 23:47:18 +00:00
Automatic Updater 723bfc0fc2 newcopyrights 2008-11-07 23:30:20 +00:00
Jeremy Reed cf58feee56 Capitalize month name (since this is English and to be consistent)
for the date of the document.
2008-11-07 13:54:11 +00:00
Jeremy Reed 832fb12cfe Put RR in parentheses in the description.
Add missing "d" for "generated".
2008-11-07 13:50:15 +00:00
Automatic Updater 922312472e regen 2008-11-07 04:08:43 +00:00
Automatic Updater 59a4c9c6b4 close comment 2008-11-07 03:58:25 +00:00
Mark Andrews e17cb80d7c remove second copy 2008-11-07 03:43:20 +00:00
Mark Andrews 582f8b9a8d 2488. [func] Added a tool, dnssec-dsfromkey, to generate DS records
from keyset and .key files. [RT #18694]
2008-11-07 02:28:49 +00:00
Automatic Updater 18fa75b694 regen 2008-11-07 01:11:20 +00:00
Mark Andrews 322d4716af 2487. [bug] Give TCP connections longer to complete. [RT #18675] 2008-11-07 01:09:55 +00:00
Mark Andrews 09b45f7b58 2487. [bug] Give TCP connections longer to complete. [RT #18675] 2008-11-07 00:52:34 +00:00
Automatic Updater 7f950d7cb7 update copyright notice 2008-11-06 23:47:06 +00:00
Automatic Updater 2893a84120 update copyright notice 2008-11-06 23:46:35 +00:00
Mark Andrews f6f1672b4e 2486. [func] The default locations for named.pid and lwresd.pid
are now /var/run/named/named.pid and
                        /var/run/lwresd/lwresd.pid respectively.

                        This allows the owner of the containing directory
                        to be set, for "named -u" support, and allows there
                        to be a permanent symbolic link in the path, for
                        "named -t" support.  [RT #18306]
2008-11-06 05:30:24 +00:00
Mark Andrews bd0d066d97 2485. [bug] Change update's the handling of obscured RRSIG
records.  Not all orphand DS records were being
                        removed. [RT #18828]
2008-11-06 02:58:29 +00:00
Mark Andrews 1f3e0508c2 2485. [bug] Change update's the handling of obscured RRSIG
records.  Not all orphand DS records were being
                        removed. [RT #18828]
2008-11-06 02:31:41 +00:00
Mark Andrews 2cada19312 align comment w/ code [RT #18833] 2008-11-06 02:20:14 +00:00
Mark Andrews 588e5c41af align comment w/ code [RT #18833] 2008-11-06 02:18:34 +00:00
Automatic Updater 0feb9a335e auto update 2008-11-05 23:18:54 +00:00
Automatic Updater a275eeb6ac regen 2008-11-05 01:40:01 +00:00
Automatic Updater cf3f55777b regen 2008-11-05 01:11:20 +00:00
Automatic Updater 280d316c87 auto update 2008-11-04 23:18:47 +00:00
Mark Andrews c7a6defc8e remove debugging log that was accidently left in 2008-11-04 22:28:45 +00:00
Mark Andrews 09416abf2d remove debugging log that was accidently left in 2008-11-04 21:23:14 +00:00
Mark Andrews 06c8281a5b grammer, fix reference. [RT #18850] 2008-11-04 02:10:41 +00:00
Mark Andrews d24116ee54 grammer, fix reference. [RT #18850] 2008-11-04 01:55:59 +00:00
Mark Andrews a14aff6984 2484. [bug] It was possible to trigger a REQUIRE failure when
adding NSEC3 proofs to the response in
                        query_addwildcardproof().  [RT #18828]
2008-11-03 23:57:22 +00:00
Mark Andrews ce895d1f9b update 2008-11-03 23:37:42 +00:00
Automatic Updater d4dc53d6b9 auto update 2008-11-03 23:18:27 +00:00
Automatic Updater d9edfd5642 update copyright notice 2008-11-02 23:47:01 +00:00
Automatic Updater 8f2dcf7f90 newcopyrights 2008-11-02 23:30:23 +00:00
Francis Dupont 7b1a7a098b no chroot() in Win32 API 2008-11-02 12:48:39 +00:00
Automatic Updater 6bc860e956 auto update 2008-10-31 23:18:30 +00:00
Automatic Updater e2bedd2721 regen 2008-10-30 01:40:09 +00:00
Automatic Updater 078e9adf8b auto update 2008-10-29 23:18:17 +00:00
Francis Dupont c3326f8f32 add RT #18806 resolution 2008-10-29 22:07:03 +00:00
Francis Dupont a78633ee29 add libxm2 v2.7.* support 2008-10-29 22:05:42 +00:00
Francis Dupont bc3b1dbd69 add RT #18806 resolution 2008-10-29 22:03:41 +00:00
Jeremy Reed bb570a6a25 Fix typo v9_5. Reported today in ticket #18825.
I already had fixed in HEAD last month.
2008-10-29 15:39:19 +00:00
Francis Dupont a2fa49cebc accept libxml2 2.7.x too 2008-10-29 10:09:21 +00:00
Mark Andrews 76bd01263f remove debugging printf 2008-10-29 05:53:12 +00:00
Automatic Updater b7909c0bfe 9.6.0b1 2008-10-29 05:22:09 +00:00
Mark Andrews c19a57667e 9.6.0b1 2008-10-29 05:04:18 +00:00
Mark Andrews 736e6a6709 2481. [bug] rbtdb.c:matchparams() failed to handle NSEC3 chain
collisions.  [RT #18812]

2480.   [bug]           named could fail to emit all the required NSEC3
                        records.  [RT #18812]
2008-10-29 04:54:00 +00:00
Mark Andrews 4620d64fbf spelling 2008-10-29 03:20:13 +00:00
Mark Andrews 275b170cc4 spelling 2008-10-29 03:18:25 +00:00
Mark Andrews d1ec77294e missing #'s 2008-10-29 03:02:47 +00:00
Mark Andrews 49b24b6104 missing #'s 2008-10-29 03:02:01 +00:00
Mark Andrews 2e73a22b47 2479. [bug] xfrout:covers was not properly initalized. [RT 18801] 2008-10-29 03:01:04 +00:00
Mark Andrews e597f9f376 2479. [bug] xfrout:covers was not properly initalized. [RT 18801] 2008-10-29 02:54:20 +00:00
Automatic Updater 14c86fa67a update copyright notice 2008-10-28 23:47:06 +00:00
Automatic Updater 910f7d361f auto update 2008-10-28 23:18:38 +00:00
Mark Andrews 68d3dfc88c patch botch 2008-10-28 05:28:52 +00:00
Mark Andrews be17d6193a 2478. [bug] 'addresses' could be used uninitalized in
configure_forward(). [RT 18800]
2008-10-28 05:23:31 +00:00
Mark Andrews 9d02618ca6 2478. [bug] 'addresses' could be used uninitalized in
configure_forward(). [RT 18800]
2008-10-28 05:17:40 +00:00
Mark Andrews a21884ae7b 2477 [bug] dig: the global option to print the command line is
+cmd not print_cmd.  Update the output to reflect
                        this. [RT #17008]
2008-10-28 03:32:59 +00:00
Automatic Updater 8ee15f8afd regen 2008-10-28 01:40:10 +00:00
Automatic Updater ccc383f3a7 regen 2008-10-28 01:11:27 +00:00
Automatic Updater 39e00fac53 auto update 2008-10-27 23:19:00 +00:00
Tatuya JINMEI 神明達哉 f5a06504fb added pre-initialization check on cachedb->node_lock_count. 2008-10-27 22:44:48 +00:00
Tatuya JINMEI 神明達哉 ff2c81060f added pre-initialization check on cachedb->node_lock_count. 2008-10-27 22:43:34 +00:00
Jeremy Reed 630a802faa 2476. [doc] ARM: improve documentation for max-journal-size and
ixfr-from-differences. [RT #15909] [RT #18541]
2008-10-27 16:10:29 +00:00
Jeremy Reed d63cfbfbf9 2476. [doc] ARM: improve documentation for max-journal-size and
ixfr-from-differences. [RT #15909] [RT #18541
2008-10-27 16:05:45 +00:00
Automatic Updater 49852f5a4c 9.5.1b3 2008-10-27 05:06:34 +00:00
Mark Andrews 85bd037bae 9.5.1b3 2008-10-27 04:52:39 +00:00
Mark Andrews 943618fe19 9.5.1b3 2008-10-27 04:43:13 +00:00
Mark Andrews 4eb6d62263 2475. [bug] LRU cache cleanup under overmem condition could purge
particular entries more aggresively. [RT #17628]
2008-10-27 03:56:45 +00:00
Mark Andrews 86ee7433b3 2475. [bug] LRU cache cleanup under overmem condition could purge
particular entries more aggresively. [RT #17628]
2008-10-27 03:52:43 +00:00
Automatic Updater b76b4be572 auto update 2008-10-25 23:18:22 +00:00
Automatic Updater 712389a015 auto update 2008-10-24 23:18:18 +00:00
Evan Hunt 06a230fe9f 2474. [bug] ACL structures could be allocated with insufficient
space, causing an array overrun. [RT #18765]
2008-10-24 02:28:55 +00:00
Evan Hunt dae23dea71 2474. [bug] ACL structures could be allocated with insufficient
space, causing an array overrun. [RT #18765]
2008-10-24 02:27:46 +00:00
Automatic Updater be40453080 update copyright notice 2008-10-24 01:44:48 +00:00
Automatic Updater 5830dea4a5 update copyright notice 2008-10-24 01:44:15 +00:00
Automatic Updater 7eda3642ee newcopyrights 2008-10-24 01:41:44 +00:00
Automatic Updater f659e35e81 newcopyrights 2008-10-24 01:41:39 +00:00
Mark Andrews e1db4570c7 2473. [port] linux: raise the limit on open files to the possible
maximum value before spawning threads; 'files'
                        specified in named.conf doesn't seem to work with
                        threads as expected. [RT #18784]
2008-10-24 01:28:29 +00:00
Mark Andrews 6d54a6fc18 2473. [port] linux: raise the limit on open files to the possible
maximum value before spawning threads; 'files'
                        specified in named.conf doesn't seem to work with
                        threads as expected. [RT #18784]
2008-10-24 01:24:54 +00:00
Mark Andrews 3d8c3c8766 2472. [port] linux: check the number of available cpu's before
calling chroot as it depends on "/proc". [RT #16923]
2008-10-24 01:11:41 +00:00
Mark Andrews ee02a035c9 spelling 2008-10-24 01:08:48 +00:00
Mark Andrews 7ca0cdd7ec 2472. [port] linux: check the number of available cpu's before
calling chroot as it depends of "/proc". [RT #16923]
2008-10-24 01:08:21 +00:00
Mark Andrews 3b48eca603 update usage 2008-10-24 00:57:14 +00:00
Mark Andrews 7cc9019283 update usage 2008-10-24 00:56:32 +00:00
Mark Andrews c4a5ee7c77 named-checkzone defaults 2008-10-24 00:53:35 +00:00
Mark Andrews 831fb092e8 named-checkzone defaults 2008-10-24 00:52:49 +00:00
Mark Andrews eea693e4b1 2471. [bug] named-checkzone was not reporting missing manditory
glue when sibling checks were disabled. [RT #18768]
2008-10-24 00:36:26 +00:00
Mark Andrews 455ada05af 2471. [bug] named-checkzone was not reporting missing manditory
glue when sibling checks were disabled. [RT #18768]
2008-10-24 00:28:00 +00:00
Mark Andrews 4ac81dfb30 silence compiler warning. [RT #18766] 2008-10-24 00:11:17 +00:00
Mark Andrews 96117a5679 new draft 2008-10-23 23:08:36 +00:00
Mark Andrews 0821bdef8b 2470. [bug] Elements of the isc_radix_node_t could be incorrectly
overwritten.  [RT# 18719]
2008-10-23 00:04:11 +00:00
Mark Andrews ff30270d6c spelling 2008-10-23 00:01:29 +00:00
Mark Andrews 0d444dc136 2470. [bug] Elements of the isc_radix_node_t could be incorrectly
overwritten.  [RE# 18719]
2008-10-23 00:00:58 +00:00
Automatic Updater e1a1e86485 auto update 2008-10-22 23:18:23 +00:00
Automatic Updater 1acf72525e regen 2008-10-22 01:11:41 +00:00
Mark Andrews 68f69e179f remove sig-re-signing-interval 2008-10-21 05:25:59 +00:00
Mark Andrews e3012aaa95 2469. [port] solaris: Work around Solaris's select() limitations.
[RT #18769]
2008-10-21 02:46:16 +00:00
Mark Andrews 4e9775118d 2469. [port] solaris: Work around Solaris's select() limitations.
[RT #18769]
2008-10-21 02:43:08 +00:00
Automatic Updater 9c3f335b04 auto update 2008-10-20 23:18:24 +00:00
Automatic Updater fece28898a regen 2008-10-18 01:40:15 +00:00
Automatic Updater cd3ee12f1d regen 2008-10-18 01:11:39 +00:00
Tatuya JINMEI 神明達哉 5ad51e9362 2468. [bug] Resolver could try unreachable servers multiple times.
[RT #18739]
2008-10-17 22:01:00 +00:00
Tatuya JINMEI 神明達哉 4f4d753ce0 missing changes entry 2008-10-17 22:00:41 +00:00
Tatuya JINMEI 神明達哉 35378bcc6a 2468. [bug] Resolver could try unreachable servers multiple times.
[RT #18739]
2008-10-17 21:58:09 +00:00
Tatuya JINMEI 神明達哉 0fe2ff3c60 2467. [bug] Failure of fcntl(F_DUPFD) wasn't logged. [RT #18740] 2008-10-17 21:52:05 +00:00
Tatuya JINMEI 神明達哉 b05585dcfe 2467. [bug] Failure of fcntl(F_DUPFD) wasn't logged. [RT #18740] 2008-10-17 21:49:23 +00:00
Jeremy Reed 6441a6b67e 2466. [doc] ARM: explain max-cache-ttl 0 SERVFAIL issue.
[RT #18302]
2008-10-17 19:38:56 +00:00
Jeremy Reed 1f030ca8a3 2466. [doc] ARM: explain max-cache-ttl 0 SERVFAIL issue.
[RT #18302]

(Sorry I should have committed arm fix at same time.)
2008-10-17 19:31:57 +00:00
Jeremy Reed ba6c56b358 For bugs ticket 18302: explain why "Setting max-cache-ttl to 0
causes SERVFAIL errors for (all?) recursive lookups"
2008-10-17 19:27:52 +00:00
Mark Andrews aabfeb3b1d 2465. [bug] Adb's handling of lame addresses was different
for IPv4 and IPv6. [RT #18738]
2008-10-17 03:36:10 +00:00
Mark Andrews 698a4dcc8a 2465. [bug] Adb's handling of lame addresses was different
for IPv4 and IPv6. [RT #18738]
2008-10-17 03:23:13 +00:00
Mark Andrews 703027d266 grammer [RT #18679] 2008-10-17 03:11:26 +00:00
Automatic Updater 864f42b027 regen 2008-10-17 01:39:25 +00:00
Automatic Updater 53dc3d7cf1 update copyright notice 2008-10-16 23:46:32 +00:00
Automatic Updater 243048bd09 newcopyrights 2008-10-16 23:30:22 +00:00
Automatic Updater f6a3a85c77 auto update 2008-10-16 23:18:37 +00:00
Mark Andrews d203c9fc4d term -> option 2008-10-16 23:13:52 +00:00
Automatic Updater eed120cd09 regen 2008-10-16 01:39:58 +00:00
Automatic Updater dc91524e4b regen 2008-10-16 01:11:19 +00:00
Mark Andrews 824528aba0 2464. [port] linux: check that a capability is present before
trying to set it. [RT #18135]
2008-10-15 23:59:41 +00:00
Automatic Updater 87ecfd734c update copyright notice 2008-10-15 23:47:31 +00:00
Automatic Updater a42f99fddc update copyright notice 2008-10-15 23:46:53 +00:00
Automatic Updater 3c5dffc581 newcopyrights 2008-10-15 23:30:27 +00:00
Automatic Updater 755f2823f3 newcopyrights 2008-10-15 23:30:15 +00:00
Mark Andrews e7594d6244 silence compiler warning 2008-10-15 22:40:34 +00:00
Mark Andrews a9b45aa396 Add missing formating tags. No content changes. 2008-10-15 22:18:33 +00:00
Jeremy Reed 3ebe550f15 Add missing formating tags. No content changes. 2008-10-15 13:42:44 +00:00
Mark Andrews cad76f5797 2464. [port] linux: check that a capability is present before
trying to set it. [RT #18135]
2008-10-15 05:04:53 +00:00
Mark Andrews 88674be665 2464. [port] linux: check that a capability is present before
trying to set it. [RT #18135]
2008-10-15 05:00:57 +00:00
Mark Andrews c84ef0c62a silence coverity false positive 2008-10-15 04:25:43 +00:00
Mark Andrews f2d09cd90d silence coverity false positive 2008-10-15 04:22:30 +00:00
Mark Andrews b83aa9c2bb libbind:coverity analysis support. [RT #18196] 2008-10-15 03:56:26 +00:00
Mark Andrews 0cb0d881c4 evloop prototype. [RT #18196] 2008-10-15 03:41:18 +00:00
Mark Andrews 394c1ac533 evloop prototype. [RT #18196] 2008-10-15 03:41:17 +00:00
Mark Andrews c6e88b5aeb coverity analysis support. [RT #18196] 2008-10-15 03:36:45 +00:00
Mark Andrews 4aee922977 coverity analysis support. [RT #18196] 2008-10-15 03:29:13 +00:00
Mark Andrews b018450b0e sig is only used if threads are in use. [RT #18196] 2008-10-15 03:21:22 +00:00
Mark Andrews 55cc1ded88 sig is only used if threads are in use. [RT #18196] 2008-10-15 03:21:04 +00:00
Mark Andrews bebecf1811 constistant declaration of progname. [RT #18196] 2008-10-15 03:06:21 +00:00
Mark Andrews 7318a964ec constistant declaration of progname 2008-10-15 03:03:57 +00:00
Mark Andrews 24a56e15f7 silence compiler warning 2008-10-15 02:37:11 +00:00
Mark Andrews 7fab106975 make the arrays rcodetext and opcodetext readonly. [RT #18196] 2008-10-15 02:18:45 +00:00
Mark Andrews 7ca1016560 make the arrays rcodetext and opcodetext readonly 2008-10-15 02:16:51 +00:00
Automatic Updater b9f3a055f5 regen 2008-10-15 01:40:39 +00:00
Mark Andrews d479b2c72a Change the SEE ALSO from obsolete 2535 to 4033 2008-10-15 01:16:59 +00:00
Automatic Updater c6c78f699b regen 2008-10-15 01:11:35 +00:00
Mark Andrews c19d353c58 regen 2008-10-15 00:16:13 +00:00
Mark Andrews f5f99733e1 regen 2008-10-15 00:15:21 +00:00
Mark Andrews 43feb8d253 2463. [port] linux: POSIX doesn't include the IPv6 Advanced Socket
API and glibc hides parts of the IPv6 Advanced Socket
                        API as a result.  This is stupid as it breaks how the
                        two halves (Basic and Advanced) of the IPv6 Socket API                          were designed to be used but we have to live with it.
                        Define _GNU_SOURCE to pull in the IPv6 Advanced Socket
                        API. [RT #18388]
2008-10-15 00:12:52 +00:00
Mark Andrews 20256cbc15 use build_os not host for change 2461 2008-10-15 00:10:09 +00:00
Mark Andrews 7ea0a81627 use build_os not host for change 2461 2008-10-15 00:09:14 +00:00
Mark Andrews d7896edb4e 2463. [port] linux: POSIX doesn't include the IPv6 Advanced Socket
API and glibc hides parts of the IPv6 Advanced Socket
                        API as a result.  This is stupid as it breaks how the
                        two halves (Basic and Advanced) of the IPv6 Socket API
                        were designed to be used but we have to live with it.
                        Define _GNU_SOURCE to pull in the IPv6 Advanced Socket
                        API. [RT #18388]
2008-10-15 00:05:16 +00:00
Jeremy Reed 733531b6d5 Change SEE ALSO reference from obsolete 2535 to 4033.
(Also order these numerically.)
2008-10-14 14:32:50 +00:00
Jeremy Reed e164806329 Change the SEE ALSO from obsolete 2535 to 4033. 2008-10-14 14:28:25 +00:00
Mark Andrews 0edc4f158e document --enable-largefile 2008-10-14 04:27:30 +00:00
Mark Andrews e2a24b6e79 document --enable-largefile 2008-10-14 03:33:01 +00:00
Automatic Updater 0a70099ef1 regen 2008-10-14 01:40:22 +00:00
Automatic Updater 1c09d68dfd regen 2008-10-14 01:11:36 +00:00
Mark Andrews e322d938d5 2462. [doc] Document -m (enable memory usage debugging)
option for dig. [RT #18757]
2008-10-14 00:55:12 +00:00
Mark Andrews 2507b24bd1 2462. [doc] Document -m (enable memory usage debugging)
option for dig. [RT #18757]
2008-10-14 00:22:25 +00:00
Jeremy Reed 0db6bf459f Document -m (enable memory usage debugging) option for dig. [RT #18757] 2008-10-13 21:18:56 +00:00
Mark Andrews e4782ca3bf 2461. [port] sunos: Change #2363 was not complete. [RT #17513] 2008-10-13 00:36:56 +00:00
Mark Andrews 316a9f9e0f 2461. [port] sunos: Change #2363 was not complete. [RT #17513] 2008-10-13 00:36:20 +00:00
Mark Andrews 99a522dad7 2461. [port] sunos: Change #2363 was not complete. [RT #17513] 2008-10-13 00:29:48 +00:00
Automatic Updater a68a82e4e5 auto update 2008-10-09 23:18:53 +00:00
Evan Hunt 9b65a75518 suppress an error message on solaris. [rt18253] 2008-10-09 21:28:37 +00:00
Evan Hunt 95de316a5d suppress an error message on solaris. [rt18253] 2008-10-09 21:27:52 +00:00
Automatic Updater d470833997 regen 2008-10-04 01:39:48 +00:00
Mark Andrews e7e3f5d064 Minor grammar and punctuation changes. [RT #18703] 2008-10-03 22:09:24 +00:00
Automatic Updater b49958b502 regen 2008-10-03 01:11:33 +00:00
Jeremy Reed d4f032db53 Minor grammar and punctuation changes.
[RT #18703]
2008-10-03 00:55:33 +00:00
Automatic Updater 8d68bae542 update copyright notice 2008-10-02 23:47:16 +00:00
Automatic Updater 0142fd71e0 newcopyrights 2008-10-02 23:30:18 +00:00
Mark Andrews e6c5224571 2460. [bug] Don't call dns_db_getnsec3parameters() on the cache.
[RT #18697]
2008-10-02 20:35:39 +00:00
Mark Andrews 61d7ab455f libbind fixes 2008-10-02 06:31:59 +00:00
Mark Andrews b90d59882c move 9.6.0a1 marker 2008-10-02 06:25:05 +00:00
Mark Andrews cd6555930b 2459. [contrib] Import dnssec-zkt to contrib/zkt. [RT #18448] 2008-10-02 06:16:12 +00:00
Automatic Updater f8e61212a1 newcopyrights 2008-09-29 23:30:23 +00:00
Evan Hunt 614a39f897 Import dnssec-zkt to contrib/zkt. [rt18448] 2008-09-29 21:44:21 +00:00
Automatic Updater 697df8a0d8 regen 2008-09-28 01:40:23 +00:00
Automatic Updater 8b1cba45ad regen 2008-09-28 01:11:38 +00:00
Tatuya JINMEI 神明達哉 f728f5655c missing RT number 2008-09-27 23:52:51 +00:00
Tatuya JINMEI 神明達哉 c5ead8c25b missing RT number 2008-09-27 23:52:03 +00:00
Tatuya JINMEI 神明達哉 369e148f30 2458. [doc] ARM: update and correction for max-cache-size.
[RT #18294]
2008-09-27 23:51:03 +00:00
Tatuya JINMEI 神明達哉 f722bafb94 2458. [doc] ARM: update and correction for max-cache-size.
[RT #18294]
2008-09-27 23:50:50 +00:00
Tatuya JINMEI 神明達哉 570cb1495c 2457. [tuning] max-cache-size is reverted to 0, the previous
default.  It should be safe because expired cache
			entries are also purged.
2008-09-27 23:39:42 +00:00
Tatuya JINMEI 神明達哉 c644959444 untabified, just for consistency 2008-09-27 23:38:28 +00:00
Tatuya JINMEI 神明達哉 2be6798f93 2457. [tuning] max-cache-size is reverted to 0, the previous
default.  It should be safe because expired cache
			entries are also purged.
2008-09-27 23:35:31 +00:00
Automatic Updater cdbb3d2774 update copyright notice 2008-09-26 23:47:06 +00:00
Automatic Updater 331365a7dd update copyright notice 2008-09-26 23:46:32 +00:00
Automatic Updater 4de3c174d6 newcopyrights 2008-09-26 23:30:13 +00:00
Automatic Updater 647a14a1eb auto update 2008-09-26 23:18:28 +00:00
Evan Hunt b8ed8cbcd9 2456. [bug] In ACLs, ::/0 and 0.0.0.0/0 would both match any
address, regardless of family.  They now correctly
			distinguish IPv4 from IPv6.  [RT #18559]
2008-09-26 21:17:48 +00:00
Evan Hunt b0bf1ad5b0 2456. [bug] In ACLs, ::/0 and 0.0.0.0/0 would both match any
address, regardless of family.  They now correctly
			distinguish IPv4 from IPv6.  [RT #18559]
2008-09-26 21:12:02 +00:00
Evan Hunt 106360491a address review comment 2008-09-26 16:44:49 +00:00
Mark Andrews fc24d649af 2369. [bug] libbind: Array bounds overrun on read in bitncmp().
[RT #18054]
2008-09-26 06:30:52 +00:00
Mark Andrews 6edc665a3d return rather than exit from main 2008-09-26 01:31:19 +00:00
Mark Andrews dd14c953a8 unsigned constants 2008-09-26 01:27:08 +00:00
Automatic Updater 01b18d4c7c regen 2008-09-26 01:11:35 +00:00
Evan Hunt 711f3ea3e3 remove "NSID support" from 9.6.0 features 2008-09-25 22:12:59 +00:00
Jeremy Reed fd49218f63 Fix typo. 2008-09-25 20:41:19 +00:00
Mark Andrews 22d44896ad CONFIGARGS 2008-09-25 07:44:12 +00:00
Automatic Updater 9f87cfb633 9.6.0a1 2008-09-25 06:51:58 +00:00
Automatic Updater 38417cbfb1 regen 2008-09-25 06:24:42 +00:00
Mark Andrews 9a57aa45b0 NSEC3 2008-09-25 06:08:49 +00:00
Mark Andrews bfcb5fae68 9.6 2008-09-25 05:49:26 +00:00
Automatic Updater 8a377fbd29 newcopyrights 2008-09-25 05:47:56 +00:00
Automatic Updater 822df94949 newcopyrights 2008-09-25 05:21:07 +00:00
Automatic Updater 731cc132f2 regen 2008-09-25 04:45:05 +00:00
Mark Andrews 86e0a671ed 9.6.0a1 2008-09-25 04:39:58 +00:00
Mark Andrews 8b8192cfa4 9.6.0a1 2008-09-25 04:31:12 +00:00
Mark Andrews bcfb2cead5 update 2008-09-25 04:30:42 +00:00
Mark Andrews f3d3ab8e05 regen 2008-09-25 04:25:52 +00:00
Mark Andrews 7d5d6647dd remove AC_CONFIG_SUBDIRS(lib/bind) 2008-09-25 04:25:15 +00:00
Mark Andrews a418129ad0 0 -> dns_rdatatype_none 2008-09-25 04:15:41 +00:00
Mark Andrews 75a4ad0829 0 -> dns_rdatatype_none 2008-09-25 04:12:39 +00:00
Automatic Updater 3398334b3a update copyright notice 2008-09-25 04:02:39 +00:00
Automatic Updater 594b42f339 update copyright notice 2008-09-25 04:02:07 +00:00
Automatic Updater 7af91d15b2 newcopyrights 2008-09-25 03:59:55 +00:00
Automatic Updater ae81630e7a newcopyrights 2008-09-25 03:59:46 +00:00
Mark Andrews 61d7e9c26e 2455. [bug] Stop metadata being transfered via axfr/ixfr.
[RT #18639]
2008-09-25 03:54:04 +00:00
Mark Andrews eab4a5c29d 2455. [bug] Stop metadata being transfered via axfr/ixfr.
[RT #18639]
2008-09-25 03:49:55 +00:00
Mark Andrews e101739d76 regen 2008-09-25 03:43:44 +00:00
Evan Hunt 4ac0f854ef line missing from previous 2008-09-25 03:39:52 +00:00
Evan Hunt bd6174a192 fixed missing backquotes 2008-09-25 03:39:51 +00:00
Evan Hunt 203e146e5e fixed missing backquotes 2008-09-25 03:33:11 +00:00
Mark Andrews 21d493fc39 2454. [func] nsupdate: you can now set a default ttl. [RT #18317] 2008-09-25 02:20:27 +00:00
Mark Andrews 470be8037f 2453. [bug] Remove NULL pointer dereference in dns_journal_print().
[RT #18316]
2008-09-25 02:07:56 +00:00
Mark Andrews 5737b74d34 2453. [bug] Remove NULL pointer dereference in dns_journal_print().
[RT #18316]

2452.   [func]          Improve bin/test/journalprint. [RT #18316]
2008-09-25 02:01:45 +00:00
Mark Andrews 5d40a68da0 regen 2008-09-25 01:42:05 +00:00
Mark Andrews e163a67550 patch miss applied 2008-09-25 01:41:35 +00:00
Mark Andrews 8056d06160 2451. [port] solaris: handle runtime linking better. [RT #18356] 2008-09-25 01:38:58 +00:00
Mark Andrews 13fb52f8ff 2451. [port] solaris: handle runtime linking better. [RT #18356] 2008-09-25 01:35:22 +00:00
Mark Andrews 19e4588ed7 2451. [port] solaris: handle runtime linking better. [RT #18356] 2008-09-25 01:22:47 +00:00
Mark Andrews 25814aef23 libbind cleanup 2008-09-25 00:57:26 +00:00
Mark Andrews 7b67cfadd0 NSEC3-NOTES 2008-09-25 00:55:35 +00:00
Automatic Updater f0af7d0997 newcopyrights 2008-09-24 23:30:17 +00:00
Automatic Updater 54b444720d auto update 2008-09-24 23:18:24 +00:00
Jeremy Reed 48a866144e 2450. [doc] Fix lwresd docbook problem for manual page.
[RT #18672]

Note: I am not committing to other branches since they are in
betas -- please let me know if this should be done.

TODO: lwresd.8 needs to be regenerated and committed.
2008-09-24 21:40:58 +00:00
Evan Hunt f66ac0c858 silence compiler warnings 2008-09-24 16:33:27 +00:00
Mark Andrews 41c649cb82 2387. [bug] Silence compiler warnings in lib/isc/radix.c.
[RT #18147] [RT #18258]
2008-09-24 06:53:40 +00:00
Mark Andrews adb3b16e56 2449. [bug] libbind: Out of bounds reference in dns_ho.c:addrsort.
[RT #18044]
2008-09-24 05:41:39 +00:00
Mark Andrews 143852efc0 placeholder 2008-09-24 05:40:44 +00:00
Mark Andrews 1c627fbd0a 9.6.0a1 2008-09-24 04:30:47 +00:00
Evan Hunt 6cdaeb94d4 Moved libbind out as a separate product. 2008-09-24 04:16:53 +00:00
Automatic Updater 6e2871232f update copyright notice 2008-09-24 03:16:58 +00:00
Mark Andrews 6098d364b6 2448. [func] Add NSEC3 support. [RT #15452] 2008-09-24 02:46:23 +00:00
Mark Andrews 931cb604b1 spelling 2008-09-24 02:26:42 +00:00
Mark Andrews 6915797fa8 2447. [cleanup] libbind has been split out as a seperate produce. 2008-09-24 02:20:17 +00:00
Mark Andrews 11dbf2fc38 2447. [cleanup] libbind has been split out as a seperate produce. 2008-09-24 02:13:12 +00:00
Automatic Updater 366e4a1287 regen 2008-09-24 01:42:52 +00:00
Automatic Updater 824f38c031 regen 2008-09-24 01:12:39 +00:00
Evan Hunt 129c8794c5 remove duplicate change note 2008-09-23 21:44:30 +00:00
Tatuya JINMEI 神明達哉 bb53eb76af regen 2008-09-23 17:26:08 +00:00
Tatuya JINMEI 神明達哉 eeaa2277ea 2446. [func] Add a new log message about build options on startup.
A new command-line option '-V' for named is also
			provided to show this information. [RT# 18645]
2008-09-23 17:25:47 +00:00
Mark Andrews d443cb2cb7 2445. [doc] ARM out-of-date on empty reverse zones (list includes
RFC1918 address, but these are not yet compiled in).
                        [RT #18578]
2008-09-23 04:00:39 +00:00
Mark Andrews cfef379926 2445. [doc] ARM out-of-date on empty reverse zones (list includes
RFC1918 address, but these are not yet compiled in).
                        [RT #18578]
2008-09-23 03:59:16 +00:00
Mark Andrews 6a858014fb 2444. [port] Linux, FreeBSD, AIX: Turn off path mtu discovery
(clear DF) for UDP responses and requests.
2008-09-23 02:30:57 +00:00
Mark Andrews ce688d6594 spelling 2008-09-23 02:29:05 +00:00
Mark Andrews c6c09f77f8 2444. [port] Linux, FreeBSD, AIX: Turn of path mtu discovery
(clear DF) for UDP responses and requests.
2008-09-23 02:20:21 +00:00
Automatic Updater 1de4dea98c auto update 2008-09-22 23:18:42 +00:00
Automatic Updater e616b6361e auto update 2008-09-18 23:18:47 +00:00
Automatic Updater 670ce73a78 auto update 2008-09-16 23:18:42 +00:00
Michael Graff 467e6fd167 make the same change to win32/socket.c here as was made on v9_5 to fix connected UDP sockets 2008-09-16 17:19:01 +00:00
Evan Hunt 41b814a6ca update for 9.5.1b2 release 2008-09-16 16:35:31 +00:00
Evan Hunt 38b85bd324 prepare 9.5.0b2 release 2008-09-16 16:32:33 +00:00
Evan Hunt 5207c63494 bump 9.5.1b2 release note 2008-09-16 16:25:21 +00:00
Michael Graff 2bbbad29cd win32: UDP connect() would not generate an event, and so connected UDP sockets would never clean up. Fix this by doing an immediate WSAConnect() rather than an io completion port type for UDP. 2008-09-16 01:47:27 +00:00
Mark Andrews fe8bda0545 2442. [bug] A lock could be destroyed twice. [RT# 18626] 2008-09-14 04:58:05 +00:00
Mark Andrews 896f88361e 2442. [bug] A lock could be destroyed twice. [RT# 18626] 2008-09-14 04:54:49 +00:00
Automatic Updater 6011ef0f4d update copyright notice 2008-09-12 23:47:25 +00:00
Automatic Updater 26687c8c19 update copyright notice 2008-09-12 23:46:45 +00:00
Evan Hunt 1f2d1268cf Further updates to README to clarify the situation with Windows builds. 2008-09-12 06:10:04 +00:00
Evan Hunt ce24920229 Further updates to README to clarify the situation with Windows builds. 2008-09-12 06:10:03 +00:00
Evan Hunt 420350c113 2441. [bug] isc_radix_insert() could copy radix tree nodes
incompletely. [RT #18573]

2440.   [bug]		named-checkconf used an incorrect test to determine
			if an ACL was set to none.
2008-09-12 06:03:22 +00:00
Evan Hunt 5ce9206eb9 2441. [bug] isc_radix_insert() could copy radix tree nodes
incompletely. [RT #18573]

2440.   [bug]		named-checkconf used an incorrect test to determine
			if an ACL was set to none.
2008-09-12 06:02:31 +00:00
Evan Hunt 18189315bc possible null dereference in dns_acl_isanyornone() [rt18559] 2008-09-12 04:55:04 +00:00
Evan Hunt e80f661db8 possible null dereference in dns_acl_isanyornone() [rt18559] 2008-09-12 04:54:39 +00:00
Automatic Updater 5a0f94e585 newcopyrights 2008-09-12 04:48:41 +00:00
Mark Andrews 691f1f7731 2438. [bug] Timeouts could be logged incorrectly under win32.
2436.   [security]      win32: UDP client handler can be shutdown. [RT #18576]

2434.   [bug]           Fixed a minor error-reporting bug in
                        lib/isc/win32/socket.c.

2432.   [bug]           More Windows socket handling improvements.  Stop
                        using I/O events and use IO Completion Ports
                        throughout.  Rewrite the receive path logic to make
                        it easier to support multiple simultaneous
                        requestrs in the future.  Add stricter consistency
                        checking as a compile-time option (define
                        ISC_SOCKET_CONSISTENCY_CHECKS; defaults to off).

2420.   [bug]           Windows socket handling cleanup.  Let the io
                        completion event send out cancelled read/write
                        done events, which keeps us from writing to memeory
                        we no longer have ownership of.  Add debugging
                        socket_log() function.  Rework TCP socket handling
                        to not leak sockets.
2008-09-12 04:46:25 +00:00
Automatic Updater 7654cb1308 regen 2008-09-12 01:43:01 +00:00
Automatic Updater 94f69ca430 regen 2008-09-12 01:12:32 +00:00
Automatic Updater 5c9ef029d7 update copyright notice 2008-09-11 23:46:38 +00:00
Automatic Updater 627fffe1b0 newcopyrights 2008-09-11 23:30:25 +00:00
Evan Hunt 069a1e3312 prepare release of 9.5.1b2 2008-09-11 23:22:06 +00:00
Evan Hunt 16afb60092 Update doc to remove references to Windows NT and Windows 2000 2008-09-11 22:59:08 +00:00
Jeremy Reed c76dce9677 Grammar fix. (Same sentence still needs to be fixed to update what Windows
versions are supported.)
2008-09-11 21:22:14 +00:00
Evan Hunt 3f2867b068 timeouts could be logged incorrectly under win32 [rt18617] 2008-09-11 21:02:43 +00:00
Evan Hunt 8760bb9e0c add placeholder 2008-09-11 21:01:08 +00:00
Mark Andrews cd201adfc1 maxsocks -> 0 2008-09-11 08:02:53 +00:00
Mark Andrews 0be665e6f2 CONSISTENT -> consistent 2008-09-11 07:06:27 +00:00
Mark Andrews 4085c01334 updare isc_mutex_stats define 2008-09-11 06:56:04 +00:00
Mark Andrews 1509038d95 whitespace 2008-09-11 06:51:26 +00:00
Evan Hunt 83264deef5 corrected patch error, duplicate routine 2008-09-11 06:09:02 +00:00
Evan Hunt f1c9b6ec29 fix change numbering, 2406->2437 2008-09-11 05:41:12 +00:00
Evan Hunt 593bb64646 fix change numbering, 2406->2437 2008-09-11 05:41:11 +00:00
Evan Hunt 847a3724bc Windows sockets won't connect unless the socket is bound. 2008-09-11 04:25:29 +00:00
Evan Hunt 2e423eff9f Re-merge fixes from 9.5.0-P2-W1, ideally this time without obliterating
all the changes that had been put in since the branches diverged...
2008-09-11 04:10:17 +00:00
Evan Hunt 8db677781e revert prior change to socket.c; it was missing some changes that are
needed
2008-09-11 03:18:42 +00:00
Evan Hunt 9bf08e37f9 merged in the remaining fixes from 9.5.0-P2-W1 and -W2 2008-09-11 02:23:55 +00:00
Mark Andrews b247f77228 placeholder 2008-09-10 23:25:04 +00:00
Evan Hunt ba2b051236 pull up windows acl leak fix from 9.5.0-P2-W1 2008-09-10 21:54:08 +00:00
Evan Hunt aeadcd6319 pull up windows acl leak fix from 9.5.0-P2-W1 2008-09-10 21:52:49 +00:00
Automatic Updater e3e5d55904 update 2008-09-10 03:09:13 +00:00
Automatic Updater 59fed21561 rfc5155.txt 2008-09-10 03:09:12 +00:00
Automatic Updater 9b549c70d1 rfc4648.txt 2008-09-10 03:09:10 +00:00
Automatic Updater 55b8e5104e regen 2008-09-10 01:43:22 +00:00
Automatic Updater 39548f001a regen 2008-09-10 01:12:34 +00:00
Mark Andrews d43b815145 new draft 2008-09-09 05:49:33 +00:00
Mark Andrews 3eeefd54b1 update 2008-09-09 05:42:17 +00:00
Mark Andrews befa40a9dc Why do queries for NSEC3 records fail to return the NSEC3 record? 2008-09-09 05:02:38 +00:00
Automatic Updater e2c97aef51 update copyright notice 2008-09-08 23:47:10 +00:00
Automatic Updater 59847bba27 newcopyrights 2008-09-08 23:30:21 +00:00
Mark Andrews ac3d398b56 update 2008-09-08 08:55:05 +00:00
Mark Andrews 24119ac6bd update 2008-09-08 08:52:18 +00:00
Mark Andrews 612045f8e1 update 2008-09-08 08:49:24 +00:00
Mark Andrews 62e67fd6c0 update 2008-09-08 08:42:07 +00:00
Mark Andrews 922cb29cfe isc_portset_isset 2008-09-08 08:33:41 +00:00
Mark Andrews 327070c7e5 stats 2008-09-08 08:30:04 +00:00
Mark Andrews ed9ca23065 syntax error 2008-09-08 08:28:08 +00:00
Mark Andrews 12eb8057cb portset 2008-09-08 08:26:28 +00:00
Mark Andrews ab834d21f1 exports 2008-09-08 08:23:58 +00:00
Mark Andrews 2f88444e9a add portset 2008-09-08 07:06:15 +00:00
Mark Andrews 8343d55b3d windows implementation of isc_time_set 2008-09-08 06:53:10 +00:00
Mark Andrews 66d720025d update isc_time_set's description 2008-09-08 06:51:10 +00:00
Mark Andrews 739240a9d1 remove dns_stats_copy dns_stats_create dns_stats_destroy dns_stats_incrementcounter dns_zone_getstats 2008-09-08 05:59:11 +00:00
Mark Andrews 7e52028a83 remove dns_resolver_createdispatchpool 2008-09-08 05:41:22 +00:00
Mark Andrews efc8a6ba16 remove dns_dispatch_hash 2008-09-08 05:35:06 +00:00
Mark Andrews 1d77be00c4 default maxsockets to 0 2008-09-08 05:30:35 +00:00
Automatic Updater ab31c5b251 auto update 2008-09-05 23:18:38 +00:00
Automatic Updater 973bd57223 regen 2008-09-05 01:42:59 +00:00
Automatic Updater 4a71c59d2b regen 2008-09-05 01:12:06 +00:00
Evan Hunt baeed3c40f add placeholder 2008-09-05 00:37:03 +00:00
Automatic Updater 8306e43fcb update copyright notice 2008-09-04 23:47:13 +00:00
Automatic Updater ea37d45522 update copyright notice 2008-09-04 23:46:41 +00:00
Automatic Updater 6777d7d610 newcopyrights 2008-09-04 23:30:19 +00:00
Automatic Updater 175e89dac5 auto update 2008-09-04 23:19:22 +00:00
Mark Andrews 00d4f67a10 2398. [bug] Improve file descriptor management. New,
temporary, named.conf option reserved-sockets,
                        default 512. [RT #18344]
2008-09-04 07:58:07 +00:00
Mark Andrews d8aa1541f0 move prototype out of #ifdef/#endif 2008-09-04 07:46:02 +00:00
Mark Andrews ed1251fa35 include order 2008-09-04 07:45:15 +00:00
Mark Andrews 0eeaaaf0ae 2398. [bug] Improve file descriptor management. New,
temporary, named.conf option reserved-sockets,
                        default 512. [RT #18344]
2008-09-04 05:56:43 +00:00
Mark Andrews 1761e1c8ff 2433. [tuning] Set initial timeout to 800ms. 2008-09-04 04:28:31 +00:00
Mark Andrews f5662f41e7 2433. [tuning] Set initial timeout to 800ms. 2008-09-04 04:23:43 +00:00
Tatuya JINMEI 神明達哉 98c61e5596 cleanup: unused function parameter [RT #18572] 2008-09-04 00:23:59 +00:00
Tatuya JINMEI 神明達哉 a4037b279b cleanup: unused function parameter [RT #18572] 2008-09-04 00:23:14 +00:00
Evan Hunt 36440d1ec6 add placeholder 2008-09-03 20:57:16 +00:00
Mark Andrews 2be97eb46a 2431. [bug] Acl processing could leak memory. [RT #18323] 2008-09-01 05:40:22 +00:00
Mark Andrews 470212919f 2431. [bug] Acl processing could leak memory. [RT #18323] 2008-09-01 05:36:00 +00:00
Automatic Updater a11d334790 regen 2008-09-01 02:40:05 +00:00
Automatic Updater 5d4460c9b5 regen 2008-09-01 01:44:30 +00:00
Automatic Updater 6ebd91a0c7 update copyright notice 2008-08-29 23:47:22 +00:00
Automatic Updater ff47185b27 update copyright notice 2008-08-29 23:46:52 +00:00
Automatic Updater f0ecd0e64f newcopyrights 2008-08-29 23:30:28 +00:00
Automatic Updater 562021b6d7 newcopyrights 2008-08-29 23:30:18 +00:00
Automatic Updater 66bb4938ea auto update 2008-08-29 23:18:22 +00:00
Mark Andrews b3ea7edc7a 2430. [bug] win32: isc_interval_set() could round down to
zero if the input was less than NS_INTERVAL
                        nanoseconds.  Round up instead. [RT #18549]
2008-08-29 04:06:22 +00:00
Mark Andrews e72c1e7e46 2430. [bug] win32: isc_interval_set() could round down to
zero if the input was less than NS_INTERVAL
                        nanoseconds.  Round up instead. [RT #18549]
2008-08-29 03:57:38 +00:00
Mark Andrews 3fde4efbd1 nsupdate.8 -> nsupdate.1 2008-08-29 03:26:41 +00:00
Mark Andrews 3857cb6fca nsupdate.8 -> nsupdate.1 2008-08-29 03:23:40 +00:00
Mark Andrews 6253de55a7 2429. [doc] nsupdate should be in section 1 of the man pages.
[RT #18283]
2008-08-29 03:20:03 +00:00
cvs2git 00f151eb6c This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-08-29 03:16:17 +00:00
Mark Andrews a8f6b2aa46 2429. [doc] nsupdate should be in section 1 of the man pages.
[RT #18283]
2008-08-29 03:16:14 +00:00
Automatic Updater 8fedc9e968 regen 2008-08-28 01:12:23 +00:00
Mark Andrews 558a1216bb 2428. [bug] dns_iptable_merge() mishandled merges of negative
tables. [RT #18409]
2008-08-27 04:53:58 +00:00
Mark Andrews c6a1797aff 2428. [bug] dns_iptable_merge() mishandled merges of negative
tables. [RT #18409]
2008-08-27 04:44:18 +00:00
Mark Andrews 8c1602bd24 Q: I want to use IPv6 locally but I don't have a external IPv6 connection.
External lookups are slow.
2008-08-27 02:34:48 +00:00
Automatic Updater 6d7d20116e newcopyrights 2008-08-26 23:30:26 +00:00
Automatic Updater 05203819ec newcopyrights 2008-08-26 23:30:17 +00:00
Mark Andrews abfc643b40 missing pair of '[]'. [RT#18422] 2008-08-26 14:55:37 +00:00
Mark Andrews fc17bb228e missing pair of '[]'. [RT#18422] 2008-08-26 14:51:07 +00:00
Mark Andrews 1e02091371 2427. [func] Treat DNSKEY queries as if "minimal-response yes;"
was set. [RT #18528]
2008-08-26 06:09:18 +00:00
Mark Andrews 435892a597 2426. [bug] libbind: inet_net_pton() can sometimes return the
wrong value if excessively large netmasks are
                        supplied. [RT #18512]
2008-08-26 04:42:38 +00:00
Mark Andrews 5e3f390f05 2426. [bug] libbind: inet_net_pton() can sometimes return the
wrong value if excessively large netmasks are
                        supplied. [RT #18512]
2008-08-26 03:53:04 +00:00
Tatuya JINMEI 神明達哉 0af4666d72 2425. [bug] named didn't detect unavailable query source addresses
at load time. [RT #18536]
2008-08-26 02:05:56 +00:00
Tatuya JINMEI 神明達哉 ebacb7908a 2425. [bug] named didn't detect unavailable query source addresses
at load time. [RT #18536]
2008-08-26 02:04:20 +00:00
Automatic Updater e6a6d0778c update copyright notice 2008-08-22 23:47:17 +00:00
Automatic Updater 84791246fc update copyright notice 2008-08-22 23:46:32 +00:00
Automatic Updater ece87b2cf2 newcopyrights 2008-08-22 23:30:16 +00:00
Mark Andrews af40d1b37a 2424. [port] configure now probes for a working epoll
implementation.  Allow the use of kqueue,
                        epoll and /dev/poll to be selected at compile
                        time. [RT #18277]
2008-08-22 13:25:27 +00:00
Mark Andrews 1fda48bcef 2424. [port] configure now probes for a working epoll
implementation.  Allow the use of kqueue,
                        epoll and /dev/poll to be selected at compile
                        time. [RT #18277]
2008-08-22 13:22:32 +00:00
Mark Andrews 3dfa202e4f 2424. [port] configure now probes for a working epoll
implementation.  Allow the use of kqueue,
                        epoll and /dev/poll to be selected at compile
                        time. [RT #18277]
2008-08-22 13:17:56 +00:00
Mark Andrews e40d92c25f silence compiler warning 2008-08-22 05:58:45 +00:00
Mark Andrews a7485cd61d silence compiler warning 2008-08-22 05:57:53 +00:00
Mark Andrews 36ee383d4d add ${LDFLAGS} to gsstest link command 2008-08-22 05:27:24 +00:00
Mark Andrews 3e224effd8 adjust log message added by change 2409. [RT #18497] 2008-08-22 05:02:02 +00:00
Mark Andrews a0fb749d0b adjust log message added by change 2409. [RT #18497] 2008-08-22 05:00:29 +00:00
Evan Hunt 055f020f9c fixed numbering 2008-08-22 04:17:38 +00:00
Evan Hunt a45f57a2d5 RTT banding. [rt18441] 2008-08-22 04:16:17 +00:00
Automatic Updater 7278318053 regen 2008-08-22 01:12:14 +00:00
Automatic Updater 5422929ca0 update copyright notice 2008-08-21 23:47:18 +00:00
Automatic Updater 3c3f500120 update copyright notice 2008-08-21 23:46:48 +00:00
Automatic Updater c5a53da13b newcopyrights 2008-08-21 23:30:27 +00:00
Automatic Updater 331dc9dae6 newcopyrights 2008-08-21 23:30:20 +00:00
Automatic Updater 74d2d170a2 auto update 2008-08-21 23:18:31 +00:00
Mark Andrews 39f47ff683 2421. [bug] Handle the special return value of a empty node as
if it was a NXRRSET in the validator. [RT #18447]
2008-08-21 04:56:39 +00:00
Mark Andrews 1bfe8851c0 2421. [bug] Handle the special return value of a empty node as
if it was a NXRRSET in the validator. [RT #18447]
2008-08-21 04:43:49 +00:00
Automatic Updater c4d99a6240 regen 2008-08-21 01:12:04 +00:00
Tatuya JINMEI 神明達哉 1ffcbe8b43 2420. [func] Add new command line option '-S' for named to specify
the max number of sockets. [RT #18493]
			Use caution: this option may not work for some
			operating systems without rebuilding named.
2008-08-21 00:01:02 +00:00
Tatuya JINMEI 神明達哉 13d9b8ce94 2420. [func] Add new command line option '-S' for named to specify
the max number of sockets. [RT #18493]
			Use caution: this option may not work for some
			operating systems without rebuilding named.
2008-08-20 23:57:59 +00:00
Automatic Updater 0cb666ecb4 auto update 2008-08-20 23:18:32 +00:00
Mark Andrews 586655fbbd 2419. [cleanup] Document that isc_socket_create() and isc_socket_open()
should not be used for isc_sockettype_fdwatch sockets.
                        [RT #18521]
2008-08-20 06:20:16 +00:00
Mark Andrews 2f420f33bb 2419. [cleanup] Document that isc_socket_create() and isc_socket_open()
should not be used for isc_sockettype_fdwatch sockets.
                        [RT #18521]
2008-08-20 06:16:07 +00:00
Automatic Updater cf5b250294 auto update 2008-08-16 23:18:24 +00:00
Automatic Updater 98fb3282ed auto update 2008-08-15 23:18:24 +00:00
Tatuya JINMEI 神明達哉 cf768e3189 2418. [bug] AXFR request on a DLZ could trigger a REQUIRE failure
[RT #18430]
2008-08-15 19:38:27 +00:00
Tatuya JINMEI 神明達哉 b049b8ce6a 2418. [bug] AXFR request on a DLZ could trigger a REQUIRE failure
[RT #18430]
2008-08-15 19:36:49 +00:00
Tatuya JINMEI 神明達哉 57f8a60b21 canceled the privious commit (which was made by accident) 2008-08-15 17:52:53 +00:00
Tatuya JINMEI 神明達哉 b55dc7da2e typo: s/dns_displist_t/dispsocketlist_t/ 2008-08-15 17:47:18 +00:00
Tatuya JINMEI 神明達哉 7e6b99380a typo: s/dns_displist_t/dispsocketlist_t/ 2008-08-15 17:46:55 +00:00
Tatuya JINMEI 神明達哉 2a92cae1ed 2417. [bug] Connecting UDP sockets for outgoing queries could
unexpectedly fail with an 'address already in use'
			error. [RT #18411]
2008-08-15 17:31:05 +00:00
Tatuya JINMEI 神明達哉 e2fe1fda75 2417. [bug] Connecting UDP sockets for outgoing queries could
unexpectedly fail with an 'address already in use'
			error. [RT #18411]
2008-08-15 17:29:52 +00:00
Tatuya JINMEI 神明達哉 787a264c0a 2416. [func] Log file descriptors that cause exceeding the
internal maximum. [RT #18460]
2008-08-13 23:45:05 +00:00
Tatuya JINMEI 神明達哉 cf225ed6cd 2416. [func] Log file descriptors that cause exceeding the
internal maximum. [RT #18460]
2008-08-13 23:44:18 +00:00
Tatuya JINMEI 神明達哉 125fb22fe3 2415. [bug] 'rndc dumpdb' could trigger various assertion failures
in rbtdb.c. [RT #18455]
2008-08-13 02:29:53 +00:00
Tatuya JINMEI 神明達哉 52d5489b95 2415. [bug] 'rndc dumpdb' could trigger various assertion failures
in rbtdb.c. [RT #18455]
2008-08-13 02:28:45 +00:00
Tatuya JINMEI 神明達哉 9aaf1cefe5 2414. [bug] A masterdump context held the database lock too long,
causing various troubles such as dead lock and
			recursive lock acquisition. [RT #18311, #18456]
2008-08-13 02:20:58 +00:00
Tatuya JINMEI 神明達哉 515ada69db 2414. [bug] A masterdump context held the database lock too long,
causing various troubles such as dead lock and
			recursive lock acquisition. [RT #18311, #18456]
2008-08-13 02:20:09 +00:00
Automatic Updater 2914684df9 regen 2008-08-13 01:12:16 +00:00
Jeremy Reed 2b9067ffb0 Remove an extra space before period at end of line.
Reword one sentence (to not say "number" twice).
Capitalize RDATA to be consistent.
Fix one mispelled word.
2008-08-12 14:40:26 +00:00
Automatic Updater 2128c24c02 auto update 2008-08-09 23:18:35 +00:00
Tatuya JINMEI 神明達哉 a49b510dd0 2413. [bug] Fixed an unreachable code path in socket.c. [RT #18442] 2008-08-09 19:02:57 +00:00
Tatuya JINMEI 神明達哉 387bca7a55 2413. [bug] Fixed an unreachable code path in socket.c. [RT #18442] 2008-08-09 19:02:10 +00:00
Automatic Updater cf5d7a5094 update copyright notice 2008-08-08 06:28:59 +00:00
Automatic Updater 1242a991dd update copyright notice 2008-08-08 06:28:28 +00:00
Automatic Updater 6a6965084d newcopyrights 2008-08-08 06:26:24 +00:00
Automatic Updater 540e86e440 newcopyrights 2008-08-08 06:26:17 +00:00
Mark Andrews 1586d87c6d 2412. [bug] win32: address a resourse leak. [RT #18374] 2008-08-08 05:10:34 +00:00
Mark Andrews dc842cdcb9 2412. [bug] win32: address a resourse leak. [RT #18374] 2008-08-08 05:06:49 +00:00
Automatic Updater 13caac5ff8 update copyright notice 2008-08-07 23:47:34 +00:00
Automatic Updater ea2f2014ce update copyright notice 2008-08-07 23:47:04 +00:00
Automatic Updater 7932a76371 newcopyrights 2008-08-07 23:30:26 +00:00
Automatic Updater f4f7234297 newcopyrights 2008-08-07 23:30:16 +00:00
Tatuya JINMEI 神明達哉 6eeaf3857a 2411. [bug] Allow using a larger number of sockets than FD_SETSIZE
for select().  To enable this, set ISC_SOCKET_MAXSOCKETS
			at compilation time.  [RT #18433]
2008-08-07 21:29:06 +00:00
Tatuya JINMEI 神明達哉 cd9bebfc4c 2411. [bug] Allow using a larger number of sockets than FD_SETSIZE
for select().  To enable this, set ISC_SOCKET_MAXSOCKETS
			at compilation time.  [RT #18433]
2008-08-07 21:28:13 +00:00
Mark Andrews b40413d1fe 2410. [bug] Correctly delete m_versionInfo. [RT #18432] 2008-08-07 01:28:02 +00:00
Mark Andrews 04115a59c1 2410. [bug] Correctly delete m_versionInfo. [RT #18432] 2008-08-07 01:21:12 +00:00
Automatic Updater ed072d6ef9 auto update 2008-08-06 23:18:02 +00:00
Evan Hunt e10ab3e234 added missing comma to fix build error 2008-08-06 14:17:44 +00:00
Mark Andrews b1f7d25ee1 func->bug 2008-08-06 06:18:24 +00:00
Mark Andrews a6b5c67820 func->bug 2008-08-06 06:18:09 +00:00
Mark Andrews 4037bea761 2409. [func] Only log that we disabled EDNS processing if we were
subsequently successful.  [RT #18029]
2008-08-06 06:14:15 +00:00
Mark Andrews 4db36a15c5 2409. [func] Only log that we disabled EDNS processing if we were
subsequently successful.  [RT #18029]
2008-08-06 06:11:15 +00:00
Automatic Updater 9b7f024220 auto update 2008-08-05 23:18:21 +00:00
Tatuya JINMEI 神明達哉 008d229d3c 2408. [bug] A duplicate TCP dispatch event could be sent, which
could then trigger an assertion failure in
			resquery_response().  [RT #18275]
2008-08-05 19:19:11 +00:00
Tatuya JINMEI 神明達哉 a9579d3386 2408. [bug] A duplicate TCP dispatch event could be sent, which
could then trigger an assertion failure in
			resquery_response().  [RT #18275]
2008-08-05 19:18:02 +00:00
Mark Andrews 1e10d71c2a 2407. [port] hpux: test for sys/dyntune.h. [RT #18421] 2008-08-05 07:13:54 +00:00
Mark Andrews 101a7960b7 2407. [port] hpux: test for sys/dyntune.h. [RT #18421] 2008-08-05 07:05:47 +00:00
Mark Andrews 146484aced 2407. [port] hpux: test for sys/dyntune.h. [RT #18421] 2008-08-05 07:04:49 +00:00
Automatic Updater abf99a3832 update copyright notice 2008-08-01 23:46:30 +00:00
Automatic Updater 63245b71da newcopyrights 2008-08-01 23:30:25 +00:00
Tatuya JINMEI 神明達哉 97eb3cea9c 2406. [bug] Sockets could be closed too early, leading to
inconsistent states in the socket module. [RT #18298]
2008-08-01 19:05:03 +00:00
Tatuya JINMEI 神明達哉 dbe9f900ec 2406. [bug] Sockets could be closed too early, leading to
inconsistent states in the socket module. [RT #18298]
2008-08-01 19:04:02 +00:00
Tatuya JINMEI 神明達哉 138a71a878 2386. [func] Add warning about too small 'open files' limit.
[RT #18269]
2008-08-01 01:58:15 +00:00
Automatic Updater 749739f4bf auto update 2008-07-31 23:18:58 +00:00
Automatic Updater ab48db2381 auto update 2008-07-29 23:19:07 +00:00
Tatuya JINMEI 神明達哉 75cd9a220e typo 2008-07-29 22:10:31 +00:00
Tatuya JINMEI 神明達哉 6769ce7c7b typo 2008-07-29 22:09:53 +00:00
Evan Hunt d406c6833f added note about dnssec-validation change 2008-07-29 02:27:08 +00:00
Evan Hunt e43b095921 added note about dnssec-validation change 2008-07-29 02:21:27 +00:00
Automatic Updater 9d9989f4cc update copyright notice 2008-07-28 23:47:22 +00:00
Automatic Updater 2a35cc7a9a update copyright notice 2008-07-28 23:46:54 +00:00
Automatic Updater 87204328a4 auto update 2008-07-28 23:19:20 +00:00
Mark Andrews 128ea8aeb1 2404. [port] hpux: files unlimited support. 2008-07-28 23:00:11 +00:00
Mark Andrews 7999db4215 2404. [port] hpux: files unlimited support. 2008-07-28 22:36:36 +00:00
Mark Andrews f01b7f5404 2403. [bug] TSIG context leak. [RT #18341] 2008-07-28 08:42:50 +00:00
Mark Andrews 481e9b573b 2403. [bug] TSIG context leak. [RT #18341] 2008-07-28 08:39:52 +00:00
Mark Andrews 2e06fbd975 remove extra 'be' 2008-07-27 04:42:14 +00:00
Francis Dupont e9ed51a3ca Support Solaris 2.11 and over. [RT #18362] 2008-07-25 20:43:57 +00:00
Francis Dupont cbb8a1b7cb Support Solaris 2.11 and over. [RT #18362] 2008-07-25 20:40:07 +00:00
Automatic Updater d01e14dc0b regen 2008-07-25 01:12:09 +00:00
Jeremy Reed a60ac36ef2 Grammar fix from justinpryzby@users.sourceforge.net via info@isc.org. 2008-07-24 21:31:09 +00:00
Francis Dupont 360e7f0b3e Expect to get E[MN]FILE errno internal_accept() [RT #18358] 2008-07-24 09:59:15 +00:00
Francis Dupont bd7e02a337 Expect to get E[MN]FILE errno internal_accept() [RT #18358] 2008-07-24 09:50:21 +00:00
Tatuya JINMEI 神明達哉 09477e188f spelling 2008-07-24 05:28:33 +00:00
Tatuya JINMEI 神明達哉 0b601088ed 2400. [bug] Log if kqueue()/epoll_create()/open(/dev/poll) fails.
[RT #18297]
2008-07-24 05:25:41 +00:00
Tatuya JINMEI 神明達哉 0cdb53f093 2400. [bug] Log if kqueue()/epoll_create()/opne(devpoll) fails.
[RT #18297]
2008-07-24 05:19:15 +00:00
Tatuya JINMEI 神明達哉 752e1c03fa comment wording 2008-07-24 04:56:55 +00:00
Tatuya JINMEI 神明達哉 72e52e1a03 comment wording 2008-07-24 04:54:44 +00:00
Tatuya JINMEI 神明達哉 05b8187cb3 2399. [placeholder] 2008-07-24 04:53:34 +00:00
Automatic Updater 7415772270 update copyright notice 2008-07-23 23:47:07 +00:00
Automatic Updater 2c5ff6cd03 update copyright notice 2008-07-23 23:46:35 +00:00
Mark Andrews c2166d6047 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:31:18 +00:00
Mark Andrews 240e53b132 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
part 2
2008-07-23 23:27:54 +00:00
Automatic Updater 5df5127aa4 auto update 2008-07-23 23:19:11 +00:00
Mark Andrews 673ef465c6 2398. [placeholder] 2008-07-23 12:06:43 +00:00
Mark Andrews fe96c037e1 2397. [bug] gssapi_functions bad declaration. [RT #18355] 2008-07-23 10:33:26 +00:00
Mark Andrews e8ebdf044d 2397. [bug] gssapi_functions had too many elements. [RT #18355] 2008-07-23 10:26:54 +00:00
Automatic Updater 1d16cf8bb8 update copyright notice 2008-07-22 23:47:04 +00:00
Automatic Updater ce43e907d7 update copyright notice 2008-07-22 23:46:34 +00:00
Automatic Updater b0d566a2ce newcopyrights 2008-07-22 23:30:31 +00:00
Automatic Updater da3eed0767 newcopyrights 2008-07-22 23:30:18 +00:00
Automatic Updater 021e9254f5 auto update 2008-07-22 23:19:58 +00:00
Mark Andrews 5597005490 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 03:46:44 +00:00
Mark Andrews 9de0f9b0ae 2396. [bug] Don't set SO_REUSEADDR for randomized ports.
[RT #18336]
2008-07-22 03:43:04 +00:00
Automatic Updater 2dbc961b45 auto update 2008-07-21 23:19:40 +00:00
Mark Andrews f20fd813e9 2395. [port] Avoid warning and no effect from "files unlimited"
on Linux when running as root. [RT #18335]
2008-07-21 03:39:59 +00:00
Mark Andrews ee6c0ce79e 2395. [port] Avoid warning and no effect from "files unlimited"
on Linux when running as root. [RT #18335]
2008-07-21 03:37:17 +00:00
Automatic Updater 28631bf0cd auto update 2008-07-20 23:19:44 +00:00
Francis Dupont db07eedf76 "files unlimited" in code [rt18331] 2008-07-20 09:41:06 +00:00
Francis Dupont 07d0f86c8a "files unlimited" in code [rt18331] 2008-07-20 09:29:52 +00:00
Automatic Updater 80e45d89bc auto update 2008-07-19 23:18:49 +00:00
Evan Hunt 2ca30c1774 Nested acls containing keys could trigger an assertion in acl.c. [rt18166] 2008-07-19 00:09:44 +00:00
Evan Hunt 95abec181a Nested acls containing keys could trigger an assertion in acl.c. [rt18166] 2008-07-19 00:09:17 +00:00
Evan Hunt a5bd6992ed remove 'grep -q' from acl test script, some platforms don't
support it. [rt18253]
2008-07-19 00:04:20 +00:00
Evan Hunt 7ed4399c65 remove 'grep -q' from acl test script, some platforms don't
support it. [rt18253]
2008-07-19 00:02:14 +00:00
Automatic Updater 321b1c0501 update copyright notice 2008-07-18 23:47:01 +00:00
Automatic Updater 6cccf0c91b update copyright notice 2008-07-18 23:46:33 +00:00
Automatic Updater a69cd4e791 regen 2008-07-18 23:30:20 +00:00
Automatic Updater eed8287172 auto update 2008-07-18 23:18:45 +00:00
Mark Andrews 61facaae4e change 2390 leaked memory 2008-07-18 06:09:39 +00:00
Mark Andrews fed646db58 change 2390 leaked memory 2008-07-18 06:08:18 +00:00
Mark Andrews 8afedf9ec0 #ifdef EPROTO/#endif 2008-07-18 03:45:55 +00:00
Mark Andrews 2498f08d8e #ifdef EPROTO/#endif 2008-07-18 03:44:16 +00:00
Tatuya JINMEI 神明達哉 3c0b101fec 2391 [port] hpux: cover additional recvmsg() error codes.
[RT #18301]
2008-07-18 02:45:18 +00:00
Tatuya JINMEI 神明達哉 9de2552945 corrected change # 2008-07-18 02:44:15 +00:00
Tatuya JINMEI 神明達哉 3d8b9b9956 2400 [port] hpux: cover additional recvmsg() error codes.
[RT #18301]
2008-07-18 02:43:31 +00:00
Tatuya JINMEI 神明達哉 bc0c2f6f29 2390 [bug] dispatch.c could make a false warning on 'odd socket'.
[RT #18301].
2008-07-18 02:37:17 +00:00
Tatuya JINMEI 神明達哉 2f76108082 2390 [bug] dispatch.c could make a false warning on 'odd socket'.
[RT #18301].
2008-07-18 02:35:42 +00:00
Mark Andrews 870745274d update description 2008-07-18 02:04:52 +00:00
Mark Andrews c6678b68ef update description 2008-07-18 02:02:54 +00:00
Mark Andrews 602d8bb0f4 2389 [bug] Move the working directory writable to after the
ns_os_changeuser() call. [RT #18326]
2008-07-18 01:33:54 +00:00
Mark Andrews efe34b8ddb 2389 [bug] Move the working directory writable to after the
ns_os_changeuser() call. [RT #18326]
2008-07-18 01:26:20 +00:00
Automatic Updater 2152b79896 regen 2008-07-18 01:12:06 +00:00
Tatuya JINMEI 神明達哉 78fbdef6f1 2388. [bug] Avoid using tables for layout purposes in
statistics XSL [RT #18159].
2008-07-17 23:50:58 +00:00
Tatuya JINMEI 神明達哉 829f1b9a32 regen 2008-07-17 23:48:16 +00:00
Tatuya JINMEI 神明達哉 7c60401dbd 2388. [bug] Avoid using tables for layout purposes in
statistics XSL [RT #18159].
2008-07-17 23:43:26 +00:00
Automatic Updater f65d2e1c04 newcopyrights 2008-07-17 23:30:25 +00:00
Mark Andrews 862015b91f cleanup 2008-07-17 01:15:34 +00:00
Automatic Updater 9de3fd52cc regen 2008-07-17 01:12:20 +00:00
Jeremy Reed a6c05a7398 Fix two typo/mispellings. 2008-07-17 00:24:51 +00:00
Mark Andrews eb3476f9a0 spelling 2008-07-17 00:17:20 +00:00
Mark Andrews 4ab7003492 spelling 2008-07-17 00:12:41 +00:00
Mark Andrews 549ae80145 How do change the nameservers for a zone? 2008-07-17 00:00:34 +00:00
Automatic Updater b6ba2af51b update copyright notice 2008-07-15 23:47:21 +00:00
Automatic Updater 103de71909 update copyright notice 2008-07-15 23:46:46 +00:00
Automatic Updater 1b670d3528 newcopyrights 2008-07-15 23:30:27 +00:00
Automatic Updater cf9fe4428c newcopyrights 2008-07-15 23:30:22 +00:00
Automatic Updater 0b451634f3 auto update 2008-07-15 23:18:58 +00:00
Mark Andrews 7f0c05d05b update libtool and sunos4 2008-07-15 14:45:55 +00:00
Mark Andrews d07e6bc6a6 update libtool and sunos4 2008-07-15 14:44:48 +00:00
Mark Andrews 9da2656665 update reference 2008-07-15 05:47:40 +00:00
Mark Andrews 718106da14 update reference 2008-07-15 05:45:34 +00:00
Evan Hunt 98faece03c remove reference to KNOWN-DEFECTS 2008-07-15 01:29:39 +00:00
Mark Andrews f1be51091e custom_WFB_v9_5_0_P1 2008-07-15 01:16:02 +00:00
Mark Andrews d923262186 2387. [bug] Silence compiler warnings in lib/isc/radix.c.
[RT #18147] [RT #18258]
2008-07-15 00:21:16 +00:00
Mark Andrews 5c2512f982 new draft 2008-07-14 23:46:15 +00:00
Tatuya JINMEI 神明達哉 fa77ca1069 removed redundant parenthesis (I don't know why it was included in the
previous commit..)
2008-07-12 05:58:08 +00:00
Automatic Updater b0364f1f3c update copyright notice 2008-07-11 23:47:09 +00:00
Automatic Updater e705db6d5d newcopyrights 2008-07-11 23:30:23 +00:00
Tatuya JINMEI 神明達哉 eeb3e1e133 added some missing definitions 2008-07-11 23:10:09 +00:00
Tatuya JINMEI 神明達哉 f92c897cb6 (it was not a 'bug') 2008-07-11 23:06:17 +00:00
Tatuya JINMEI 神明達哉 158f256a14 2386. [bug] Add warning about too small 'open files' limit
[RT #18269].
2008-07-11 23:05:46 +00:00
Automatic Updater 4fd1d8e7e9 auto update 2008-07-07 23:19:15 +00:00
Evan Hunt 64ecc88345 Several BSD-related fixes for port range:
- add param.h for NetBSD [rt18228]
 - use correct sysctl strings on NetBSD [rt18230]
 - use net.inet.ip.portrange.hiport/hilast instead of
   first/last on FreeBSD [rt18234]
 - define sysctl strings for DragonFly [rt18235]
 - use sysctl() on OpenBSD because it doesn't support
   sysctlbyname() [rt18231]
2008-07-04 05:52:31 +00:00
Evan Hunt a93093491a Several BSD-related fixes for port range:
- add param.h for NetBSD [rt18228]
 - use correct sysctl strings on NetBSD [rt18230]
 - use net.inet.ip.portrange.hiport/hilast instead of
   first/last on FreeBSD [rt18234]
 - define sysctl strings for DragonFly [rt18235]
 - use sysctl() on OpenBSD because it doesn't support
   sysctlbyname() [rt18231]
2008-07-04 05:52:16 +00:00
Evan Hunt ce7696c571 re-merged rt18194 after fixing problems 2008-07-03 00:14:13 +00:00
Evan Hunt 34350037a8 re-merged rt18194 after fixing problems 2008-07-03 00:13:25 +00:00
Automatic Updater 935c5b4fa2 update copyright notice 2008-07-01 23:47:17 +00:00
Automatic Updater 9a0cdddade update copyright notice 2008-07-01 23:46:44 +00:00
Automatic Updater 0c42fc3acc newcopyrights 2008-07-01 23:30:26 +00:00
Automatic Updater ae1b066f4d newcopyrights 2008-07-01 23:30:18 +00:00
Evan Hunt c9d23695b8 corrected two out-of-order changes in CHANGES 2008-07-01 06:22:17 +00:00
Evan Hunt f41bd47802 merge rt18194 to enable windows build 2008-07-01 03:55:10 +00:00
Evan Hunt 135a827e32 remove references to obsolete routine dns_resolver_createdispatchpool() 2008-07-01 03:03:44 +00:00
Evan Hunt 0743af8b4b Merge rt18194 to enable windows build 2008-07-01 02:09:10 +00:00
Evan Hunt e0b19ae88c prepare to release 9.5.1b1 2008-06-30 23:43:33 +00:00
Evan Hunt f5e26fbb79 update api files for 9.5.1b1 2008-06-30 23:33:13 +00:00
Automatic Updater dfe1f59d9d auto update 2008-06-30 23:17:55 +00:00
Evan Hunt 8b89dd91ba Releasing 9.5.1b1 2008-06-30 22:44:59 +00:00
Automatic Updater 69070fbbf3 auto update 2008-06-26 23:18:47 +00:00
Tatuya JINMEI 神明達哉 8cf7e17601 prevent null socket dereference in IPv6 interface address adjustment
[RT #18203]
2008-06-26 22:16:58 +00:00
Tatuya JINMEI 神明達哉 2a03c0af76 prevent null socket dereference in IPv6 interface address adjustment
[RT #18203]
2008-06-26 22:15:40 +00:00
Tatuya JINMEI 神明達哉 68538c106f 2385. [bug] A condition variable in socket.c could leak in
rare error handling [RT #17968].
2008-06-25 23:19:05 +00:00
Tatuya JINMEI 神明達哉 77514242b0 2385. [bug] A condition variable in socket.c could leak in
rare error handling [RT #17968].
2008-06-25 23:17:47 +00:00
Tatuya JINMEI 神明達哉 4462803b0d minor resource leak in error handling of socket.c [RT #17968] 2008-06-25 23:13:51 +00:00
Tatuya JINMEI 神明達哉 64cb443b78 work around HP-UX UDP connect behavior [RT #18202] 2008-06-25 22:57:01 +00:00
Tatuya JINMEI 神明達哉 7b0bb3bdc9 work around HP-UX UDP connect behavior [RT #18202] 2008-06-25 22:56:33 +00:00
Tatuya JINMEI 神明達哉 6cc9d08d12 typo 2008-06-25 00:10:40 +00:00
Tatuya JINMEI 神明達哉 cc758fbc8f typo 2008-06-25 00:09:50 +00:00
Automatic Updater 6170a1cbb4 update copyright notice 2008-06-24 23:46:27 +00:00
Automatic Updater e0e85f6ba7 newcopyrights 2008-06-24 23:30:18 +00:00
Automatic Updater fd42a23377 regen 2008-06-24 23:30:17 +00:00
Mark Andrews 32d56ec3e4 #include <config.h>, restore 'static inline' 2008-06-24 23:26:49 +00:00
Mark Andrews 0d5cc4c53a #include <config.h>, restore 'static inline' 2008-06-24 23:24:35 +00:00
Mark Andrews 391ac1cbfd static inline -> inline 2008-06-24 21:44:11 +00:00
Mark Andrews ff3fafc428 static inline -> inline 2008-06-24 21:43:44 +00:00
Tatuya JINMEI 神明達哉 2c4eba5b5a newline 2008-06-24 01:58:41 +00:00
Tatuya JINMEI 神明達哉 1ef53a4a91 newline 2008-06-24 01:58:16 +00:00
Tatuya JINMEI 神明達哉 e967a73d77 include sys/sysctl.h only if HAVE_SYS_SYSCTL_H is defined. 2008-06-24 01:43:40 +00:00
Automatic Updater 69d39ed2e5 regen 2008-06-24 01:42:14 +00:00
Tatuya JINMEI 神明達哉 78576fe0db include sys/sysctl.h only if HAVE_SYS_SYSCTL_H is defined 2008-06-24 01:40:25 +00:00
Automatic Updater 984c2e9f76 regen 2008-06-24 01:12:04 +00:00
Tatuya JINMEI 神明達哉 cfed2ee62a regen 2008-06-24 00:10:49 +00:00
Tatuya JINMEI 神明達哉 1766e3e5aa 2384. [security] Additional support for query port randomization (change
#2375) including performance improvement and port range
			specification.  [RT #17949, #18098]
2008-06-24 00:09:12 +00:00
Tatuya JINMEI 神明達哉 8aae226481 give a new change number to query port randomization 2008-06-23 23:59:28 +00:00
cvs2git 0d940038e4 This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-06-23 23:47:14 +00:00
Automatic Updater 2cf81a3d8a update copyright notice 2008-06-23 23:47:11 +00:00
Tatuya JINMEI 神明達哉 2e6ce48c34 recovered resolver stat initialization that was accidentally lost in 9.5.0-P1 2008-06-23 23:30:59 +00:00
Automatic Updater 681beefc66 newcopyrights 2008-06-23 23:30:23 +00:00
Automatic Updater fb1f902017 regen 2008-06-23 23:30:21 +00:00
Tatuya JINMEI 神明達哉 015fea0a27 removed a redundant tab 2008-06-23 23:15:59 +00:00
Tatuya JINMEI 神明達哉 7fc835d63f removed redundant white space 2008-06-23 22:20:05 +00:00
Tatuya JINMEI 神明達哉 905ed71124 regen 2008-06-23 19:42:21 +00:00
Tatuya JINMEI 神明達哉 386d3a99c1 2375. [security] Fully randomize UDP query ports to improve
forgery resilience. [RT #17949, #18098]
2008-06-23 19:41:20 +00:00
Automatic Updater 40976ef802 update copyright notice 2008-06-18 23:46:56 +00:00
Automatic Updater cf03a9be41 newcopyrights 2008-06-18 23:30:29 +00:00
Automatic Updater fb44d91ff2 regen 2008-06-18 01:42:46 +00:00
Automatic Updater 0c6ada0a81 regen 2008-06-18 01:12:17 +00:00
Jeremy Reed 553b424cef Add empty file. "The document regeneration will do the rest." (marka)
This is for ticket #18185.
2008-06-18 00:38:07 +00:00
Automatic Updater 030aac3dbc update copyright notice 2008-06-17 23:47:02 +00:00
Automatic Updater 4f5257ba7a newcopyrights 2008-06-17 23:30:33 +00:00
Automatic Updater cfaa17671d newcopyrights 2008-06-17 23:30:25 +00:00
Tatuya JINMEI 神明達哉 2a128f5386 (forgot RT#) 2008-06-17 22:41:14 +00:00
Tatuya JINMEI 神明達哉 05e2cc8445 (forgot RT#) 2008-06-17 22:40:51 +00:00
Tatuya JINMEI 神明達哉 783224b143 2383. [bug] named could double queries when they resulted in
SERVFAIL due to overkilling EDNS0 failure detection.
2008-06-17 22:36:03 +00:00
Tatuya JINMEI 神明達哉 0f39ff74a8 2383. [bug] named could double queries when they resulted in
SERVFAIL due to overkilling EDNS0 failure detection.
2008-06-17 22:35:08 +00:00
Jeremy Reed 072440df4f Also include the nsupdate manual page in the ARM appendix.
Make sure the refentry id is hardcoded and not some generated
filename.

Also use application tag but probably not needed.

All the generation for this is correct in the PDF other than some
formatting for custom arguments. Will improve that later.

This is for my bugs ticket 18185.
2008-06-17 20:59:25 +00:00
Jeremy Reed bf7e8a8250 Fix a few mispellings or typos. 2008-06-17 14:15:58 +00:00
Jeremy Reed fe93d86ab7 Document about trusted-keys Base64 key data ignores spaces,
tabs, newlines, and carriage returns.
This is for by bug #18180.
2008-06-17 13:24:20 +00:00
Mark Andrews ef10c16c06 2382. [doc] Add descriptions of DHCID, IPSECKEY, SPF and SSHFP
to ARM.
2008-06-17 06:44:46 +00:00
cvs2git 867d55617b This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-06-17 06:39:01 +00:00
Mark Andrews 7ecbfb6c0f 2382. [doc] Add descriptions of DHCID, IPSECKEY, SPF and SSHFP
to ARM.
2008-06-17 06:38:58 +00:00
Mark Andrews db3f58cef5 2381. [port] dlz/mysql: support multiple install layouts for
mysql.  <prefix>/include/{,mysql/}mysql.h and
                        <prefix>/lib/{,mysql/}. [RT #18152]
2008-06-17 04:03:31 +00:00
Mark Andrews 418b9e4549 regen 2008-06-17 03:58:27 +00:00
Mark Andrews 510dca6f52 remove whitespace 2008-06-17 03:54:30 +00:00
Mark Andrews 8ef7b7f3f6 2381. [port] dlz/mysql: support multiple install layouts for
mysql.  <prefix>/include/{,mysql/}mysql.h and
                        <prefix>/lib/{,mysql/}. [RT #18152]
2008-06-17 03:52:37 +00:00
Mark Andrews 6ce96fdb2b 2380. [bug] dns_view_find() was not returning NXDOMAIN/NXRRSET
proofs which, in turn, caused validation failures
                        for insecure zones immediately below a secure zone
                        the server was authoritative for. [RT #18112]
2008-06-17 03:22:24 +00:00
Mark Andrews 538a0a40a2 2380. [bug] dns_view_find() was not returning NXDOMAIN/NXRRSET
proofs which, in turn, caused validation failures
                        for insecure zones immediately below a secure zone
                        the server was authoritative for. [RT #18112]
2008-06-17 03:14:20 +00:00
Automatic Updater f8c849e224 regen 2008-06-14 01:12:10 +00:00
Automatic Updater 94df856897 newcopyrights 2008-06-13 23:30:27 +00:00
Automatic Updater 0107d4b94e newcopyrights 2008-06-13 23:30:19 +00:00
Jeremy Reed 1948b2b113 Document the rndc "validation" command.
This is part of my bug #18158.
2008-06-13 19:36:12 +00:00
Tatuya JINMEI 神明達哉 10bb5de410 2379. [contrib] queryperf/gen-data-queryperf.py: removed redundant
TLDs and supported RRs with TTLs [RT #17972]
2008-06-13 18:18:04 +00:00
Tatuya JINMEI 神明達哉 250dcb4cf5 2379. [contrib] queryperf/gen-data-queryperf.py: removed redundant
TLDs and supported RRs with TTLs [RT #17972]
2008-06-13 18:17:08 +00:00
Tatuya JINMEI 神明達哉 b5af28291f 2378. [bug] gssapi_functions{} had a redundant member in BIND 9.5.
[RT #18169]
2008-06-13 00:20:22 +00:00
Tatuya JINMEI 神明達哉 4875b50dca 2378. [bug] gssapi_functions{} had a redundant member in BIND 9.5.
[RT #18169]
2008-06-13 00:19:33 +00:00
Tatuya JINMEI 神明達哉 98933c165f removed a redundant member from gssapi_functions{} [RT #18169] 2008-06-13 00:17:09 +00:00
Automatic Updater d0b01398ca auto update 2008-06-09 23:18:31 +00:00
Automatic Updater 507151045b regen 2008-06-07 01:12:04 +00:00
Jeremy Reed cbd66826af Add section IDs for statistics_counters and statistics.
This is so HTML anchors can use these instead of some arbitrary link.
2008-06-06 18:27:59 +00:00
Mark Andrews c7357336cb new draft 2008-06-05 01:08:22 +00:00
Automatic Updater 97c432334e update copyright notice 2008-06-04 23:47:11 +00:00
Automatic Updater 4bf9757496 update copyright notice 2008-06-04 23:46:32 +00:00
Automatic Updater ba291c35f7 newcopyrights 2008-06-04 23:30:27 +00:00
Automatic Updater 54880cd0e0 newcopyrights 2008-06-04 23:30:16 +00:00
Jeremy Reed 13df807778 Remove trailing (extra) comma in enum.
Fixes "Unexpected" error with AIX cc (and probably other old compilers).
As reported on bind-users and confirmed by original poster.
This is for bugs ticket #18151.
2008-06-04 22:34:31 +00:00
Jeremy Reed b09318463a Remove trailing (extra) comma in enum.
Fixes "Unexpected" error with AIX cc (and probably other old compilers).
As reported on bind-users and confirmed by original poster.
This is for bugs ticket #18151.
2008-06-04 22:32:53 +00:00
Automatic Updater d1ce98b4dc regen 2008-06-04 02:51:13 +00:00
Tatuya JINMEI 神明達哉 800ec63dfc cleanup (removed meaningless condition) [RT #18144] 2008-06-04 01:12:20 +00:00
Tatuya JINMEI 神明達哉 99a87dacc3 cleanup (removed meaningless condition) [RT #18144] 2008-06-04 01:11:05 +00:00
Automatic Updater 177bcb466b update copyright notice 2008-06-02 23:47:04 +00:00
Automatic Updater 338dc11376 update copyright notice 2008-06-02 23:46:32 +00:00
Automatic Updater 4d0520004a newcopyrights 2008-06-02 23:30:31 +00:00
Automatic Updater 7597ccff8c newcopyrights 2008-06-02 23:30:24 +00:00
Mark Andrews 9205748541 2377. [bug] Address race condition in dnssec-signzone. [RT #18142] 2008-06-02 00:27:17 +00:00
Mark Andrews d87ad693fc 2377. [bug] Address race condition in dnssec-signzone. [RT #18142] 2008-06-02 00:17:39 +00:00
Mark Andrews a9e440af0a - KNOWN-DEFECTS 2008-06-02 00:09:29 +00:00
Automatic Updater 9d362f90ef regen 2008-06-01 01:12:07 +00:00
Mark Andrews 99f7557bf0 spelling 2008-05-31 01:44:13 +00:00
Automatic Updater 13ec0fb278 regen 2008-05-31 01:11:51 +00:00
Mark Andrews b4c8e92f7f <> delimit urls 2008-05-31 01:06:18 +00:00
Mark Andrews b8ee0d56f0 grammer 2008-05-31 00:55:42 +00:00
Mark Andrews a538dc4e86 Linux: IPSEC and xfrm_larval_drop 2008-05-31 00:54:50 +00:00
Automatic Updater 022b5c5a36 update copyright notice 2008-05-30 23:47:01 +00:00
Automatic Updater 16cdc2fc93 update copyright notice 2008-05-30 23:46:31 +00:00
Automatic Updater 83d29eff29 newcopyrights 2008-05-30 23:30:28 +00:00
Automatic Updater 500fe450bc newcopyrights 2008-05-30 23:30:16 +00:00
Automatic Updater 5c3477af38 auto update 2008-05-30 23:19:09 +00:00
Tatuya JINMEI 神明達哉 15280ddf7f fixed a typo in comment [RT #18130] 2008-05-30 18:28:53 +00:00
Tatuya JINMEI 神明達哉 5cb56973ea fixed a typo in comment [RT #18130] 2008-05-30 18:27:27 +00:00
Automatic Updater 11ac60f81a update copyright notice 2008-05-29 23:46:34 +00:00
Automatic Updater 30162a73f4 newcopyrights 2008-05-29 23:30:21 +00:00
Evan Hunt d978441bfc removed KNOWN-DEFECTS now that the fix has been committed 2008-05-29 22:54:49 +00:00
Evan Hunt 22b8be6acb Zone ACLs used too much memory on systems with large numbers of zones [rt18092] 2008-05-29 22:54:02 +00:00
Mark Andrews a8e5c0229e 2376. [bug] Change #2144 was not complete. 2008-05-29 05:28:54 +00:00
Mark Andrews ae6942e3d1 placeholder 2008-05-29 05:20:45 +00:00
Mark Andrews 58253bddc4 2375. [bug] Change #2144 was not complete. 2008-05-29 04:46:32 +00:00
Automatic Updater 3e9ce03245 regen 2008-05-29 01:41:58 +00:00
Automatic Updater efcf8c8bf6 regen 2008-05-29 01:41:57 +00:00
Automatic Updater 67354524be regen 2008-05-29 01:12:05 +00:00
Automatic Updater 5ce4bd8335 auto update 2008-05-28 23:18:40 +00:00
Evan Hunt 3634531310 Switch "dnssec-validation" default from no to yes. [rt18121] 2008-05-28 21:02:45 +00:00
Evan Hunt 1bff2d56a0 Reverse "dnssec-validation" default from no to yes, per Joao. [rt18121] 2008-05-28 21:00:25 +00:00
Evan Hunt 677b69cee2 Update for 9.5.0-P1, removing dns_dispatch_hash() 2008-05-28 19:34:21 +00:00
Automatic Updater f9ecef19c7 regen 2008-05-28 01:41:59 +00:00
Evan Hunt fa24231908 custom_ALLIANZ_v9_4_2_P1 2008-05-27 23:35:40 +00:00
Automatic Updater f7db7f3fb1 auto update 2008-05-27 23:19:40 +00:00
Evan Hunt 36978a7d7f custom_WFB_v9_4_2_P1 2008-05-27 23:00:33 +00:00
Evan Hunt fe75a4844e update for 9.5.0-P1 2008-05-27 22:46:39 +00:00
Evan Hunt 3917e0f147 Fully randomize UDP query ports to improve forgery resilience. [rt17949] 2008-05-27 22:36:11 +00:00
Automatic Updater e933a1bd23 auto update 2008-05-23 23:18:36 +00:00
Mark Andrews 0598502e9e KNOWN-DEFECTS 2008-05-23 02:37:54 +00:00
Automatic Updater ce6521e13d auto update 2008-05-22 23:18:23 +00:00
Evan Hunt 4883ba14a2 Tidied the text a little 2008-05-22 22:15:04 +00:00
Evan Hunt 1b009fdcb6 Added KNOWN-DEFECTS file and changed README to refer to it, so as
to include fix for rt18092 in 9.5.0 final, without the risk of
including insufficiently-tested code.
2008-05-21 23:51:47 +00:00
Automatic Updater 11156f82ba update copyright notice 2008-05-21 23:47:01 +00:00
Automatic Updater db6fa15ef0 newcopyrights 2008-05-21 23:30:20 +00:00
Evan Hunt 305ef3b37e - "blackhole" ACLs could cause named to segfault due to some uninitialized
memory. [rt18095]
- Also removed some erroneously duplicated code in zoneconf.c
2008-05-21 23:26:11 +00:00
Evan Hunt 080a964a3f "blackhole" ACLs could cause named to segfault due to some
uninitialized memory. [rt18095]
2008-05-21 23:21:33 +00:00
Automatic Updater 0d228cec61 auto update 2008-05-21 23:19:04 +00:00
Evan Hunt 5a17fe2916 Default values of zone ACLs were re-parsed each time a new zone was
configured, causing an overconsumption of memory. [rt18092]
2008-05-21 23:17:21 +00:00
Automatic Updater ebce5dc2fe update copyright notice 2008-05-19 23:47:03 +00:00
Automatic Updater 998b76837a newcopyrights 2008-05-19 23:30:23 +00:00
Mark Andrews b3ac666ce5 silence linker warning: add ${LDFLAGS} 2008-05-19 00:36:14 +00:00
Evan Hunt 4f47207ff3 Releasing 9.5.0 2008-05-17 06:15:36 +00:00
Automatic Updater 9367357752 update copyright notice 2008-05-15 23:46:37 +00:00
Automatic Updater fcf5669651 newcopyrights 2008-05-15 23:30:21 +00:00
Automatic Updater a89eda002e auto update 2008-05-15 23:19:52 +00:00
Automatic Updater 3751d910d4 regen 2008-05-15 01:42:11 +00:00
Automatic Updater 232d4387e2 regen 2008-05-15 01:12:21 +00:00
Evan Hunt 42a1be3481 fixed incorrect TAG_HMACSHA256_BITS value [rt18047] 2008-05-15 00:50:50 +00:00
Evan Hunt d230b29aba fixed incorrect TAG_HMACSHA256_BITS value [rt18047] 2008-05-15 00:50:26 +00:00
Automatic Updater 7b8b5e34b6 update copyright notice 2008-05-14 23:47:03 +00:00
Automatic Updater 09d567f784 update copyright notice 2008-05-14 23:46:33 +00:00
Automatic Updater 298c514fff newcopyrights 2008-05-14 23:30:22 +00:00
Automatic Updater 4edcb0a7b4 newcopyrights 2008-05-14 23:30:18 +00:00
Evan Hunt e86a55fa74 Updating for 9.5.0 release 2008-05-14 18:55:47 +00:00
Automatic Updater e81a504bc9 regen 2008-05-14 01:42:16 +00:00
Automatic Updater 8dc5d5e460 regen 2008-05-14 01:12:08 +00:00
Evan Hunt aed0e61611 add +nsid option to dig man page. [rt18039] 2008-05-13 23:59:18 +00:00
Evan Hunt 674e9786c9 add +nsid option to dig man page. [rt18039] 2008-05-13 23:59:03 +00:00
Automatic Updater 59b6d8259a update copyright notice 2008-05-13 23:47:01 +00:00
Automatic Updater 8f205b69b1 update copyright notice 2008-05-13 23:46:31 +00:00
Evan Hunt 03007a2095 "rndc freeze" could trigger an assertion in named when called on a
nonexistent zone. [rt18050]
2008-05-13 01:23:22 +00:00
Evan Hunt c72279e756 "rndc freeze" could trigger an assertion in named when called on a
nonexistent zone. [rt18050]
2008-05-13 01:20:24 +00:00
Mark Andrews b0b37d3fcf spelling 2008-05-13 00:28:26 +00:00
Mark Andrews 68cd13fff2 spelling 2008-05-13 00:20:54 +00:00
Automatic Updater cfe548a265 newcopyrights 2008-05-12 23:30:21 +00:00
Mark Andrews e1aeb1569a 2369. [bug] libbind: Array bounds overrun on read in bitncmp().
[RT #18054]
2008-05-12 00:17:27 +00:00
Automatic Updater 6fbe9050cb auto update 2008-05-09 23:18:12 +00:00
Automatic Updater 88dbebcebc auto update 2008-05-08 23:18:14 +00:00
Automatic Updater 252ad65e46 auto update 2008-05-07 23:18:32 +00:00
Francis Dupont 6101a43bde update own branches comments 2008-05-07 12:27:43 +00:00
Automatic Updater 9ef82979c4 regen 2008-05-07 01:11:57 +00:00
Automatic Updater d65ec15e06 auto update 2008-05-06 23:18:42 +00:00
Evan Hunt 47682a39a6 Releasing 9.5.0rc1 2008-05-06 01:55:20 +00:00
Evan Hunt c6fe8292ad Releasing 9.5.0rc1 2008-05-06 01:47:41 +00:00
Automatic Updater 09216afdb1 regen 2008-05-06 01:41:47 +00:00
Evan Hunt ecc7721a06 Linux: use libcap for capability management if possible. [RT# 18026] 2008-05-06 01:33:33 +00:00
Evan Hunt 0415ca35ad Linux: use libcap for capability management if possible. [RT# 18026] 2008-05-06 01:31:11 +00:00
Evan Hunt 69ec1b7eb3 Improve counting of dns_resstatscounter_retry [rt18030] 2008-05-06 01:12:55 +00:00
Evan Hunt 37df6394c2 Improve counting of dns_resstatscounter_retry [rt18030] 2008-05-06 01:11:30 +00:00
Evan Hunt 767c53c304 Document changes to "rrset-order fixed" [rt17977] 2008-05-06 01:09:00 +00:00
Evan Hunt c38498dc94 Document changes to "rrset-order fixed". [rt17977] 2008-05-05 22:38:15 +00:00
Mark Andrews 0dba2713de add lock comment 2008-05-03 05:07:13 +00:00
Mark Andrews cbcda9fcbf add lock comment 2008-05-03 05:06:03 +00:00
Mark Andrews 3e358ada3e new draft 2008-05-03 04:21:58 +00:00
Mark Andrews 4d5d79c2bf 2366. [bug] Adb shutdown race. [RT #18021] 2008-05-02 04:42:32 +00:00
Mark Andrews 816496b221 2366. [bug] Adb shutdown race. [RT #18021] 2008-05-02 04:40:12 +00:00
Automatic Updater 8aaed07569 regen 2008-05-02 01:41:47 +00:00
Automatic Updater 2a9a5e1871 regen 2008-05-02 01:11:51 +00:00
Automatic Updater b4074b6255 auto update 2008-05-01 23:18:41 +00:00
Tatuya JINMEI 神明達哉 412555b357 cleanups for LRU-caching code [RT #18018] 2008-05-01 18:32:32 +00:00
Tatuya JINMEI 神明達哉 5c024f7877 cleanups for LRU-caching code [RT #18018] 2008-05-01 18:23:07 +00:00
Automatic Updater 62fd1414b6 auto update 2008-04-30 23:18:14 +00:00
Evan Hunt d3345cc201 *** empty log message *** 2008-04-29 01:06:37 +00:00
Evan Hunt 5436d7d29d *** empty log message *** 2008-04-29 01:05:39 +00:00
Evan Hunt 9b499d30ab Fix a bug causing dns_acl_isany() to return spurious results [rt18000] 2008-04-29 01:04:14 +00:00
Evan Hunt 28ad0be64e Fix a bug causing dns_acl_isany() to return spurious results [rt18000] 2008-04-29 01:01:42 +00:00
Mark Andrews c8535afd17 2364. [bug] named could trigger a assertion when serving a
malformed signed zone. [RT #17828]
2008-04-29 00:56:50 +00:00
Mark Andrews 2294423014 2364. [bug] named could trigger a assertion when serving a
malformed signed zone. [RT #17828]
2008-04-29 00:54:28 +00:00
Mark Andrews b03896b8f2 2363. [port] sunos: pre-set "lt_cv_sys_max_cmd_len=4096;".
[RT #17513]
2008-04-28 23:51:46 +00:00
Mark Andrews 8b56b8956f 2363. [port] sunos: pre-set "lt_cv_sys_max_cmd_len=4096;".
[RT #17513]
2008-04-28 23:43:24 +00:00
Mark Andrews aef875b27e update #2331 description 2008-04-28 03:30:51 +00:00
Mark Andrews cc8f4eeb27 update #2331 description 2008-04-28 03:30:14 +00:00
Mark Andrews e602fc802e update 2008-04-27 03:33:16 +00:00
Mark Andrews 71a7aaa631 update 2008-04-27 03:32:06 +00:00
Automatic Updater 1dd754dcdf update copyright notice 2008-04-24 23:46:59 +00:00
Automatic Updater b08fa225e7 update copyright notice 2008-04-24 23:46:29 +00:00
Automatic Updater af3e516f77 newcopyrights 2008-04-24 23:30:21 +00:00
Automatic Updater 3c9321d7f6 newcopyrights 2008-04-24 23:30:15 +00:00
Evan Hunt 982f479ef8 Change rrsetorder test two ways:
1) only test "fixed" ordering if it was compiled in
2) test whether "cyclic" ordering is cyclic, but don't
   rely on the initial state being predictable
[rt17977]
2008-04-24 21:52:18 +00:00
Evan Hunt 66e50468dd Change rrsetorder test two ways:
1) only test "fixed" ordering if it was compiled in
2) test whether "cyclic" ordering is cyclic, but don't
   rely on the initial state being predictable
[rt17977]
2008-04-24 21:50:27 +00:00
Automatic Updater eeaf86677c update copyright notice 2008-04-23 23:46:29 +00:00
Automatic Updater 90db307f35 newcopyrights 2008-04-23 23:30:21 +00:00
Automatic Updater f9b52f6df4 auto update 2008-04-23 23:18:16 +00:00
Evan Hunt cb66d7252e Make "rrset-order fixed" a compile-time option. settable by
"./configure --enable-fixed-rrset". Disabled by default. [rt17977]
2008-04-23 21:44:52 +00:00
Evan Hunt 2284b84d74 Make "rrset-order fixed" a compile-time option. settable by
"./configure --enable-fixed-rrset". Disabled by default. [rt17977]
2008-04-23 21:32:57 +00:00
Tatuya JINMEI 神明達哉 49a05a11d9 2361. [bug] "recursion" statistics counter could be counted
multiple times for a single query.  [RT #17990]
2008-04-23 01:18:33 +00:00
Tatuya JINMEI 神明達哉 bf64a0d5d9 2361. [bug] "recursion" statistics counter could be counted
multiple times for a single query.  [RT #17990]
2008-04-23 01:14:24 +00:00
Automatic Updater 5f23979aa8 auto update 2008-04-21 23:17:32 +00:00
Evan Hunt 4fcd03af9f Missing type in internal_next6() function declaration 2008-04-18 19:47:48 +00:00
Evan Hunt 516f7013e6 Missing type in internal_next() function declaration 2008-04-18 19:47:26 +00:00
Mark Andrews 4203f5255b 9.5.0b3 2008-04-11 04:43:00 +00:00
Mark Andrews 96f73d33c2 fix bad NSID/EDNS interaction [RT #17952] 2008-04-10 07:20:27 +00:00
Mark Andrews ba5af4569a fix bad NSID/EDNS interaction [RT #17952] 2008-04-10 07:20:11 +00:00
Mark Andrews c73ee3f002 -> rfc5155 2008-04-10 01:30:57 +00:00
Mark Andrews 024383c7cf 5155: DNS Security (DNSSEC) Hashed Authenticated Denial of Existence 2008-04-10 01:28:15 +00:00
Evan Hunt 710077836a Added mention of NSID 2008-04-10 01:14:28 +00:00
Automatic Updater e431b34601 regen 2008-04-09 23:37:47 +00:00
Automatic Updater 0914f30711 auto update 2008-04-09 23:18:05 +00:00
Automatic Updater 98b5a9d109 regen 2008-04-09 23:06:30 +00:00
Mark Andrews 739ca9f9ad BIND version 9.4 -> 9.5 2008-04-09 22:53:50 +00:00
Automatic Updater 0c6681ddd5 update copyright notice 2008-04-09 22:53:36 +00:00
Automatic Updater dbbab64f9d update copyright notice 2008-04-09 22:53:06 +00:00
Automatic Updater caa3ad8d57 regen 2008-04-09 22:51:24 +00:00
Automatic Updater e3b7bbf52b newcopyrights 2008-04-09 22:51:18 +00:00
Automatic Updater 3c13437de0 regen 2008-04-09 22:51:16 +00:00
Tatuya JINMEI 神明達哉 a24b174ca4 bind9-compat statistics updates 2008-04-09 22:49:37 +00:00
Tatuya JINMEI 神明達哉 2fff8b8280 bind8-compat statistics updates 2008-04-09 22:48:17 +00:00
Michael Graff 5702efd795 Add changes line for recent lock ordering fix 2008-04-09 22:06:39 +00:00
Michael Graff 00c93a6214 Add changes line for recent lock ordering fix 2008-04-09 22:04:19 +00:00
Michael Graff 2d70db1fa3 mirror change made on my zonemaint branch; detach iterator then close version 2008-04-09 21:47:51 +00:00
Michael Graff d99f88add1 mirror change made on my zonemaint branch; detach iterator then close version 2008-04-09 21:39:46 +00:00
Mark Andrews 537266cadc comment out '#define inline' 2008-04-09 04:31:11 +00:00
Mark Andrews fbfed7400f "while (1) {} -> do {} while (1);" to suppress a warning 2008-04-09 04:29:16 +00:00
Automatic Updater d8bd46d4cc newcopyrights 2008-04-08 23:30:15 +00:00
Automatic Updater 975d00c10d auto update 2008-04-08 23:17:56 +00:00
Evan Hunt 5a28de8a7e Update Bv9ARM.pdf for 9.5.0b3 release 2008-04-08 17:36:32 +00:00
Evan Hunt 014d9f7261 add a few more new functions to libdns.def 2008-04-08 04:00:57 +00:00
Evan Hunt aad58d0adf remove no-longer-needed prototype for dns_stats_incrementcounter
update libdns.def to remove nonexistent functions
2008-04-08 03:46:36 +00:00
Evan Hunt e7b4b25911 update api and *.def files for 9.5.0b3 release 2008-04-08 03:17:33 +00:00
Evan Hunt b104b0c23e Release 9.5.0b3 2008-04-07 22:40:01 +00:00
Mark Andrews 375e2c913a 2359. [bug] Fix NSID bug. [RT #17942] 2008-04-07 05:32:52 +00:00
Mark Andrews a19ec120c5 2359. [bug] Fix NSID bug. [RT #17942 2008-04-07 05:30:58 +00:00
Automatic Updater 7cfe8c8f4d regen 2008-04-06 01:41:39 +00:00
Automatic Updater 705671ffd3 update copyright notice 2008-04-05 23:47:11 +00:00
Automatic Updater 391c2ab68f update copyright notice 2008-04-05 23:46:39 +00:00
Automatic Updater 14651ee41b newcopyrights 2008-04-05 23:30:24 +00:00
Mark Andrews a77b091952 2357. [port] Don't use OpenSSL's engine support in versions before
OpenSSL 0.9.7f. [RT #17922]
2008-04-05 02:35:24 +00:00
Automatic Updater c583c691fb regen 2008-04-05 01:39:28 +00:00
Automatic Updater 070c022f10 regen 2008-04-05 01:09:34 +00:00
Automatic Updater f052a01ff2 update copyright notice 2008-04-04 23:47:01 +00:00
Automatic Updater 83df26458f update copyright notice 2008-04-04 23:46:31 +00:00
Mark Andrews 6fa7523201 2358. [doc] Update host's default query description. [RT #17934] 2008-04-04 23:30:39 +00:00
Automatic Updater 9d330c054e newcopyrights 2008-04-04 23:30:25 +00:00
Automatic Updater 7aef379fd1 newcopyrights 2008-04-04 23:30:15 +00:00
Mark Andrews 52cb865cf0 2358. [doc] Update host's default query description. [RT #17934] 2008-04-04 23:23:33 +00:00
Automatic Updater 05ab656e4a auto update 2008-04-04 23:18:18 +00:00
Mark Andrews 0f4a4d46ab 2357. [port] Don't use OpenSSL's engine support in versions before
OpenSSL 0.9.7f. [RT #17922]
2008-04-04 22:10:49 +00:00
Mark Andrews 9c89fcb69c remove: not yet 2008-04-04 10:02:21 +00:00
Mark Andrews 77abeb5330 rebase NSEC3 code 2008-04-04 05:34:07 +00:00
Tatuya JINMEI 神明達哉 961bf2a3e8 2356. [bug] Builtin mutex profiler was not scalable enough.
[RT #17436]
2008-04-04 02:56:10 +00:00
Tatuya JINMEI 神明達哉 c4fadc8861 2356. [bug] Builtin mutex profiler was not scalable enough.
[RT #17436]

(I plan to merge this to 9.[345])
2008-04-04 01:49:09 +00:00
Mark Andrews e062b72f78 mark ./bin/tests/system/lwresd/ns1/e.example1.db with X 2008-04-03 23:55:23 +00:00
Automatic Updater 0192a58877 update copyright notice 2008-04-03 23:46:30 +00:00
Automatic Updater 57442fd5ef regen 2008-04-03 23:30:22 +00:00
Automatic Updater fea5003e29 newcopyrights 2008-04-03 23:30:17 +00:00
Automatic Updater 92fbb8eac8 regen 2008-04-03 23:30:14 +00:00
Automatic Updater 81c2f6a713 auto update 2008-04-03 23:18:28 +00:00
Tatuya JINMEI 神明達哉 5b810282a9 Global memory context had the wrong name (RT #17932) 2008-04-03 23:16:51 +00:00
Tatuya JINMEI 神明達哉 eeb8892daa Global memory context had the wrong name (RT #17932) 2008-04-03 23:14:52 +00:00
Mark Andrews 1dd74a0744 silence warnings 2008-04-03 10:52:46 +00:00
Mark Andrews 4d4acb42d2 silence warnings 2008-04-03 10:51:01 +00:00
Mark Andrews e537df0ea9 isc_buffer_putmem->isc_buffer_putstr 2008-04-03 10:50:01 +00:00
Mark Andrews e5b1dde7c5 silence signed/unsigned warning 2008-04-03 10:49:22 +00:00
Mark Andrews 8f4e45ad7e isc_buffer_putmem->isc_buffer_putstr 2008-04-03 10:45:35 +00:00
Mark Andrews 5eb0f23677 silence signed/unsigned warning 2008-04-03 10:39:13 +00:00
Automatic Updater 6a71e56a3f update copyright notice 2008-04-03 06:20:34 +00:00
Automatic Updater 438720772d newcopyrights 2008-04-03 06:11:34 +00:00
Automatic Updater 47885dbdde regen 2008-04-03 06:11:33 +00:00
Mark Andrews af1599b1da 2355. [func] Extend the number statistics counters available.
[RT #17590]
2008-04-03 06:10:21 +00:00
Automatic Updater ddad355529 update copyright notice 2008-04-03 06:09:05 +00:00
Automatic Updater 8ebab4b98f update copyright notice 2008-04-03 06:08:27 +00:00
Automatic Updater ca904804e4 newcopyrights 2008-04-03 06:06:30 +00:00
Automatic Updater c9ea41d79f regen 2008-04-03 06:06:27 +00:00
Automatic Updater 7100256640 newcopyrights 2008-04-03 06:06:18 +00:00
Automatic Updater e76eb48859 regen 2008-04-03 06:06:16 +00:00
Mark Andrews 8907d8fa04 2355. [func] Extend the number statistics counters available.
[RT #17590]
2008-04-03 05:55:52 +00:00
Automatic Updater 4a28636431 regen 2008-04-03 04:11:04 +00:00
Mark Andrews 829c34e396 2354. [bug] Failed to initialise sone rdatasetheader_t elements.
[RT #17927]
2008-04-03 04:02:57 +00:00
Mark Andrews d904beeb3b 2354. [bug] Failed to initialise sone rdatasetheader_t elements.
[RT #17927]
2008-04-03 04:00:38 +00:00
Automatic Updater 9011c72c56 regen 2008-04-03 03:41:17 +00:00
Mark Andrews 5c2712bfb8 bad pointer 2008-04-03 02:13:29 +00:00
Mark Andrews fc29ccea3d 2353. [func] Add support for Name Server ID (RFC 5001).
'dig +nsid' requests NSID from server.
                        'request-nsid yes;' causes recursive server to send
                        NSID requests to upstream servers.  Server responds
                        to NSID requests with the string configured by
                        'server-id' option.  [RT #17091]
2008-04-03 02:12:22 +00:00
Mark Andrews 9a13b1536d bad pointer 2008-04-03 02:09:18 +00:00
Mark Andrews db30f4bdcb 2353. [func] Add support for Name Server ID (RFC 5001).
'dig +nsid' requests NSID from server.
                        'request-nsid yes;' causes recursive server to send
                        NSID requests to upstream servers.  Server responds
                        to NSID requests with the string configured by
                        'server-id' option.  [RT #17091]
2008-04-03 02:01:08 +00:00
Automatic Updater aeb7938001 regen 2008-04-03 01:10:00 +00:00
Mark Andrews c78c0e226d 2352. [bug] Various GSS_API fixups. [RT #17729] 2008-04-03 00:47:46 +00:00
Mark Andrews 887ef2682c 2352. [bug] Various GSS_API fixups. [RT #17729] 2008-04-03 00:45:23 +00:00
Automatic Updater a687db7ce8 update copyright notice 2008-04-02 23:46:58 +00:00
Automatic Updater b15ca1e4a8 update copyright notice 2008-04-02 23:46:28 +00:00
Automatic Updater d145b64cac newcopyrights 2008-04-02 23:30:21 +00:00
Automatic Updater 037b8b129d regen 2008-04-02 23:30:20 +00:00
Automatic Updater 4a2a5e97c8 newcopyrights 2008-04-02 23:30:14 +00:00
Automatic Updater e3f89c5bf1 regen 2008-04-02 23:30:13 +00:00
Mark Andrews 6716d12cf8 add dnssec-keyfromlabel 2008-04-02 06:13:03 +00:00
Mark Andrews 380c7b4299 2351. [bug] convertxsl.pl generated very long lines. [RT #17906] 2008-04-02 03:36:44 +00:00
Mark Andrews 420ed91d3e 2351. [bug] convertxsl.pl generated very long lines. [RT #17906] 2008-04-02 03:35:13 +00:00
Mark Andrews 569866242d 2350. [port] win32: IPv6 support. [RT #17797] 2008-04-02 03:05:18 +00:00
Mark Andrews 07555e64d9 2350. [port] win32: IPv6 support. [RT #17797] 2008-04-02 02:56:23 +00:00
Mark Andrews 3f42cf2f3e 2349. [func] Provide incremental re-signing support for secure
dynamic zones. [RT #1091]

back out incorrect branch rt1091 and apply correct branch rt1091a.
2008-04-02 02:37:42 +00:00
Mark Andrews 0655b0e422 don't ignore bind9.xsl.h 2008-04-02 02:35:23 +00:00
Mark Andrews 60318da786 don't ignore bind9.xsl.h 2008-04-02 02:35:06 +00:00
Mark Andrews a0735eeac5 unit16_t -> isc_uint16_t 2008-04-02 01:48:32 +00:00
Automatic Updater e672951ed2 update copyright notice 2008-04-01 23:47:10 +00:00
Automatic Updater 713a5e3080 newcopyrights 2008-04-01 23:30:21 +00:00
Automatic Updater e1b8868347 regen 2008-04-01 23:30:14 +00:00
Mark Andrews c6b3c1984c s/USE_ISC_SPNEG/USE_ISC_SPNEGO/ 2008-04-01 05:19:00 +00:00
Mark Andrews 2391def779 remove return 2008-04-01 03:02:20 +00:00
Mark Andrews a76b380643 2349. [func] Provide incremental re-signing support for secure
dynamic zones. [RT #1091]
2008-04-01 01:37:25 +00:00
Automatic Updater 28b3569d62 regen 2008-04-01 01:11:50 +00:00
Mark Andrews dec509888a don't use C99 declarations 2008-04-01 00:03:31 +00:00
Automatic Updater bb93c85427 update 2008-03-31 23:51:55 +00:00
Automatic Updater db0008c448 update copyright notice 2008-03-31 23:47:11 +00:00
Automatic Updater 3b3a602c84 update copyright notice 2008-03-31 23:46:42 +00:00
Automatic Updater 97c6bb525f newcopyrights 2008-03-31 23:30:14 +00:00
Mark Andrews 155a0ce6e3 rework USE_ISC_SPNEG so it works with all versions of make 2008-03-31 21:28:16 +00:00
Francis Dupont 90f35c2f2a regen 2008-03-31 15:05:25 +00:00
Francis Dupont 33b14d31c7 regen 2008-03-31 14:59:39 +00:00
Francis Dupont 2a31bd5310 add EVP and PKCS11 2008-03-31 14:42:51 +00:00
Francis Dupont febd51128d commit rt17451 2008-03-31 13:18:00 +00:00
Francis Dupont 4a253e12fc commit rt17451 2008-03-31 13:11:32 +00:00
Mark Andrews d6a28f56c1 2346. [func] Memory statistics now cover all active memory contexts
in increased detail. [RT #17580]
2008-03-31 05:10:09 +00:00
Mark Andrews 3e072511de 2346. [func] Memory statistics now cover all active memory contexts
in increased detail. [RT #17580]
2008-03-31 05:09:52 +00:00
Mark Andrews cffe96e267 2346. [func] Memory statistics now cover all active memory contexts
in increased detail. [RT #17580]
2008-03-31 05:00:30 +00:00
Automatic Updater 7405bdffd4 update copyright notice 2008-03-29 23:47:08 +00:00
Automatic Updater 4926627bcf update copyright notice 2008-03-29 23:46:40 +00:00
Automatic Updater ec6e40f040 update copyright notice 2008-03-28 23:47:02 +00:00
Automatic Updater a3bc124972 update copyright notice 2008-03-28 23:46:33 +00:00
Automatic Updater 1744a23d0f newcopyrights 2008-03-28 23:30:25 +00:00
Automatic Updater 3bfe5db91d newcopyrights 2008-03-28 23:30:16 +00:00
Tatuya JINMEI 神明達哉 7826436f62 don't use separate memory contexts for res buckets without threads
Download because it doesn't have any benefit and requires more memory.
(RT #17898)
2008-03-28 17:20:51 +00:00
Tatuya JINMEI 神明達哉 e0258ba438 don't use separate memory contexts for res buckets without threads
Download because it doesn't have any benefit and requires more memory.
(RT #17898)
2008-03-28 17:19:11 +00:00
Mark Andrews 8fed9314f6 2345. [bug] named-checkconf failed to detect when forwarders
were set at both the options/view level and in
                        a root zone. [RT #17671]
2008-03-28 03:30:05 +00:00
Mark Andrews f703353673 2345. [bug] named-checkconf failed to detect when forwarders
were set at both the options/view level and in
                        a root zone. [RT #17671]
2008-03-28 03:26:39 +00:00
Automatic Updater a5c4ae5173 regen 2008-03-28 01:41:34 +00:00
Automatic Updater 1f8dc520d4 regen 2008-03-28 01:11:41 +00:00
Automatic Updater 2b91038561 update copyright notice 2008-03-27 23:46:57 +00:00
Automatic Updater 77f549e6b4 update copyright notice 2008-03-27 23:46:28 +00:00
Automatic Updater 83a97deac2 newcopyrights 2008-03-27 23:30:28 +00:00
Automatic Updater ca3ecfb9b5 newcopyrights 2008-03-27 23:30:20 +00:00
Tatuya JINMEI 神明達哉 c367f5e243 always enable ISC_xxx_NAMES 2008-03-27 21:10:24 +00:00
Tatuya JINMEI 神明達哉 d8eb00152d always enable ISC_xxx_NAMES 2008-03-27 21:08:52 +00:00
Mark Andrews c93c2295a3 2344. [bug] Improve "logging{ file ...; };" documentation.
[RT #17888]
2008-03-27 03:36:38 +00:00
Mark Andrews 7e26a2a646 2344. [bug] Improve "logging{ file ...; };" documentation.
[RT #17888]
2008-03-27 03:30:53 +00:00
Automatic Updater 0a7e6db2db update copyright notice 2008-03-20 23:47:00 +00:00
Automatic Updater 4e1aab5a12 update copyright notice 2008-03-20 23:46:31 +00:00
Automatic Updater c01dec514a newcopyrights 2008-03-20 23:30:28 +00:00
Automatic Updater 5ff3649205 newcopyrights 2008-03-20 23:30:19 +00:00
Tatuya JINMEI 神明達哉 b1edc6d4c5 2343. [bug] (Seemingly) duplicate IPv6 entries could be
created in ADB. [RT #17837]
2008-03-20 22:42:16 +00:00
Tatuya JINMEI 神明達哉 a95a9de45c 2343. [bug] (Seemingly) duplicate IPv6 entries could be
created in ADB. [RT #17837]

(plan to merge to 9.[345])
2008-03-20 19:23:42 +00:00
Mark Andrews ea8564f68a 2342. [func] Use getifaddrs() if available under Linux. [RT #17224] 2008-03-20 04:51:00 +00:00
Mark Andrews 98ef27178a 2341. [bug] libbind: add missing -I../include for off source
tree builds. [RT #17606]
2008-03-20 04:18:39 +00:00
Mark Andrews 55f580c7fc 2341. [bug] libbind: add missing -I../include for off source
tree builds. [RT #17606]
2008-03-20 04:02:14 +00:00
Automatic Updater 872a5b83f6 newcopyrights 2008-03-18 23:30:25 +00:00
Automatic Updater 3bebac792f newcopyrights 2008-03-18 23:30:18 +00:00
Jeremy Reed 5c1119ddb2 Mention allow-query changes and allow-query-cache. [RT #17726]
And add new copyright year too.
2008-03-18 16:02:36 +00:00
Jeremy Reed 59c0977bed Mention allow-query changes and allow-query-cache. [RT #17726]
And add new copyright year too.
2008-03-18 15:42:53 +00:00
Mark Andrews f7e10e70a0 new draft 2008-03-18 04:33:44 +00:00
Automatic Updater 7cc05aa300 auto update 2008-03-17 23:18:28 +00:00
Automatic Updater 6b2bbc7acd regen 2008-03-15 01:41:36 +00:00
Automatic Updater ab8729140b regen 2008-03-15 01:11:44 +00:00
Jeremy Reed 61e1949537 Fix typo in $GENERATE example. 2008-03-14 14:41:47 +00:00
Jeremy Reed ee591e0b22 Fix typo in $GENERATE example. 2008-03-14 14:29:13 +00:00
Automatic Updater b2d8ce4705 auto update 2008-03-12 23:18:25 +00:00
Automatic Updater 1cfd513f9d newcopyrights 2008-03-07 23:30:24 +00:00
Automatic Updater 7ead775452 newcopyrights 2008-03-07 23:30:14 +00:00
Mark Andrews 659e104902 platform.h 2008-03-07 01:43:42 +00:00
Mark Andrews 8c16eea7cb platform.h 2008-03-07 01:42:55 +00:00
Automatic Updater 208e504ca5 newcopyrights 2008-03-06 23:30:23 +00:00
Automatic Updater e07831f779 auto update 2008-03-06 23:18:06 +00:00
Mark Andrews 14414ddb1c custom_NOM_v9_5_0b2+ 2008-03-06 06:47:46 +00:00
Automatic Updater f9760f7b6a update copyright notice 2008-03-03 23:47:02 +00:00
Automatic Updater 5815d6d626 update copyright notice 2008-03-03 23:46:26 +00:00
Automatic Updater f8c47598b8 newcopyrights 2008-03-03 23:30:24 +00:00
Automatic Updater c6efdf3877 newcopyrights 2008-03-03 23:30:18 +00:00
Mark Andrews acfc90e470 2340. [port] openbsd: interface configuration. [RT #17700] 2008-03-03 01:23:09 +00:00
Mark Andrews d9936b218d 2340. [port] openbsd: interface configuration. [RT #17700] 2008-03-03 01:20:03 +00:00
Mark Andrews 4b44e87afa 2339. [port] tru64: support for libbind. [RT #17589] 2008-03-02 22:29:25 +00:00
Mark Andrews aa02826aac 2339. [port] tru64: support for libbind. [RT #17589] 2008-03-02 22:25:58 +00:00
Automatic Updater 289caa2d15 newcopyrights 2008-02-28 23:30:26 +00:00
Automatic Updater d01a2c3074 newcopyrights 2008-02-28 23:30:17 +00:00
Automatic Updater cf22a43354 auto update 2008-02-28 23:18:29 +00:00
Mark Andrews fa14a55a9b 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-28 05:47:11 +00:00
Mark Andrews cf50039c14 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-28 05:36:11 +00:00
Mark Andrews fff7eac50a 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-28 05:36:10 +00:00
Automatic Updater 8665a8cb0f update copyright notice 2008-02-27 23:47:06 +00:00
Automatic Updater 7a66933966 update copyright notice 2008-02-27 23:46:37 +00:00
Automatic Updater d30cacd81f newcopyrights 2008-02-27 23:30:21 +00:00
Automatic Updater 08554db8e8 newcopyrights 2008-02-27 23:30:13 +00:00
Automatic Updater addef6048d auto update 2008-02-27 23:18:22 +00:00
Mark Andrews 209b1d150c 4648: The Base16, Base32, and Base64 Data Encodings 2008-02-27 02:26:26 +00:00
Mark Andrews 4daa027dae 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-27 00:07:02 +00:00
Mark Andrews 4074b8e734 2339. [port] tru64: support for libbind. [RT #17589] 2008-02-26 23:58:51 +00:00
Mark Andrews 3d3839a090 regen 2008-02-25 05:08:15 +00:00
Mark Andrews 961bf334ad regen 2008-02-25 05:08:10 +00:00
Mark Andrews b8c8a39cad intance-> instance 2008-02-25 01:28:02 +00:00
Mark Andrews 8cf205fb19 /proc -> proc 2008-02-25 01:26:19 +00:00
Mark Andrews 2b65fc1d03 add /proc/net/if_inet6 reference 2008-02-24 23:57:06 +00:00
Mark Andrews 32adfbfda1 new draft 2008-02-20 23:23:51 +00:00
Francis Dupont f23354f758 comment rt17596 2008-02-20 09:22:56 +00:00
Automatic Updater 82ff9ea3af auto update 2008-02-19 23:18:22 +00:00
Mark Andrews 92a67c70fc remove .org's 2008-02-19 22:46:01 +00:00
Evan Hunt 54d79b7ee6 Fix build error: parameter type was changed in the prototype but not in
the function header.
2008-02-19 17:09:08 +00:00
Evan Hunt e4d304b70b Fix build error: parameter type was changed in the prototype but not in
the function header.
2008-02-19 17:07:55 +00:00
Mark Andrews 8499acff4b bad CHANGE numbers 2008-02-19 02:27:46 +00:00
Mark Andrews 0283e51131 bad CHANGE numbers 2008-02-19 02:25:57 +00:00
Automatic Updater eb0e8ace24 update copyright notice 2008-02-18 23:46:59 +00:00
Automatic Updater a575cc7345 update copyright notice 2008-02-18 23:46:30 +00:00
Automatic Updater 6ceb29d4d4 newcopyrights 2008-02-18 23:30:23 +00:00
Automatic Updater 7443e9a0ab newcopyrights 2008-02-18 23:30:16 +00:00
Automatic Updater 737176b36d auto update 2008-02-18 23:18:23 +00:00
Mark Andrews fc271a843e new draft 2008-02-18 23:13:45 +00:00
Mark Andrews de4f3419d3 2238. [bug] check_ds() could be called with a non DS rdataset.
[RT #17598]
2008-02-18 23:09:31 +00:00
Mark Andrews 664e11f0b1 2238. [bug] check_ds() could be called with a non DS rdataset.
[RT #17598]
2008-02-18 23:06:54 +00:00
Mark Andrews 3d20fde5d5 2237. [bug] BUILD_LDFLAGS was not being correctly set. [RT #17614] 2008-02-18 22:44:29 +00:00
Mark Andrews 016c431750 2237. [bug] BUILD_LDFLAGS was not being correctly set. [RT #17614] 2008-02-18 22:43:48 +00:00
Mark Andrews 24e79a68e1 regen 2008-02-18 12:53:14 +00:00
Mark Andrews ce9c1558a6 2336. [func] If "named -6" is specified then listen on all IPv6
interfaces if there are not listen-on-v6 clauses in
                        named.conf.  [RT #17581]
2008-02-18 04:43:47 +00:00
Mark Andrews 4a8284d2d9 2335. [port] sunos: libbind and *printf() support for long long.
[RT #17513]
2008-02-18 04:12:30 +00:00
Mark Andrews 23d4dc13e1 2335. [port] sunos: libbind and *printf() support for long long.
[RT #17513]
2008-02-18 04:06:40 +00:00
Mark Andrews dde0554201 remove 2008-02-18 03:54:07 +00:00
Mark Andrews 0f3264c8d1 2335. [port] sunos: libbind and *printf() support for long long.
[RT #17513]
2008-02-18 03:50:46 +00:00
Mark Andrews 085c04709b 2333. [bug] Fix off by one error in isc_time_nowplusinterval().
[RT #17608]
2008-02-17 23:46:48 +00:00
Mark Andrews a637837c26 remove query-loc-0.3.0 2008-02-17 22:17:35 +00:00
Mark Andrews 6372b6a6ac remove query-loc-0.3.0 2008-02-17 22:16:46 +00:00
Automatic Updater 8e08a2273c auto update 2008-02-16 23:17:51 +00:00
Automatic Updater 6475e22cc9 update copyright notice 2008-02-15 23:46:51 +00:00
Automatic Updater 49d06d08af update copyright notice 2008-02-15 23:46:22 +00:00
Automatic Updater 97669cab1f newcopyrights 2008-02-15 23:30:22 +00:00
Automatic Updater fbcc990683 newcopyrights 2008-02-15 23:30:15 +00:00
Mark Andrews 8bf830cf9a tag root-server address changes as [maint] 2008-02-15 03:42:52 +00:00
Mark Andrews c368f28dad tag root-server address changes as [maint] 2008-02-15 03:40:37 +00:00
Mark Andrews 25483f341c 2334. [bug] Bad REQUIRES in fromstruct_in_naptr(), off by one
bug in fromstruct_txt(). [RT #17609]
2008-02-15 03:37:13 +00:00
Mark Andrews 0e30609d7b 2334. [bug] Bad REQUIRES in fromstruct_in_naptr(), off by one
bug in fromstruct_txt(). [RT #17609]
2008-02-15 03:28:49 +00:00
Mark Andrews 9e8947d9e6 2333. [bug] Fix off by one error in isc_time_nowplusinterval().
[RT #17608]
2008-02-15 02:24:04 +00:00
Mark Andrews 878c2e6886 file reconf.orig was initially added on branch v9_4. 2008-02-15 02:19:43 +00:00
Mark Andrews a3f132e1d5 2332. [contrib] query-loc-0.4.0. [RT #17602] 2008-02-15 02:16:03 +00:00
cvs2git 4dced8b5ca This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-02-15 01:47:17 +00:00
Mark Andrews 3cff31d890 2332. [contrib] query-loc-0.4.0. [RT #17602] 2008-02-15 01:47:15 +00:00
Automatic Updater 3e760796d3 auto update 2008-02-11 23:17:52 +00:00
Automatic Updater 786fd60130 auto update 2008-02-09 23:18:24 +00:00
Mark Andrews 500bde4952 new draft 2008-02-09 04:40:59 +00:00
Automatic Updater f519a84ce3 auto update 2008-02-08 23:18:11 +00:00
Mark Andrews 249ad82c6a new draft 2008-02-08 00:05:15 +00:00
Automatic Updater f172f06ff2 update copyright notice 2008-02-07 23:46:54 +00:00
Automatic Updater a7e1401d6f update copyright notice 2008-02-07 23:46:25 +00:00
Automatic Updater bf46736ab1 newcopyrights 2008-02-07 23:30:24 +00:00
Automatic Updater bf893e98a1 newcopyrights 2008-02-07 23:30:17 +00:00
Mark Andrews 2005c3b37b 80 cols 2008-02-07 03:29:05 +00:00
Mark Andrews 785ba57b1d 80 cols 2008-02-07 03:28:30 +00:00
Mark Andrews b3d76dc009 2331. [bug] Failure to regenerate any signatures was not being reported
or past back to the UPDATE client. [RT #17570]
2008-02-07 03:14:57 +00:00
Mark Andrews c09c2bf800 2331. [bug] Failure to regenerate any signatures was not being reported
or past back to the UPDATE client. [RT #17570]
2008-02-07 03:12:15 +00:00
Mark Andrews 0fd9a6a418 2330. [bug] Remove potential race condition when handling
over memory events. [RT #17572]

                        WARNING: API CHANGE: over memory callback
                        function now needs to call isc_mem_waterack().
                        See <isc/mem.h> for details.
2008-02-07 02:51:43 +00:00
Mark Andrews 43581a71ab clean up example code 2008-02-07 02:45:49 +00:00
Mark Andrews 9a7d202077 2330. [bug] Remove potential race condition when handling
over memory events. [RT #17572]

                        WARNING: API CHANGE: over memory callback
                        function now needs to call isc_mem_waterack().
                        See <isc/mem.h> for details.
2008-02-07 02:41:26 +00:00
Automatic Updater e934a311cb auto update 2008-02-06 23:18:15 +00:00
Automatic Updater 6b3c17b9b0 update copyright notice 2008-02-05 23:47:08 +00:00
Automatic Updater cbb58f7806 update copyright notice 2008-02-05 23:46:39 +00:00
Automatic Updater fc35763283 newcopyrights 2008-02-05 23:30:25 +00:00
Automatic Updater e612fee97e newcopyrights 2008-02-05 23:30:17 +00:00
Automatic Updater 4a0df5485f auto update 2008-02-05 23:18:30 +00:00
Mark Andrews 9ad9a85600 2329. [bug] Clearer help text for dig's '-x' and '-i' options. 2008-02-05 07:00:58 +00:00
Mark Andrews 4a5b30c24c 2329. [bug] Clearer help text for dig's '-x' and '-i' options. 2008-02-05 06:57:52 +00:00
Mark Andrews f1d6c77ecc 2328. [bug] Add AAAA addresses for A.ROOT-SERVERS.NET,
F.ROOT-SERVERS.NET, H.ROOT-SERVERS.NET,
                        J.ROOT-SERVERS.NET, K.ROOT-SERVERS.NET and
                        M.ROOT-SERVERS.NET.
2008-02-05 03:21:20 +00:00
Mark Andrews 50a826f981 2328. [bug] Add AAAA addresses for A.ROOT-SERVERS.NET,
F.ROOT-SERVERS.NET, H.ROOT-SERVERS.NET,
                        J.ROOT-SERVERS.NET, K.ROOT-SERVERS.NET and
                        M.ROOT-SERVERS.NET.
2008-02-05 03:19:36 +00:00
Automatic Updater a5862555f0 auto update 2008-02-04 23:18:57 +00:00
Automatic Updater 8b90c4fdad update copyright notice 2008-02-01 23:46:58 +00:00
Automatic Updater 657f12a6c2 update copyright notice 2008-02-01 23:46:30 +00:00
Mark Andrews b92d30fdf6 2327. [bug] It was possible to dereference a NULL pointer in
rbtdb.c.  Implement deadnode processing in zones as
                        we do for caches. [RT #17312]
2008-02-01 04:36:56 +00:00
Mark Andrews 7adca0ea2f NULL -> NULL pointer 2008-02-01 04:33:31 +00:00
Mark Andrews 9dcc44d7b3 2327. [bug] It was possible to dereference a NULL in rbtdb.c.
Implement deadnode processing in zones as we do for
                        caches. [RT #17312]
2008-02-01 04:31:04 +00:00
Automatic Updater da1e0ac742 update copyright notice 2008-01-31 23:47:06 +00:00
Automatic Updater be3fa0f93c update copyright notice 2008-01-31 23:46:35 +00:00
Automatic Updater 9a0529a96f newcopyrights 2008-01-31 23:30:27 +00:00
Automatic Updater 6ae5d3fe2e newcopyrights 2008-01-31 23:30:18 +00:00
Mark Andrews 5badfc7e00 2326. [bug] It was possible to trigger a INSIST in the acache
processing.
2008-01-31 05:28:46 +00:00
Mark Andrews fff23805cd 2326. [bug] It was possible to trigger a INSIST in the acache
processing.
2008-01-31 05:27:14 +00:00
Mark Andrews baf0deb78a 2325. [port] Linux: use capset() function if available. [RT #17557] 2008-01-30 04:57:30 +00:00
Mark Andrews dc2a0aa7aa 2325. [port] Linux: use capset() function if available. [RT #17557] 2008-01-30 04:50:00 +00:00
Mark Andrews 1c761ab7cd correct rt number 2008-01-30 03:43:53 +00:00
Mark Andrews 28c49640dc correct rt number 2008-01-30 03:42:14 +00:00
Mark Andrews 5d9d317c9e regen 2008-01-30 02:31:50 +00:00
Mark Andrews 19621ecd33 regen 2008-01-30 02:31:45 +00:00
Automatic Updater 22b059eab3 update copyright notice 2008-01-29 23:47:00 +00:00
Automatic Updater 6d6b4d2b44 update copyright notice 2008-01-29 23:46:31 +00:00
Automatic Updater 59dd3b3cd9 newcopyrights 2008-01-29 23:30:24 +00:00
Automatic Updater 408d189490 newcopyrights 2008-01-29 23:30:18 +00:00
Automatic Updater deff06e6fb auto update 2008-01-29 23:18:27 +00:00
Evan Hunt 9c114f36da Fix typo, "documention"->"documentation" 2008-01-29 19:53:34 +00:00
Evan Hunt 2302483203 Fix typo, "documention"->"documentation" 2008-01-29 19:53:12 +00:00
Evan Hunt 5205441b98 Moved 9.5.0b2 released line to the top 2008-01-29 15:24:32 +00:00
Mark Andrews 1783d66b34 document the use of 'modprobe' 2008-01-29 04:27:49 +00:00
Mark Andrews 9269f5932a document the use of 'modprobe' 2008-01-29 04:24:23 +00:00
Evan Hunt 458298c4e5 Added unresolved externals for windows build 2008-01-29 00:07:24 +00:00
Evan Hunt 01167e9f54 Added unresolved externals for windows build 2008-01-29 00:06:47 +00:00
Automatic Updater 60d19b2f15 update copyright notice 2008-01-27 23:47:20 +00:00
Automatic Updater c70668447c update copyright notice 2008-01-27 23:46:52 +00:00
Automatic Updater 65f40aa682 newcopyrights 2008-01-27 23:30:28 +00:00
Automatic Updater facbe6140d newcopyrights 2008-01-27 23:30:16 +00:00
Mark Andrews 94985fd194 regen 2008-01-27 06:10:24 +00:00
Mark Andrews 200538d835 regen 2008-01-27 06:10:15 +00:00
Mark Andrews 1fa2ce7eae 2324. [bug] Fix IPv6 matching against "any;" [RT #17533] 2008-01-27 02:13:34 +00:00
Mark Andrews 5b5459fa39 2324. [bug] Fix IPv6 matching against "any;" [RT #17533] 2008-01-27 02:12:51 +00:00
Mark Andrews 970e4f9c17 2323. [port] tru64: namespace clash. [RT #17547] 2008-01-27 02:06:46 +00:00
Mark Andrews 7539c231d4 2323. [port] tru64: namespace clash. [RT #17547] 2008-01-27 01:58:19 +00:00
Automatic Updater 988fcd8e91 update copyright notice 2008-01-26 23:46:50 +00:00
Automatic Updater 15538c5cf9 newcopyrights 2008-01-26 23:30:19 +00:00
Tatuya JINMEI 神明達哉 b0bf8fb3d7 corrected typo 2008-01-25 23:51:18 +00:00
Tatuya JINMEI 神明達哉 29d019169b corrected type 2008-01-25 23:50:38 +00:00
Tatuya JINMEI 神明達哉 a927d3d2f5 2322. [port] MacOS: work around the limitation of setrlimit()
for RLIMIT_NOFILE. [RT #17526]
2008-01-25 23:48:17 +00:00
Automatic Updater 4f640b0d8f update copyright notice 2008-01-25 23:46:48 +00:00
Automatic Updater 420ebb7c68 newcopyrights 2008-01-25 23:30:24 +00:00
Automatic Updater 1a1b126148 auto update 2008-01-25 23:18:20 +00:00
Tatuya JINMEI 神明達哉 7ae2fa27e9 2322. [port] MacOS: work around the limitation of setrlimit()
for RLIMIT_NOFILE. [RT #17526]
2008-01-25 19:31:29 +00:00
Automatic Updater cbf0854acc update copyright notice 2008-01-24 23:47:00 +00:00
Automatic Updater d7fe687447 update copyright notice 2008-01-24 23:46:26 +00:00
Automatic Updater 40696c4c38 newcopyrights 2008-01-24 23:30:25 +00:00
Automatic Updater dd6673e550 newcopyrights 2008-01-24 23:30:18 +00:00
Mark Andrews 7fe86a5425 2321. [placeholder] 2008-01-24 13:00:17 +00:00
Mark Andrews 0fd958bf27 2320. [func] Make statistics couters thread-safe for platforms
that support certain atomic operations. [RT #17466]
2008-01-24 02:41:48 +00:00
Mark Andrews 0d4b663cac 2320. [func] Make statistics couters thread-safe for platforms
that support certain atomic operations. [RT #17466]
2008-01-24 02:39:43 +00:00
Tatuya JINMEI 神明達哉 b20fabbc3a 2320. [func] Make statistics couters thread-safe for platforms
that support certain atomic operations. [RT #17466]
2008-01-24 02:29:57 +00:00
Tatuya JINMEI 神明達哉 1c3ed2a83d 2320. [func] Make statistics couters thread-safe for platforms
that support certain atomic operations. [RT #17466]
2008-01-24 02:00:44 +00:00
Automatic Updater fcb738fca3 auto update 2008-01-23 23:18:20 +00:00
Automatic Updater f148623ce2 update copyright notice 2008-01-23 03:22:43 +00:00
Automatic Updater 3a1a42acf0 update copyright notice 2008-01-23 03:22:15 +00:00
Automatic Updater 00be0f9f61 newcopyrights 2008-01-23 03:20:37 +00:00
Automatic Updater a7cd86b7e5 newcopyrights 2008-01-23 03:20:28 +00:00
Mark Andrews b356686ecb Fixes needed to compile on windows 2008-01-23 03:10:48 +00:00
Evan Hunt 438763e4ca Fixes needed to compile on windows 2008-01-23 02:32:17 +00:00
Mark Andrews 57708b0d58 regen 2008-01-23 02:25:58 +00:00
Mark Andrews 6f054fb0c0 regen 2008-01-23 02:25:08 +00:00
Automatic Updater af3250a9f8 update copyright notice 2008-01-23 02:15:56 +00:00
Automatic Updater fd7dee0a02 update copyright notice 2008-01-23 02:15:32 +00:00
Automatic Updater 063c7af445 newcopyrights 2008-01-23 02:13:45 +00:00
Automatic Updater 64af101571 newcopyrights 2008-01-23 02:13:39 +00:00
Mark Andrews 61c08ad3b7 2318. [port] sunos fixes for libbind. [RT #17514] 2008-01-23 02:10:08 +00:00
cvs2git db746aa5ef This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-01-23 02:06:44 +00:00
Mark Andrews 9a727082a0 2318. [port] sunos fixes for libbind. [RT #17514] 2008-01-23 02:06:41 +00:00
Mark Andrews 4bb592c78c 2318. [port] sunos fixes for libbind. [RT #17514] 2008-01-23 02:00:56 +00:00
Evan Hunt 2f58f058c1 Update libtool versions for 9.5.0b2 2008-01-22 23:58:42 +00:00
Evan Hunt fc53f564ca fix typo 2008-01-22 23:44:31 +00:00
Evan Hunt 72ef4f17c9 releasing 9.5.0b2 (also fixed a typo in the previous CHANGES entry) 2008-01-22 23:43:56 +00:00
Automatic Updater f731b5d665 update copyright notice 2008-01-22 23:28:04 +00:00
Automatic Updater 22df9a9b9e update copyright notice 2008-01-22 23:27:35 +00:00
Automatic Updater 4cda4fd158 newcopyrights 2008-01-22 23:25:59 +00:00
Automatic Updater dd45b00f68 newcopyrights 2008-01-22 23:25:51 +00:00
Mark Andrews 3999907ad2 2319. [bug] Silence Coverity warnings in
lib/dns/rdata/in_1/apl_42.c. [RT #174]
2008-01-22 23:22:00 +00:00
Automatic Updater ccfba88285 auto update 2008-01-22 23:18:52 +00:00
Mark Andrews e951a79d90 2319. [bug] Silence Coverity warnings in
lib/dns/rdata/in_1/apl_42.c. [RT #174]
2008-01-22 23:17:31 +00:00
Mark Andrews bd3598f239 2318. [port] ISC_PLATFORM_NEEDTIMESPEC missing from
lib/bind/config.h.in. [RT #17514]
2008-01-22 23:05:49 +00:00
Mark Andrews a59640bf27 2318. [port] ISC_PLATFORM_NEEDTIMESPEC missing from
lib/bind/config.h.in. [RT #17514]
2008-01-22 22:56:43 +00:00
Mark Andrews 764150b71d 2317. [bug] "make distclean" removed bind9.xsl.h. [RT #17518] 2008-01-22 22:51:26 +00:00
Mark Andrews 4462e59079 2317. [bug] "make distclean" removed bind9.xsl.h. [RT #17518] 2008-01-22 22:50:10 +00:00
Mark Andrews 2ed540c845 new draft 2008-01-22 21:28:59 +00:00
Mark Andrews 9925249931 2316. [port] Missing #include <isc/print.h> in lib/dns/gssapictx.c.
[RT #17513]
2008-01-22 11:47:54 +00:00
Mark Andrews 0154d8b824 2316. [port] Missing #include <isc/print.h> in lib/dns/gssapictx.c.
[RT #17513]
2008-01-22 11:44:56 +00:00
Evan Hunt d595af5b6a Used incorrect address family for mapped IPv4 addresses in acl.c. [RT #17519] 2008-01-22 05:39:18 +00:00
Evan Hunt fc7043d7d1 Used incorrect address family for mapped IPv4 addresses in acl.c. [RT #17519] 2008-01-22 05:37:49 +00:00
Mark Andrews 59b0f0ac6c 2314. [bug] Uninitialized memory use on error path in
bin/named/lwdnoop.c.  [RT #17476]
2008-01-22 01:56:30 +00:00
Mark Andrews cef715b655 2314. [bug] Uninitialized memory use on error path in
bin/named/lwdnoop.c.  [RT #17476]
2008-01-22 01:51:16 +00:00
Mark Andrews 2b58801b9a regen 2008-01-22 01:45:28 +00:00
Mark Andrews 5b9f34295f regen 2008-01-22 01:45:23 +00:00
Mark Andrews b177a884b4 2313. [cleanup] Silence Coverity warnings. Handle private stacks.
[RT #17447] [RT #17478]
2008-01-22 01:44:04 +00:00
Mark Andrews 5497de6931 2313. [cleanup] Silence Coverity warnings. Handle private stacks.
[RT #17447] [RT #17478]
2008-01-22 01:34:15 +00:00
Mark Andrews 09274b9cea 2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.
[RT #17458]
2008-01-22 01:14:11 +00:00
Mark Andrews f86c5d30de 2312. [cleanup] Silence Coverity warning in lib/isc/unix/socket.c.
[RT #17458]
2008-01-22 01:06:33 +00:00
Tatuya JINMEI 神明達哉 2e5426b5aa noticed the default max-cache-size [RT #17515] 2008-01-22 00:31:00 +00:00
Tatuya JINMEI 神明達哉 95c5f1d17b noticed the default max-cache-size [RT #17515] 2008-01-22 00:29:03 +00:00
Automatic Updater 140a27777d update copyright notice 2008-01-21 23:46:56 +00:00
Automatic Updater e00da2eb68 update copyright notice 2008-01-21 23:46:23 +00:00
Automatic Updater 2775a809a5 newcopyrights 2008-01-21 23:30:30 +00:00
Automatic Updater 468a0a9f0e newcopyrights 2008-01-21 23:30:18 +00:00
Mark Andrews 1ff207c2fa missing period 2008-01-21 22:48:57 +00:00
Evan Hunt 09bd4960ef IPv6 addresses could match IPv4 ACL entries and vice versa. [RT #17462] 2008-01-21 21:02:24 +00:00
Evan Hunt 262c39b236 IPv6 addresses could match IPv4 ACL entries and vice versa. [RT #17462] 2008-01-21 20:38:54 +00:00
Automatic Updater 2f012d936b update copyright notice 2008-01-18 23:46:58 +00:00
Automatic Updater 2a446e8c5a newcopyrights 2008-01-18 23:30:22 +00:00
Automatic Updater 715d3e82cb newcopyrights 2008-01-18 23:30:15 +00:00
Mark Andrews 233dd63115 regen 2008-01-18 09:37:05 +00:00
Mark Andrews a53c45b2b8 regen 2008-01-18 07:19:52 +00:00
Tatuya JINMEI 神明達哉 d504c44c35 missing <command> tags for statement grammar notations. 2008-01-18 02:18:45 +00:00
Tatuya JINMEI 神明達哉 c11b1369d1 missing <command> tags in statement grammar notations. 2008-01-18 01:59:07 +00:00
Mark Andrews 66240d2746 regen 2008-01-18 01:44:54 +00:00
Mark Andrews 14731fe09a fix leading/trailing whitespace in C code.c we host copyright to 2008-01-18 00:43:22 +00:00
Mark Andrews bd113f8c65 regen 2008-01-18 00:12:50 +00:00
Mark Andrews bc5f9d92c3 regen 2008-01-18 00:12:21 +00:00
Automatic Updater 2f99b54e8e update copyright notice 2008-01-17 23:47:00 +00:00
Automatic Updater ce09884de7 update copyright notice 2008-01-17 23:46:37 +00:00
Automatic Updater 19b3dc94bc newcopyrights 2008-01-17 23:30:26 +00:00
Automatic Updater 2d3aafb354 newcopyrights 2008-01-17 23:30:19 +00:00
Mark Andrews b1e32169ac 2310 [bug] dig, host, nslookup: flush stdout before emitting
debug/fatal messages.  [RT #17501]
2008-01-17 21:51:24 +00:00
Mark Andrews a9b24b418c 2310 [bug] dig, host, nslookup: flush stdout before emitting
debug/fatal messages.  [RT #17501]
2008-01-17 21:51:21 +00:00
Mark Andrews 827572e191 2310 [bug] Flush stdout before emitting debug/fatal messages.
[RT #17501]
2008-01-17 21:46:33 +00:00
Mark Andrews b336b9332d Fix documentation for:
2294.   [func]          Allow the experimental statistics channels to have
                        multiple connections and ACL.
2008-01-17 21:41:47 +00:00
Mark Andrews b0b4ba7533 Fix documentation for:
2294.   [func]          Allow the experimental statistics channels to have
                        multiple connections and ACL.
2008-01-17 21:38:24 +00:00
Evan Hunt a981760738 Fix coverity warnings in acl.c and iptable.c [rt17455] 2008-01-17 08:09:36 +00:00
Evan Hunt 1aba9fe678 Fix coverity warnings in acl.c and iptable.c [rt17455] 2008-01-17 08:08:08 +00:00
Mark Andrews d244a5b2a3 automate the cleanup of leading/trailing whitespace in C files 2008-01-17 07:44:01 +00:00
Mark Andrews c6d486af36 regen 2008-01-17 03:05:23 +00:00
Mark Andrews 1cbd155085 regen 2008-01-17 03:04:53 +00:00
Tatuya JINMEI 神明達哉 84a2c39fa0 missing validation check for the reload case 2008-01-17 03:02:17 +00:00
Tatuya JINMEI 神明達哉 b03bc0ce07 missing validity check for the reload case 2008-01-17 03:01:25 +00:00
Mark Andrews cfcbcf061f 2308. [cleanup] Silence Coverity warning in bin/named/controlconf.c.
[RT #17495]
2008-01-17 03:00:59 +00:00
Mark Andrews 546c2bf791 2308. [cleanup] Silence Coverity warning in bin/named/controlconf.c.
[RT #17495]
2008-01-17 02:57:16 +00:00
Tatuya JINMEI 神明達哉 62bd59af24 2294. [func] Allow the experimental statistics channels to have
multiple connections and ACL.
			Note: the stats-server and stats-server-v6 options
			available in the previous beta releases are replaced
			with the generic statistics-channels statment.
2008-01-17 00:24:32 +00:00
cvs2git 8d121214ec This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-01-17 00:15:15 +00:00
Tatuya JINMEI 神明達哉 bfcc5ae79a 2294. [func] Allow the experimental statistics channels to have
multiple connections and ACL.
			Note: the stats-server and stats-server-v6 options
			available in the previous beta releases are replaced
			with the generic statistics-channels statment.
2008-01-17 00:15:14 +00:00
Automatic Updater 61a8e638bc update copyright notice 2008-01-16 23:46:50 +00:00
Automatic Updater 3eb81a73aa update copyright notice 2008-01-16 23:46:23 +00:00
Automatic Updater 42e4f5af68 newcopyrights 2008-01-16 23:30:25 +00:00
Automatic Updater ebfc85d52f newcopyrights 2008-01-16 23:30:18 +00:00
Mark Andrews b18d6066b2 2307. [bug] Remove infinite loop from lib/dns/sdb.c. [RT #17496] 2008-01-16 21:57:51 +00:00
Mark Andrews 6c7f722d31 2307. [bug] Remove infinite loop from lib/dns/sdb.c. [RT #17496] 2008-01-16 21:44:41 +00:00
Automatic Updater 2b0addd3ca update copyright notice 2008-01-15 23:46:59 +00:00
Automatic Updater 4602a30928 update copyright notice 2008-01-15 23:46:32 +00:00
Automatic Updater 593e8b883a newcopyrights 2008-01-15 23:30:25 +00:00
Automatic Updater ac80f65020 newcopyrights 2008-01-15 23:30:15 +00:00
Mark Andrews 7a2ff97296 2306. [bug] Remove potential race from lib/dns/resolver.c.
[RT #17470]
2008-01-15 12:37:28 +00:00
Mark Andrews fcc2a57e13 2306. [bug] Remove potential race from lib/dns/resolver.c.
[RT #17470]
2008-01-15 12:12:19 +00:00
Mark Andrews fcdafc1e30 2305. [security] inet_network() buffer overflow. CVE-2008-0122. 2008-01-15 04:02:01 +00:00
Mark Andrews 40a2001899 2305. [security] inet_network() buffer overflow. CVE-2008-0122. 2008-01-15 03:47:55 +00:00
Mark Andrews 938b1008d9 remove test "#define inline" 2008-01-15 01:47:17 +00:00
Mark Andrews d4c9827b5a 2304. [bug] Check returns from all dns_rdata_tostruct() calls.
[RT #17460]
2008-01-15 01:13:17 +00:00
Automatic Updater 9d5ed744c4 update copyright notice 2008-01-14 23:46:56 +00:00
Automatic Updater e09484c1b5 update copyright notice 2008-01-14 23:46:28 +00:00
Automatic Updater bbb069be94 newcopyrights 2008-01-14 23:30:26 +00:00
Automatic Updater 138c9af8ee newcopyrights 2008-01-14 23:30:19 +00:00
Mark Andrews f1263d2aa4 2304. [bug] Check returns from all dns_rdata_tostruct() calls.
[RT #17460]
2008-01-14 23:24:24 +00:00
Mark Andrews 98b01ed499 2303. [bug] Remove unnecessary code from bin/named/lwdgnba.c.
[RT #17471]
2008-01-14 13:06:33 +00:00
Mark Andrews b1d21f6c93 2303. [bug] Remove unnecessary code from bin/named/lwdgnba.c.
[RT #17471]
2008-01-14 12:55:40 +00:00
Mark Andrews d760be189b 2302. [bug] Fix memset() calls in lib/tests/t_api.c. [RT #17472] 2008-01-14 12:47:00 +00:00
Mark Andrews efb3fa669f 2302. [bug] Fix memset() calls in lib/tests/t_api.c. [RT #17472] 2008-01-14 12:43:35 +00:00
Mark Andrews 531dca2420 2301. [bug] Remove resource leak and fix error messages in
bin/tests/system/lwresd/lwtest.c. [RT #17474]
2008-01-14 12:18:38 +00:00
Mark Andrews 034f775ae1 2301. [bug] Remove resource leak and fix error messages in
bin/tests/system/lwresd/lwtest.c. [RT #17474]
2008-01-14 12:02:11 +00:00
Mark Andrews d610a63637 2300. [bug] Fixed failure to close open file in
bin/tests/names/t_names.c. [RT #17473]
CV: ----------------------------------------------------------------------
2008-01-14 11:55:55 +00:00
Mark Andrews 80f20cb452 2300. [bug] Fixed failure to close open file in
bin/tests/names/t_names.c. [RT #17473]
2008-01-14 11:47:48 +00:00
Mark Andrews bd97dba011 new draft 2008-01-14 10:34:31 +00:00
Automatic Updater c5d57a13ac update copyright notice 2008-01-12 23:47:13 +00:00
Automatic Updater 0ca2c72ec4 update copyright notice 2008-01-12 23:46:43 +00:00
Automatic Updater 81c3cb9b92 newcopyrights 2008-01-12 23:30:22 +00:00
Automatic Updater c5f7d960af newcopyrights 2008-01-12 23:30:15 +00:00
Automatic Updater 2962817bb9 auto update 2008-01-12 23:18:27 +00:00
Mark Andrews ddc792aa74 2299. [bug] Remove unnecessary NULL check in
bin/nsupdate/nsupdate.c. [RT #17475]
2008-01-12 22:16:49 +00:00
Mark Andrews 93ee06cbe3 2299. [bug] Remove unnecessary NULL check in
bin/nsupdate/nsupdate.c. [RT #17475]
2008-01-12 22:12:55 +00:00
Mark Andrews e886663bb8 2298. [bug] isc_mutex_lock() failure not caught in
bin/tests/timers/t_timers.c. [RT #17468]
2008-01-12 22:05:52 +00:00
Mark Andrews 494143860b 2298. [bug] isc_mutex_lock() failure not caught in
bin/tests/timers/t_timers.c. [RT #17468]
2008-01-12 21:58:25 +00:00
Mark Andrews e616752523 2297. [bug] isc_entropy_createfilesource() failure not caught in
bin/tests/dst/t_dst.c. [RT #17467]
2008-01-12 21:53:28 +00:00
Mark Andrews 400a1b6604 2297. [bug] isc_entropy_createfilesource() failure not caught in
bin/tests/dst/t_dst.c. [RT #17467]
2008-01-12 21:48:37 +00:00
Automatic Updater d36adf470f update copyright notice 2008-01-11 23:46:56 +00:00
Automatic Updater 395f6d6ee7 update copyright notice 2008-01-11 23:46:27 +00:00
Automatic Updater 7262eb86f2 newcopyrights 2008-01-11 23:30:25 +00:00
Automatic Updater 2699cd0532 newcopyrights 2008-01-11 23:30:17 +00:00
Automatic Updater 02c591aad0 auto update 2008-01-11 23:17:52 +00:00
Mark Andrews fbcb13ce0b docbook not dockbook 2008-01-11 04:51:35 +00:00
Mark Andrews 3c7a239b15 docbook not dockbook 2008-01-11 04:48:07 +00:00
Mark Andrews 0ab8208ade 2296. [port] Allow docbook stylesheet location to be specified to
configure. [RT #17457]
2008-01-11 03:22:00 +00:00
Mark Andrews c0fb34e815 2296. [port] Allow docbook stylesheet location to be specified to
configure. [RT #17457]
2008-01-11 03:11:44 +00:00
Mark Andrews 7feda2cbd7 2295. [bug] Silence static overrun error in bin/named/lwaddr.c.
[RT #17459]
2008-01-11 03:04:03 +00:00
Mark Andrews 48fa594028 2295. [bug] Silence static overrun error in bin/named/lwaddr.c.
[RT #17459]
2008-01-11 03:01:28 +00:00
Tatuya JINMEI 神明達哉 20837e74f5 2294. [placeholder] rt17435 2008-01-11 00:33:55 +00:00
Automatic Updater 6f2e211d39 update copyright notice 2008-01-10 23:47:01 +00:00
Automatic Updater 439716d3b5 update copyright notice 2008-01-10 23:46:34 +00:00
Automatic Updater 532d27b392 newcopyrights 2008-01-10 23:30:24 +00:00
Automatic Updater c3926cdf4c newcopyrights 2008-01-10 23:30:17 +00:00
Automatic Updater d9aab4060c auto update 2008-01-10 23:18:16 +00:00
Mark Andrews b57c180e78 2293. [func] Add ACL regression test. [RT #17375] 2008-01-10 01:35:37 +00:00
cvs2git 08332cd77d This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-01-10 01:10:02 +00:00
Mark Andrews 1c9f629c18 2293. [func] Add ACL regression test. [RT #17375] 2008-01-10 01:10:01 +00:00
Automatic Updater 72d6be2c11 update copyright notice 2008-01-09 23:47:00 +00:00
Automatic Updater e5009e717f update copyright notice 2008-01-09 23:46:33 +00:00
Automatic Updater 5c0fc20d6e newcopyrights 2008-01-09 23:30:25 +00:00
Automatic Updater b67bacecc9 newcopyrights 2008-01-09 23:30:19 +00:00
Mark Andrews 2b5a1b5eb1 2292. [bug] Log if the working directory is not writable.
[RT #17312]

2291.   [bug]           PR_SET_DUMPABLE may be set too late.  Also report
                        failure to set PR_SET_DUMPABLE. [RT #17312]
2008-01-09 04:53:18 +00:00
Mark Andrews f61a7c87bf 2292. [bug] Log if the working directory is not writable.
[RT #17312]

2291.   [bug]           PR_SET_DUMPABLE may be set too late.  Also report
                        failure to set PR_SET_DUMPABLE. [RT #17312]
2008-01-09 04:48:33 +00:00
Mark Andrews 23a012ebfe 2290. [bug] Let AD in the query signal that the client wants AD
set in the response. [RT #17301]
2008-01-09 04:13:45 +00:00
Mark Andrews 2678fccde3 2290. [bug] Let AD in the query signal that the client wants AD
set in the response. [RT #17301]
2008-01-09 04:09:12 +00:00
Mark Andrews 562460463b 2289. [func] named-checkzone now reports the out-of-zone CNAME
found. [RT #17309]
2008-01-09 02:50:43 +00:00
Mark Andrews f5471da9bb 2288. [port] win32: mark service as running when we have finished
loading.  [RT #17441]
2008-01-09 02:37:43 +00:00
Mark Andrews 577272cf79 2288. [port] win32: mark service as running when we have finished
loading.  [RT #17441]
2008-01-09 02:35:10 +00:00
Automatic Updater 21386ce160 newcopyrights 2008-01-08 23:30:23 +00:00
Automatic Updater 43530eb819 auto update 2008-01-08 23:18:01 +00:00
Mark Andrews 2dc8bf19c8 isc_mem_references 2008-01-08 03:37:47 +00:00
Automatic Updater 660a209ee4 update copyright notice 2008-01-04 23:46:55 +00:00
Automatic Updater 1a83d0a2dd update copyright notice 2008-01-04 23:46:30 +00:00
Automatic Updater 9870509cb1 newcopyrights 2008-01-04 23:30:23 +00:00
Automatic Updater d4662c174d newcopyrights 2008-01-04 23:30:14 +00:00
Automatic Updater 3c8afd5708 auto update 2008-01-04 23:18:11 +00:00
Mark Andrews 90c7b82b9a update 2008-01-04 14:25:34 +00:00
Mark Andrews 385c32efe6 pre-alpha 2008-01-04 08:13:44 +00:00
Mark Andrews 1fbd092244 2287. [bug] Use 'volatile' if the compiler supports it. [RT #17413] 2008-01-04 03:34:08 +00:00
Mark Andrews 8486ce1efa 2287. [bug] Use 'volatile' if the compiler supports it. [RT #17413] 2008-01-04 03:28:39 +00:00
Automatic Updater 79207ee45a newcopyrights 2008-01-03 23:30:30 +00:00
Automatic Updater 4417182aba newcopyrights 2008-01-03 23:30:14 +00:00
Mark Andrews 297be37080 regen 2008-01-03 01:12:37 +00:00
Automatic Updater 1da14e066c update copyright notice 2008-01-02 23:47:02 +00:00
Automatic Updater 01e203ad6b update copyright notice 2008-01-02 23:46:28 +00:00
Automatic Updater 5ae0e2c8b7 newcopyrights 2008-01-02 23:30:25 +00:00
Automatic Updater 4f6b9050ee newcopyrights 2008-01-02 23:30:16 +00:00
Automatic Updater 3b166e2b8d auto update 2008-01-02 23:18:26 +00:00
Mark Andrews c9670b654c regen 2008-01-02 14:01:55 +00:00
Mark Andrews f4429c1c31 regen 2008-01-02 14:01:25 +00:00
Mark Andrews 5b538e89ac remove test"#define inline" 2008-01-02 06:10:55 +00:00
Mark Andrews 92f60809e8 2286. [func] Allow a TCP connection to be used as a weak
authentication method for reverse zones.
                        New update-policy methods tcp-self and 6to4-self.
                        [RT #17378]
2008-01-02 05:13:42 +00:00
Mark Andrews f5d0f49584 2285. [func] Test framework for client memory context management.
[RT #17377]
2008-01-02 05:03:07 +00:00
cvs2git 168f7c2650 This commit was manufactured by cvs2git to create branch 'v9_5'. 2008-01-02 04:26:27 +00:00
Mark Andrews dc0ecf08db 2284. [bug] Memory leak in UPDATE prerequisite processing.
[RT #17377]
2008-01-02 04:26:26 +00:00
Mark Andrews dc19dcbc23 2283. [bug] TSIG keys were not attaching to the memory
context.  TSIG keys should use the rings
                        memory context rather than the clients memory
                        context. [RT #17377]
2008-01-02 04:24:59 +00:00
Mark Andrews 114c14f8ad 2282. [bug] Acl code fixups. [RT #17346] [RT #17374] 2007-12-21 06:46:47 +00:00
Mark Andrews 1c9200af08 3056: Connection of IPv6 Domains via IPv4 Clouds 2007-12-21 02:42:58 +00:00
Automatic Updater 965f2d0185 auto update 2007-12-20 23:17:50 +00:00
cvs2git a70f5c100c This commit was manufactured by cvs2git to create branch 'rt17374'. 2007-12-20 01:48:30 +00:00
Mark Andrews 604419a812 2282. [bug] Acl code fixups. [RT #17346] 2007-12-20 01:48:29 +00:00
Automatic Updater 2b738509c3 auto update 2007-12-19 23:18:32 +00:00
Automatic Updater 48501bde9b auto update 2007-12-18 23:18:45 +00:00
Mark Andrews 3d78993c6d 2281. [bug] Attempts to use undefined acls were not being logged.
[RT #17307]
2007-12-18 01:53:26 +00:00
cvs2git 3ac85ae815 This commit was manufactured by cvs2git to create branch 'rt17347'. 2007-12-14 23:30:23 +00:00
Automatic Updater f16fa4a863 newcopyrights 2007-12-14 23:30:22 +00:00
Mark Andrews 1d216bfaa7 regen 2007-12-14 22:37:22 +00:00
Mark Andrews b39ee56af9 reference rndc-confgen 2007-12-14 20:39:14 +00:00
Mark Andrews 8c850a29ed 2280. [func] Allow the experimental http server to be reached
over IPv6 as well as IPv4. [RT #17332]
2007-12-14 04:01:20 +00:00
Mark Andrews da31aff2f2 2279. [bug] Use setsockopt(SO_NOSIGPIPE), when available,
to protect applications from receiving spurious
                        SIGPIPE signals when using the resolver.
2007-12-14 03:52:40 +00:00
Mark Andrews e8ca2abed7 2278. [bug] win32: handle the case where Windows returns no
searchlist or DNS suffix. [RT #17354]
2007-12-14 01:40:42 +00:00
Mark Andrews 81d9d7a10e 2277. [bug] Empty zone names were not correctly being caught at
in the post parse checks. [RT #17357]
2007-12-14 01:27:12 +00:00
Automatic Updater 9fe2553f05 auto update 2007-12-13 23:18:07 +00:00
cvs2git 07779b37f7 This commit was manufactured by cvs2git to create branch 'rt12017'. 2007-12-11 23:18:49 +00:00
Automatic Updater 6c1ab8a02a auto update 2007-12-11 23:18:48 +00:00
Mark Andrews 301f6ffbbe 2276. [bug] Install <dst/gssapi.h>. [RT# 17359] 2007-12-11 20:28:55 +00:00
Mark Andrews 4df6c1fd9c custom_WFB_v9_4_2 2007-12-05 23:33:46 +00:00
Automatic Updater 4c6e572df4 auto update 2007-12-05 23:18:07 +00:00
Mark Andrews 9e4b25fc3e 2275. [func] Add support to dig to perform IXFR queries over UDP.
[RT #17235]
2007-12-03 00:21:48 +00:00
Mark Andrews 0376a287fb adjust bytes/sec calculation to not loose precision 2007-12-02 23:55:01 +00:00
Mark Andrews ea364efbb0 adjust xfr stats message 2007-12-02 23:47:01 +00:00
Mark Andrews 7314547af7 2274. [func] Log zone transfer statistics. [RT #17161] 2007-12-02 23:21:19 +00:00
Mark Andrews 541b9722d8 2273. [bug] Adjust log level to WARNING when saving inconsistant
stub/slave master and journal files. [RT# 17279]
2007-12-02 22:27:54 +00:00
Mark Andrews ddaeaddf2b 2272. [bug] Handle illegal dnssec-lookaside trust-anchor names.
[RT #17262]
2007-12-02 21:58:23 +00:00
Michael Graff f1e733e612 fix rt17100: don't set free callback to NULL here. This was likely early debugging code, and was an error since it is set at the beginning of each request, and should not be modified during the request. 2007-12-02 21:34:20 +00:00
Mark Andrews 23de6c3ccd whitespace 2007-12-02 21:17:03 +00:00
Michael Graff a6f7fdcc03 Apease Mark 2007-12-02 21:15:37 +00:00
Mark Andrews d7e8610d31 2270. [bug] dns_db_closeversion() version->writer could be reset
before it is tested. [RT #17290]
2007-12-02 20:27:35 +00:00
Mark Andrews 7e82141918 2269. [contrib] dbus memory leaks and missing va_end calls. [RT #17232] 2007-12-02 19:20:20 +00:00
Mark Andrews c4dc5966e0 2268. [bug] 0.IN-ADDR.ARPA was missing from the empty zones
list.
2007-12-02 18:56:03 +00:00
Automatic Updater a2ace9a70e auto update 2007-11-30 23:18:21 +00:00
cvs2git a5e8b7acd2 This commit was manufactured by cvs2git to create branch 'rt17332'. 2007-11-27 23:18:17 +00:00
Automatic Updater 3a2ab30095 auto update 2007-11-27 23:18:16 +00:00
Evan Hunt 6f10e05eb0 Add dns_peer_newprifix to libdns.def 2007-11-27 20:44:31 +00:00
Evan Hunt 9429f5a831 Rerolling 9.5.0b1, moving release line to the top. 2007-11-27 19:32:28 +00:00
Evan Hunt 0899d16ebd Radix tree node_num value could be set incorrectly, causing positive ACL
matches to look like negative ones.  [rt17311]
2007-11-27 19:14:45 +00:00
cvs2git 798d69d4c5 This commit was manufactured by cvs2git to create branch 'rt17311'. 2007-11-26 23:18:09 +00:00
Automatic Updater 4fe662aeb2 auto update 2007-11-26 23:18:08 +00:00
Mark Andrews d2e440ca30 2266. [bug] client.c:get_clientmctx() returned the same mctx
once the pool of mctx's was filled. [RT #17218]
2007-11-26 04:47:17 +00:00
Mark Andrews 404df30f4f 2265. [bug] Test that the memory context's basic_table is non NULL
before freeing.  [RT #17265]
2007-11-26 04:27:19 +00:00
cvs2git 0e46658ea8 This commit was manufactured by cvs2git to create branch 'rt17307'. 2007-11-26 02:43:54 +00:00
Mark Andrews 544d0efa38 2264. [bug] Server prefix length was being ignored. [RT #17308] 2007-11-26 02:43:53 +00:00
Mark Andrews 1f2635d3f7 2263. [bug] "named-checkconf -z" failed to set default value
for "check-integrity".  [RT #17306]
2007-11-26 02:12:45 +00:00
Mark Andrews 802760773c 2262. [bug] Error status from all but the last view could be
lost. [RT #17292]
2007-11-26 01:56:35 +00:00
Mark Andrews b3128b8b85 2262. [bug] Error status from all but the last view could be
lost. [RT #17292]
2007-11-26 01:51:32 +00:00
Mark Andrews 92554adb45 regen 2007-11-26 01:35:18 +00:00
Automatic Updater 9bd4da7fa7 auto update 2007-11-23 23:18:08 +00:00
Mark Andrews d2adaab485 custom_ALLIANZ_v9_4_2 2007-11-23 04:32:30 +00:00
Mark Andrews 760e3b39ec custom_CISCO_v9_3_4_P1 2007-11-23 04:26:07 +00:00
Evan Hunt 162827e0bf *** empty log message *** 2007-11-20 00:55:00 +00:00
Evan Hunt 8957a18df8 Release 9.5.0b1 2007-11-19 23:33:19 +00:00
Automatic Updater 082e0ef4e3 auto update 2007-11-19 23:18:00 +00:00
Evan Hunt b6d496d538 Fix memory leak with "any" and "none" ACLs [RT #17272] 2007-11-19 23:13:28 +00:00
Mark Andrews a3553875ab custom_NOM_v9_5_0a7 2007-11-19 03:47:25 +00:00
cvs2git 00a4159352 This commit was manufactured by cvs2git to create branch
'custom_NOM_v9_5_0a7'.
2007-11-19 01:55:03 +00:00
Mark Andrews f2c63f2b65 new draft 2007-11-19 01:55:02 +00:00
Mark Andrews 166b112d6d new draft 2007-11-15 23:54:27 +00:00
Jonathan Casey 0bdc099a35 Updating build list of OSes from both staff and recent community reports. 2007-11-14 16:36:56 +00:00
Automatic Updater dab21eb4ea auto update 2007-11-12 23:17:53 +00:00
cvs2git a1e1382c9a This commit was manufactured by cvs2git to create branch 'sp1705a'. 2007-11-09 23:30:22 +00:00
Automatic Updater 21f8d40dbd newcopyrights 2007-11-09 23:30:21 +00:00
Michael Graff 45b2fd65df #if 0 out many, many debugging statements left behind. There's no way anyone is using this -- I hope. With about 10 error-level logging statements per query, it is really slow at best. 2007-11-09 21:47:41 +00:00
Mark Andrews ad5008ef7e new draft 2007-11-06 05:15:07 +00:00
Michael Graff 5d32433b95 add words for stats-server configuration, and mention libxml2 dependacy 2007-11-05 17:05:03 +00:00
Mark Andrews 74f38b2a47 add alternate Mac OS answer 2007-11-02 00:25:41 +00:00
Mark Andrews 7f8843a706 How do I run BIND 9 on Apple Mac OS X? 2007-11-01 21:55:53 +00:00
Shane Kerr 67213ca3d0 Whoops... fix change numbers and put placeholder back in. :( 2007-11-01 13:12:20 +00:00
Shane Kerr d55494b8e9 Fix logging when increasing client-per-query.
See RT ticket #17236 for more.
2007-11-01 13:00:17 +00:00
Mark Andrews fe8e624501 placeholder 2007-10-31 06:59:03 +00:00
Mark Andrews 4f50133a80 9.5.0a7 2007-10-31 02:55:02 +00:00
Mark Andrews 158987ef54 regen 2007-10-31 02:52:19 +00:00
Mark Andrews d813808a01 move 9.5.0a7 release marker 2007-10-31 02:02:56 +00:00
Mark Andrews 33170a4b2b 2258. [bug] Fallback from IXFR/TSIG to SOA/AXFR/TSIG broken.
[RT #17241]
2007-10-31 01:56:47 +00:00
Mark Andrews fd368cec2a fix tag 2007-10-31 01:40:00 +00:00
Mark Andrews d8e3f8e0c7 regen 2007-10-31 01:36:30 +00:00
Mark Andrews 2cc262c093 2257. [bug] win32: Use the full path to vcredist_x86.exe when
calling it. [RT #17222]
2007-10-31 01:34:19 +00:00
Mark Andrews 76a378884f 2256. [bug] win32: Correctly register the installation location of
bindevt.dll. [RT #17159]
2007-10-31 00:05:36 +00:00
Mark Andrews 8b6418238d remove ns2/dlv.db when cleaning 2007-10-30 23:56:09 +00:00
Mark Andrews 0374545137 2255. [bug] L.ROOT-SERVERS.NET is now 199.7.83.42. 2007-10-30 23:44:01 +00:00
Mark Andrews 5cdc5206b7 Q. Is there a bugzilla (or other tool) database that mere mortals can
have (read-only) access to for bind?
2007-10-30 23:34:10 +00:00
Mark Andrews c810393bd8 whitespace 2007-10-30 23:30:09 +00:00
Automatic Updater 0d245c66ab auto update 2007-10-30 23:18:34 +00:00
Automatic Updater bbf8ac9ff2 auto update 2007-10-29 23:18:27 +00:00
Francis Dupont 32c3c16b3e update rt17237 description 2007-10-25 13:59:33 +00:00
Automatic Updater 955ab023df auto update 2007-10-24 23:18:18 +00:00
Mark Andrews f183f4c0cd 2254. [bug] timer.c:dispatch() failed to lock timer->lock
when reading timer->idle allowing it to see
                        intermediate values as timer->idle was reset by
                        isc_timer_touch(). [RT #17243]
2007-10-24 00:57:23 +00:00
Automatic Updater 1aae495985 auto update 2007-10-22 23:17:38 +00:00
Mark Andrews e9908a145e space vs tab 2007-10-22 14:26:30 +00:00
Mark Andrews 276e28f813 regen 2007-10-21 22:15:34 +00:00
Mark Andrews 71f4918fd8 duplicate change number 2007-10-20 09:14:54 +00:00
Automatic Updater 99db4fd6c7 auto update 2007-10-19 23:18:11 +00:00
Evan Hunt ffc65cc90d Updated for 9.5.0a7 2007-10-19 17:52:33 +00:00
Michael Graff b239c8294a commit lruttl to the mainline. A tag was set called skan_lruttl-mainline-base, and I will tag this as skan_lruttl-mainline-merge after this commit 2007-10-19 17:15:53 +00:00
Evan Hunt 9578f883b7 Additional fix for
2252.   [bug]           Fixed errors in sortlist code [RT #17216]

... making sure negation is passed down correctly from a parent ACL
into a nested ACL.
2007-10-19 00:28:20 +00:00
Automatic Updater c29090b732 auto update 2007-10-18 23:18:10 +00:00
Mark Andrews 4fe43c36f6 house keeping 2007-10-18 07:30:59 +00:00
Mark Andrews a6237c895b Additional changes for:
2252.   [bug]           Fixed errors in sortlist code [RT #17216]
2007-10-18 05:42:03 +00:00
Evan Hunt 873a2046fb Fix error in sortlist code -- was using the wrong nest level, which
caused the response-order ACL to be merged into a single iptable and
lose its ordering. [rt17216]
2007-10-18 01:37:49 +00:00
Automatic Updater 0a6b6bad04 auto update 2007-10-16 23:18:03 +00:00
Evan Hunt dabe7f50bb Fixed some memory management problems in sortlist code [rt17216] 2007-10-12 04:17:18 +00:00
Automatic Updater 4f7715809f auto update 2007-10-11 23:17:45 +00:00
Automatic Updater a633d2683d auto update 2007-10-10 23:18:16 +00:00
Automatic Updater 28048a043b auto update 2007-10-09 23:18:54 +00:00
Automatic Updater 68e6aed6e8 auto update 2007-10-05 23:18:06 +00:00
Automatic Updater 9351aa7eb4 newcopyrights 2007-09-28 23:30:22 +00:00
Evan Hunt adcd4ef11a Clean up build errors on Windows for 9.5.0a7.
Also, changed isc_destroy_radix() to isc_radix_destroy() to match
the naming convention for other radix routines.
2007-09-28 00:11:32 +00:00
Evan Hunt 19bcb91965 Release 9.5.0a7 2007-09-27 02:56:01 +00:00
Automatic Updater d827d56a9a auto update 2007-09-26 23:18:09 +00:00
Mark Andrews 71eeac3530 regen 2007-09-26 04:37:24 +00:00
Mark Andrews a1e2170ad5 2250. [func] New flag 'memstatistics' to state whether the
memory statistics file should be written or not.
                        Additionally named's -m option will cause the
                        statistics file to be written. [RT #17113]
2007-09-26 03:22:45 +00:00
Evan Hunt 05d2776f6f Only set Authentic Data bit if client wants DNSSEC, per RFC 3655. [RT #17175] 2007-09-26 03:04:45 +00:00
Automatic Updater 01ec618ac9 update copyright notice 2007-09-24 23:46:48 +00:00
Automatic Updater 90eba8a49d newcopyrights 2007-09-24 23:30:20 +00:00
Evan Hunt 8327cdb88f Fixes for several errors found by Coverity. [rt17160] 2007-09-24 17:18:25 +00:00
Mark Andrews a3edcadfff regen 2007-09-24 05:40:34 +00:00
Mark Andrews f2d8c4a4c3 2247. [doc] Sort doc/misc/options. [RT #17067] 2007-09-24 04:21:59 +00:00
Mark Andrews 8c76634f88 2246. [bug] Make the startup of test servers (ans.pl) more
robust. [RT #17147]
2007-09-24 04:13:25 +00:00
Mark Andrews b6891aadbe style 2007-09-24 03:02:01 +00:00
Mark Andrews 64789313e5 regen 2007-09-24 02:40:37 +00:00
João Damas 49c8cf9ee9 Added Mark's text on the usage of memory by BIND 9 (multiple instances of the zone in memory) 2007-09-21 10:47:34 +00:00
Automatic Updater 15483f9fdb auto update 2007-09-19 23:18:13 +00:00
Mark Andrews 8bedd9647f 2245. [bug] Validating lack of DS records at trust anchors wasn't
working. [RT #17151]
2007-09-19 03:38:56 +00:00
Mark Andrews 69f3cb5abc Part 3 of:
2233.   [func]          Add support for O(1) ACL processing, based on
                        radix tree code originally written by kevin
                        brintnall. [RT #16288]
2007-09-19 03:03:29 +00:00
Automatic Updater dc271ec7b2 auto update 2007-09-18 23:17:43 +00:00
Mark Andrews 7526edc767 regen 2007-09-18 02:40:48 +00:00
Mark Andrews ca84283333 2244. [func] Allow the check of nameserver names against the
SOA MNAME field to be disabled by specifying
                        'notify-to-soa yes;'.  [RT #17073]
2007-09-18 00:22:31 +00:00
Mark Andrews 4c4327348e typo DNSSSEC -> DNSSEC 2007-09-17 23:15:12 +00:00
Shane Kerr e6555b0467 Allow configuration files without a newline at the end now parse
without error. Should allow Windows users to edit their configuration
files with NOTEPAD.EXE, or other text editors that don't believe in a
final newline.

See RT ticket #17120 for more.
2007-09-17 09:56:29 +00:00
Mark Andrews f02216f5b3 regen 2007-09-16 08:02:41 +00:00
Mark Andrews edafc0c3db call setup_entropy with file NULL rathet than isc_commandline_argument 2007-09-16 02:37:12 +00:00
Mark Andrews 9a41f786b1 2242. [bug] nsupdate: GSS-TSIG support using the Heimdal Kerberos
library could require a source of random data.
                        [RT #17127]
2007-09-15 14:46:03 +00:00
Mark Andrews 2831d2c54a update 2007-09-15 01:38:00 +00:00
Automatic Updater f110daaa3d regen 2007-09-15 01:33:09 +00:00
Automatic Updater 41ea0390ba regen 2007-09-15 01:31:54 +00:00
Automatic Updater dedf4ed091 update copyright notice 2007-09-14 23:46:45 +00:00
Automatic Updater 30cd5217f7 newcopyrights 2007-09-14 23:30:21 +00:00
Automatic Updater adc6ae37d8 regen 2007-09-14 23:30:20 +00:00
Automatic Updater a2bebc4a4c auto update 2007-09-14 23:18:11 +00:00
Mark Andrews bf98702c19 2241. [func] nsupdate: add a interative 'help' command. [RT #17099]
2240.   [bug]           Cleanup nsupdates GSS-TSIG support.  Convert
                        a number of INSIST()s into plain fatal() errors
                        which report the triggering result code.
                        The 'key' command wasn't disabling GSS-TSIG.
                        [RT #17099]
2007-09-14 06:43:12 +00:00
Mark Andrews 65391557db 2239. [func] Ship a prebuilt bin/named/bind9.xsl.h. [RT #17114] 2007-09-14 06:15:07 +00:00
Mark Andrews e2c3f8059e 2238. [bug] It was possible to trigger a REQUIRE when a
validation was cancelled. [RT #17106]
2007-09-14 05:43:05 +00:00
Mark Andrews a7b7a4ebc3 2237. [bug] libbind: res_init() was not thread aware. [RT #17123] 2007-09-14 05:32:25 +00:00
Mark Andrews 1ca168b58e dup change number 2007-09-14 04:34:59 +00:00
Mark Andrews 6f1b09965f s/named/names 2007-09-14 04:33:26 +00:00
Mark Andrews 23450c23fd 2235. [bug] dnssec-signzone failed to preserve the case of
of wildcard owner named. [RT #17085]
2007-09-14 04:32:50 +00:00
Mark Andrews b6384e6f77 2235. [bug] <isc/atomic.h> was not being installed. [RT #17135] 2007-09-14 04:10:00 +00:00
Mark Andrews de05f7d061 2235. [bug] <isc/atomic.h> was not being installed. [RT #17135] 2007-09-14 03:40:36 +00:00
Mark Andrews 12e0477d4e Part 2 of:
2233.   [func]          Add support for O(1) ACL processing, based on
                        radix tree code originally written by kevin
                        brintnall. [RT #16288]
2007-09-14 01:46:06 +00:00
Mark Andrews 4a0e09466a s/AAA/AAAA/ 2007-09-14 01:43:23 +00:00
Automatic Updater 637c1919f4 auto update 2007-09-13 23:19:40 +00:00
Evan Hunt 7de2c6e6d5 Fix compiler warnings on SCO OSr5 2007-09-13 04:48:16 +00:00
Evan Hunt d468b1b7b2 Fix compiler warnings on SCO OSr5 2007-09-13 04:45:18 +00:00
Automatic Updater 2c94a0e56d update copyright notice 2007-09-12 23:46:47 +00:00
Automatic Updater 3a32066d65 newcopyrights 2007-09-12 23:30:23 +00:00
Automatic Updater 75c071f74b auto update 2007-09-12 23:18:25 +00:00
Mark Andrews 4556ad3a27 regen 2007-09-12 02:32:26 +00:00
Evan Hunt 3181d0e359 Add support for O(1) ACL processing, based on radix tree code originally
written by kevin brintnall. [RT #16288]
2007-09-12 01:46:28 +00:00
Evan Hunt c7e266b7e5 Add support for O(1) ACL processing, based on radix tree code originally
written by kevin brintnall. [RT #16288]
2007-09-12 01:09:08 +00:00
Automatic Updater c1ff5c2b94 auto update 2007-09-11 23:18:24 +00:00
Mark Andrews 85db2b5fb3 2232. [bug] dns_adb_findaddrinfo() could fail and return
ISC_R_SUCCESS. [RT #17137]
2007-09-11 02:18:38 +00:00
Automatic Updater 10b4a0c3a4 newcopyrights 2007-09-07 23:30:26 +00:00
Automatic Updater ae4505a4df auto update 2007-09-07 23:17:58 +00:00
Mark Andrews 48abcd3eb7 regen 2007-09-07 12:49:01 +00:00
Mark Andrews ef1b4800df update YYYYMMDDRR serial numbers 2007-09-07 07:29:22 +00:00
Mark Andrews a0749e59c0 2231. [bug] Building dlzbdb (contrib/dlz/bin/dlzbdb) was broken.
[RT #17088]
2007-09-07 06:53:03 +00:00
Mark Andrews 709220567f 2230. [bug] We could INSIST reading a corrupted journal.
[RT #17132]
2007-09-07 05:14:33 +00:00
Automatic Updater b9eb3de20b auto update 2007-09-06 23:18:05 +00:00
Mark Andrews fe6b6eebd7 s/dispatch/query/ 2007-09-06 10:01:45 +00:00
Mark Andrews adc3f2c0fd 2229. [bug] Null pointer dereference on dispatch pool creation
failure. [RT #17133]
2007-09-06 10:00:19 +00:00
Mark Andrews 9ab3b369d9 use "if set, otherwise" for allow-query-set 2007-09-06 01:39:05 +00:00
Mark Andrews 772069cf5a update allow-query-cache description 2007-09-06 01:32:41 +00:00
Automatic Updater 309b912841 newcopyrights 2007-09-05 23:30:25 +00:00
Automatic Updater bbf6ef807d auto update 2007-09-05 23:18:14 +00:00
Mark Andrews 16928bab3c regen 2007-09-05 13:49:46 +00:00
Mark Andrews 31a2f82193 2218 -> 2188 2007-09-05 07:50:51 +00:00
Mark Andrews 30d6e6e907 regen 2007-09-05 07:41:42 +00:00
Mark Andrews 45deeddf4c 2228. [contrib] contrib: Change 2218 was incomplete. 2007-09-05 07:38:35 +00:00
Mark Andrews 9db88ce113 2188. [contrib] queryperf: autoconf changes to make the seach for
libresolv or libbind more robust. [RT #16299]
2007-09-05 07:36:04 +00:00
Mark Andrews ba32081c81 HPUX Bundled cc detection 2007-09-05 06:47:33 +00:00
Mark Andrews 80b9b52e66 update 2007-09-04 02:45:01 +00:00
Automatic Updater fa4dd81093 update copyright notice 2007-09-03 23:46:48 +00:00
Automatic Updater bc8ea50d3d auto update 2007-09-03 23:18:18 +00:00
Mark Andrews 8731a2bd2f 2227. [cleanup] Tidied up the FAQ. [RT #17121] 2007-09-03 00:37:02 +00:00
Mark Andrews 6f4375f230 missing ISC_FORMAT_PRINTF 2007-09-02 23:06:59 +00:00
Mark Andrews 3325fd0475 silence warning message 2007-09-02 23:02:53 +00:00
Mark Andrews 2de90cd1e2 placeholder 2007-08-30 23:52:39 +00:00
Automatic Updater f1f26a6b11 auto update 2007-08-30 23:18:45 +00:00
Mark Andrews 8a45eeebb8 2225. [bug] More support for systems with no IPv4 addresses.
[RT #17111]
2007-08-30 06:02:28 +00:00
Mark Andrews d4034b48fd 2224. [bug] Defer journal compaction if a xfrin is in progress.
[RT #17119]

2223.   [bug]           Make a new journal when compacting. [RT #17119]
2007-08-30 05:08:42 +00:00
Mark Andrews 1c5bb4f2fa custom_AFILIAS_v9_4_1_P1 2007-08-30 01:12:25 +00:00
Mark Andrews ee4bbc8454 2222. [func] named-checkconf now checks server key references.
[RT #17097]
2007-08-29 03:23:46 +00:00
Automatic Updater e6b773cc58 auto update 2007-08-28 23:18:10 +00:00
Automatic Updater 271c4c7ffa update copyright notice 2007-08-28 07:20:43 +00:00
Mark Andrews 03ec481ee8 update changes message 2007-08-28 02:27:59 +00:00
Mark Andrews 144a3203a6 incremental and/or conversion for old branches 2007-08-28 02:12:55 +00:00
Mark Andrews f568dad6c7 2221. [bug] Set the event result code to reflect the actual
record content when a cache update is rejected
                        due to a more credible answer existing. [RT #17017]
2007-08-28 01:37:18 +00:00
Mark Andrews 8e74bfb604 2220. [bug] win32: Address a race condition in final shutdown of
the Windows socket code. [RT #17028]
2007-08-28 00:39:15 +00:00
Mark Andrews 88a4de3c24 update rt number 2007-08-28 00:09:17 +00:00
Mark Andrews d91df50b67 2219. [bug] Apply zone consistancy checks to additions, not
removals, when updating. [RT #17097]
2007-08-28 00:05:06 +00:00
Automatic Updater 981fd9903a newcopyrights 2007-08-27 23:30:24 +00:00
Mark Andrews 3eab85ca54 2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().
[RT #16976]
2007-08-27 04:36:54 +00:00
Mark Andrews c5adbd722d 2217. [func] Adjust update log levels. [RT #17092] 2007-08-27 04:31:42 +00:00
Mark Andrews 557bcc2092 2216. [cleanup] Fix a number of errors reported by Coverity.
[RT #17094]
2007-08-27 03:32:27 +00:00
Mark Andrews c60eaaf9b3 2215. [bug] Bad REQUIRE check isc_hmacsha1_verify(). [RT #17094] 2007-08-27 03:27:53 +00:00
Mark Andrews 634a4da584 2214. [bug] Deregister OpenSSL lock callback when cleaning
up.  Reorder OpenSSL cleanup so that RAND_cleanup()
                        is called before the locks are destroyed. [RT #17098]
2007-08-27 03:04:17 +00:00
Automatic Updater 16f5a913ce update copyright notice 2007-08-23 23:46:43 +00:00
Automatic Updater fa1a6c6307 newcopyrights 2007-08-23 23:30:21 +00:00
Mark Andrews 64b0479a91 update for DO and check-names 2007-08-23 07:17:30 +00:00
Mark Andrews b1e43ff790 add 2007-08-23 06:25:44 +00:00
Mark Andrews c0720b90ed 2213. [bug] SIG0 diagnostic failure messages were looking at the
wrong status code. [RT #17101]
2007-08-22 00:42:42 +00:00
Automatic Updater 69eb0e5d05 auto update 2007-08-21 23:18:24 +00:00
Automatic Updater 82a58ff9e1 auto update 2007-08-20 23:17:46 +00:00
Mark Andrews 763a2f8ca5 regen 2007-08-19 23:26:19 +00:00
Automatic Updater e21fa8e696 auto update 2007-08-19 23:18:40 +00:00
Automatic Updater 0221086519 auto update 2007-08-17 23:18:07 +00:00
Mark Andrews 982b1c2bf5 add masterfile-format 2007-08-17 06:10:44 +00:00
Automatic Updater 170d98a946 auto update 2007-08-16 23:17:47 +00:00
Mark Andrews 576e48e28a update change number 2007-08-15 05:27:31 +00:00
Mark Andrews c06cb90773 2213. [func] 'host -m' now causes memory statistics and active
memory to be printed at exit. [RT 17028]
2007-08-15 04:41:13 +00:00
Mark Andrews 2f5baf12a4 2213. [func] 'host -m'now causes memory statistics and active
memory to be printed at exit. [RT 17028]
2007-08-15 04:40:30 +00:00
Automatic Updater 4fcb6c8e56 auto update 2007-08-14 23:18:18 +00:00
Mark Andrews 6e5e27c38d 2211. [func] Update "dynamic update temporarily disabled" message.
[RT #17065]
2007-08-14 00:36:43 +00:00
Mark Andrews 5059b393e8 2210. [bug] Deleting class specific records via UPDATE could
fail.  [RT #17074]
2007-08-14 00:25:08 +00:00
Mark Andrews c16aed9c46 2209. [port] osx: linking against user supplied static OpenSSL
libraries failed as the system ones were still being
                        found. [RT #17078]
2007-08-14 00:12:58 +00:00
Mark Andrews 2df065894d new draft 2007-08-13 23:22:19 +00:00
Automatic Updater 8461bb0931 auto update 2007-08-13 23:17:42 +00:00
Mark Andrews 6ddb448306 regen 2007-08-13 05:27:51 +00:00
Mark Andrews b4c3f617ac remove duplicate biblio entry 2007-08-13 03:56:35 +00:00
Automatic Updater 9684cfdd70 auto update 2007-08-10 23:18:09 +00:00
Mark Andrews 7b24967b88 Run Message Compiler 2007-08-07 01:18:08 +00:00
Automatic Updater f9a89df8bd newcopyrights 2007-08-06 04:52:47 +00:00
Mark Andrews 6dcb47e37f add BAT 2007-08-06 04:52:27 +00:00
Mark Andrews dd19fbaf81 2208. [port] win32: make sure both build methods produce the
same output. [RT #17058]
2007-08-06 04:42:38 +00:00
Mark Andrews f408773d47 2207. [port] Some implementations of getaddrinfo() fail to set
ai_canonname correctly. [RT #17061]
2007-08-06 01:06:49 +00:00
Automatic Updater 567fd24a2c auto update 2007-08-03 23:17:23 +00:00
Mark Andrews 7c381839d0 custom_ALLIANZ_v9_4_1_P1 2007-08-03 04:51:22 +00:00
Automatic Updater 77b34b5d52 auto update 2007-08-02 23:18:19 +00:00
Automatic Updater e78fa9b174 auto update 2007-08-01 23:17:33 +00:00
Michael Graff d8acf6268a Use enum values (isc_sockettype_tcp) rather than integers (2) 2007-07-27 14:28:04 +00:00
Michael Graff a84724de8d Remove the attribute(__always_inline__) tag, as it generates warnings
on non-BSD OSs.  It was really optional anyway, but seemed like a good
idea.
2007-07-27 14:22:53 +00:00
Michael Graff aa43623600 fix atomic.h warnings; reviewed by Mark 2007-07-23 16:10:15 +00:00
Automatic Updater 6a7e484e78 auto update 2007-07-16 23:17:24 +00:00
Automatic Updater a168158d5d newcopyrights 2007-07-09 23:30:21 +00:00
Mark Andrews 57668dc1bb missing period. 2007-07-09 22:55:04 +00:00
Mark Andrews cd315d4cf6 move 9.5.0a6 2007-07-09 02:40:11 +00:00
Mark Andrews 0bec7785b0 9.5.0a6 2007-07-09 02:39:38 +00:00
Mark Andrews bddb70a271 regen 2007-07-09 02:38:44 +00:00
Mark Andrews 69826a6a2f 2206. [security] "allow-query-cache" and "allow-recursion" now
cross inherit from each other.

                        If allow-query-cache is not set in named.conf then
                        allow-recursion is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        If allow-recursion is not set in named.conf then
                        allow-query-cache is used if set, otherwise allow-query
                        is used if set, otherwise the default (localnets;
                        localhost;) is used.

                        [RT #16987]
2007-07-09 02:14:39 +00:00
Mark Andrews 5888f62c20 2205. [bug] libbind: change #2119 broke thread support. [RT #16982] 2007-07-09 01:43:23 +00:00
Automatic Updater 728125a771 auto update 2007-07-03 23:18:02 +00:00
Mark Andrews fd23bc509d 2204 [bug] "rndc flushanme name unknown-view" caused named
to crash. [RT #16984]
2007-07-02 01:00:35 +00:00
Automatic Updater 5388cb942f auto update 2007-06-29 23:18:15 +00:00
Mark Andrews fec88e4410 Q: Is it possible to configure BIND to redirect "anything.domain.com" to
"domain.com/anything"?
2007-06-29 02:26:20 +00:00
Automatic Updater 6b12e2e17c newcopyrights 2007-06-28 23:30:26 +00:00
Mark Andrews 8f5368cf3a set vcredist before the if 2007-06-28 04:57:06 +00:00
Mark Andrews 7c200913aa 9.5.0a6 2007-06-28 02:39:16 +00:00
Mark Andrews 4b5f84562a copy vcredist_x86.exe to the release/debug directories 2007-06-28 02:37:29 +00:00
Mark Andrews 8edb532ca2 silence "Different types treated as unsigned for >." warning 2007-06-27 04:10:44 +00:00
Mark Andrews 39836315b6 add missing 1310 to "#elif _MSC_VER > 1200 && _MSC_VER < 1310" 2007-06-27 01:11:16 +00:00
Mark Andrews a095cd0ef5 replace gettimeofday with isc_time_now 2007-06-26 06:02:37 +00:00
Mark Andrews 60df7a9c76 s/u_int16_t/isc_uint16_t/ 2007-06-26 05:00:53 +00:00
Mark Andrews eceb191186 2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2007-06-26 04:11:52 +00:00
Mark Andrews 07072c9456 2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2007-06-26 02:52:15 +00:00
Automatic Updater 5c6d6dd33b auto update 2007-06-25 23:17:36 +00:00
Mark Andrews afd002e89a 2202. [security] The default acls for allow-query-cache and
allow-recursion were not being applied. [RT #16960]
2007-06-25 02:37:25 +00:00
Mark Andrews 1224c3b69b regen 2007-06-20 02:27:33 +00:00
Automatic Updater 70e5a7403f update copyright notice 2007-06-19 23:47:24 +00:00
Automatic Updater ce9cad6bb0 newcopyrights 2007-06-19 23:30:22 +00:00
Mark Andrews 7b52c2ad3c s/seperate/separate/ 2007-06-19 14:18:13 +00:00
Mark Andrews 6043e41fcf documentation updates from Jeremy 2007-06-19 06:58:04 +00:00
Mark Andrews ba5d2a97ee 2201. [bug] The build failed in a seperate object directory.
[RT #16943]
2007-06-19 06:49:18 +00:00
Mark Andrews 6133734cec 2200. [bug] The search for cached NSEC records was stopping to
early leading to excessive DLV queries. [RT #16930]
2007-06-19 06:19:29 +00:00
Automatic Updater ec5347e2c7 update copyright notice 2007-06-18 23:47:57 +00:00
Mark Andrews 2f8d63983c regen 2007-06-18 23:37:20 +00:00
Automatic Updater 2f60dbd378 newcopyrights 2007-06-18 23:30:23 +00:00
Mark Andrews 599a98b25c New COPYRIGHT NOTICE 2007-06-18 05:59:26 +00:00
Mark Andrews 47ee25b1f5 2199. [bug] win32: don't call WSAStartup() while loading dlls.
[RT #16911]
2007-06-18 03:36:51 +00:00
Mark Andrews 32391301db 2198. [bug] win32: RegCloseKey() could be called when
RegOpenKeyEx() failed. [RT #16911]
2007-06-18 03:05:46 +00:00
Mark Andrews 0cedbe4ab5 2197. [bug] Add INSIST to catch negative responses which are
not setting the event result code appropriately.
                        [RT #16909]
2007-06-18 02:34:21 +00:00
Mark Andrews f05a4bf2bf 2196. [port] win32: yield processor while waiting for once to
to complete. [RT# 16958]
2007-06-18 01:16:46 +00:00
Mark Andrews bf45f72ed3 2195. [func] dnssec-keygen now defaults to nametype "ZONE"
when generating DNSKEYs. [RT #16954]
2007-06-18 01:03:13 +00:00
Mark Andrews 7643153c58 spelling s/is/in/ 2007-06-17 23:52:28 +00:00
Automatic Updater 685eab0b8d auto update 2007-06-15 23:17:27 +00:00
Mark Andrews c115370fcb regen 2007-06-14 03:33:13 +00:00
Mark Andrews ad226e3da3 s/duplicates/duplicate/ 2007-06-13 07:05:39 +00:00
Mark Andrews 3644c4e407 document duplicate and dropped stats cacategories 2007-06-13 07:04:47 +00:00
Automatic Updater baf1819ca2 auto update 2007-06-06 23:17:23 +00:00
Mark Andrews c247e3f281 regen 2007-05-31 23:28:55 +00:00
Mark Andrews 122c58bd11 update from jeremy 2007-05-31 22:28:35 +00:00
Mark Andrews 12351e0500 regen 2007-05-30 02:30:15 +00:00
Automatic Updater 07c4ea8470 auto update 2007-05-29 23:18:17 +00:00
Mark Andrews 4d2a6960a7 more changes from Jeremy 2007-05-29 23:12:42 +00:00
Mark Andrews a706ae1129 update 2007-05-29 01:18:47 +00:00
Automatic Updater 8897cb3976 auto update 2007-05-28 23:18:04 +00:00
Mark Andrews 92c3a103f6 regen 2007-05-28 03:46:00 +00:00
Mark Andrews ecd12b0acc s/dnssec-validate/dnssec-validatation/ 2007-05-28 00:09:07 +00:00
Mark Andrews 83ef207a84 2194. [bug] Close journal before calling 'done' in xfrin.c. 2007-05-24 02:55:05 +00:00
Automatic Updater bd40cbcd09 newcopyrights 2007-05-24 01:55:29 +00:00
Mark Andrews e078f002c0 2194. [bug] Close journal before calling 'done' in xfrin.c. 2007-05-24 01:35:22 +00:00
Mark Andrews d1199d9c06 move 9.5.0a5 tag point 2007-05-24 01:10:10 +00:00
Mark Andrews 6dd9692f45 2193. [port] win32: BINDInstall.exe is now linked statically.
[RT #16906]
2007-05-24 01:04:51 +00:00
Automatic Updater 03f421ff1f auto update 2007-05-23 23:17:59 +00:00
Mark Andrews 03e2010cbb win32 2007-05-21 05:52:21 +00:00
Mark Andrews 6d446ab8ff win32 2007-05-21 05:48:43 +00:00
Mark Andrews 5e4bd2736b win32 2007-05-21 05:23:50 +00:00
Mark Andrews de8e5f2c8d dns_viewlist_findzone 2007-05-21 04:47:12 +00:00
Mark Andrews af1e00675f 9.5.0a5 2007-05-21 04:11:22 +00:00
Mark Andrews f7b41fd929 regen 2007-05-21 04:09:03 +00:00
Automatic Updater feac7b8b38 update copyright notice 2007-05-21 03:46:42 +00:00
Automatic Updater 56874aef38 newcopyrights 2007-05-21 03:44:34 +00:00
Mark Andrews 7c5dfcc60a 2192. [port] win32: use vcredist_x86.exe to install Visual
Studio's redistributable dlls if building with
                        Visual Stdio 2005 or later.
2007-05-21 03:42:00 +00:00
Mark Andrews fc8197c3ce rndc now has -h for help. 2007-05-21 02:58:10 +00:00
Mark Andrews 0f8c9b5eed 2191. [func] named-checkzone now allows dumping to stdout (-).
named-checkconf now has -h for help.
                        named-checkzone now has -h for help.
                        Better handling of '-?' for usage summaries.
                        [RT #16707]
2007-05-21 02:47:25 +00:00
Mark Andrews bc6af069c8 2190. [func] Make fallback to plain DNS from EDNS due to timeouts
more visible.  New logging category "edns-disabled".
                        [RT #16871]
2007-05-21 02:03:22 +00:00
Mark Andrews 4bb0f1046f 2189. [bug] Handle socket() returning EINTR. [RT #15949] 2007-05-21 01:55:10 +00:00
Mark Andrews 68df4d65c6 spelling 2007-05-21 01:33:13 +00:00
Mark Andrews ab6e5af4cd 2188. [contrib] queryperf: autoconf changes to make the seach for
libresolv or libbind more robust. [RT #16299]
2007-05-21 01:23:36 +00:00
Automatic Updater 1415fce15f update copyright notice 2007-05-18 23:46:58 +00:00
Automatic Updater a8644ebab6 newcopyrights 2007-05-18 23:30:28 +00:00
Mark Andrews f3139b9d76 2187. [bug] query_addds(), query_addwildcardproof() and
query_addnxrrsetnsec() should take a version
                        arguement. [RT #16368]
2007-05-18 06:53:01 +00:00
Mark Andrews 30753c7590 regen 2007-05-18 06:33:28 +00:00
Mark Andrews 79e3817e2c 2186. [port] cygwin: libbind: check for struct sockaddr_storage
independently of IPv6. [RT #16482]
2007-05-18 06:29:37 +00:00
Mark Andrews 2d78cc9624 2185. [port] sunos: libbind: check for ssize_t, memmove() and
memchr(). [RT #16463]
2007-05-18 06:22:03 +00:00
Mark Andrews eea8cd8d1a 2184. [bug] bind9.xsl.h didn't build out of the source tree.
[RT #16830]
2007-05-18 06:12:51 +00:00
Mark Andrews 9860862ced 2183. [bug] dnssec-signzone didn't handle offline private keys
well.  [RT #16832]
2007-05-18 05:50:35 +00:00
Mark Andrews 25e2824175 2182. [bug] dns_dispatch_createtcp() and dispatch_createudp()
could return ISC_R_SUCCESS when they ran out of
                        memory. [RT #16365]
2007-05-18 05:30:23 +00:00
Automatic Updater c0fd27f8c0 auto update 2007-05-17 23:18:01 +00:00
Automatic Updater 34e9f5c3b6 update copyright notice 2007-05-16 23:46:54 +00:00
Automatic Updater 85c594efe4 newcopyrights 2007-05-16 23:30:24 +00:00
Automatic Updater 13b7886097 auto update 2007-05-16 23:17:51 +00:00
Mark Andrews c58821f710 2177. [bug] Array bounds overrun on read (rcodetext) at
debug level 10+. [RT #16798]
2007-05-16 21:55:40 +00:00
Mark Andrews b4bfa6a806 unexpeced/unexpected 2007-05-16 06:58:33 +00:00
Mark Andrews 63aaac8137 2181. [port] sunos: libbind: add paths.h from BIND 8. [RT #16462] 2007-05-16 06:29:34 +00:00
Mark Andrews a1b05dea35 regen 2007-05-16 06:12:02 +00:00
Mark Andrews c84ebdd23e &#216; 2007-05-16 04:33:28 +00:00
Mark Andrews 959bdc628d more fixes from Jeremy [RT #16870] 2007-05-16 03:17:19 +00:00
Mark Andrews 0f78f78064 minor changes from Jeremy [RT #16869] 2007-05-16 01:42:26 +00:00
Automatic Updater db529702d0 update copyright notice 2007-05-15 23:46:57 +00:00
Automatic Updater bc0a4c01be newcopyrights 2007-05-15 23:30:24 +00:00
Automatic Updater 682994b090 auto update 2007-05-15 23:17:52 +00:00
Mark Andrews cb8c4d7a32 s/ENDS/EDNS/ 2007-05-15 21:54:08 +00:00
Mark Andrews fe3220466e 2180. [cleanup] Remove bit test from 'compress_test' as they
are no longer needed. [RT #16497]
2007-05-15 05:39:59 +00:00
Mark Andrews 40aadb6a14 2179. [func] 'rndc command zone' will now find 'zone' if it is
unique to all the views. [RT #16821]
2007-05-15 02:38:34 +00:00
Mark Andrews 65b26a4dc8 2178. [bug] 'rndc reload' of a slave or stub zone resulted in
a reference leak. [RT #16867]
2007-05-15 02:28:27 +00:00
Mark Andrews 77397daf05 2177. [bug] Array bounds overrun on read (rcodetext). [RT #16798] 2007-05-15 01:54:49 +00:00
Automatic Updater 51cce67bf5 auto update 2007-05-14 23:17:54 +00:00
Automatic Updater af1e34f918 update copyright notice 2007-05-10 23:46:54 +00:00
Automatic Updater c6517a8071 newcopyrights 2007-05-10 23:30:24 +00:00
Mark Andrews 337e70ead9 2176. [contrib] dbus update to handle race condition during
initialisation (Bugzilla 235809). [RT #16842]
2007-05-10 05:47:02 +00:00
Mark Andrews f0a1b8c857 s/window/windows/ 2007-05-10 00:41:30 +00:00
Mark Andrews a5d7c242b5 2175. [bug] win32: window broadcast condition variable support
was broken. [RT #16592]
2007-05-09 23:49:37 +00:00
Mark Andrews f6da30bb54 regen 2007-05-09 13:35:57 +00:00
Mark Andrews 8b9fc7617b minor changes from Jeremy [RT #16863] 2007-05-09 06:18:45 +00:00
Mark Andrews d71e2e0c61 regen 2007-05-09 03:33:51 +00:00
Mark Andrews 561a29af8c minor man page updated from Jeremy [RT #16859] 2007-05-09 01:32:09 +00:00
Mark Andrews ab874d16f0 notify-delay documentation 2007-05-08 07:14:42 +00:00
Mark Andrews bea931e17b regen 2007-05-08 02:30:42 +00:00
Mark Andrews 9a8f76e238 minor documentation fixes from Jeremy [RT #16855] 2007-05-08 00:19:55 +00:00
Automatic Updater 1f5cf26443 auto update 2007-05-03 23:17:32 +00:00
Automatic Updater bb4e20398f update copyright notice 2007-05-02 23:46:54 +00:00
Automatic Updater d8de612c85 newcopyrights 2007-05-02 23:30:25 +00:00
Mark Andrews b741e9f1f9 add default install location and directory example 2007-05-02 05:04:34 +00:00
Mark Andrews 1de5f8f809 2174. [bug] I/O errors should always be fatal when reading
master files. [RT #16825]
2007-05-02 04:06:24 +00:00
Mark Andrews 7a253b705c 2173. [port] win32: When compiling with MSVS 2005 SP1 we also
need to ship Microsoft.VC80.MFCLOC.
2007-05-01 02:43:55 +00:00
Automatic Updater 3281665bd3 update copyright notice 2007-04-30 23:46:55 +00:00
Automatic Updater a070512005 newcopyrights 2007-04-30 23:30:25 +00:00
Automatic Updater 62f24e605a auto update 2007-04-30 23:18:08 +00:00
Mark Andrews e97a617861 checkpoint 2007-04-30 20:19:06 +00:00
Mark Andrews 98bc396af5 custom_WFB_v9_4_1, custom_UTK_v9_4_1 2007-04-30 01:53:13 +00:00
1646 changed files with 122105 additions and 101955 deletions
+1359 -99
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1,7 +1,7 @@
Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 1996-2003 Internet Software Consortium.
Permission to use, copy, modify, and distribute this software for any
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
@@ -13,7 +13,7 @@ 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.12 2007/01/03 04:53:20 marka Exp $
$Id: COPYRIGHT,v 1.13.130.2.2.1 2010/02/25 05:23:41 tbox Exp $
Portions Copyright (C) 1996-2001 Nominum, Inc.
+585 -413
View File
File diff suppressed because it is too large Load Diff
+772 -517
View File
File diff suppressed because it is too large Load Diff
+17 -4
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.47 2006/05/19 00:04:02 marka Exp $
# $Id: Makefile.in,v 1.50.86.2 2009/02/20 23:46:49 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -24,6 +24,12 @@ top_srcdir = @top_srcdir@
SUBDIRS = make lib bin doc @LIBBIND@
TARGETS =
MANPAGES = isc-config.sh.1
HTMLPAGES = isc-config.sh.html
MANOBJS = ${MANPAGES} ${HTMLPAGES}
@BIND9_MAKE_RULES@
distclean::
@@ -43,12 +49,19 @@ distclean::
maintainer-clean::
rm -f configure
docclean manclean maintainer-clean::
rm -f ${MANOBJS}
doc man:: ${MANOBJS}
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} \
${DESTDIR}${localstatedir}/run ${DESTDIR}${sysconfdir}
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
install:: isc-config.sh installdirs
${INSTALL_SCRIPT} isc-config.sh ${DESTDIR}${bindir}
${INSTALL_DATA} ${srcdir}/isc-config.sh.1 ${DESTDIR}${mandir}/man1
tags:
rm -f TAGS
@@ -61,7 +74,7 @@ test:
FAQ: FAQ.xml
${XSLTPROC} doc/xsl/isc-docbook-text.xsl FAQ.xml | \
${W3M} -T text/html -dump >$@.tmp
LC_ALL=C ${W3M} -T text/html -dump -cols 72 >$@.tmp
mv $@.tmp $@
clean::
+73 -37
View File
@@ -43,18 +43,28 @@ BIND 9
Nominum, Inc.
BIND 9.5.2
BIND 9.5.2 is a maintenance release, fixing bugs in 9.5.1.
BIND 9.5.1
BIND 9.5.1 is a maintenance release, fixing bugs in 9.5.0.
BIND 9.5.0
BIND 9.5.0 has a number of new features over 9.4,
including:
GSS-TSIG support (RFC 3645).
DHCID support.
Experimental http server and statistics support for named via xml.
Use Doxygen to generate internal documention.
- GSS-TSIG support (RFC 3645).
- DHCID support.
- Experimental http server and statistics support for named via xml.
- More detailed statistics counters including those supported in
BIND 8.
- Faster ACL processing.
- Internal documentation generated by Doxygen.
- Efficient LRU cache-cleaning mechanism.
- NSID support (RFC 5001).
BIND 9.4.0
@@ -73,11 +83,14 @@ BIND 9.4.0
rndc now allows addresses to be set in the server clauses.
New option "allow-query-cache". This lets allow-query be
used to specify the default zone access level rather than
having to have every zone override the global value.
allow-query-cache can be set at both the options and view
levels. If allow-query-cache is not set allow-query applies.
New option "allow-query-cache". This lets "allow-query"
be used to specify the default zone access level rather
than having to have every zone override the global value.
"allow-query-cache" can be set at both the options and view
levels. If "allow-query-cache" is not set then "allow-recursion"
is used if set, otherwise "allow-query" is used if set
unless "recursion no;" is set in which case "none;" is used,
otherwise the default (localhost; localnets;) is used.
rndc: the source address can now be specified.
@@ -294,7 +307,7 @@ BIND 9.2.0
This does not apply to the use of TSIG, which does not
require OpenSSL.
- The source distribution now builds on Windows NT/2000.
- The source distribution now builds on Windows.
See win32utils/readme1.txt and win32utils/win32-build.txt
for details.
@@ -343,11 +356,8 @@ BIND 9.2.0
--with-libtool does not work on AIX.
--with-libtool does not work on SunOS 4. configure
requires "printf" which is not available.
A bug in the Windows 2000 DNS server can cause zone transfers
from a BIND 9 server to a W2K server to fail. For details,
A bug in some versions of the Microsoft DNS server can cause zone
transfers from a BIND 9 server to a W2K server to fail. For details,
see the "Zone Transfers" section in doc/misc/migration.
For a detailed list of user-visible changes from
@@ -362,27 +372,35 @@ Building
We've had successful builds and tests on the following systems:
COMPAQ Tru64 UNIX 5.1B
Fedora Core 6
FreeBSD 4.10, 5.2.1, 6.2
HP-UX 11.11
NetBSD 1.5
Slackware Linux 8.1
Solaris 8, 9, 9 (x86)
Windows NT/2000/XP/2003
Mac OS X 10.5
NetBSD 3.x and 4.0-beta
OpenBSD 3.3 and up
Solaris 8, 9, 9 (x86), 10
Ubuntu 7.04, 7.10
Windows XP/2003/2008
Additionally, we have unverified reports of success building
previous versions of BIND 9 from users of the following systems:
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.
AIX 5L
SuSE Linux 7.0
Slackware Linux 7.x, 8.0
Red Hat Linux 7.1
Debian GNU/Linux 2.2 and 3.0
Mandrake 8.1
OpenBSD 2.6, 2.8, 2.9, 3.1, 3.6, 3.8
UnixWare 7.1.1
HP-UX 10.20
BSD/OS 4.2
Mac OS X 10.1, 10.3.8
We have recent reports from the user community that a supported
version of BIND will build and run on the following systems:
AIX 4.3, 5L
CentOS 4, 4.5, 5
Darwin 9.0.0d1/ARM
Debian 4
Fedora Core 5, 7
FreeBSD 6.1
HP-UX 11.23 PA
MacOS X 10.4, 10.5
Red Hat Enterprise Linux 4, 5
SCO OpenServer 5.0.6
Slackware 9, 10
SuSE 9, 10
To build, just
@@ -419,8 +437,14 @@ Building
-DDIG_SIGCHASE_BU=1)
Disable dropping queries from particular well known ports.
-DNS_CLIENT_DROPPORT=0
Disable support for "rrset-order fixed".
-DDNS_RDATASET_FIXED=0
Sibling glue checking in named-checkzone is enabled by default.
To disable the default check set. -DCHECK_SIBLING=0
named-checkzone checks out-of-zone addresses by default.
To disable this default set. -DCHECK_LOCAL=0
Enable workaround for Solaris kernel bug about /dev/poll
-DISC_SOCKET_USE_POLLWATCH=1
The watch timeout is also configurable, e.g.,
-DISC_SOCKET_POLLWATCH_TIMEOUT=20
LDFLAGS
Linker flags. Defaults to empty string.
@@ -449,6 +473,10 @@ Building
To build libbind (the BIND 8 resolver library), specify
"--enable-libbind" on the configure command line.
On some platforms it is necessary to explictly request large
file support to handle files bigger than 2GB. This can be
done by "--enable-largefile" on the configure command line.
On some platforms, BIND 9 can be built with multithreading
support, allowing it to take advantage of multiple CPUs.
You can specify whether to build a multithreaded BIND 9
@@ -456,6 +484,11 @@ 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.
If your operating system has integrated support for IPv6, it
will be used automatically. If you have installed KAME IPv6
separately, use "--with-kame[=PATH]" to specify its location.
@@ -498,6 +531,9 @@ Building
on your system, and some require Perl; see bin/tests/system/README
for details.
SunOS 4 requires "printf" to be installed to make the shared
libraries. sh-utils-1.16 provides a "printf" which compiles
on SunOS 4.
Documentation
+4 -4
View File
@@ -55,7 +55,7 @@ at least specify `--with-idn' option to enable IDN support.
`--with-libiconv' assumes that your C compiler has `-R'
option, and that the option adds the specified run-time path
to an exacutable binary. If `-R' option of your compiler has
to an executable binary. If `-R' option of your compiler has
different meaning, or your compiler lacks the option, you
should use `--with-iconv' option instead. Binary command
without run-time path information might be unexecutable.
@@ -68,7 +68,7 @@ at least specify `--with-idn' option to enable IDN support.
specified, `--with-iconv' is prior to `--with-libiconv'.
--with-iconv=ICONV_LIBSPEC
If your libc doens't provide iconv(), you need to specify the
If your libc doesn't provide iconv(), you need to specify the
library containing iconv() with this option. `ICONV_LIBSPEC'
is the argument(s) to `cc' or `ld' to link the library, for
example, `--with-iconv="-L/usr/local/lib -liconv"'.
@@ -82,7 +82,7 @@ at least specify `--with-idn' option to enable IDN support.
this option is not specified, `-L${PREFIX}/lib -lidnkit' is
assumed, where ${PREFIX} is the installation prefix specified
with `--with-idn' option above. You may need to use this
option to specify extra argments, for example,
option to specify extra arguments, for example,
`--with-idnlib="-L/usr/local/lib -R/usr/local/lib -lidnkit"'.
Please consult `README' for other configuration options.
@@ -109,4 +109,4 @@ about idnkit and this patch.
Bug reports and comments on this kit should be sent to
mdnkit-bugs@nic.ad.jp and idn-cmt@nic.ad.jp, respectively.
; $Id: README.idnkit,v 1.2 2005/09/09 06:13:57 marka Exp $
; $Id: README.idnkit,v 1.2.558.1 2009/01/19 00:01:09 marka Exp $
+4 -10
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: acconfig.h,v 1.49 2005/04/29 00:22:24 marka Exp $ */
/* $Id: acconfig.h,v 1.51.130.2 2009/02/16 23:46:44 tbox Exp $ */
/*! \file */
@@ -25,9 +25,6 @@
***/
@TOP@
/** define to `int' if <sys/types.h> doesn't define. */
#undef ssize_t
/** define on DEC OSF to enable 4.4BSD style sa_len support */
#undef _SOCKADDR_LEN
@@ -61,9 +58,6 @@
/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
#undef HAVE_IFLIST_SYSCTL
/** define if chroot() is available */
#undef HAVE_CHROOT
/** define if tzset() is available */
#undef HAVE_TZSET
@@ -115,7 +109,7 @@ int sigwait(const unsigned int *set, int *sig);
* The silly continuation line is to keep configure from
* commenting out the #undef.
*/
#undef \
va_start
#define va_start(ap, last) \
+3 -3
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.23 2004/03/05 04:57:10 marka Exp $
# $Id: Makefile.in,v 1.25 2007/06/19 23:46:59 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+3 -3
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.30 2006/06/09 00:54:09 marka Exp $
# $Id: Makefile.in,v 1.32 2007/06/19 23:46:59 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+67 -23
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,27 +15,26 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check-tool.c,v 1.26 2006/07/21 07:11:56 marka Exp $ */
/* $Id: check-tool.c,v 1.31.62.5 2009/01/27 21:17:39 jinmei Exp $ */
/*! \file */
#include <config.h>
#include <stdio.h>
#include <string.h>
#include "check-tool.h"
#include <isc/util.h>
#include <isc/buffer.h>
#include <isc/log.h>
#include <isc/net.h>
#include <isc/mem.h>
#include <isc/netdb.h>
#include <isc/net.h>
#include <isc/region.h>
#include <isc/stdio.h>
#include <isc/string.h>
#include <isc/symtab.h>
#include <isc/types.h>
#include <isc/mem.h>
#include <isc/util.h>
#include <dns/fixedname.h>
#include <dns/log.h>
@@ -48,6 +47,14 @@
#include <isccfg/log.h>
#ifndef CHECK_SIBLING
#define CHECK_SIBLING 1
#endif
#ifndef CHECK_LOCAL
#define CHECK_LOCAL 1
#endif
#ifdef HAVE_ADDRINFO
#ifdef HAVE_GETADDRINFO
#ifdef HAVE_GAISTRERROR
@@ -61,7 +68,7 @@
result = (r); \
if (result != ISC_R_SUCCESS) \
goto cleanup; \
} while (0)
} while (0)
#define ERR_IS_CNAME 1
#define ERR_NO_ADDRESSES 2
@@ -76,14 +83,23 @@ static const char *dbtype[] = { "rbt" };
int debug = 0;
isc_boolean_t nomerge = ISC_TRUE;
#if CHECK_LOCAL
isc_boolean_t docheckmx = ISC_TRUE;
isc_boolean_t dochecksrv = ISC_TRUE;
isc_boolean_t docheckns = ISC_TRUE;
unsigned int zone_options = DNS_ZONEOPT_CHECKNS |
#else
isc_boolean_t docheckmx = ISC_FALSE;
isc_boolean_t dochecksrv = ISC_FALSE;
isc_boolean_t docheckns = ISC_FALSE;
#endif
unsigned int zone_options = DNS_ZONEOPT_CHECKNS |
DNS_ZONEOPT_CHECKMX |
DNS_ZONEOPT_MANYERRORS |
DNS_ZONEOPT_CHECKNAMES |
DNS_ZONEOPT_CHECKINTEGRITY |
#if CHECK_SIBLING
DNS_ZONEOPT_CHECKSIBLING |
#endif
DNS_ZONEOPT_CHECKWILDCARD |
DNS_ZONEOPT_WARNMXCNAME |
DNS_ZONEOPT_WARNSRVCNAME;
@@ -99,6 +115,7 @@ static isc_logcategory_t categories[] = {
{ "queries", 0 },
{ "unmatched", 0 },
{ "update-security", 0 },
{ "query-errors", 0 },
{ NULL, 0 }
};
@@ -110,7 +127,7 @@ freekey(char *key, unsigned int type, isc_symvalue_t value, void *userarg) {
UNUSED(type);
UNUSED(value);
isc_mem_free(userarg, key);
}
}
static void
add(char *key, int value) {
@@ -193,7 +210,16 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
dns_name_format(name, namebuf, sizeof(namebuf) - 1);
switch (result) {
case 0:
if (strcasecmp(ai->ai_canonname, namebuf) != 0 &&
/*
* Work around broken getaddrinfo() implementations that
* fail to set ai_canonname on first entry.
*/
cur = ai;
while (cur != NULL && cur->ai_canonname == NULL &&
cur->ai_next != NULL)
cur = cur->ai_next;
if (cur != NULL && cur->ai_canonname != NULL &&
strcasecmp(cur->ai_canonname, namebuf) != 0 &&
!logged(namebuf, ERR_IS_CNAME)) {
dns_zone_log(zone, ISC_LOG_ERROR,
"%s/NS '%s' (out of zone) "
@@ -348,7 +374,7 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
static isc_boolean_t
checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
#ifdef USE_GETADDRINFO
struct addrinfo hints, *ai;
struct addrinfo hints, *ai, *cur;
char namebuf[DNS_NAME_FORMATSIZE + 1];
char ownerbuf[DNS_NAME_FORMATSIZE];
int result;
@@ -368,12 +394,21 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
dns_name_format(name, namebuf, sizeof(namebuf) - 1);
switch (result) {
case 0:
if (strcasecmp(ai->ai_canonname, namebuf) != 0) {
/*
* Work around broken getaddrinfo() implementations that
* fail to set ai_canonname on first entry.
*/
cur = ai;
while (cur != NULL && cur->ai_canonname == NULL &&
cur->ai_next != NULL)
cur = cur->ai_next;
if (cur != NULL && cur->ai_canonname != NULL &&
strcasecmp(cur->ai_canonname, namebuf) != 0) {
if ((zone_options & DNS_ZONEOPT_WARNMXCNAME) != 0)
level = ISC_LOG_WARNING;
if ((zone_options & DNS_ZONEOPT_IGNOREMXCNAME) == 0) {
@@ -422,7 +457,7 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
static isc_boolean_t
checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
#ifdef USE_GETADDRINFO
struct addrinfo hints, *ai;
struct addrinfo hints, *ai, *cur;
char namebuf[DNS_NAME_FORMATSIZE + 1];
char ownerbuf[DNS_NAME_FORMATSIZE];
int result;
@@ -442,12 +477,21 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
if (dns_name_countlabels(name) > 1U)
strcat(namebuf, ".");
dns_name_format(owner, ownerbuf, sizeof(ownerbuf));
result = getaddrinfo(namebuf, NULL, &hints, &ai);
dns_name_format(name, namebuf, sizeof(namebuf) - 1);
switch (result) {
case 0:
if (strcasecmp(ai->ai_canonname, namebuf) != 0) {
/*
* Work around broken getaddrinfo() implementations that
* fail to set ai_canonname on first entry.
*/
cur = ai;
while (cur != NULL && cur->ai_canonname == NULL &&
cur->ai_next != NULL)
cur = cur->ai_next;
if (cur != NULL && cur->ai_canonname != NULL &&
strcasecmp(cur->ai_canonname, namebuf) != 0) {
if ((zone_options & DNS_ZONEOPT_WARNSRVCNAME) != 0)
level = ISC_LOG_WARNING;
if ((zone_options & DNS_ZONEOPT_IGNORESRVCNAME) == 0) {
@@ -494,7 +538,7 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
}
isc_result_t
setup_logging(isc_mem_t *mctx, isc_log_t **logp) {
setup_logging(isc_mem_t *mctx, FILE *errout, isc_log_t **logp) {
isc_logdestination_t destination;
isc_logconfig_t *logconfig = NULL;
isc_log_t *log = NULL;
@@ -506,7 +550,7 @@ setup_logging(isc_mem_t *mctx, isc_log_t **logp) {
dns_log_setcontext(log);
cfg_log_init(log);
destination.file.stream = stdout;
destination.file.stream = errout;
destination.file.name = NULL;
destination.file.versions = ISC_LOG_ROLLNEVER;
destination.file.maximum_size = 0;
@@ -590,14 +634,14 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
FILE *output = stdout;
if (debug) {
if (filename != NULL)
if (filename != NULL && strcmp(filename, "-") != 0)
fprintf(stderr, "dumping \"%s\" to \"%s\"\n",
zonename, filename);
else
fprintf(stderr, "dumping \"%s\"\n", zonename);
}
if (filename != NULL) {
if (filename != NULL && strcmp(filename, "-") != 0) {
result = isc_stdio_open(filename, "w+", &output);
if (result != ISC_R_SUCCESS) {
@@ -609,7 +653,7 @@ dump_zone(const char *zonename, dns_zone_t *zone, const char *filename,
result = dns_zone_dumptostream2(zone, output, fileformat, style);
if (filename != NULL)
if (output != stdout)
(void)isc_stdio_close(output);
return (result);
+5 -4
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check-tool.h,v 1.11 2005/06/20 01:03:48 marka Exp $ */
/* $Id: check-tool.h,v 1.14 2007/06/18 23:47:17 tbox Exp $ */
#ifndef CHECK_TOOL_H
#define CHECK_TOOL_H
@@ -23,6 +23,7 @@
/*! \file */
#include <isc/lang.h>
#include <isc/stdio.h>
#include <isc/types.h>
#include <dns/masterdump.h>
@@ -31,7 +32,7 @@
ISC_LANG_BEGINDECLS
isc_result_t
setup_logging(isc_mem_t *mctx, isc_log_t **logp);
setup_logging(isc_mem_t *mctx, FILE *errout, isc_log_t **logp);
isc_result_t
load_zone(isc_mem_t *mctx, const char *zonename, const char *filename,
+11 -5
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkconf.8,v 1.27 2007/01/30 00:24:59 marka Exp $
.\" $Id: named-checkconf.8,v 1.30.130.1 2009/07/11 01:43:26 tbox Exp $
.\"
.hy 0
.ad l
@@ -33,16 +33,21 @@
named\-checkconf \- named configuration file syntax checking tool
.SH "SYNOPSIS"
.HP 16
\fBnamed\-checkconf\fR [\fB\-v\fR] [\fB\-j\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename} [\fB\-z\fR]
\fBnamed\-checkconf\fR [\fB\-h\fR] [\fB\-v\fR] [\fB\-j\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] {filename} [\fB\-z\fR]
.SH "DESCRIPTION"
.PP
\fBnamed\-checkconf\fR
checks the syntax, but not the semantics, of a named configuration file.
.SH "OPTIONS"
.PP
\-h
.RS 4
Print the usage summary and exit.
.RE
.PP
\-t \fIdirectory\fR
.RS 4
chroot to
Chroot to
\fIdirectory\fR
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
.RE
@@ -56,7 +61,7 @@ program and exit.
.PP
\-z
.RS 4
Perform a check load the master zonefiles found in
Perform a test load of all master zones found in
\fInamed.conf\fR.
.RE
.PP
@@ -77,6 +82,7 @@ returns an exit status of 1 if errors were detected and 0 otherwise.
.SH "SEE ALSO"
.PP
\fBnamed\fR(8),
\fBnamed\-checkzone\fR(8),
BIND 9 Administrator Reference Manual.
.SH "AUTHOR"
.PP
+35 -25
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkconf.c,v 1.42 2006/02/28 02:39:51 marka Exp $ */
/* $Id: named-checkconf.c,v 1.46.18.2 2009/02/16 23:46:44 tbox Exp $ */
/*! \file */
@@ -47,6 +47,8 @@
#include "check-tool.h"
static const char *program = "named-checkconf";
isc_log_t *logc = NULL;
#define CHECK(r)\
@@ -59,9 +61,9 @@ isc_log_t *logc = NULL;
/*% usage */
static void
usage(void) {
fprintf(stderr, "usage: named-checkconf [-j] [-v] [-z] [-t directory] "
"[named.conf]\n");
exit(1);
fprintf(stderr, "usage: %s [-h] [-j] [-v] [-z] [-t directory] "
"[named.conf]\n", program);
exit(1);
}
/*% directory callback */
@@ -171,9 +173,9 @@ configure_zone(const char *vclass, const char *view,
zname = cfg_obj_asstring(cfg_tuple_get(zconfig, "name"));
classobj = cfg_tuple_get(zconfig, "class");
if (!cfg_obj_isstring(classobj))
zclass = vclass;
else
if (!cfg_obj_isstring(classobj))
zclass = vclass;
else
zclass = cfg_obj_asstring(classobj);
zoptions = cfg_tuple_get(zconfig, "options");
@@ -192,9 +194,9 @@ configure_zone(const char *vclass, const char *view,
return (ISC_R_FAILURE);
if (strcasecmp(cfg_obj_asstring(typeobj), "master") != 0)
return (ISC_R_SUCCESS);
cfg_map_get(zoptions, "database", &dbobj);
if (dbobj != NULL)
return (ISC_R_SUCCESS);
cfg_map_get(zoptions, "database", &dbobj);
if (dbobj != NULL)
return (ISC_R_SUCCESS);
cfg_map_get(zoptions, "file", &fileobj);
if (fileobj == NULL)
return (ISC_R_FAILURE);
@@ -224,7 +226,8 @@ configure_zone(const char *vclass, const char *view,
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
else
zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
}
} else
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
obj = NULL;
if (get_maps(maps, "check-mx-cname", &obj)) {
@@ -284,8 +287,8 @@ configure_zone(const char *vclass, const char *view,
} else
INSIST(0);
} else {
zone_options |= DNS_ZONEOPT_CHECKNAMES;
zone_options |= DNS_ZONEOPT_CHECKNAMESFAIL;
zone_options |= DNS_ZONEOPT_CHECKNAMES;
zone_options |= DNS_ZONEOPT_CHECKNAMESFAIL;
}
masterformat = dns_masterformat_text;
@@ -396,8 +399,10 @@ main(int argc, char **argv) {
int exit_status = 0;
isc_entropy_t *ectx = NULL;
isc_boolean_t load_zones = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv, "djt:vz")) != EOF) {
isc_commandline_errprint = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv, "dhjt:vz")) != EOF) {
switch (c) {
case 'd':
debug++;
@@ -414,12 +419,6 @@ main(int argc, char **argv) {
isc_result_totext(result));
exit(1);
}
result = isc_dir_chdir("/");
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "isc_dir_chdir: %s\n",
isc_result_totext(result));
exit(1);
}
break;
case 'v':
@@ -433,11 +432,22 @@ main(int argc, char **argv) {
dochecksrv = ISC_FALSE;
break;
default:
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
case 'h':
usage();
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
}
}
if (isc_commandline_index + 1 < argc)
usage();
if (argv[isc_commandline_index] != NULL)
conffile = argv[isc_commandline_index];
if (conffile == NULL || conffile[0] == '\0')
@@ -445,7 +455,7 @@ main(int argc, char **argv) {
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
RUNTIME_CHECK(setup_logging(mctx, &logc) == ISC_R_SUCCESS);
RUNTIME_CHECK(setup_logging(mctx, stdout, &logc) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
+18 -5
View File
@@ -5,7 +5,7 @@
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.docbook,v 1.15 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: named-checkconf.docbook,v 1.19 2007/06/19 06:58:03 marka Exp $ -->
<refentry id="man.named-checkconf">
<refentryinfo>
<date>June 14, 2000</date>
@@ -53,6 +53,7 @@
<refsynopsisdiv>
<cmdsynopsis>
<command>named-checkconf</command>
<arg><option>-h</option></arg>
<arg><option>-v</option></arg>
<arg><option>-j</option></arg>
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
@@ -73,11 +74,20 @@
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-h</term>
<listitem>
<para>
Print the usage summary and exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-t <replaceable class="parameter">directory</replaceable></term>
<listitem>
<para>
chroot to <filename>directory</filename> so that
Chroot to <filename>directory</filename> so that
include
directives in the configuration file are processed as if
run by a similarly chrooted named.
@@ -99,8 +109,8 @@
<term>-z</term>
<listitem>
<para>
Perform a check load the master zonefiles found in
<filename>named.conf</filename>.
Perform a test load of all master zones found in
<filename>named.conf</filename>.
</para>
</listitem>
</varlistentry>
@@ -141,6 +151,9 @@
<para><citerefentry>
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>named-checkzone</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
</refsect1>
+16 -11
View File
@@ -2,7 +2,7 @@
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -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.27 2007/01/30 00:24:59 marka Exp $ -->
<!-- $Id: named-checkconf.html,v 1.30.130.1 2009/07/11 01:43:26 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,21 +29,25 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">named-checkconf</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">-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">-z</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543383"></a><h2>DESCRIPTION</h2>
<a name="id2543387"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkconf</strong></span>
checks the syntax, but not the semantics, of a named
configuration file.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543395"></a><h2>OPTIONS</h2>
<a name="id2543399"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-h</span></dt>
<dd><p>
Print the usage summary and exit.
</p></dd>
<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
chroot to <code class="filename">directory</code> so that
Chroot to <code class="filename">directory</code> so that
include
directives in the configuration file are processed as if
run by a similarly chrooted named.
@@ -55,8 +59,8 @@
</p></dd>
<dt><span class="term">-z</span></dt>
<dd><p>
Perform a check load the master zonefiles found in
<code class="filename">named.conf</code>.
Perform a test load of all master zones found in
<code class="filename">named.conf</code>.
</p></dd>
<dt><span class="term">-j</span></dt>
<dd><p>
@@ -70,20 +74,21 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543488"></a><h2>RETURN VALUES</h2>
<a name="id2543507"></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="id2543499"></a><h2>SEE ALSO</h2>
<a name="id2543518"></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="id2543521"></a><h2>AUTHOR</h2>
<a name="id2543548"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+21 -11
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named-checkzone.8,v 1.38 2007/01/30 00:24:59 marka Exp $
.\" $Id: named-checkzone.8,v 1.42.130.2 2009/07/11 01:43:26 tbox Exp $
.\"
.hy 0
.ad l
@@ -33,7 +33,7 @@
named\-checkzone, named\-compilezone \- zone file validity checking or converting tool
.SH "SYNOPSIS"
.HP 16
\fBnamed\-checkzone\fR [\fB\-d\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\-o\ \fR\fB\fIfilename\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\-o\ \fR\fB\fIfilename\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}
.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\-o\ \fR\fB\fIfilename\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] {zonename} {filename}
.SH "DESCRIPTION"
@@ -48,7 +48,7 @@ useful for checking zone files before configuring them into a name server.
\fBnamed\-compilezone\fR
is similar to
\fBnamed\-checkzone\fR, but it always dumps the zone contents to a specified file in a specified format. Additionally, it applies stricter check levels by default, since the dump output will be used as an actual zone file loaded by
\fBnamed\fR. When manaully specified otherwise, the check levels must at least be as strict as those specified in the
\fBnamed\fR. When manually specified otherwise, the check levels must at least be as strict as those specified in the
\fBnamed\fR
configuration file.
.SH "OPTIONS"
@@ -58,6 +58,11 @@ configuration file.
Enable debugging.
.RE
.PP
\-h
.RS 4
Print the usage summary and exit.
.RE
.PP
\-q
.RS 4
Quiet mode \- exit code only.
@@ -77,12 +82,12 @@ When loading the zone file read the journal if it exists.
.PP
\-c \fIclass\fR
.RS 4
Specify the class of the zone. If not specified "IN" is assumed.
Specify the class of the zone. If not specified, "IN" is assumed.
.RE
.PP
\-i \fImode\fR
.RS 4
Perform post load zone integrity checks. Possible modes are
Perform post\-load zone integrity checks. Possible modes are
\fB"full"\fR
(default),
\fB"full\-sibling"\fR,
@@ -105,7 +110,7 @@ only checks SRV records which refer to in\-zone hostnames.
.sp
Mode
\fB"full"\fR
checks that delegation NS records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames). It also checks that glue addresses records in the zone match those advertised by the child. Mode
checks that delegation NS records refer to A or AAAA record (both in\-zone and out\-of\-zone hostnames). It also checks that glue address records in the zone match those advertised by the child. Mode
\fB"local"\fR
only checks NS records which refer to in\-zone hostnames or that some required glue exists, that is when the nameserver is in a child zone.
.sp
@@ -188,7 +193,11 @@ Specify whether NS records should be checked to see if they are addresses. Possi
\-o \fIfilename\fR
.RS 4
Write zone output to
\fIfilename\fR. This is mandatory for
\fIfilename\fR. If
\fIfilename\fR
is
\fI\-\fR
then write to standard out. This is mandatory for
\fBnamed\-compilezone\fR.
.RE
.PP
@@ -213,7 +222,7 @@ Check if a SRV record refers to a CNAME. Possible modes are
.PP
\-t \fIdirectory\fR
.RS 4
chroot to
Chroot to
\fIdirectory\fR
so that include directives in the configuration file are processed as if run by a similarly chrooted named.
.RE
@@ -256,13 +265,14 @@ returns an exit status of 1 if errors were detected and 0 otherwise.
.SH "SEE ALSO"
.PP
\fBnamed\fR(8),
\fBnamed\-checkconf\fR(8),
RFC 1035,
BIND 9 Administrator Reference Manual.
.SH "AUTHOR"
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004\-2007 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br
+56 -30
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkzone.c,v 1.47 2007/03/29 23:47:04 tbox Exp $ */
/* $Id: named-checkzone.c,v 1.49.130.5 2009/05/29 02:18:32 marka Exp $ */
/*! \file */
@@ -77,8 +77,9 @@ usage(void) {
"[-f inputformat] [-F outputformat] "
"[-t directory] [-w directory] [-k (ignore|warn|fail)] "
"[-n (ignore|warn|fail)] [-m (ignore|warn|fail)] "
"[-i (full|local|none)] [-M (ignore|warn|fail)] "
"[-S (ignore|warn|fail)] [-W (ignore|warn)] "
"[-i (full|full-sibling|local|local-sibling|none)] "
"[-M (ignore|warn|fail)] [-S (ignore|warn|fail)] "
"[-W (ignore|warn)] "
"zonename filename\n", prog_name);
exit(1);
}
@@ -105,6 +106,7 @@ main(int argc, char **argv) {
const char *outputformatstr = NULL;
dns_masterformat_t inputformat = dns_masterformat_text;
dns_masterformat_t outputformat = dns_masterformat_text;
FILE *errout = stdout;
outputstyle = &dns_master_style_full;
@@ -121,9 +123,13 @@ main(int argc, char **argv) {
*/
if (strncmp(prog_name, "lt-", 3) == 0)
prog_name += 3;
if (strcmp(prog_name, "named-checkzone") == 0)
#define PROGCMP(X) \
(strcasecmp(prog_name, X) == 0 || strcasecmp(prog_name, X ".exe") == 0)
if (PROGCMP("named-checkzone"))
progmode = progmode_check;
else if (strcmp(prog_name, "named-compilezone") == 0)
else if (PROGCMP("named-compilezone"))
progmode = progmode_compile;
else
INSIST(0);
@@ -139,8 +145,10 @@ main(int argc, char **argv) {
#define ARGCMP(X) (strcmp(isc_commandline_argument, X) == 0)
isc_commandline_errprint = ISC_FALSE;
while ((c = isc_commandline_parse(argc, argv,
"c:df:i:jk:m:n:qs:t:o:vw:DF:M:S:W:"))
"c:df:hi:jk:m:n:qs:t:o:vw:DF:M:S:W:"))
!= EOF) {
switch (c) {
case 'c':
@@ -227,7 +235,7 @@ main(int argc, char **argv) {
zone_options &= ~DNS_ZONEOPT_FATALNS;
} else if (ARGCMP("fail")) {
zone_options |= DNS_ZONEOPT_CHECKNS|
DNS_ZONEOPT_FATALNS;
DNS_ZONEOPT_FATALNS;
} else {
fprintf(stderr, "invalid argument to -n: %s\n",
isc_commandline_argument);
@@ -264,12 +272,6 @@ main(int argc, char **argv) {
isc_result_totext(result));
exit(1);
}
result = isc_dir_chdir("/");
if (result != ISC_R_SUCCESS) {
fprintf(stderr, "isc_dir_chdir: %s\n",
isc_result_totext(result));
exit(1);
}
break;
case 's':
@@ -342,17 +344,17 @@ main(int argc, char **argv) {
zone_options &= ~DNS_ZONEOPT_CHECKWILDCARD;
break;
default:
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
prog_name, isc_commandline_option);
case 'h':
usage();
}
}
if (progmode == progmode_compile) {
dumpzone = 1; /* always dump */
if (output_filename == NULL) {
fprintf(stderr,
"output file required, but not specified\n");
usage();
default:
fprintf(stderr, "%s: unhandled option -%c\n",
prog_name, isc_commandline_option);
exit(1);
}
}
@@ -389,12 +391,36 @@ main(int argc, char **argv) {
}
}
if (isc_commandline_index + 2 > argc)
if (progmode == progmode_compile) {
dumpzone = 1; /* always dump */
if (output_filename == NULL) {
fprintf(stderr,
"output file required, but not specified\n");
usage();
}
}
if (output_filename != NULL)
dumpzone = 1;
/*
* If we are outputing to stdout then send the informational
* output to stderr.
*/
if (dumpzone &&
(output_filename == NULL ||
strcmp(output_filename, "-") == 0 ||
strcmp(output_filename, "/dev/fd/1") == 0 ||
strcmp(output_filename, "/dev/stdout") == 0))
errout = stderr;
if (isc_commandline_index + 2 != argc)
usage();
RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS);
if (!quiet)
RUNTIME_CHECK(setup_logging(mctx, &lctx) == ISC_R_SUCCESS);
RUNTIME_CHECK(setup_logging(mctx, errout, &lctx)
== ISC_R_SUCCESS);
RUNTIME_CHECK(isc_entropy_create(mctx, &ectx) == ISC_R_SUCCESS);
RUNTIME_CHECK(isc_hash_create(mctx, ectx, DNS_NAME_MAXWIRE)
== ISC_R_SUCCESS);
@@ -408,17 +434,17 @@ main(int argc, char **argv) {
if (result == ISC_R_SUCCESS && dumpzone) {
if (!quiet && progmode == progmode_compile) {
fprintf(stdout, "dump zone to %s...", output_filename);
fflush(stdout);
fprintf(errout, "dump zone to %s...", output_filename);
fflush(errout);
}
result = dump_zone(origin, zone, output_filename,
outputformat, outputstyle);
if (!quiet && progmode == progmode_compile)
fprintf(stdout, "done\n");
fprintf(errout, "done\n");
}
if (!quiet && result == ISC_R_SUCCESS)
fprintf(stdout, "OK\n");
fprintf(errout, "OK\n");
destroy();
if (lctx != NULL)
isc_log_destroy(&lctx);
+24 -8
View File
@@ -2,10 +2,10 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.29 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: named-checkzone.docbook,v 1.34.130.2 2009/01/22 23:46:35 tbox Exp $ -->
<refentry id="man.named-checkzone">
<refentryinfo>
<date>June 13, 2000</date>
@@ -36,6 +36,7 @@
<year>2005</year>
<year>2006</year>
<year>2007</year>
<year>2009</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -56,6 +57,7 @@
<cmdsynopsis>
<command>named-checkzone</command>
<arg><option>-d</option></arg>
<arg><option>-h</option></arg>
<arg><option>-j</option></arg>
<arg><option>-q</option></arg>
<arg><option>-v</option></arg>
@@ -117,7 +119,7 @@
Additionally, it applies stricter check levels by default,
since the dump output will be used as an actual zone file
loaded by <command>named</command>.
When manaully specified otherwise, the check levels must at
When manually specified otherwise, the check levels must at
least be as strict as those specified in the
<command>named</command> configuration file.
</para>
@@ -136,6 +138,15 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-h</term>
<listitem>
<para>
Print the usage summary and exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-q</term>
<listitem>
@@ -168,7 +179,7 @@
<term>-c <replaceable class="parameter">class</replaceable></term>
<listitem>
<para>
Specify the class of the zone. If not specified "IN" is assumed.
Specify the class of the zone. If not specified, "IN" is assumed.
</para>
</listitem>
</varlistentry>
@@ -177,7 +188,7 @@
<term>-i <replaceable class="parameter">mode</replaceable></term>
<listitem>
<para>
Perform post load zone integrity checks. Possible modes are
Perform post-load zone integrity checks. Possible modes are
<command>"full"</command> (default),
<command>"full-sibling"</command>,
<command>"local"</command>,
@@ -199,7 +210,7 @@
<para>
Mode <command>"full"</command> checks that delegation NS
records refer to A or AAAA record (both in-zone and out-of-zone
hostnames). It also checks that glue addresses records
hostnames). It also checks that glue address records
in the zone match those advertised by the child.
Mode <command>"local"</command> only checks NS records which
refer to in-zone hostnames or that some required glue exists,
@@ -301,6 +312,8 @@
<listitem>
<para>
Write zone output to <filename>filename</filename>.
If <filename>filename</filename> is <filename>-</filename> then
write to standard out.
This is mandatory for <command>named-compilezone</command>.
</para>
</listitem>
@@ -342,7 +355,7 @@
<term>-t <replaceable class="parameter">directory</replaceable></term>
<listitem>
<para>
chroot to <filename>directory</filename> so that
Chroot to <filename>directory</filename> so that
include
directives in the configuration file are processed as if
run by a similarly chrooted named.
@@ -422,6 +435,9 @@
<para><citerefentry>
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>named-checkconf</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>RFC 1035</citetitle>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
+21 -14
View File
@@ -1,8 +1,8 @@
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -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.38 2007/01/30 00:24:59 marka Exp $ -->
<!-- $Id: named-checkzone.html,v 1.42.130.2 2009/07/11 01:43:26 tbox Exp $ -->
<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">-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">-o <em class="replaceable"><code>filename</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-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">-o <em class="replaceable"><code>filename</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">-o <em class="replaceable"><code>filename</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>] {zonename} {filename}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543665"></a><h2>DESCRIPTION</h2>
<a name="id2543672"></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
@@ -47,18 +47,22 @@
Additionally, it applies stricter check levels by default,
since the dump output will be used as an actual zone file
loaded by <span><strong class="command">named</strong></span>.
When manaully specified otherwise, the check levels must at
When manually specified otherwise, the check levels must at
least be as strict as those specified in the
<span><strong class="command">named</strong></span> configuration file.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543700"></a><h2>OPTIONS</h2>
<a name="id2543707"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-d</span></dt>
<dd><p>
Enable debugging.
</p></dd>
<dt><span class="term">-h</span></dt>
<dd><p>
Print the usage summary and exit.
</p></dd>
<dt><span class="term">-q</span></dt>
<dd><p>
Quiet mode - exit code only.
@@ -74,12 +78,12 @@
</p></dd>
<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
<dd><p>
Specify the class of the zone. If not specified "IN" is assumed.
Specify the class of the zone. If not specified, "IN" is assumed.
</p></dd>
<dt><span class="term">-i <em class="replaceable"><code>mode</code></em></span></dt>
<dd>
<p>
Perform post load zone integrity checks. Possible modes are
Perform post-load zone integrity checks. Possible modes are
<span><strong class="command">"full"</strong></span> (default),
<span><strong class="command">"full-sibling"</strong></span>,
<span><strong class="command">"local"</strong></span>,
@@ -101,7 +105,7 @@
<p>
Mode <span><strong class="command">"full"</strong></span> checks that delegation NS
records refer to A or AAAA record (both in-zone and out-of-zone
hostnames). It also checks that glue addresses records
hostnames). It also checks that glue address records
in the zone match those advertised by the child.
Mode <span><strong class="command">"local"</strong></span> only checks NS records which
refer to in-zone hostnames or that some required glue exists,
@@ -169,6 +173,8 @@
<dt><span class="term">-o <em class="replaceable"><code>filename</code></em></span></dt>
<dd><p>
Write zone output to <code class="filename">filename</code>.
If <code class="filename">filename</code> is <code class="filename">-</code> then
write to standard out.
This is mandatory for <span><strong class="command">named-compilezone</strong></span>.
</p></dd>
<dt><span class="term">-s <em class="replaceable"><code>style</code></em></span></dt>
@@ -195,7 +201,7 @@
</p></dd>
<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
<dd><p>
chroot to <code class="filename">directory</code> so that
Chroot to <code class="filename">directory</code> so that
include
directives in the configuration file are processed as if
run by a similarly chrooted named.
@@ -233,21 +239,22 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544299"></a><h2>RETURN VALUES</h2>
<a name="id2544328"></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="id2544311"></a><h2>SEE ALSO</h2>
<a name="id2544340"></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>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544336"></a><h2>AUTHOR</h2>
<a name="id2544373"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+3 -3
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.39 2005/09/09 14:11:37 marka Exp $
# $Id: Makefile.in,v 1.41 2007/06/19 23:46:59 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+33 -22
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dig.1,v 1.42 2007/01/30 00:24:59 marka Exp $
.\" $Id: dig.1,v 1.45.150.8 2009/07/11 01:43:26 tbox Exp $
.\"
.hy 0
.ad l
@@ -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\-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\-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
@@ -50,7 +50,7 @@ Although
\fBdig\fR
is normally used with command\-line arguments, it also has a batch mode of operation for reading lookup requests from a file. A brief summary of its command\-line arguments and options is printed when the
\fB\-h\fR
option is given. Unlike earlier versions, the BIND9 implementation of
option is given. Unlike earlier versions, the BIND 9 implementation of
\fBdig\fR
allows multiple lookups to be issued from the command line.
.PP
@@ -59,7 +59,9 @@ Unless it is told to query a specific name server,
will try each of the servers listed in
\fI/etc/resolv.conf\fR.
.PP
When no command line arguments or options are given, will perform an NS query for "." (the root).
When no command line arguments or options are given,
\fBdig\fR
will perform an NS query for "." (the root).
.PP
It is possible to set per\-user defaults for
\fBdig\fR
@@ -70,9 +72,9 @@ The IN and CH class names overlap with the IN and CH top level domains names. Ei
\fB\-t\fR
and
\fB\-c\fR
options to specify the type and class or use the
options to specify the type and class, use the
\fB\-q\fR
the specify the domain name or use "IN." and "CH." when looking up these top level domains.
the specify the domain name, or use "IN." and "CH." when looking up these top level domains.
.SH "SIMPLE USAGE"
.PP
A typical invocation of
@@ -128,17 +130,21 @@ The default query class (IN for internet) is overridden by the
\fB\-c\fR
option.
\fIclass\fR
is any valid class, such as HS for Hesiod records or CH for CHAOSNET records.
is any valid class, such as HS for Hesiod records or CH for Chaosnet records.
.PP
The
\fB\-f\fR
option makes
\fBdig \fR
operate in batch mode by reading a list of lookup requests to process from the file
\fIfilename\fR. The file contains a number of queries, one per line. Each entry in the file should be organised in the same way they would be presented as queries to
\fIfilename\fR. The file contains a number of queries, one per line. Each entry in the file should be organized in the same way they would be presented as queries to
\fBdig\fR
using the command\-line interface.
.PP
The
\fB\-m\fR
option enables memory usage debugging.
.PP
If a non\-standard port number is to be queried, the
\fB\-p\fR
option is used.
@@ -160,7 +166,7 @@ to only use IPv6 query transport.
The
\fB\-t\fR
option sets the query type to
\fItype\fR. It can be any valid query type which is supported in BIND9. The default query type "A", unless the
\fItype\fR. It can be any valid query type which is supported in BIND 9. The default query type is "A", unless the
\fB\-x\fR
option is supplied to indicate a reverse lookup. A zone transfer can be requested by specifying a type of AXFR. When an incremental zone transfer (IXFR) is required,
\fItype\fR
@@ -171,11 +177,11 @@ 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 distingish the
\fIname\fR. This useful do distinguish the
\fIname\fR
from other arguments.
.PP
Reverse lookups \- mapping addresses to names \- are simplified by the
Reverse lookups \(em mapping addresses to names \(em are simplified by the
\fB\-x\fR
option.
\fIaddr\fR
@@ -228,7 +234,7 @@ to negate the meaning of that keyword. Other keywords assign values to options l
.PP
\fB+[no]tcp\fR
.RS 4
Use [do not use] TCP when querying name servers. The default behaviour is to use UDP unless an AXFR or IXFR query is requested, in which case a TCP connection is used.
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.
.RE
.PP
\fB+[no]vc\fR
@@ -285,7 +291,7 @@ A synonym for
.PP
\fB+[no]adflag\fR
.RS 4
Set [do not set] the AD (authentic data) bit in the query. The AD bit currently has a standard meaning only in responses, not in queries, but the ability to set the bit in the query is provided for completeness.
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.
.RE
.PP
\fB+[no]cdflag\fR
@@ -330,7 +336,7 @@ makes iterative queries to resolve the name being looked up. It will follow refe
.PP
\fB+[no]cmd\fR
.RS 4
toggles the printing of the initial comment in the output identifying the version of
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
@@ -354,7 +360,7 @@ Toggle the display of comment lines in the output. The default is to print comme
.PP
\fB+[no]stats\fR
.RS 4
This query option toggles the printing of statistics: when the query was made, the size of the reply and so on. The default behaviour is to print the query statistics.
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
@@ -391,7 +397,7 @@ Set or clear all display flags.
.RS 4
Sets the timeout for a query to
\fIT\fR
seconds. The default time out is 5 seconds. An attempt to set
seconds. The default timeout is 5 seconds. An attempt to set
\fIT\fR
to less than 1 will result in a query timeout of 1 second being applied.
.RE
@@ -451,7 +457,7 @@ output.
.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 behaviour.
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
@@ -474,7 +480,7 @@ Chase DNSSEC signature chains. Requires dig be compiled with \-DDIG_SIGCHASE.
Specifies a file containing trusted keys to be used with
\fB+sigchase\fR. Each DNSKEY record must be on its own line.
.sp
If not specified
If not specified,
\fBdig\fR
will look for
\fI/etc/trusted\-key.key\fR
@@ -487,7 +493,12 @@ Requires dig be compiled with \-DDIG_SIGCHASE.
.PP
\fB+[no]topdown\fR
.RS 4
When chasing DNSSEC signature chains perform a top down validation. Requires dig be compiled with \-DDIG_SIGCHASE.
When chasing DNSSEC signature chains perform a top\-down validation. Requires dig be compiled with \-DDIG_SIGCHASE.
.RE
.PP
\fB+[no]nsid\fR
.RS 4
Include an EDNS name server ID request when sending a query.
.RE
.SH "MULTIPLE QUERIES"
.PP
@@ -551,7 +562,7 @@ RFC1035.
.PP
There are probably too many query options.
.SH "COPYRIGHT"
Copyright \(co 2004\-2007 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2009 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br
+93 -51
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.216 2007/04/03 23:06:39 marka Exp $ */
/* $Id: dig.c,v 1.218.12.9 2009/05/06 10:19:49 fdupont Exp $ */
/*! \file */
@@ -50,7 +50,7 @@
#define ADD_STRING(b, s) { \
if (strlen(s) >= isc_buffer_availablelength(b)) \
return (ISC_R_NOSPACE); \
return (ISC_R_NOSPACE); \
else \
isc_buffer_putstr(b, s); \
}
@@ -71,7 +71,7 @@ static isc_boolean_t short_form = ISC_FALSE, printcmd = ISC_TRUE,
multiline = ISC_FALSE, nottl = ISC_FALSE, noclass = ISC_FALSE;
/*% opcode text */
static const char *opcodetext[] = {
static const char * const opcodetext[] = {
"QUERY",
"IQUERY",
"STATUS",
@@ -91,7 +91,7 @@ static const char *opcodetext[] = {
};
/*% return code text */
static const char *rcodetext[] = {
static const char * const rcodetext[] = {
"NOERROR",
"FORMERR",
"SERVFAIL",
@@ -111,6 +111,24 @@ static const char *rcodetext[] = {
"BADVERS"
};
/*% safe rcodetext[] */
static char *
rcode_totext(dns_rcode_t rcode)
{
static char buf[sizeof("?65535")];
union {
const char *consttext;
char *deconsttext;
} totext;
if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
snprintf(buf, sizeof(buf), "?%u", rcode);
totext.deconsttext = buf;
} else
totext.consttext = rcodetext[rcode];
return totext.deconsttext;
}
/*% print usage */
static void
print_usage(FILE *fp) {
@@ -144,8 +162,8 @@ help(void) {
" q-type is one of (a,any,mx,ns,soa,hinfo,axfr,txt,...) [default:a]\n"
" (Use ixfr=version for type ixfr)\n"
" q-opt is one of:\n"
" -x dot-notation (shortcut for in-addr lookups)\n"
" -i (IP6.INT reverse IPv6 lookups)\n"
" -x dot-notation (shortcut for reverse lookups)\n"
" -i (use IP6.INT for IPv6 reverse lookups)\n"
" -f filename (batch mode)\n"
" -b address[#port] (bind to source address/port)\n"
" -p port (specify port number)\n"
@@ -156,6 +174,7 @@ help(void) {
" -y [hmac:]name:key (specify named base64 tsig key)\n"
" -4 (use IPv4 query transport only)\n"
" -6 (use IPv6 query transport only)\n"
" -m (enable memory usage debugging)\n"
" d-opt is of the form +keyword[=value], where keyword is:\n"
" +[no]vc (TCP mode)\n"
" +[no]tcp (TCP mode, alternate syntax)\n"
@@ -194,6 +213,7 @@ help(void) {
" +[no]identify (ID responders in short answers)\n"
" +[no]trace (Trace delegation down from root)\n"
" +[no]dnssec (Request DNSSEC records)\n"
" +[no]nsid (Request Name Server ID)\n"
#ifdef DIG_SIGCHASE
" +[no]sigchase (Chase DNSSEC signatures)\n"
" +trusted-key=#### (Trusted Key when chasing DNSSEC sigs)\n"
@@ -383,7 +403,7 @@ printrdataset(dns_name_t *owner_name, dns_rdataset_t *rdataset,
else if (nottl || noclass)
result = dns_master_stylecreate(&style, styleflags,
24, 24, 32, 40, 80, 8, mctx);
else
else
result = dns_master_stylecreate(&style, styleflags,
24, 32, 40, 48, 80, 8, mctx);
check_result(result, "dns_master_stylecreate");
@@ -392,7 +412,7 @@ printrdataset(dns_name_t *owner_name, dns_rdataset_t *rdataset,
if (style != NULL)
dns_master_styledestroy(&style, mctx);
return(result);
}
#endif
@@ -429,7 +449,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
else if (nottl || noclass)
result = dns_master_stylecreate(&style, styleflags,
24, 24, 32, 40, 80, 8, mctx);
else
else
result = dns_master_stylecreate(&style, styleflags,
24, 32, 40, 48, 80, 8, mctx);
check_result(result, "dns_master_stylecreate");
@@ -467,7 +487,8 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (headers) {
printf(";; ->>HEADER<<- opcode: %s, status: %s, "
"id: %u\n",
opcodetext[msg->opcode], rcodetext[msg->rcode],
opcodetext[msg->opcode],
rcode_totext(msg->rcode),
msg->id);
printf(";; flags:");
if ((msg->flags & DNS_MESSAGEFLAG_QR) != 0)
@@ -638,7 +659,7 @@ printgreeting(int argc, char **argv, dig_lookup_t *lookup) {
strncat(lookup->cmdline, append, remaining);
}
if (first) {
snprintf(append, sizeof(append),
snprintf(append, sizeof(append),
";; global options: %s %s\n",
short_form ? "short_form" : "",
printcmd ? "printcmd" : "");
@@ -716,7 +737,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
FULLCHECK2("aaonly", "aaflag");
lookup->aaonly = state;
break;
case 'd':
case 'd':
switch (cmd[2]) {
case 'd': /* additional */
FULLCHECK("additional");
@@ -799,15 +820,17 @@ plus_option(char *option, isc_boolean_t is_batchfile,
switch (cmd[1]) {
case 'e': /* defname */
FULLCHECK("defname");
usesearch = state;
if (!lookup->trace) {
usesearch = state;
}
break;
case 'n': /* dnssec */
case 'n': /* dnssec */
FULLCHECK("dnssec");
if (state && lookup->edns == -1)
lookup->edns = 0;
lookup->dnssec = state;
break;
case 'o': /* domain */
case 'o': /* domain */
FULLCHECK("domain");
if (value == NULL)
goto need_value;
@@ -841,7 +864,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->identify = state;
break;
case 'g': /* ignore */
default: /* Inherets default for compatibility */
default: /* Inherits default for compatibility */
FULLCHECK("ignore");
lookup->ignore = ISC_TRUE;
}
@@ -860,28 +883,40 @@ plus_option(char *option, isc_boolean_t is_batchfile,
goto invalid_option;
ndots = parse_uint(value, "ndots", MAXNDOTS);
break;
case 's': /* nssearch */
FULLCHECK("nssearch");
lookup->ns_search_only = state;
if (state) {
lookup->trace_root = ISC_TRUE;
lookup->recurse = ISC_TRUE;
lookup->identify = ISC_TRUE;
lookup->stats = ISC_FALSE;
lookup->comments = ISC_FALSE;
lookup->section_additional = ISC_FALSE;
lookup->section_authority = ISC_FALSE;
lookup->section_question = ISC_FALSE;
lookup->rdtype = dns_rdatatype_ns;
lookup->rdtypeset = ISC_TRUE;
short_form = ISC_TRUE;
case 's':
switch (cmd[2]) {
case 'i': /* nsid */
FULLCHECK("nsid");
if (state && lookup->edns == -1)
lookup->edns = 0;
lookup->nsid = state;
break;
case 's': /* nssearch */
FULLCHECK("nssearch");
lookup->ns_search_only = state;
if (state) {
lookup->trace_root = ISC_TRUE;
lookup->recurse = ISC_TRUE;
lookup->identify = ISC_TRUE;
lookup->stats = ISC_FALSE;
lookup->comments = ISC_FALSE;
lookup->section_additional = ISC_FALSE;
lookup->section_authority = ISC_FALSE;
lookup->section_question = ISC_FALSE;
lookup->rdtype = dns_rdatatype_ns;
lookup->rdtypeset = ISC_TRUE;
short_form = ISC_TRUE;
}
break;
default:
goto invalid_option;
}
break;
default:
goto invalid_option;
}
break;
case 'q':
case 'q':
switch (cmd[1]) {
case 'r': /* qr */
FULLCHECK("qr");
@@ -927,7 +962,9 @@ plus_option(char *option, isc_boolean_t is_batchfile,
switch (cmd[1]) {
case 'e': /* search */
FULLCHECK("search");
usesearch = state;
if (!lookup->trace) {
usesearch = state;
}
break;
case 'h':
if (cmd[2] != 'o')
@@ -948,8 +985,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
break;
case 'w': /* showsearch */
FULLCHECK("showsearch");
showsearch = state;
usesearch = state;
if (!lookup->trace) {
showsearch = state;
usesearch = state;
}
break;
default:
goto invalid_option;
@@ -957,11 +996,11 @@ plus_option(char *option, isc_boolean_t is_batchfile,
break;
#ifdef DIG_SIGCHASE
case 'i': /* sigchase */
FULLCHECK("sigchase");
FULLCHECK("sigchase");
lookup->sigchase = state;
if (lookup->sigchase)
lookup->dnssec = ISC_TRUE;
break;
break;
#endif
case 't': /* stats */
FULLCHECK("stats");
@@ -989,7 +1028,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
timeout = 1;
break;
#if DIG_SIGCHASE_TD
case 'o': /* topdown */
case 'o': /* topdown */
FULLCHECK("topdown");
lookup->do_topdown = state;
break;
@@ -1008,6 +1047,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
lookup->section_additional = ISC_FALSE;
lookup->section_authority = ISC_TRUE;
lookup->section_question = ISC_FALSE;
usesearch = ISC_FALSE;
}
break;
case 'i': /* tries */
@@ -1024,7 +1064,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
#ifdef DIG_SIGCHASE
case 'u': /* trusted-key */
FULLCHECK("trusted-key");
if (value == NULL)
if (value == NULL)
goto need_value;
if (!state)
goto invalid_option;
@@ -1158,7 +1198,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
hash = strchr(value, '#');
if (hash != NULL) {
srcport = (in_port_t)
parse_uint(hash + 1,
parse_uint(hash + 1,
"port number", MAXPORT);
*hash = '\0';
} else
@@ -1211,7 +1251,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
(*lookup) = clone_lookup(default_lookup,
ISC_TRUE);
*need_clone = ISC_TRUE;
strncpy((*lookup)->textname, value,
strncpy((*lookup)->textname, value,
sizeof((*lookup)->textname));
(*lookup)->textname[sizeof((*lookup)->textname)-1]=0;
(*lookup)->trace_root = ISC_TF((*lookup)->trace ||
@@ -1250,9 +1290,10 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
(*lookup)->rdtypeset = ISC_TRUE;
(*lookup)->ixfr_serial =
parse_uint(&value[5], "serial number",
MAXSERIAL);
MAXSERIAL);
(*lookup)->section_question = plusquest;
(*lookup)->comments = pluscomm;
(*lookup)->tcp_mode = ISC_TRUE;
} else {
(*lookup)->rdtype = rdtype;
(*lookup)->rdtypeset = ISC_TRUE;
@@ -1276,7 +1317,7 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
if (ptr2 == NULL)
usage();
ptr3 = next_token(&value,":"); /* secret or NULL */
if (ptr3 != NULL) {
if (ptr3 != NULL) {
if (strcasecmp(ptr, "hmac-md5") == 0) {
hmacname = DNS_TSIG_HMACMD5_NAME;
digestbits = 0;
@@ -1425,7 +1466,7 @@ getaddresses(dig_lookup_t *lookup, const char *host) {
char tmp[ISC_NETADDR_FORMATSIZE];
result = bind9_getaddresses(host, 0, sockaddrs,
DIG_MAX_ADDRESSES, &count);
DIG_MAX_ADDRESSES, &count);
if (result != ISC_R_SUCCESS)
fatal("couldn't get address for '%s': %s",
host, isc_result_totext(result));
@@ -1487,7 +1528,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
if (homedir != NULL) {
unsigned int n;
n = snprintf(rcfile, sizeof(rcfile), "%s/.digrc",
homedir);
homedir);
if (n < sizeof(rcfile))
batchfp = fopen(rcfile, "r");
}
@@ -1567,7 +1608,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
tr.base = rv[0];
tr.length = strlen(rv[0]);
result = dns_rdatatype_fromtext(&rdtype,
(isc_textregion_t *)&tr);
(isc_textregion_t *)&tr);
if (result == ISC_R_SUCCESS &&
rdtype == dns_rdatatype_ixfr) {
result = DNS_R_UNKNOWN;
@@ -1588,11 +1629,12 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
lookup->rdtypeset = ISC_TRUE;
lookup->ixfr_serial =
parse_uint(&rv[0][5],
"serial number",
MAXSERIAL);
"serial number",
MAXSERIAL);
lookup->section_question =
plusquest;
lookup->comments = pluscomm;
lookup->tcp_mode = ISC_TRUE;
} else {
lookup->rdtype = rdtype;
lookup->rdtypeset = ISC_TRUE;
@@ -1624,7 +1666,7 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
lookup = clone_lookup(default_lookup,
ISC_TRUE);
need_clone = ISC_TRUE;
strncpy(lookup->textname, rv[0],
strncpy(lookup->textname, rv[0],
sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1]=0;
lookup->trace_root = ISC_TF(lookup->trace ||
+51 -32
View File
@@ -2,10 +2,10 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.docbook,v 1.34 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: dig.docbook,v 1.38.130.7 2009/02/02 04:44:14 marka Exp $ -->
<refentry id="man.dig">
<refentryinfo>
@@ -42,6 +42,8 @@
<year>2005</year>
<year>2006</year>
<year>2007</year>
<year>2008</year>
<year>2009</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -61,6 +63,7 @@
<arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
<arg><option>-f <replaceable class="parameter">filename</replaceable></option></arg>
<arg><option>-k <replaceable class="parameter">filename</replaceable></option></arg>
<arg><option>-m</option></arg>
<arg><option>-p <replaceable class="parameter">port#</replaceable></option></arg>
<arg><option>-q <replaceable class="parameter">name</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">type</replaceable></option></arg>
@@ -104,7 +107,7 @@
arguments, it also has a batch mode of operation for reading lookup
requests from a file. A brief summary of its command-line arguments
and options is printed when the <option>-h</option> option is given.
Unlike earlier versions, the BIND9 implementation of
Unlike earlier versions, the BIND 9 implementation of
<command>dig</command> allows multiple lookups to be issued
from the
command line.
@@ -118,8 +121,8 @@
</para>
<para>
When no command line arguments or options are given, will perform an
NS query for "." (the root).
When no command line arguments or options are given,
<command>dig</command> will perform an NS query for "." (the root).
</para>
<para>
@@ -132,8 +135,8 @@
<para>
The IN and CH class names overlap with the IN and CH top level
domains names. Either use the <option>-t</option> and
<option>-c</option> options to specify the type and class or
use the <option>-q</option> the specify the domain name or
<option>-c</option> options to specify the type and class,
use the <option>-q</option> the specify the domain name, or
use "IN." and "CH." when looking up these top level domains.
</para>
@@ -216,7 +219,7 @@
The default query class (IN for internet) is overridden by the
<option>-c</option> option. <parameter>class</parameter> is
any valid
class, such as HS for Hesiod records or CH for CHAOSNET records.
class, such as HS for Hesiod records or CH for Chaosnet records.
</para>
<para>
@@ -225,11 +228,17 @@
in batch mode by reading a list of lookup requests to process from the
file <parameter>filename</parameter>. The file contains a
number of
queries, one per line. Each entry in the file should be organised in
queries, one per line. Each entry in the file should be organized in
the same way they would be presented as queries to
<command>dig</command> using the command-line interface.
</para>
<para>
The <option>-m</option> option enables memory usage debugging.
<!-- It enables ISC_MEM_DEBUGTRACE and ISC_MEM_DEBUGRECORD
documented in include/isc/mem.h -->
</para>
<para>
If a non-standard port number is to be queried, the
<option>-p</option> option is used. <parameter>port#</parameter> is
@@ -251,7 +260,7 @@
The <option>-t</option> option sets the query type to
<parameter>type</parameter>. It can be any valid query type
which is
supported in BIND9. The default query type "A", unless the
supported in BIND 9. The default query type is "A", unless the
<option>-x</option> option is supplied to indicate a reverse lookup.
A zone transfer can be requested by specifying a type of AXFR. When
an incremental zone transfer (IXFR) is required,
@@ -263,12 +272,12 @@
<para>
The <option>-q</option> option sets the query name to
<parameter>name</parameter>. This useful do distingish the
<parameter>name</parameter>. This useful do distinguish the
<parameter>name</parameter> from other arguments.
</para>
<para>
Reverse lookups - mapping addresses to names - are simplified by the
Reverse lookups &mdash; mapping addresses to names &mdash; are simplified by the
<option>-x</option> option. <parameter>addr</parameter> is
an IPv4
address in dotted-decimal notation, or a colon-delimited IPv6 address.
@@ -343,7 +352,7 @@
<listitem>
<para>
Use [do not use] TCP when querying name servers. The default
behaviour is to use UDP unless an AXFR or IXFR query is
behavior is to use UDP unless an AXFR or IXFR query is
requested, in
which case a TCP connection is used.
</para>
@@ -441,17 +450,19 @@
<varlistentry>
<term><option>+[no]adflag</option></term>
<listitem>
<para>
Set [do not set] the AD (authentic data) bit in the query. The
AD bit
currently has a standard meaning only in responses, not in
queries,
but the ability to set the bit in the query is provided for
completeness.
</para>
</listitem>
</varlistentry>
<listitem>
<para>
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.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>+[no]cdflag</option></term>
@@ -536,7 +547,7 @@
<term><option>+[no]cmd</option></term>
<listitem>
<para>
toggles the printing of the initial comment in the output
Toggles the printing of the initial comment in the output
identifying
the version of <command>dig</command> and the query
options that have
@@ -588,7 +599,7 @@
This query option toggles the printing of statistics: when the
query
was made, the size of the reply and so on. The default
behaviour is
behavior is
to print the query statistics.
</para>
</listitem>
@@ -662,8 +673,8 @@
<para>
Sets the timeout for a query to
<parameter>T</parameter> seconds. The default time
out is 5 seconds.
<parameter>T</parameter> seconds. The default
timeout is 5 seconds.
An attempt to set <parameter>T</parameter> to less
than 1 will result
in a query timeout of 1 second being applied.
@@ -763,7 +774,7 @@
default is
to not try the next server which is the reverse of normal stub
resolver
behaviour.
behavior.
</para>
</listitem>
</varlistentry>
@@ -808,7 +819,7 @@
on its own line.
</para>
<para>
If not specified <command>dig</command> will look for
If not specified, <command>dig</command> will look for
<filename>/etc/trusted-key.key</filename> then
<filename>trusted-key.key</filename> in the current directory.
</para>
@@ -822,13 +833,21 @@
<term><option>+[no]topdown</option></term>
<listitem>
<para>
When chasing DNSSEC signature chains perform a top down
When chasing DNSSEC signature chains perform a top-down
validation.
Requires dig be compiled with -DDIG_SIGCHASE.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>+[no]nsid</option></term>
<listitem>
<para>
Include an EDNS name server ID request when sending a query.
</para>
</listitem>
</varlistentry>
</variablelist>
+48 -38
View File
@@ -1,8 +1,8 @@
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -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.38 2007/01/30 00:24:59 marka Exp $ -->
<!-- $Id: dig.html,v 1.41.150.7 2009/07/11 01:43:27 tbox Exp $ -->
<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">-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">-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="id2543508"></a><h2>DESCRIPTION</h2>
<a name="id2543518"></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
@@ -50,7 +50,7 @@
arguments, it also has a batch mode of operation for reading lookup
requests from a file. A brief summary of its command-line arguments
and options is printed when the <code class="option">-h</code> option is given.
Unlike earlier versions, the BIND9 implementation of
Unlike earlier versions, the BIND 9 implementation of
<span><strong class="command">dig</strong></span> allows multiple lookups to be issued
from the
command line.
@@ -62,8 +62,8 @@
<code class="filename">/etc/resolv.conf</code>.
</p>
<p>
When no command line arguments or options are given, will perform an
NS query for "." (the root).
When no command line arguments or options are given,
<span><strong class="command">dig</strong></span> will perform an NS query for "." (the root).
</p>
<p>
It is possible to set per-user defaults for <span><strong class="command">dig</strong></span> via
@@ -74,13 +74,13 @@
<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
<code class="option">-c</code> options to specify the type and class or
use the <code class="option">-q</code> the specify the domain name or
<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="id2543577"></a><h2>SIMPLE USAGE</h2>
<a name="id2543592"></a><h2>SIMPLE USAGE</h2>
<p>
A typical invocation of <span><strong class="command">dig</strong></span> looks like:
</p>
@@ -126,7 +126,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543668"></a><h2>OPTIONS</h2>
<a name="id2543683"></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
@@ -139,7 +139,7 @@
The default query class (IN for internet) is overridden by the
<code class="option">-c</code> option. <em class="parameter"><code>class</code></em> is
any valid
class, such as HS for Hesiod records or CH for CHAOSNET records.
class, such as HS for Hesiod records or CH for Chaosnet records.
</p>
<p>
The <code class="option">-f</code> option makes <span><strong class="command">dig </strong></span>
@@ -147,10 +147,14 @@
in batch mode by reading a list of lookup requests to process from the
file <em class="parameter"><code>filename</code></em>. The file contains a
number of
queries, one per line. Each entry in the file should be organised in
queries, one per line. Each entry in the file should be organized in
the same way they would be presented as queries to
<span><strong class="command">dig</strong></span> using the command-line interface.
</p>
<p>
The <code class="option">-m</code> option enables memory usage debugging.
</p>
<p>
If a non-standard port number is to be queried, the
<code class="option">-p</code> option is used. <em class="parameter"><code>port#</code></em> is
@@ -170,7 +174,7 @@
The <code class="option">-t</code> option sets the query type to
<em class="parameter"><code>type</code></em>. It can be any valid query type
which is
supported in BIND9. The default query type "A", unless the
supported in BIND 9. The default query type is "A", unless the
<code class="option">-x</code> option is supplied to indicate a reverse lookup.
A zone transfer can be requested by specifying a type of AXFR. When
an incremental zone transfer (IXFR) is required,
@@ -181,11 +185,11 @@
</p>
<p>
The <code class="option">-q</code> option sets the query name to
<em class="parameter"><code>name</code></em>. This useful do distingish the
<em class="parameter"><code>name</code></em>. This useful do distinguish the
<em class="parameter"><code>name</code></em> from other arguments.
</p>
<p>
Reverse lookups - mapping addresses to names - are simplified by the
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
an IPv4
address in dotted-decimal notation, or a colon-delimited IPv6 address.
@@ -226,7 +230,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543939"></a><h2>QUERY OPTIONS</h2>
<a name="id2544032"></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
@@ -249,7 +253,7 @@
<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
behaviour is to use UDP unless an AXFR or IXFR query is
behavior is to use UDP unless an AXFR or IXFR query is
requested, in
which case a TCP connection is used.
</p></dd>
@@ -304,13 +308,15 @@
</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 query. The
AD bit
currently has a standard meaning only in responses, not in
queries,
but the ability to set the bit in the query is provided for
completeness.
</p></dd>
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.
</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.
@@ -362,7 +368,7 @@
</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
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
@@ -394,7 +400,7 @@
This query option toggles the printing of statistics: when the
query
was made, the size of the reply and so on. The default
behaviour is
behavior is
to print the query statistics.
</p></dd>
<dt><span class="term"><code class="option">+[no]qr</code></span></dt>
@@ -433,8 +439,8 @@
<dd><p>
Sets the timeout for a query to
<em class="parameter"><code>T</code></em> seconds. The default time
out is 5 seconds.
<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.
@@ -499,7 +505,7 @@
default is
to not try the next server which is the reverse of normal stub
resolver
behaviour.
behavior.
</p></dd>
<dt><span class="term"><code class="option">+[no]besteffort</code></span></dt>
<dd><p>
@@ -525,7 +531,7 @@
on its own line.
</p>
<p>
If not specified <span><strong class="command">dig</strong></span> will look for
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>
@@ -535,17 +541,21 @@
</dd>
<dt><span class="term"><code class="option">+[no]topdown</code></span></dt>
<dd><p>
When chasing DNSSEC signature chains perform a top down
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>
<dd><p>
Include an EDNS name server ID request when sending a query.
</p></dd>
</dl></div>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2545128"></a><h2>MULTIPLE QUERIES</h2>
<a name="id2545166"></a><h2>MULTIPLE QUERIES</h2>
<p>
The BIND 9 implementation of <span><strong class="command">dig </strong></span>
supports
@@ -591,7 +601,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="id2545258"></a><h2>IDN SUPPORT</h2>
<a name="id2545228"></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.
@@ -605,14 +615,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="id2545281"></a><h2>FILES</h2>
<a name="id2545251"></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="id2545298"></a><h2>SEE ALSO</h2>
<a name="id2545336"></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>,
@@ -620,7 +630,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="id2545335"></a><h2>BUGS</h2>
<a name="id2545373"></a><h2>BUGS</h2>
<p>
There are probably too many query options.
</p>
+298 -175
View File
File diff suppressed because it is too large Load Diff
+9 -9
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: host.1,v 1.27 2007/01/30 00:24:59 marka Exp $
.\" $Id: host.1,v 1.28.164.4 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
@@ -130,9 +130,9 @@ makes. This should mean that the name server receiving the query will not attemp
\fB\-r\fR
option enables
\fBhost\fR
to mimic the behaviour of a name server by making non\-recursive queries and expecting to receive answers to those queries that are usually referrals to other name servers.
to mimic the behavior of a name server by making non\-recursive queries and expecting to receive answers to those queries that are usually referrals to other name servers.
.PP
By default
By default,
\fBhost\fR
uses UDP when making queries. The
\fB\-T\fR
@@ -152,9 +152,9 @@ The
\fB\-t\fR
option is used to select the query type.
\fItype\fR
can be any recognised query type: CNAME, NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
can be any recognized query type: CNAME, NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
\fBhost\fR
automatically selects an appropriate query type. By default it looks for A records, but if the
automatically selects an appropriate query type. By default, it looks for A, AAAA, and MX records, but if the
\fB\-C\fR
option was given, queries will be made for SOA records, and if
\fIname\fR
@@ -185,7 +185,7 @@ The
option tells
\fBhost\fR
\fInot\fR
to send the query to the next nameserver if any server responds with a SERVFAIL response, which is the reverse of normal stub resolver behaviour.
to send the query to the next nameserver if any server responds with a SERVFAIL response, which is the reverse of normal stub resolver behavior.
.PP
The
\fB\-m\fR
@@ -213,7 +213,7 @@ runs.
\fBdig\fR(1),
\fBnamed\fR(8).
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007\-2009 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2002 Internet Software Consortium.
.br
+31 -13
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: host.c,v 1.113 2007/04/24 07:20:45 marka Exp $ */
/* $Id: host.c,v 1.116.12.3 2009/09/08 23:28:40 marka Exp $ */
/*! \file */
@@ -124,6 +124,23 @@ struct rtype rtypes[] = {
{ 0, NULL }
};
static char *
rcode_totext(dns_rcode_t rcode)
{
static char buf[sizeof("?65535")];
union {
const char *consttext;
char *deconsttext;
} totext;
if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
snprintf(buf, sizeof(buf), "?%u", rcode);
totext.deconsttext = buf;
} else
totext.consttext = rcodetext[rcode];
return totext.deconsttext;
}
static void
show_usage(void) {
fputs(
@@ -270,10 +287,10 @@ printsection(dns_message_t *msg, dns_section_t sectionid,
if (query->lookup->rdtype == dns_rdatatype_axfr &&
!((!list_addresses &&
(list_type == dns_rdatatype_any ||
rdataset->type == list_type)) ||
rdataset->type == list_type)) ||
(list_addresses &&
(rdataset->type == dns_rdatatype_a ||
rdataset->type == dns_rdatatype_aaaa ||
rdataset->type == dns_rdatatype_aaaa ||
rdataset->type == dns_rdatatype_ns ||
rdataset->type == dns_rdatatype_ptr))))
continue;
@@ -377,7 +394,7 @@ chase_cnamechain(dns_message_t *msg, dns_name_t *qname) {
dns_rdata_t rdata = DNS_RDATA_INIT;
unsigned int i = msg->counts[DNS_SECTION_ANSWER];
while (i-- > 0) {
while (i-- > 0) {
rdataset = NULL;
result = dns_message_findname(msg, DNS_SECTION_ANSWER, qname,
dns_rdatatype_cname, 0, NULL,
@@ -429,7 +446,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
printf("Host %s not found: %d(%s)\n",
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcodetext[msg->rcode]);
rcode_totext(msg->rcode));
return (ISC_R_SUCCESS);
}
@@ -451,7 +468,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1] = 0;
lookup->rdtype = dns_rdatatype_aaaa;
lookup->rdtypeset = ISC_TRUE;
lookup->rdtypeset = ISC_TRUE;
lookup->origin = NULL;
lookup->retries = tries;
ISC_LIST_APPEND(lookup_list, lookup, link);
@@ -462,7 +479,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1] = 0;
lookup->rdtype = dns_rdatatype_mx;
lookup->rdtypeset = ISC_TRUE;
lookup->rdtypeset = ISC_TRUE;
lookup->origin = NULL;
lookup->retries = tries;
ISC_LIST_APPEND(lookup_list, lookup, link);
@@ -471,7 +488,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (!short_form) {
printf(";; ->>HEADER<<- opcode: %s, status: %s, id: %u\n",
opcodetext[msg->opcode], rcodetext[msg->rcode],
opcodetext[msg->opcode], rcode_totext(msg->rcode),
msg->id);
printf(";; flags: ");
if ((msg->flags & DNS_MESSAGEFLAG_QR) != 0) {
@@ -583,6 +600,7 @@ pre_parse_args(int argc, char **argv) {
while ((c = isc_commandline_parse(argc, argv, optstring)) != -1) {
switch (c) {
case 'm':
memdebugging = ISC_TRUE;
if (strcasecmp("trace", isc_commandline_argument) == 0)
isc_mem_debugging |= ISC_MEM_DEBUGTRACE;
else if (!strcasecmp("record",
@@ -688,6 +706,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
lookup->tcp_mode = ISC_TRUE;
} else if (rdtype == dns_rdatatype_ixfr) {
lookup->ixfr_serial = serial;
lookup->tcp_mode = ISC_TRUE;
list_type = rdtype;
#ifdef WITH_IDN
} else if (rdtype == dns_rdatatype_a ||
@@ -820,11 +839,10 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) {
} else {
strncpy(lookup->textname, hostname, sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1]=0;
usesearch = ISC_TRUE;
}
lookup->new_search = ISC_TRUE;
ISC_LIST_APPEND(lookup_list, lookup, link);
usesearch = ISC_TRUE;
}
int
@@ -836,7 +854,7 @@ main(int argc, char **argv) {
ISC_LIST_INIT(lookup_list);
ISC_LIST_INIT(server_list);
ISC_LIST_INIT(search_list);
fatalexit = 1;
#ifdef WITH_IDN
idnoptions = IDN_ASCCHECK;
+10 -8
View File
@@ -2,10 +2,10 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.docbook,v 1.14 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: host.docbook,v 1.16.130.4 2009/01/22 23:46:35 tbox Exp $ -->
<refentry id="man.host">
<refentryinfo>
@@ -41,6 +41,8 @@
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2008</year>
<year>2009</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -173,13 +175,13 @@
attempt to resolve <parameter>name</parameter>. The
<option>-r</option> option enables <command>host</command>
to mimic
the behaviour of a name server by making non-recursive queries and
the behavior of a name server by making non-recursive queries and
expecting to receive answers to those queries that are usually
referrals to other name servers.
</para>
<para>
By default <command>host</command> uses UDP when making
By default, <command>host</command> uses UDP when making
queries. The
<option>-T</option> option makes it use a TCP connection when querying
the name server. TCP will be automatically selected for queries that
@@ -194,12 +196,12 @@
<para>
The <option>-t</option> option is used to select the query type.
<parameter>type</parameter> can be any recognised query
<parameter>type</parameter> can be any recognized query
type: CNAME,
NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
<command>host</command> automatically selects an appropriate
query
type. By default it looks for A records, but if the
type. By default, it looks for A, AAAA, and MX records, but if the
<option>-C</option> option was given, queries will be made for SOA
records, and if <parameter>name</parameter> is a
dotted-decimal IPv4
@@ -227,7 +229,7 @@
The <option>-s</option> option tells <command>host</command>
<emphasis>not</emphasis> to send the query to the next nameserver
if any server responds with a SERVFAIL response, which is the
reverse of normal stub resolver behaviour.
reverse of normal stub resolver behavior.
</para>
<para>
+12 -12
View File
@@ -1,8 +1,8 @@
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -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.26 2007/01/30 00:24:59 marka Exp $ -->
<!-- $Id: host.html,v 1.27.164.4 2009/07/11 01:43:27 tbox Exp $ -->
<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">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>
<div class="refsect1" lang="en">
<a name="id2543428"></a><h2>DESCRIPTION</h2>
<a name="id2543434"></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.
@@ -125,12 +125,12 @@
attempt to resolve <em class="parameter"><code>name</code></em>. The
<code class="option">-r</code> option enables <span><strong class="command">host</strong></span>
to mimic
the behaviour of a name server by making non-recursive queries and
the behavior of a name server by making non-recursive queries and
expecting to receive answers to those queries that are usually
referrals to other name servers.
</p>
<p>
By default <span><strong class="command">host</strong></span> uses UDP when making
By default, <span><strong class="command">host</strong></span> uses UDP when making
queries. The
<code class="option">-T</code> option makes it use a TCP connection when querying
the name server. TCP will be automatically selected for queries that
@@ -143,12 +143,12 @@
</p>
<p>
The <code class="option">-t</code> option is used to select the query type.
<em class="parameter"><code>type</code></em> can be any recognised query
<em class="parameter"><code>type</code></em> can be any recognized query
type: CNAME,
NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,
<span><strong class="command">host</strong></span> automatically selects an appropriate
query
type. By default it looks for A records, but if the
type. By default, it looks for A, AAAA, and MX records, but if the
<code class="option">-C</code> option was given, queries will be made for SOA
records, and if <em class="parameter"><code>name</code></em> is a
dotted-decimal IPv4
@@ -174,7 +174,7 @@
The <code class="option">-s</code> option tells <span><strong class="command">host</strong></span>
<span class="emphasis"><em>not</em></span> to send the query to the next nameserver
if any server responds with a SERVFAIL response, which is the
reverse of normal stub resolver behaviour.
reverse of normal stub resolver behavior.
</p>
<p>
The <code class="option">-m</code> can be used to set the memory usage debugging
@@ -184,7 +184,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543725"></a><h2>IDN SUPPORT</h2>
<a name="id2543800"></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 +198,12 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543748"></a><h2>FILES</h2>
<a name="id2543822"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543828"></a><h2>SEE ALSO</h2>
<a name="id2543834"></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>
+18 -17
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.104 2007/04/03 23:06:39 marka Exp $ */
/* $Id: dig.h,v 1.105.130.3 2008/12/16 02:59:46 jinmei Exp $ */
#ifndef DIG_H
#define DIG_H
@@ -102,7 +102,7 @@ typedef struct dig_searchlist dig_searchlist_t;
/*% The dig_lookup structure */
struct dig_lookup {
isc_boolean_t
pending, /*%< Pending a successful answer */
pending, /*%< Pending a successful answer */
waiting_connect,
doing_xfr,
ns_search_only, /*%< dig +nssearch, host -C */
@@ -129,27 +129,28 @@ struct dig_lookup {
need_search,
done_as_is,
besteffort,
dnssec;
dnssec,
nsid; /*% Name Server ID (RFC 5001) */
#ifdef DIG_SIGCHASE
isc_boolean_t sigchase;
#if DIG_SIGCHASE_TD
isc_boolean_t do_topdown,
trace_root_sigchase,
rdtype_sigchaseset,
rdclass_sigchaseset;
isc_boolean_t do_topdown,
trace_root_sigchase,
rdtype_sigchaseset,
rdclass_sigchaseset;
/* Name we are going to validate RRset */
char textnamesigchase[MXNAME];
char textnamesigchase[MXNAME];
#endif
#endif
char textname[MXNAME]; /*% Name we're going to be looking up */
char cmdline[MXNAME];
dns_rdatatype_t rdtype;
dns_rdatatype_t qrdtype;
#if DIG_SIGCHASE_TD
dns_rdatatype_t rdtype_sigchase;
dns_rdatatype_t qrdtype_sigchase;
dns_rdataclass_t rdclass_sigchase;
dns_rdatatype_t rdtype_sigchase;
dns_rdatatype_t qrdtype_sigchase;
dns_rdataclass_t rdclass_sigchase;
#endif
dns_rdataclass_t rdclass;
isc_boolean_t rdtypeset;
@@ -231,7 +232,7 @@ struct dig_searchlist {
};
#ifdef DIG_SIGCHASE
struct dig_message {
dns_message_t *msg;
dns_message_t *msg;
ISC_LINK(dig_message_t) link;
};
#endif
@@ -249,7 +250,7 @@ extern dig_searchlistlist_t search_list;
extern unsigned int extrabytes;
extern isc_boolean_t check_ra, have_ipv4, have_ipv6, specified_source,
usesearch, showsearch, qr;
usesearch, showsearch, qr;
extern in_port_t port;
extern unsigned int timeout;
extern isc_mem_t *mctx;
@@ -284,7 +285,7 @@ extern int idnoptions;
/*
* Routines in dighost.c.
*/
void
isc_result_t
get_address(char *host, in_port_t port, isc_sockaddr_t *sockaddr);
isc_result_t
+4 -4
View File
@@ -1,6 +1,6 @@
.\" Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: nslookup.1,v 1.12 2007/01/30 00:24:59 marka Exp $
.\" $Id: nslookup.1,v 1.14.150.1 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
@@ -158,7 +158,7 @@ The class specifies the protocol group of the information.
.PP
\fB \fR\fB\fI[no]\fR\fR\fBdebug\fR
.RS 4
Turn debugging mode on. A lot more information is printed about the packet sent to the server and the resulting answer.
Turn on or off the display of the full response packet and any intermediate response packets when searching.
.sp
(Default = nodebug; abbreviation =
[no]deb)
@@ -166,7 +166,7 @@ Turn debugging mode on. A lot more information is printed about the packet sent
.PP
\fB \fR\fB\fI[no]\fR\fR\fBd2\fR
.RS 4
Turn debugging mode on. A lot more information is printed about the packet sent to the server and the resulting answer.
Turn debugging mode on or off. This displays more about what nslookup is doing.
.sp
(Default = nod2)
.RE
+35 -14
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nslookup.c,v 1.116 2007/04/24 23:46:56 tbox Exp $ */
/* $Id: nslookup.c,v 1.117.130.5 2009/05/06 23:46:49 tbox Exp $ */
#include <config.h>
@@ -26,6 +26,7 @@
#include <isc/commandline.h>
#include <isc/event.h>
#include <isc/parseint.h>
#include <isc/print.h>
#include <isc/string.h>
#include <isc/timer.h>
#include <isc/util.h>
@@ -129,6 +130,23 @@ static const char *rtypetext[] = {
static void flush_lookup_list(void);
static void getinput(isc_task_t *task, isc_event_t *event);
static char *
rcode_totext(dns_rcode_t rcode)
{
static char buf[sizeof("?65535")];
union {
const char *consttext;
char *deconsttext;
} totext;
if (rcode >= (sizeof(rcodetext)/sizeof(rcodetext[0]))) {
snprintf(buf, sizeof(buf), "?%u", rcode);
totext.deconsttext = buf;
} else
totext.consttext = rcodetext[rcode];
return totext.deconsttext;
}
void
dighost_shutdown(void) {
isc_event_t *event = global_event;
@@ -385,14 +403,14 @@ trying(char *frm, dig_lookup_t *lookup) {
isc_result_t
printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
char servtext[ISC_SOCKADDR_FORMATSIZE];
char servtext[ISC_SOCKADDR_FORMATSIZE];
debug("printmessage()");
isc_sockaddr_format(&query->sockaddr, servtext, sizeof(servtext));
printf("Server:\t\t%s\n", query->userarg);
printf("Address:\t%s\n", servtext);
puts("");
if (!short_form) {
@@ -412,7 +430,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
nametext, sizeof(nametext));
printf("** server can't find %s: %s\n",
(msg->rcode != dns_rcode_nxdomain) ? nametext :
query->lookup->textname, rcodetext[msg->rcode]);
query->lookup->textname, rcode_totext(msg->rcode));
debug("returning with rcode == 0");
return (ISC_R_SUCCESS);
}
@@ -441,13 +459,16 @@ show_settings(isc_boolean_t full, isc_boolean_t serv_only) {
dig_server_t *srv;
isc_sockaddr_t sockaddr;
dig_searchlist_t *listent;
isc_result_t result;
srv = ISC_LIST_HEAD(server_list);
while (srv != NULL) {
char sockstr[ISC_SOCKADDR_FORMATSIZE];
get_address(srv->servername, port, &sockaddr);
result = get_address(srv->servername, port, &sockaddr);
check_result(result, "get_address");
isc_sockaddr_format(&sockaddr, sockstr, sizeof(sockstr));
printf("Default server: %s\nAddress: %s\n",
srv->userarg, sockstr);
@@ -505,7 +526,7 @@ testclass(char *typetext) {
tr.base = typetext;
tr.length = strlen(typetext);
result = dns_rdataclass_fromtext(&rdclass, &tr);
if (result == ISC_R_SUCCESS)
if (result == ISC_R_SUCCESS)
return (ISC_TRUE);
else {
printf("unknown query class: %s\n", typetext);
@@ -603,7 +624,7 @@ setoption(char *opt) {
set_timeout(&opt[8]);
} else if (strncasecmp(opt, "t=", 2) == 0) {
set_timeout(&opt[2]);
} else if (strncasecmp(opt, "rec", 3) == 0) {
} else if (strncasecmp(opt, "rec", 3) == 0) {
recurse = ISC_TRUE;
} else if (strncasecmp(opt, "norec", 5) == 0) {
recurse = ISC_FALSE;
@@ -611,21 +632,21 @@ setoption(char *opt) {
set_tries(&opt[6]);
} else if (strncasecmp(opt, "ret=", 4) == 0) {
set_tries(&opt[4]);
} else if (strncasecmp(opt, "def", 3) == 0) {
} else if (strncasecmp(opt, "def", 3) == 0) {
usesearch = ISC_TRUE;
} else if (strncasecmp(opt, "nodef", 5) == 0) {
usesearch = ISC_FALSE;
} else if (strncasecmp(opt, "vc", 3) == 0) {
} else if (strncasecmp(opt, "vc", 3) == 0) {
tcpmode = ISC_TRUE;
} else if (strncasecmp(opt, "novc", 5) == 0) {
tcpmode = ISC_FALSE;
} else if (strncasecmp(opt, "deb", 3) == 0) {
} else if (strncasecmp(opt, "deb", 3) == 0) {
short_form = ISC_FALSE;
showsearch = ISC_TRUE;
} else if (strncasecmp(opt, "nodeb", 5) == 0) {
short_form = ISC_TRUE;
showsearch = ISC_FALSE;
} else if (strncasecmp(opt, "d2", 2) == 0) {
} else if (strncasecmp(opt, "d2", 2) == 0) {
debugging = ISC_TRUE;
} else if (strncasecmp(opt, "nod2", 4) == 0) {
debugging = ISC_FALSE;
@@ -640,7 +661,7 @@ setoption(char *opt) {
} else if (strncasecmp(opt, "nofail", 3) == 0) {
nofail=ISC_TRUE;
} else {
printf("*** Invalid option: %s\n", opt);
printf("*** Invalid option: %s\n", opt);
}
}
+6 -8
View File
@@ -4,7 +4,7 @@
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.docbook,v 1.13 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: nslookup.docbook,v 1.16 2007/06/18 23:47:17 tbox Exp $ -->
<!--
- Copyright (c) 1985, 1989
- The Regents of the University of California. All rights reserved.
@@ -314,9 +314,8 @@ nslookup -query=hinfo -timeout=10
<replaceable><optional>no</optional></replaceable>debug</constant></term>
<listitem>
<para>
Turn debugging mode on. A lot more information is
printed about the packet sent to the server and the
resulting answer.
Turn on or off the display of the full response packet and
any intermediate response packets when searching.
</para>
<para>
(Default = nodebug; abbreviation = <optional>no</optional>deb)
@@ -329,9 +328,8 @@ nslookup -query=hinfo -timeout=10
<replaceable><optional>no</optional></replaceable>d2</constant></term>
<listitem>
<para>
Turn debugging mode on. A lot more information is
printed about the packet sent to the server and the
resulting answer.
Turn debugging mode on or off. This displays more about
what nslookup is doing.
</para>
<para>
(Default = nod2)
+6 -8
View File
@@ -1,7 +1,7 @@
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -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.19 2007/01/30 00:24:59 marka Exp $ -->
<!-- $Id: nslookup.html,v 1.21.150.1 2009/07/11 01:43:27 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -180,9 +180,8 @@ nslookup -query=hinfo -timeout=10
<em class="replaceable"><code>[<span class="optional">no</span>]</code></em>debug</code></span></dt>
<dd>
<p>
Turn debugging mode on. A lot more information is
printed about the packet sent to the server and the
resulting answer.
Turn on or off the display of the full response packet and
any intermediate response packets when searching.
</p>
<p>
(Default = nodebug; abbreviation = [<span class="optional">no</span>]deb)
@@ -192,9 +191,8 @@ nslookup -query=hinfo -timeout=10
<em class="replaceable"><code>[<span class="optional">no</span>]</code></em>d2</code></span></dt>
<dd>
<p>
Turn debugging mode on. A lot more information is
printed about the packet sent to the server and the
resulting answer.
Turn debugging mode on or off. This displays more about
what nslookup is doing.
</p>
<p>
(Default = nod2)
+3 -3
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2000-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.30 2005/05/02 00:26:28 marka Exp $
# $Id: Makefile.in,v 1.32 2007/06/19 23:46:59 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+12 -12
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-keygen.8,v 1.36 2007/01/30 00:24:59 marka Exp $
.\" $Id: dnssec-keygen.8,v 1.38.130.3 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
@@ -37,7 +37,7 @@ dnssec\-keygen \- DNSSEC key generation tool
.SH "DESCRIPTION"
.PP
\fBdnssec\-keygen\fR
generates keys for DNSSEC (Secure DNS), as defined in RFC 2535 and RFC <TBA\\>. It can also generate keys for use with TSIG (Transaction Signatures), as defined in RFC 2845.
generates keys for DNSSEC (Secure DNS), as defined in RFC 2535 and RFC 4034. It can also generate keys for use with TSIG (Transaction Signatures), as defined in RFC 2845.
.SH "OPTIONS"
.PP
\-a \fIalgorithm\fR
@@ -60,7 +60,7 @@ Specifies the number of bits in the key. The choice of key size depends on the a
.RS 4
Specifies the owner type of the key. The value of
\fBnametype\fR
must either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with a host (KEY)), USER (for a key associated with a user(KEY)) or OTHER (DNSKEY). These values are case insensitive.
must either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with a host (KEY)), USER (for a key associated with a user(KEY)) or OTHER (DNSKEY). These values are case insensitive. Defaults to ZONE for DNSKEY generation.
.RE
.PP
\-c \fIclass\fR
@@ -147,7 +147,7 @@ is the numeric representation of the algorithm.
is the key identifier (or footprint).
.PP
\fBdnssec\-keygen\fR
creates two file, with names based on the printed string.
creates two files, with names based on the printed string.
\fIKnnnn.+aaa+iiiii.key\fR
contains the public key, and
\fIKnnnn.+aaa+iiiii.private\fR
@@ -159,13 +159,13 @@ file contains a DNS KEY record that can be inserted into a zone file (directly o
.PP
The
\fI.private\fR
file contains algorithm specific fields. For obvious security reasons, this file does not have general read permission.
file contains algorithm\-specific fields. For obvious security reasons, this file does not have general read permission.
.PP
Both
\fI.key\fR
and
\fI.private\fR
files are generated for symmetric encryption algorithm such as HMAC\-MD5, even though the public and private key are equivalent.
files are generated for symmetric encryption algorithms such as HMAC\-MD5, even though the public and private key are equivalent.
.SH "EXAMPLE"
.PP
To generate a 768\-bit DSA key for the domain
@@ -182,19 +182,19 @@ In this example,
creates the files
\fIKexample.com.+003+26160.key\fR
and
\fIKexample.com.+003+26160.private\fR
\fIKexample.com.+003+26160.private\fR.
.SH "SEE ALSO"
.PP
\fBdnssec\-signzone\fR(8),
BIND 9 Administrator Reference Manual,
RFC 2535,
RFC 2539,
RFC 2845,
RFC 2539.
RFC 4033.
.SH "AUTHOR"
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br
+35 -12
View File
@@ -1,9 +1,22 @@
/*
* Portions Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NETWORK ASSOCIATES DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE
* FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM 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.
*
* Portions Copyright (C) 1995-2000 by Network Associates, Inc.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -16,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-keygen.c,v 1.75 2007/01/09 23:49:38 marka Exp $ */
/* $Id: dnssec-keygen.c,v 1.79 2007/08/28 07:20:42 tbox Exp $ */
/*! \file */
@@ -61,7 +74,7 @@ dsa_size_ok(int size) {
static void
usage(void) {
fprintf(stderr, "Usage:\n");
fprintf(stderr, " %s -a alg -b bits -n type [options] name\n\n",
fprintf(stderr, " %s -a alg -b bits [-n type] [options] name\n\n",
program);
fprintf(stderr, "Version: %s\n", VERSION);
fprintf(stderr, "Required options:\n");
@@ -78,6 +91,7 @@ usage(void) {
fprintf(stderr, " HMAC-SHA384:\t[1..384]\n");
fprintf(stderr, " HMAC-SHA512:\t[1..512]\n");
fprintf(stderr, " -n nametype: ZONE | HOST | ENTITY | USER | OTHER\n");
fprintf(stderr, " (DNSKEY generation defaults to ZONE\n");
fprintf(stderr, " name: owner of the key\n");
fprintf(stderr, "Other options:\n");
fprintf(stderr, " -c <class> (default: IN)\n");
@@ -134,8 +148,10 @@ main(int argc, char **argv) {
dns_result_register();
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"a:b:c:d:ef:g:kn:t:p:s:r:v:h")) != -1)
"a:b:c:d:ef:g:kn:t:p:s:r:v:h")) != -1)
{
switch (ch) {
case 'a':
@@ -202,12 +218,17 @@ main(int argc, char **argv) {
fatal("-v must be followed by a number");
break;
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
case 'h':
usage();
default:
fprintf(stderr, "%s: invalid argument -%c\n",
program, ch);
usage();
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
}
}
@@ -356,11 +377,13 @@ main(int argc, char **argv) {
if (alg != DNS_KEYALG_DH && generator != 0)
fatal("specified DH generator for a non-DH key");
if (nametype == NULL)
fatal("no nametype specified");
if (strcasecmp(nametype, "zone") == 0)
if (nametype == NULL) {
if ((options & DST_TYPE_KEY) != 0) /* KEY / HMAC */
fatal("no nametype specified");
flags |= DNS_KEYOWNER_ZONE; /* DNSKEY */
} else if (strcasecmp(nametype, "zone") == 0)
flags |= DNS_KEYOWNER_ZONE;
else if ((options & DST_TYPE_KEY) != 0) { /* KEY */
else if ((options & DST_TYPE_KEY) != 0) { /* KEY / HMAC */
if (strcasecmp(nametype, "host") == 0 ||
strcasecmp(nametype, "entity") == 0)
flags |= DNS_KEYOWNER_ENTITY;
@@ -373,7 +396,7 @@ main(int argc, char **argv) {
rdclass = strtoclass(classname);
if ((options & DST_TYPE_KEY) != 0) /* KEY */
if ((options & DST_TYPE_KEY) != 0) /* KEY / HMAC */
flags |= signatory;
else if ((flags & DNS_KEYOWNER_ZONE) != 0) /* DNSKEY */
flags |= ksk;
+14 -13
View File
@@ -2,10 +2,10 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.docbook,v 1.16 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: dnssec-keygen.docbook,v 1.19.130.2 2008/10/15 23:46:53 tbox Exp $ -->
<refentry id="man.dnssec-keygen">
<refentryinfo>
<date>June 30, 2000</date>
@@ -40,6 +40,7 @@
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2008</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -76,7 +77,7 @@
<title>DESCRIPTION</title>
<para><command>dnssec-keygen</command>
generates keys for DNSSEC (Secure DNS), as defined in RFC 2535
and RFC &lt;TBA\&gt;. It can also generate keys for use with
and RFC 4034. It can also generate keys for use with
TSIG (Transaction Signatures), as defined in RFC 2845.
</para>
</refsect1>
@@ -129,8 +130,8 @@
zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with
a host (KEY)),
USER (for a key associated with a user(KEY)) or OTHER (DNSKEY).
These values are
case insensitive.
These values are case insensitive. Defaults to ZONE for DNSKEY
generation.
</para>
</listitem>
</varlistentry>
@@ -286,7 +287,7 @@
</listitem>
</itemizedlist>
<para><command>dnssec-keygen</command>
creates two file, with names based
creates two files, with names based
on the printed string. <filename>Knnnn.+aaa+iiiii.key</filename>
contains the public key, and
<filename>Knnnn.+aaa+iiiii.private</filename> contains the
@@ -300,14 +301,14 @@
statement).
</para>
<para>
The <filename>.private</filename> file contains algorithm
specific
The <filename>.private</filename> file contains
algorithm-specific
fields. For obvious security reasons, this file does not have
general read permission.
</para>
<para>
Both <filename>.key</filename> and <filename>.private</filename>
files are generated for symmetric encryption algorithm such as
files are generated for symmetric encryption algorithms such as
HMAC-MD5, even though the public and private key are equivalent.
</para>
</refsect1>
@@ -330,7 +331,7 @@
In this example, <command>dnssec-keygen</command> creates
the files <filename>Kexample.com.+003+26160.key</filename>
and
<filename>Kexample.com.+003+26160.private</filename>
<filename>Kexample.com.+003+26160.private</filename>.
</para>
</refsect1>
@@ -340,9 +341,9 @@
<refentrytitle>dnssec-signzone</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>,
<citetitle>RFC 2535</citetitle>,
<citetitle>RFC 2539</citetitle>,
<citetitle>RFC 2845</citetitle>,
<citetitle>RFC 2539</citetitle>.
<citetitle>RFC 4033</citetitle>.
</para>
</refsect1>
+19 -19
View File
@@ -1,8 +1,8 @@
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.html,v 1.28 2007/01/30 00:24:59 marka Exp $ -->
<!-- $Id: dnssec-keygen.html,v 1.30.130.3 2009/07/11 01:43:27 tbox Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -32,15 +32,15 @@
<div class="cmdsynopsis"><p><code class="command">dnssec-keygen</code> {-a <em class="replaceable"><code>algorithm</code></em>} {-b <em class="replaceable"><code>keysize</code></em>} {-n <em class="replaceable"><code>nametype</code></em>} [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-e</code>] [<code class="option">-f <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-g <em class="replaceable"><code>generator</code></em></code>] [<code class="option">-h</code>] [<code class="option">-k</code>] [<code class="option">-p <em class="replaceable"><code>protocol</code></em></code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-s <em class="replaceable"><code>strength</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] {name}</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543474"></a><h2>DESCRIPTION</h2>
<a name="id2543477"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-keygen</strong></span>
generates keys for DNSSEC (Secure DNS), as defined in RFC 2535
and RFC &lt;TBA\&gt;. It can also generate keys for use with
and RFC 4034. It can also generate keys for use with
TSIG (Transaction Signatures), as defined in RFC 2845.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543485"></a><h2>OPTIONS</h2>
<a name="id2543489"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a <em class="replaceable"><code>algorithm</code></em></span></dt>
<dd>
@@ -76,8 +76,8 @@
zone key (KEY/DNSKEY)), HOST or ENTITY (for a key associated with
a host (KEY)),
USER (for a key associated with a user(KEY)) or OTHER (DNSKEY).
These values are
case insensitive.
These values are case insensitive. Defaults to ZONE for DNSKEY
generation.
</p></dd>
<dt><span class="term">-c <em class="replaceable"><code>class</code></em></span></dt>
<dd><p>
@@ -148,7 +148,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543820"></a><h2>GENERATED KEYS</h2>
<a name="id2543824"></a><h2>GENERATED KEYS</h2>
<p>
When <span><strong class="command">dnssec-keygen</strong></span> completes
successfully,
@@ -168,7 +168,7 @@
</p></li>
</ul></div>
<p><span><strong class="command">dnssec-keygen</strong></span>
creates two file, with names based
creates two files, with names based
on the printed string. <code class="filename">Knnnn.+aaa+iiiii.key</code>
contains the public key, and
<code class="filename">Knnnn.+aaa+iiiii.private</code> contains the
@@ -182,19 +182,19 @@
statement).
</p>
<p>
The <code class="filename">.private</code> file contains algorithm
specific
The <code class="filename">.private</code> file contains
algorithm-specific
fields. For obvious security reasons, this file does not have
general read permission.
</p>
<p>
Both <code class="filename">.key</code> and <code class="filename">.private</code>
files are generated for symmetric encryption algorithm such as
files are generated for symmetric encryption algorithms such as
HMAC-MD5, even though the public and private key are equivalent.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543902"></a><h2>EXAMPLE</h2>
<a name="id2543906"></a><h2>EXAMPLE</h2>
<p>
To generate a 768-bit DSA key for the domain
<strong class="userinput"><code>example.com</code></strong>, the following command would be
@@ -211,20 +211,20 @@
In this example, <span><strong class="command">dnssec-keygen</strong></span> creates
the files <code class="filename">Kexample.com.+003+26160.key</code>
and
<code class="filename">Kexample.com.+003+26160.private</code>
<code class="filename">Kexample.com.+003+26160.private</code>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543946"></a><h2>SEE ALSO</h2>
<a name="id2543949"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dnssec-signzone</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>,
<em class="citetitle">RFC 2535</em>,
<em class="citetitle">RFC 2539</em>,
<em class="citetitle">RFC 2845</em>,
<em class="citetitle">RFC 2539</em>.
<em class="citetitle">RFC 4033</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544045"></a><h2>AUTHOR</h2>
<a name="id2544049"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+33 -18
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dnssec-signzone.8,v 1.44 2007/01/30 00:24:59 marka Exp $
.\" $Id: dnssec-signzone.8,v 1.45.164.3 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
@@ -95,7 +95,7 @@ is specified, 30 days from the start time is used as a default.
.RS 4
The name of the output file containing the signed zone. The default is to append
\fI.signed\fR
to the input file.
to the input filename.
.RE
.PP
\-h
@@ -106,7 +106,7 @@ Prints a short summary of the options and arguments to
.PP
\-i \fIinterval\fR
.RS 4
When a previously signed zone is passed as input, records may be resigned. The
When a previously\-signed zone is passed as input, records may be resigned. The
\fBinterval\fR
option specifies the cycle interval as an offset from the current time (in seconds). If a RRSIG record expires after the cycle interval, it is retained. Otherwise, it is considered to be expiring soon, and it will be replaced.
.sp
@@ -129,7 +129,7 @@ The format of the input zone file. Possible formats are
.PP
\-j \fIjitter\fR
.RS 4
When signing a zone with a fixed signature lifetime, all RRSIG records issued at the time of signing expires simultaneously. If the zone is incrementally signed, i.e. a previously signed zone is passed as input to the signer, all expired signatures has to be regenerated at about the same time. The
When signing a zone with a fixed signature lifetime, all RRSIG records issued at the time of signing expires simultaneously. If the zone is incrementally signed, i.e. a previously\-signed zone is passed as input to the signer, all expired signatures have to be regenerated at about the same time. The
\fBjitter\fR
option specifies a jitter window that will be used to randomize the signature expire time, thus spreading incremental signature regeneration over time.
.sp
@@ -219,39 +219,54 @@ The file containing the zone to be signed.
.PP
key
.RS 4
The keys used to sign the zone. If no keys are specified, the default all zone keys that have private key files in the current directory.
Specify which keys should be used to sign the zone. If no keys are specified, then the zone will be examined for DNSKEY records at the zone apex. If these are found and there are matching private keys, in the current directory, then these will be used for signing.
.RE
.SH "EXAMPLE"
.PP
The following command signs the
\fBexample.com\fR
zone with the DSA key generated in the
zone with the DSA key generated by
\fBdnssec\-keygen\fR
man page. The zone's keys must be in the zone. If there are
(Kexample.com.+003+17247). The zone's keys must be in the master file (\fIdb.example.com\fR). This invocation looks for
\fIkeyset\fR
files associated with child zones, they must be in the current directory.
\fBexample.com\fR, the following command would be issued:
files, in the current directory, so that DS records can be generated from them (\fB\-g\fR).
.sp
.RS 4
.nf
% dnssec\-signzone \-g \-o example.com db.example.com \\
Kexample.com.+003+17247
db.example.com.signed
%
.fi
.RE
.PP
\fBdnssec\-signzone \-o example.com db.example.com Kexample.com.+003+26160\fR
.PP
The command would print a string of the form:
.PP
In this example,
In the above example,
\fBdnssec\-signzone\fR
creates the file
\fIdb.example.com.signed\fR. This file should be referenced in a zone statement in a
\fInamed.conf\fR
file.
.PP
This example re\-signs a previously signed zone with default parameters. The private keys are assumed to be in the current directory.
.sp
.RS 4
.nf
% cp db.example.com.signed db.example.com
% dnssec\-signzone \-o example.com db.example.com
db.example.com.signed
%
.fi
.RE
.SH "SEE ALSO"
.PP
\fBdnssec\-keygen\fR(8),
BIND 9 Administrator Reference Manual,
RFC 2535.
RFC 4033.
.SH "AUTHOR"
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004\-2007 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2008 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000\-2003 Internet Software Consortium.
.br
+86 -62
View File
@@ -1,9 +1,22 @@
/*
* Portions Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC AND NETWORK ASSOCIATES DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE
* FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM 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.
*
* Portions Copyright (C) 1995-2000 by Network Associates, Inc.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -16,7 +29,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-signzone.c,v 1.199 2006/08/30 22:57:16 marka Exp $ */
/* $Id: dnssec-signzone.c,v 1.204.94.5 2009/07/21 06:45:06 tbox Exp $ */
/*! \file */
@@ -128,7 +141,6 @@ static dns_name_t *gorigin; /* The database origin */
static isc_task_t *master = NULL;
static unsigned int ntasks = 0;
static isc_boolean_t shuttingdown = ISC_FALSE, finished = ISC_FALSE;
static unsigned int assigned = 0, completed = 0;
static isc_boolean_t nokeys = ISC_FALSE;
static isc_boolean_t removefile = ISC_FALSE;
static isc_boolean_t generateds = ISC_FALSE;
@@ -195,16 +207,30 @@ newkeystruct(dst_key_t *dstkey, isc_boolean_t signwithkey) {
return (key);
}
/*%
* Sign the given RRset with given key, and add the signature record to the
* given tuple.
*/
static void
signwithkey(dns_name_t *name, dns_rdataset_t *rdataset, dns_rdata_t *rdata,
dst_key_t *key, isc_buffer_t *b)
signwithkey(dns_name_t *name, dns_rdataset_t *rdataset, dst_key_t *key,
dns_ttl_t ttl, dns_diff_t *add, const char *logmsg)
{
isc_result_t result;
isc_stdtime_t jendtime;
char keystr[KEY_FORMATSIZE];
dns_rdata_t trdata = DNS_RDATA_INIT;
unsigned char array[BUFSIZE];
isc_buffer_t b;
dns_difftuple_t *tuple;
key_format(key, keystr, sizeof(keystr));
vbprintf(1, "\t%s %s\n", logmsg, keystr);
jendtime = (jitter != 0) ? isc_random_jitter(endtime, jitter) : endtime;
isc_buffer_init(&b, array, sizeof(array));
result = dns_dnssec_sign(name, rdataset, key, &starttime, &jendtime,
mctx, b, rdata);
mctx, &b, &trdata);
isc_entropy_stopcallbacksources(ectx);
if (result != ISC_R_SUCCESS) {
char keystr[KEY_FORMATSIZE];
@@ -216,7 +242,7 @@ signwithkey(dns_name_t *name, dns_rdataset_t *rdataset, dns_rdata_t *rdata,
if (tryverify) {
result = dns_dnssec_verify(name, rdataset, key,
ISC_TRUE, mctx, rdata);
ISC_TRUE, mctx, &trdata);
if (result == ISC_R_SUCCESS) {
vbprintf(3, "\tsignature verified\n");
INCSTAT(nverified);
@@ -225,6 +251,12 @@ signwithkey(dns_name_t *name, dns_rdataset_t *rdataset, dns_rdata_t *rdata,
INCSTAT(nverifyfailed);
}
}
tuple = NULL;
result = dns_difftuple_create(mctx, DNS_DIFFOP_ADD, name, ttl, &trdata,
&tuple);
check_result(result, "dns_difftuple_create");
dns_diff_append(add, &tuple);
}
static inline isc_boolean_t
@@ -483,24 +515,11 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
}
if (resign) {
isc_buffer_t b;
dns_rdata_t trdata = DNS_RDATA_INIT;
unsigned char array[BUFSIZE];
char keystr[KEY_FORMATSIZE];
INSIST(!keep);
key_format(key->key, keystr, sizeof(keystr));
vbprintf(1, "\tresigning with dnskey %s\n", keystr);
isc_buffer_init(&b, array, sizeof(array));
signwithkey(name, set, &trdata, key->key, &b);
signwithkey(name, set, key->key, ttl, add,
"resigning with dnskey");
nowsignedby[key->position] = ISC_TRUE;
tuple = NULL;
result = dns_difftuple_create(mctx, DNS_DIFFOP_ADD,
name, ttl, &trdata,
&tuple);
check_result(result, "dns_difftuple_create");
dns_diff_append(add, &tuple);
}
dns_rdata_reset(&sigrdata);
@@ -518,11 +537,6 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
key != NULL;
key = ISC_LIST_NEXT(key, link))
{
isc_buffer_t b;
dns_rdata_t trdata;
unsigned char array[BUFSIZE];
char keystr[KEY_FORMATSIZE];
if (nowsignedby[key->position])
continue;
@@ -534,16 +548,8 @@ signset(dns_diff_t *del, dns_diff_t *add, dns_dbnode_t *node, dns_name_t *name,
dns_name_equal(name, gorigin))))
continue;
key_format(key->key, keystr, sizeof(keystr));
vbprintf(1, "\tsigning with dnskey %s\n", keystr);
dns_rdata_init(&trdata);
isc_buffer_init(&b, array, sizeof(array));
signwithkey(name, set, &trdata, key->key, &b);
tuple = NULL;
result = dns_difftuple_create(mctx, DNS_DIFFOP_ADD, name,
ttl, &trdata, &tuple);
check_result(result, "dns_difftuple_create");
dns_diff_append(add, &tuple);
signwithkey(name, set, key->key, ttl, add,
"signing with dnskey");
}
isc_mem_put(mctx, wassignedby, arraysize * sizeof(isc_boolean_t));
@@ -969,7 +975,7 @@ active_node(dns_dbnode_t *node) {
fatal("rdataset iteration failed: %s",
isc_result_totext(result));
} else {
/*
/*
* Delete RRSIGs for types that no longer exist.
*/
result = dns_db_allrdatasets(gdb, node, gversion, 0, &rdsiter2);
@@ -1194,7 +1200,7 @@ signapex(void) {
dns_fixedname_t fixed;
dns_name_t *name;
isc_result_t result;
dns_fixedname_init(&fixed);
name = dns_fixedname_name(&fixed);
result = dns_dbiterator_current(gdbiter, &node, name);
@@ -1224,16 +1230,19 @@ assignwork(isc_task_t *task, isc_task_t *worker) {
dns_rdataset_t nsec;
isc_boolean_t found;
isc_result_t result;
static unsigned int ended = 0; /* Protected by namelock. */
if (shuttingdown)
return;
LOCK(&namelock);
if (finished) {
if (assigned == completed) {
ended++;
if (ended == ntasks) {
isc_task_detach(&task);
isc_app_shutdown();
}
return;
goto unlock;
}
fname = isc_mem_get(mctx, sizeof(dns_fixedname_t));
@@ -1243,7 +1252,6 @@ assignwork(isc_task_t *task, isc_task_t *worker) {
name = dns_fixedname_name(fname);
node = NULL;
found = ISC_FALSE;
LOCK(&namelock);
while (!found) {
result = dns_dbiterator_current(gdbiter, &node, name);
if (result != ISC_R_SUCCESS)
@@ -1270,14 +1278,14 @@ assignwork(isc_task_t *task, isc_task_t *worker) {
fatal("failure iterating database: %s",
isc_result_totext(result));
}
UNLOCK(&namelock);
if (!found) {
if (assigned == completed) {
ended++;
if (ended == ntasks) {
isc_task_detach(&task);
isc_app_shutdown();
}
isc_mem_put(mctx, fname, sizeof(dns_fixedname_t));
return;
goto unlock;
}
sevent = (sevent_t *)
isc_event_allocate(mctx, task, SIGNER_EVENT_WORK,
@@ -1288,7 +1296,8 @@ assignwork(isc_task_t *task, isc_task_t *worker) {
sevent->node = node;
sevent->fname = fname;
isc_task_send(worker, ISC_EVENT_PTR(&sevent));
assigned++;
unlock:
UNLOCK(&namelock);
}
/*%
@@ -1311,7 +1320,6 @@ writenode(isc_task_t *task, isc_event_t *event) {
isc_task_t *worker;
sevent_t *sevent = (sevent_t *)event;
completed++;
worker = (isc_task_t *)event->ev_sender;
dumpnode(dns_fixedname_name(sevent->fname), sevent->node);
cleannode(gdb, gversion, sevent->node);
@@ -1481,7 +1489,7 @@ loadzonekeys(dns_db_t *db) {
for (i = 0; i < nkeys; i++) {
signer_key_t *key;
key = newkeystruct(keys[i], ISC_TRUE);
key = newkeystruct(keys[i], dst_key_isprivate(keys[i]));
ISC_LIST_APPEND(keylist, key, link);
}
dns_db_detachnode(db, &node);
@@ -1605,7 +1613,7 @@ writeset(const char *prefix, dns_rdatatype_t type) {
unsigned char dsbuf[DNS_DS_BUFFERSIZE];
unsigned char keybuf[DST_KEY_MAXSIZE];
unsigned int filenamelen;
const dns_master_style_t *style =
const dns_master_style_t *style =
(type == dns_rdatatype_dnskey) ? masterstyle : dsstyle;
isc_buffer_init(&namebuf, namestr, sizeof(namestr));
@@ -1818,13 +1826,13 @@ print_stats(isc_time_t *timer_start, isc_time_t *timer_finish) {
printf("Signatures successfully verified: %10d\n", nverified);
printf("Signatures unsuccessfully verified: %10d\n", nverifyfailed);
runtime_ms = runtime_us / 1000;
printf("Runtime in seconds: %7u.%03u\n",
(unsigned int) (runtime_ms / 1000),
printf("Runtime in seconds: %7u.%03u\n",
(unsigned int) (runtime_ms / 1000),
(unsigned int) (runtime_ms % 1000));
if (runtime_us > 0) {
sig_ms = ((isc_uint64_t)nsigned * 1000000000) / runtime_us;
printf("Signatures per second: %7u.%03u\n",
(unsigned int) sig_ms / 1000,
(unsigned int) sig_ms / 1000,
(unsigned int) sig_ms % 1000);
}
}
@@ -1862,8 +1870,10 @@ main(int argc, char *argv[]) {
dns_result_register();
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"ac:d:e:f:ghi:I:j:k:l:n:N:o:O:pr:s:Stv:z"))
"ac:d:e:f:ghi:I:j:k:l:n:N:o:O:pr:s:Stv:z"))
!= -1) {
switch (ch) {
case 'a':
@@ -1890,11 +1900,19 @@ main(int argc, char *argv[]) {
generateds = ISC_TRUE;
break;
case '?':
if (isc_commandline_option != '?')
fprintf(stderr, "%s: invalid argument -%c\n",
program, isc_commandline_option);
case 'h':
default:
usage();
break;
default:
fprintf(stderr, "%s: unhandled option -%c\n",
program, isc_commandline_option);
exit(1);
case 'i':
endp = NULL;
cycle = strtol(isc_commandline_argument, &endp, 0);
@@ -1914,7 +1932,7 @@ main(int argc, char *argv[]) {
fatal("jitter must be numeric and positive");
break;
case 'l':
case 'l':
dns_fixedname_init(&dlv_fixed);
len = strlen(isc_commandline_argument);
isc_buffer_init(&b, isc_commandline_argument, len);
@@ -2080,7 +2098,7 @@ main(int argc, char *argv[]) {
result = dns_master_stylecreate(&dsstyle, DNS_STYLEFLAG_NO_TTL,
0, 24, 0, 0, 0, 8, mctx);
check_result(result, "dns_master_stylecreate");
gdb = NULL;
TIME_NOW(&timer_start);
@@ -2102,8 +2120,11 @@ main(int argc, char *argv[]) {
DST_TYPE_PRIVATE,
mctx, &newkey);
if (result != ISC_R_SUCCESS)
fatal("cannot load dnskey %s: %s", argv[i],
isc_result_totext(result));
fatal("cannot load dnskey %s: %s", argv[i],
isc_result_totext(result));
if (!dns_name_equal(gorigin, dst_key_name(newkey)))
fatal("key %s not at origin\n", argv[i]);
key = ISC_LIST_HEAD(keylist);
while (key != NULL) {
@@ -2111,7 +2132,7 @@ main(int argc, char *argv[]) {
if (dst_key_id(dkey) == dst_key_id(newkey) &&
dst_key_alg(dkey) == dst_key_alg(newkey) &&
dns_name_equal(dst_key_name(dkey),
dst_key_name(newkey)))
dst_key_name(newkey)))
{
if (!dst_key_isprivate(dkey))
fatal("cannot sign zone with "
@@ -2140,7 +2161,10 @@ main(int argc, char *argv[]) {
mctx, &newkey);
if (result != ISC_R_SUCCESS)
fatal("cannot load dnskey %s: %s", dskeyfile[i],
isc_result_totext(result));
isc_result_totext(result));
if (!dns_name_equal(gorigin, dst_key_name(newkey)))
fatal("key %s not at origin\n", dskeyfile[i]);
key = ISC_LIST_HEAD(keylist);
while (key != NULL) {
@@ -2148,7 +2172,7 @@ main(int argc, char *argv[]) {
if (dst_key_id(dkey) == dst_key_id(newkey) &&
dst_key_alg(dkey) == dst_key_alg(newkey) &&
dns_name_equal(dst_key_name(dkey),
dst_key_name(newkey)))
dst_key_name(newkey)))
{
/* Override key flags. */
key->issigningkey = ISC_TRUE;
+33 -27
View File
@@ -2,10 +2,10 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.docbook,v 1.25 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: dnssec-signzone.docbook,v 1.27.130.2 2008/10/15 23:46:53 tbox Exp $ -->
<refentry id="man.dnssec-signzone">
<refentryinfo>
<date>June 30, 2000</date>
@@ -41,6 +41,7 @@
<year>2005</year>
<year>2006</year>
<year>2007</year>
<year>2008</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -193,7 +194,7 @@
The name of the output file containing the signed zone. The
default is to append <filename>.signed</filename> to
the
input file.
input filename.
</para>
</listitem>
</varlistentry>
@@ -212,7 +213,7 @@
<term>-i <replaceable class="parameter">interval</replaceable></term>
<listitem>
<para>
When a previously signed zone is passed as input, records
When a previously-signed zone is passed as input, records
may be resigned. The <option>interval</option> option
specifies the cycle interval as an offset from the current
time (in seconds). If a RRSIG record expires after the
@@ -256,8 +257,8 @@
When signing a zone with a fixed signature lifetime, all
RRSIG records issued at the time of signing expires
simultaneously. If the zone is incrementally signed, i.e.
a previously signed zone is passed as input to the signer,
all expired signatures has to be regenerated at about the
a previously-signed zone is passed as input to the signer,
all expired signatures have to be regenerated at about the
same time. The <option>jitter</option> option specifies a
jitter window that will be used to randomize the signature
expire time, thus spreading incremental signature
@@ -411,9 +412,11 @@
<term>key</term>
<listitem>
<para>
The keys used to sign the zone. If no keys are specified, the
default all zone keys that have private key files in the
current directory.
Specify which keys should be used to sign the zone. If
no keys are specified, then the zone will be examined
for DNSKEY records at the zone apex. If these are found and
there are matching private keys, in the current directory,
then these will be used for signing.
</para>
</listitem>
</varlistentry>
@@ -425,27 +428,30 @@
<title>EXAMPLE</title>
<para>
The following command signs the <userinput>example.com</userinput>
zone with the DSA key generated in the <command>dnssec-keygen</command>
man page. The zone's keys must be in the zone. If there are
<filename>keyset</filename> files associated with child
zones,
they must be in the current directory.
<userinput>example.com</userinput>, the following command would be
issued:
</para>
<para><userinput>dnssec-signzone -o example.com db.example.com
Kexample.com.+003+26160</userinput>
zone with the DSA key generated by <command>dnssec-keygen</command>
(Kexample.com.+003+17247). The zone's keys must be in the master
file (<filename>db.example.com</filename>). This invocation looks
for <filename>keyset</filename> files, in the current directory,
so that DS records can be generated from them (<command>-g</command>).
</para>
<programlisting>% dnssec-signzone -g -o example.com db.example.com \
Kexample.com.+003+17247
db.example.com.signed
%</programlisting>
<para>
The command would print a string of the form:
</para>
<para>
In this example, <command>dnssec-signzone</command> creates
In the above example, <command>dnssec-signzone</command> creates
the file <filename>db.example.com.signed</filename>. This
file
should be referenced in a zone statement in a
file should be referenced in a zone statement in a
<filename>named.conf</filename> file.
</para>
<para>
This example re-signs a previously signed zone with default parameters.
The private keys are assumed to be in the current directory.
</para>
<programlisting>% cp db.example.com.signed db.example.com
% dnssec-signzone -o example.com db.example.com
db.example.com.signed
%</programlisting>
</refsect1>
<refsect1>
@@ -454,7 +460,7 @@
<refentrytitle>dnssec-keygen</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>,
<citetitle>RFC 2535</citetitle>.
<citetitle>RFC 4033</citetitle>.
</para>
</refsect1>
+37 -32
View File
@@ -1,8 +1,8 @@
<!--
- Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.html,v 1.30 2007/01/30 00:24:59 marka Exp $ -->
<!-- $Id: dnssec-signzone.html,v 1.31.164.3 2009/07/11 01:43:27 tbox Exp $ -->
<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">dnssec-signzone</code> [<code class="option">-a</code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-d <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-e <em class="replaceable"><code>end-time</code></em></code>] [<code class="option">-f <em class="replaceable"><code>output-file</code></em></code>] [<code class="option">-g</code>] [<code class="option">-h</code>] [<code class="option">-k <em class="replaceable"><code>key</code></em></code>] [<code class="option">-l <em class="replaceable"><code>domain</code></em></code>] [<code class="option">-i <em class="replaceable"><code>interval</code></em></code>] [<code class="option">-I <em class="replaceable"><code>input-format</code></em></code>] [<code class="option">-j <em class="replaceable"><code>jitter</code></em></code>] [<code class="option">-N <em class="replaceable"><code>soa-serial-format</code></em></code>] [<code class="option">-o <em class="replaceable"><code>origin</code></em></code>] [<code class="option">-O <em class="replaceable"><code>output-format</code></em></code>] [<code class="option">-p</code>] [<code class="option">-r <em class="replaceable"><code>randomdev</code></em></code>] [<code class="option">-s <em class="replaceable"><code>start-time</code></em></code>] [<code class="option">-t</code>] [<code class="option">-v <em class="replaceable"><code>level</code></em></code>] [<code class="option">-z</code>] {zonefile} [key...]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543526"></a><h2>DESCRIPTION</h2>
<a name="id2543529"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dnssec-signzone</strong></span>
signs a zone. It generates
NSEC and RRSIG records and produces a signed version of the
@@ -43,7 +43,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543541"></a><h2>OPTIONS</h2>
<a name="id2543544"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-a</span></dt>
<dd><p>
@@ -99,7 +99,7 @@
The name of the output file containing the signed zone. The
default is to append <code class="filename">.signed</code> to
the
input file.
input filename.
</p></dd>
<dt><span class="term">-h</span></dt>
<dd><p>
@@ -109,7 +109,7 @@
<dt><span class="term">-i <em class="replaceable"><code>interval</code></em></span></dt>
<dd>
<p>
When a previously signed zone is passed as input, records
When a previously-signed zone is passed as input, records
may be resigned. The <code class="option">interval</code> option
specifies the cycle interval as an offset from the current
time (in seconds). If a RRSIG record expires after the
@@ -145,8 +145,8 @@
When signing a zone with a fixed signature lifetime, all
RRSIG records issued at the time of signing expires
simultaneously. If the zone is incrementally signed, i.e.
a previously signed zone is passed as input to the signer,
all expired signatures has to be regenerated at about the
a previously-signed zone is passed as input to the signer,
all expired signatures have to be regenerated at about the
same time. The <code class="option">jitter</code> option specifies a
jitter window that will be used to randomize the signature
expire time, thus spreading incremental signature
@@ -232,47 +232,52 @@
</p></dd>
<dt><span class="term">key</span></dt>
<dd><p>
The keys used to sign the zone. If no keys are specified, the
default all zone keys that have private key files in the
current directory.
Specify which keys should be used to sign the zone. If
no keys are specified, then the zone will be examined
for DNSKEY records at the zone apex. If these are found and
there are matching private keys, in the current directory,
then these will be used for signing.
</p></dd>
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2544327"></a><h2>EXAMPLE</h2>
<a name="id2544330"></a><h2>EXAMPLE</h2>
<p>
The following command signs the <strong class="userinput"><code>example.com</code></strong>
zone with the DSA key generated in the <span><strong class="command">dnssec-keygen</strong></span>
man page. The zone's keys must be in the zone. If there are
<code class="filename">keyset</code> files associated with child
zones,
they must be in the current directory.
<strong class="userinput"><code>example.com</code></strong>, the following command would be
issued:
</p>
<p><strong class="userinput"><code>dnssec-signzone -o example.com db.example.com
Kexample.com.+003+26160</code></strong>
zone with the DSA key generated by <span><strong class="command">dnssec-keygen</strong></span>
(Kexample.com.+003+17247). The zone's keys must be in the master
file (<code class="filename">db.example.com</code>). This invocation looks
for <code class="filename">keyset</code> files, in the current directory,
so that DS records can be generated from them (<span><strong class="command">-g</strong></span>).
</p>
<pre class="programlisting">% dnssec-signzone -g -o example.com db.example.com \
Kexample.com.+003+17247
db.example.com.signed
%</pre>
<p>
The command would print a string of the form:
</p>
<p>
In this example, <span><strong class="command">dnssec-signzone</strong></span> creates
In the above example, <span><strong class="command">dnssec-signzone</strong></span> creates
the file <code class="filename">db.example.com.signed</code>. This
file
should be referenced in a zone statement in a
file should be referenced in a zone statement in a
<code class="filename">named.conf</code> file.
</p>
<p>
This example re-signs a previously signed zone with default parameters.
The private keys are assumed to be in the current directory.
</p>
<pre class="programlisting">% cp db.example.com.signed db.example.com
% dnssec-signzone -o example.com db.example.com
db.example.com.signed
%</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2544375"></a><h2>SEE ALSO</h2>
<a name="id2544381"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
<em class="citetitle">BIND 9 Administrator Reference Manual</em>,
<em class="citetitle">RFC 2535</em>.
<em class="citetitle">RFC 4033</em>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544400"></a><h2>AUTHOR</h2>
<a name="id2544406"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssectool.c,v 1.43 2005/07/01 03:28:42 marka Exp $ */
/* $Id: dnssectool.c,v 1.45 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssectool.h,v 1.18 2004/03/05 04:57:41 marka Exp $ */
/* $Id: dnssectool.h,v 1.20 2007/06/19 23:46:59 tbox Exp $ */
#ifndef DNSSECTOOL_H
#define DNSSECTOOL_H 1
-1
View File
@@ -4,4 +4,3 @@ Makefile
*.lo
named
lwresd
bind9.xsl.h
+9 -11
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2002 Internet Software Consortium.
#
# Permission to use, copy, modify, and distribute this software for any
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.93 2007/03/28 23:24:00 marka Exp $
# $Id: Makefile.in,v 1.96.130.4 2008/03/31 05:06:47 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -38,7 +38,7 @@ DLZDRIVER_SRCS = @DLZ_DRIVER_SRCS@
DLZDRIVER_INCLUDES = @DLZ_DRIVER_INCLUDES@
DLZDRIVER_LIBS = @DLZ_DRIVER_LIBS@
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \
CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include -I. \
${LWRES_INCLUDES} ${DNS_INCLUDES} ${BIND9_INCLUDES} \
${ISCCFG_INCLUDES} ${ISCCC_INCLUDES} ${ISC_INCLUDES} \
${DLZDRIVER_INCLUDES} ${DBDRIVER_INCLUDES}
@@ -75,7 +75,7 @@ TARGETS = named@EXEEXT@ lwresd@EXEEXT@
OBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
controlconf.@O@ interfacemgr.@O@ \
listenlist.@O@ log.@O@ logconf.@O@ main.@O@ notify.@O@ \
query.@O@ server.@O@ sortlist.@O@ \
query.@O@ server.@O@ sortlist.@O@ statschannel.@O@ \
tkeyconf.@O@ tsigconf.@O@ update.@O@ xfrout.@O@ \
zoneconf.@O@ \
lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \
@@ -84,12 +84,10 @@ OBJS = builtin.@O@ client.@O@ config.@O@ control.@O@ \
UOBJS = unix/os.@O@
GENERATED = bind9.xsl.h
SRCS = builtin.c client.c config.c control.c \
controlconf.c interfacemgr.c \
listenlist.c log.c logconf.c main.c notify.c \
query.c server.c sortlist.c \
query.c server.c sortlist.c statschannel.c \
tkeyconf.c tsigconf.c update.c xfrout.c \
zoneconf.c \
lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
@@ -130,13 +128,13 @@ docclean manclean maintainer-clean::
rm -f ${MANOBJS}
clean distclean maintainer-clean::
rm -f ${TARGETS} ${OBJS} ${GENERATED}
rm -f ${TARGETS} ${OBJS}
bind9.xsl.h: bind9.xsl convertxsl.pl
${PERL} convertxsl.pl < ${srcdir}/bind9.xsl > bind9.xsl.h
${PERL} ${srcdir}/convertxsl.pl < ${srcdir}/bind9.xsl > bind9.xsl.h
depend: bind9.xsl.h
server.@O@: bind9.xsl.h
statschannel.@O@: bind9.xsl.h
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${sbindir}
+235 -24
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright (C) 2006, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2006-2009 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -15,7 +15,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: bind9.xsl,v 1.12 2007/02/13 02:49:08 marka Exp $ -->
<!-- $Id: bind9.xsl,v 1.13.130.8 2009/01/29 23:47:13 tbox Exp $ -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@ -55,7 +55,12 @@ tr.lrow {
color: #ffffff;
}
.header {
td, th {
padding-right: 5px;
padding-left: 5px;
}
.header h1 {
background-color: teal;
color: #ffffff;
padding: 4px;
@@ -76,11 +81,52 @@ tr.lrow {
padding: 4px;
font-weight: bold;
}
div.statcounter h2 {
text-align: center;
font-size: large;
border: 1px solid #000000;
background-color: #8080ff;
color: #ffffff;
}
div.statcounter dl {
float: left;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
}
div.statcounter dt {
width: 200px;
text-align: center;
font-weight: bold;
border: 0.5px solid #000000;
background-color: #8080ff;
color: #ffffff;
}
div.statcounter dd {
width: 200px;
text-align: right;
border: 0.5px solid #000000;
background-color: teal;
color: #ffffff;
margin-left: 0;
margin-right: 0;
}
div.statcounter br {
clear: left;
}
</style>
<title>BIND 9 Statistics</title>
</head>
<body>
<div class="header">Bind 9 Configuration and Statistics</div>
<div class="header">
<h1>Bind 9 Configuration and Statistics</h1>
</div>
<br/>
@@ -99,21 +145,126 @@ tr.lrow {
<br/>
<table>
<tr class="rowh"><th colspan="2">Server statistics</th></tr>
<xsl:for-each select="server/counters/*">
<tr class="rowh"><th colspan="2">Incoming Requests</th></tr>
<xsl:for-each select="server/requests/opcode">
<tr class="lrow">
<td><xsl:value-of select="name()"/></td>
<td><xsl:value-of select="."/></td>
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="counter"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
<br/>
<table>
<tr class="rowh"><th colspan="2">Incoming Queries</th></tr>
<xsl:for-each select="server/queries-in/rdtype">
<tr class="lrow">
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="counter"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
<xsl:for-each select="views/view">
<table>
<tr class="rowh">
<th colspan="2">Outgoing Queries from View <xsl:value-of select="name"/></th>
</tr>
<xsl:for-each select="rdtype">
<tr class="lrow">
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="counter"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
</xsl:for-each>
<br/>
<div class="statcounter">
<h2>Server Statistics</h2>
<xsl:for-each select="server/nsstat">
<dl>
<dt><xsl:value-of select="name"/></dt>
<dd><xsl:value-of select="counter"/></dd>
</dl>
</xsl:for-each>
<br/>
</div>
<div class="statcounter">
<h2>Zone Maintenance Statistics</h2>
<xsl:for-each select="server/zonestat">
<dl>
<dt><xsl:value-of select="name"/></dt>
<dd><xsl:value-of select="counter"/></dd>
</dl>
</xsl:for-each>
<br />
</div>
<div class="statcounter">
<h2>Resolver Statistics (Common)</h2>
<xsl:for-each select="server/resstat">
<dl>
<dt><xsl:value-of select="name"/></dt>
<dd><xsl:value-of select="counter"/></dd>
</dl>
</xsl:for-each>
<br />
</div>
<xsl:for-each select="views/view">
<div class="statcounter">
<h2>Resolver Statistics for View <xsl:value-of select="name"/></h2>
<xsl:for-each select="resstat">
<dl>
<dt><xsl:value-of select="name"/></dt>
<dd><xsl:value-of select="counter"/></dd>
</dl>
</xsl:for-each>
<br />
</div>
</xsl:for-each>
<br />
<xsl:for-each select="views/view">
<table>
<tr class="rowh">
<th colspan="2">Cache DB RRsets for View <xsl:value-of select="name"/></th>
</tr>
<xsl:for-each select="cache/rrset">
<tr class="lrow">
<td><xsl:value-of select="name"/></td>
<td><xsl:value-of select="counter"/></td>
</tr>
</xsl:for-each>
</table>
<br/>
</xsl:for-each>
<div class="statcounter">
<h2>Socket I/O Statistics</h2>
<xsl:for-each select="server/sockstat">
<dl>
<dt><xsl:value-of select="name"/></dt>
<dd><xsl:value-of select="counter"/></dd>
</dl>
</xsl:for-each>
<br/>
</div>
<br/>
<xsl:for-each select="views/view">
<table>
<tr class="rowh">
<th colspan="11">Zones for View <xsl:value-of select="name"/></th>
<th colspan="10">Zones for View <xsl:value-of select="name"/></th>
</tr>
<tr class="rowh">
<th>Name</th>
@@ -123,10 +274,9 @@ tr.lrow {
<th>Referral</th>
<th>NXRRSET</th>
<th>NXDOMAIN</th>
<th>Recursion</th>
<th>Failure</th>
<th>Duplicate</th>
<th>Dropped</th>
<th>XfrReqDone</th>
<th>XfrRej</th>
</tr>
<xsl:for-each select="zones/zone">
<tr class="lrow">
@@ -140,28 +290,25 @@ tr.lrow {
<xsl:value-of select="serial"/>
</td>
<td>
<xsl:value-of select="counters/success"/>
<xsl:value-of select="counters/QrySuccess"/>
</td>
<td>
<xsl:value-of select="counters/referral"/>
<xsl:value-of select="counters/QryReferral"/>
</td>
<td>
<xsl:value-of select="counters/nxrrset"/>
<xsl:value-of select="counters/QryNxrrset"/>
</td>
<td>
<xsl:value-of select="counters/nxdomain"/>
<xsl:value-of select="counters/QryNXDOMAIN"/>
</td>
<td>
<xsl:value-of select="counters/recursion"/>
<xsl:value-of select="counters/QryFailure"/>
</td>
<td>
<xsl:value-of select="counters/failure"/>
<xsl:value-of select="counters/XfrReqDone"/>
</td>
<td>
<xsl:value-of select="counters/duplicate"/>
</td>
<td>
<xsl:value-of select="counters/dropped"/>
<xsl:value-of select="counters/XfrRej"/>
</td>
</tr>
</xsl:for-each>
@@ -274,6 +421,70 @@ tr.lrow {
</tr>
</xsl:for-each>
</table>
<br />
<table>
<tr class="rowh">
<th colspan="4">Memory Usage Summary</th>
</tr>
<xsl:for-each select="memory/summary/*">
<tr class="lrow">
<td><xsl:value-of select="name()"/></td>
<td><xsl:value-of select="."/></td>
</tr>
</xsl:for-each>
</table>
<br />
<table>
<tr class="rowh">
<th colspan="10">Memory Contexts</th>
</tr>
<tr class="rowh">
<th>ID</th>
<th>Name</th>
<th>References</th>
<th>TotalUse</th>
<th>InUse</th>
<th>MaxUse</th>
<th>BlockSize</th>
<th>Pools</th>
<th>HiWater</th>
<th>LoWater</th>
</tr>
<xsl:for-each select="memory/contexts/context">
<tr class="lrow">
<td>
<xsl:value-of select="id"/>
</td>
<td>
<xsl:value-of select="name"/>
</td>
<td>
<xsl:value-of select="references"/>
</td>
<td>
<xsl:value-of select="total"/>
</td>
<td>
<xsl:value-of select="inuse"/>
</td>
<td>
<xsl:value-of select="maxinuse"/>
</td>
<td>
<xsl:value-of select="blocksize"/>
</td>
<td>
<xsl:value-of select="pools"/>
</td>
<td>
<xsl:value-of select="hiwater"/>
</td>
<td>
<xsl:value-of select="lowater"/>
</td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
+497
View File
@@ -0,0 +1,497 @@
/*
* Generated by convertxsl.pl 1.9.60.5 2008/07/17 23:50:58 jinmei Exp
* From bind9.xsl 1.13.130.8 2009/01/29 23:47:13 tbox Exp
*/
static char xslmsg[] =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<!--\n"
" - Copyright (C) 2006-2009 Internet Systems Consortium, Inc. (\"ISC\")\n"
" -\n"
" - Permission to use, copy, modify, and/or distribute this software for any\n"
" - purpose with or without fee is hereby granted, provided that the above\n"
" - copyright notice and this permission notice appear in all copies.\n"
" -\n"
" - THE SOFTWARE IS PROVIDED \"AS IS\" AND ISC DISCLAIMS ALL WARRANTIES WITH\n"
" - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n"
" - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,\n"
" - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n"
" - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE\n"
" - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n"
" - PERFORMANCE OF THIS SOFTWARE.\n"
"-->\n"
"\n"
"<!-- \045Id: bind9.xsl,v 1.13.130.8 2009/01/29 23:47:13 tbox Exp \045 -->\n"
"\n"
"<xsl:stylesheet version=\"1.0\"\n"
" xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n"
" xmlns=\"http://www.w3.org/1999/xhtml\">\n"
" <xsl:template match=\"isc/bind/statistics\">\n"
" <html>\n"
" <head>\n"
" <style type=\"text/css\">\n"
"body {\n"
" font-family: sans-serif;\n"
" background-color: #ffffff;\n"
" color: #000000;\n"
"}\n"
"\n"
"table {\n"
" border-collapse: collapse;\n"
"}\n"
"\n"
"tr.rowh {\n"
" text-align: center;\n"
" border: 1px solid #000000;\n"
" background-color: #8080ff;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"tr.row {\n"
" text-align: right;\n"
" border: 1px solid #000000;\n"
" background-color: teal;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"tr.lrow {\n"
" text-align: left;\n"
" border: 1px solid #000000;\n"
" background-color: teal;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"td, th {\n"
" padding-right: 5px;\n"
" padding-left: 5px;\n"
"}\n"
"\n"
".header h1 {\n"
" background-color: teal;\n"
" color: #ffffff;\n"
" padding: 4px;\n"
"}\n"
"\n"
".content {\n"
" background-color: #ffffff;\n"
" color: #000000;\n"
" padding: 4px;\n"
"}\n"
"\n"
".item {\n"
" padding: 4px;\n"
" align: right;\n"
"}\n"
"\n"
".value {\n"
" padding: 4px;\n"
" font-weight: bold;\n"
"}\n"
"\n"
"div.statcounter h2 {\n"
" text-align: center;\n"
" font-size: large;\n"
" border: 1px solid #000000;\n"
" background-color: #8080ff;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"div.statcounter dl {\n"
" float: left;\n"
" margin-top: 0;\n"
" margin-bottom: 0;\n"
" margin-left: 0;\n"
" margin-right: 0;\n"
"}\n"
"\n"
"div.statcounter dt {\n"
" width: 200px;\n"
" text-align: center;\n"
" font-weight: bold;\n"
" border: 0.5px solid #000000;\n"
" background-color: #8080ff;\n"
" color: #ffffff;\n"
"}\n"
"\n"
"div.statcounter dd {\n"
" width: 200px;\n"
" text-align: right;\n"
" border: 0.5px solid #000000;\n"
" background-color: teal;\n"
" color: #ffffff;\n"
" margin-left: 0;\n"
" margin-right: 0;\n"
"}\n"
"\n"
"div.statcounter br {\n"
" clear: left;\n"
"}\n"
" </style>\n"
" <title>BIND 9 Statistics</title>\n"
" </head>\n"
" <body>\n"
" <div class=\"header\">\n"
" <h1>Bind 9 Configuration and Statistics</h1>\n"
" </div>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"2\">Times</th></tr>\n"
" <tr class=\"lrow\">\n"
" <td>boot-time</td>\n"
" <td><xsl:value-of select=\"server/boot-time\"/></td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>current-time</td>\n"
" <td><xsl:value-of select=\"server/current-time\"/></td>\n"
" </tr>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"2\">Incoming Requests</th></tr>\n"
" <xsl:for-each select=\"server/requests/opcode\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name\"/></td>\n"
" <td><xsl:value-of select=\"counter\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\"><th colspan=\"2\">Incoming Queries</th></tr>\n"
" <xsl:for-each select=\"server/queries-in/rdtype\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name\"/></td>\n"
" <td><xsl:value-of select=\"counter\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
"\n"
" <br/>\n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"2\">Outgoing Queries from View <xsl:value-of select=\"name\"/></th>\n"
" </tr>\n"
" <xsl:for-each select=\"rdtype\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name\"/></td>\n"
" <td><xsl:value-of select=\"counter\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" </xsl:for-each>\n"
"\n"
" <br/>\n"
"\n"
" <div class=\"statcounter\">\n"
" <h2>Server Statistics</h2>\n"
" <xsl:for-each select=\"server/nsstat\">\n"
" <dl>\n"
" <dt><xsl:value-of select=\"name\"/></dt>\n"
" <dd><xsl:value-of select=\"counter\"/></dd>\n"
" </dl>\n"
" </xsl:for-each>\n"
" <br/>\n"
" </div>\n"
"\n"
" <div class=\"statcounter\">\n"
" <h2>Zone Maintenance Statistics</h2>\n"
" <xsl:for-each select=\"server/zonestat\">\n"
" <dl>\n"
" <dt><xsl:value-of select=\"name\"/></dt>\n"
" <dd><xsl:value-of select=\"counter\"/></dd>\n"
" </dl>\n"
" </xsl:for-each>\n"
" <br />\n"
" </div>\n"
"\n"
" <div class=\"statcounter\">\n"
" <h2>Resolver Statistics (Common)</h2>\n"
" <xsl:for-each select=\"server/resstat\">\n"
" <dl>\n"
" <dt><xsl:value-of select=\"name\"/></dt>\n"
" <dd><xsl:value-of select=\"counter\"/></dd>\n"
" </dl>\n"
" </xsl:for-each>\n"
" <br />\n"
" </div>\n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <div class=\"statcounter\">\n"
" <h2>Resolver Statistics for View <xsl:value-of select=\"name\"/></h2>\n"
" <xsl:for-each select=\"resstat\">\n"
" <dl>\n"
" <dt><xsl:value-of select=\"name\"/></dt>\n"
" <dd><xsl:value-of select=\"counter\"/></dd>\n"
" </dl>\n"
" </xsl:for-each>\n"
" <br />\n"
" </div>\n"
" </xsl:for-each>\n"
"\n"
" <br />\n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"2\">Cache DB RRsets for View <xsl:value-of select=\"name\"/></th>\n"
" </tr>\n"
" <xsl:for-each select=\"cache/rrset\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name\"/></td>\n"
" <td><xsl:value-of select=\"counter\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" </xsl:for-each>\n"
"\n"
" <div class=\"statcounter\">\n"
" <h2>Socket I/O Statistics</h2>\n"
" <xsl:for-each select=\"server/sockstat\">\n"
" <dl>\n"
" <dt><xsl:value-of select=\"name\"/></dt>\n"
" <dd><xsl:value-of select=\"counter\"/></dd>\n"
" </dl>\n"
" </xsl:for-each>\n"
" <br/>\n"
" </div>\n"
"\n"
" <br/>\n"
"\n"
" <xsl:for-each select=\"views/view\">\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"10\">Zones for View <xsl:value-of select=\"name\"/></th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>Name</th>\n"
" <th>Class</th>\n"
" <th>Serial</th>\n"
" <th>Success</th>\n"
" <th>Referral</th>\n"
" <th>NXRRSET</th>\n"
" <th>NXDOMAIN</th>\n"
" <th>Failure</th>\n"
" <th>XfrReqDone</th>\n"
" <th>XfrRej</th>\n"
" </tr>\n"
" <xsl:for-each select=\"zones/zone\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"rdataclass\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"serial\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QrySuccess\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QryReferral\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QryNxrrset\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QryNXDOMAIN\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/QryFailure\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/XfrReqDone\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"counters/XfrRej\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" </xsl:for-each>\n"
"\n"
" <br/>\n"
"\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"7\">Network Status</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>Type</th>\n"
" <th>References</th>\n"
" <th>LocalAddress</th>\n"
" <th>PeerAddress</th>\n"
" <th>State</th>\n"
" </tr>\n"
" <xsl:for-each select=\"socketmgr/sockets/socket\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"type\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"local-address\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"peer-address\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:for-each select=\"states\">\n"
" <xsl:value-of select=\".\"/>\n"
" </xsl:for-each>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br/>\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"2\">Task Manager Configuration</th>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Thread-Model</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/type\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Worker Threads</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/worker-threads\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Default Quantum</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/default-quantum\"/>\n"
" </td>\n"
" </tr>\n"
" <tr class=\"lrow\">\n"
" <td>Tasks Running</td>\n"
" <td>\n"
" <xsl:value-of select=\"taskmgr/thread-model/tasks-running\"/>\n"
" </td>\n"
" </tr>\n"
" </table>\n"
" <br/>\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"5\">Tasks</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>References</th>\n"
" <th>State</th>\n"
" <th>Quantum</th>\n"
" </tr>\n"
" <xsl:for-each select=\"taskmgr/tasks/task\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"state\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"quantum\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br />\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"4\">Memory Usage Summary</th>\n"
" </tr>\n"
" <xsl:for-each select=\"memory/summary/*\">\n"
" <tr class=\"lrow\">\n"
" <td><xsl:value-of select=\"name()\"/></td>\n"
" <td><xsl:value-of select=\".\"/></td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
" <br />\n"
" <table>\n"
" <tr class=\"rowh\">\n"
" <th colspan=\"10\">Memory Contexts</th>\n"
" </tr>\n"
" <tr class=\"rowh\">\n"
" <th>ID</th>\n"
" <th>Name</th>\n"
" <th>References</th>\n"
" <th>TotalUse</th>\n"
" <th>InUse</th>\n"
" <th>MaxUse</th>\n"
" <th>BlockSize</th>\n"
" <th>Pools</th>\n"
" <th>HiWater</th>\n"
" <th>LoWater</th>\n"
" </tr>\n"
" <xsl:for-each select=\"memory/contexts/context\">\n"
" <tr class=\"lrow\">\n"
" <td>\n"
" <xsl:value-of select=\"id\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"name\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"references\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"total\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"inuse\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"maxinuse\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"blocksize\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"pools\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"hiwater\"/>\n"
" </td>\n"
" <td>\n"
" <xsl:value-of select=\"lowater\"/>\n"
" </td>\n"
" </tr>\n"
" </xsl:for-each>\n"
" </table>\n"
"\n"
" </body>\n"
" </html>\n"
" </xsl:template>\n"
"</xsl:stylesheet>\n";
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: builtin.c,v 1.10 2005/08/23 04:07:57 marka Exp $ */
/* $Id: builtin.c,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/*! \file
* \brief
+154 -33
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.c,v 1.245 2007/03/29 06:36:29 marka Exp $ */
/* $Id: client.c,v 1.250.16.10 2009/01/29 22:41:43 jinmei Exp $ */
#include <config.h>
@@ -24,6 +24,7 @@
#include <isc/once.h>
#include <isc/platform.h>
#include <isc/print.h>
#include <isc/stats.h>
#include <isc/stdio.h>
#include <isc/string.h>
#include <isc/task.h>
@@ -41,6 +42,7 @@
#include <dns/rdatalist.h>
#include <dns/rdataset.h>
#include <dns/resolver.h>
#include <dns/stats.h>
#include <dns/tsig.h>
#include <dns/view.h>
#include <dns/zone.h>
@@ -48,6 +50,7 @@
#include <named/interfacemgr.h>
#include <named/log.h>
#include <named/notify.h>
#include <named/os.h>
#include <named/server.h>
#include <named/update.h>
@@ -132,7 +135,7 @@ struct ns_clientmgr {
#define MANAGER_MAGIC ISC_MAGIC('N', 'S', 'C', 'm')
#define VALID_MANAGER(m) ISC_MAGIC_VALID(m, MANAGER_MAGIC)
/*!
/*!
* Client object states. Ordering is significant: higher-numbered
* states are generally "more active", meaning that the client can
* have more dynamically allocated data, outstanding events, etc.
@@ -286,7 +289,7 @@ exit_check(ns_client_t *client) {
*
* Keep the view attached until any outstanding updates complete.
*/
if (client->nupdates == 0 &&
if (client->nupdates == 0 &&
client->newstate == NS_CLIENTSTATE_FREED && client->view != NULL)
dns_view_detach(&client->view);
@@ -834,7 +837,7 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) {
isc_buffer_usedregion(buffer, &r);
CTRACE("sendto");
result = isc_socket_sendto2(socket, &r, client->task,
address, pktinfo,
client->sendevent, sockflags);
@@ -906,6 +909,7 @@ ns_client_send(ns_client_t *client) {
unsigned char sendbuf[SEND_BUFFER_SIZE];
unsigned int dnssec_opts;
unsigned int preferred_glue;
isc_boolean_t opt_included = ISC_FALSE;
REQUIRE(NS_CLIENT_VALID(client));
@@ -943,11 +947,10 @@ ns_client_send(ns_client_t *client) {
result = dns_message_renderbegin(client->message, &cctx, &buffer);
if (result != ISC_R_SUCCESS)
goto done;
if (client->opt != NULL) {
result = dns_message_setopt(client->message, client->opt);
/*
* XXXRTH dns_message_setopt() should probably do this...
*/
opt_included = ISC_TRUE;
client->opt = NULL;
if (result != ISC_R_SUCCESS)
goto done;
@@ -1003,6 +1006,25 @@ ns_client_send(ns_client_t *client) {
result = client_sendpkg(client, &tcpbuffer);
} else
result = client_sendpkg(client, &buffer);
/* update statistics (XXXJT: is it okay to access message->xxxkey?) */
isc_stats_increment(ns_g_server->nsstats, dns_nsstatscounter_response);
if (opt_included) {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_edns0out);
}
if (client->message->tsigkey != NULL) {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_tsigout);
}
if (client->message->sig0key != NULL) {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_sig0out);
}
if ((client->message->flags & DNS_MESSAGEFLAG_TC) != 0)
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_truncatedresp);
if (result == ISC_R_SUCCESS)
return;
@@ -1108,8 +1130,8 @@ ns_client_error(ns_client_t *client, isc_result_t result) {
/*
* FORMERR loop avoidance: If we sent a FORMERR message
* with the same ID to the same client less than two
* seconds ago, assume that we are in an infinite error
* packet dialog with a server for some protocol whose
* seconds ago, assume that we are in an infinite error
* packet dialog with a server for some protocol whose
* error responses look enough like DNS queries to
* elicit a FORMERR response. Drop a packet to break
* the loop.
@@ -1179,11 +1201,46 @@ client_addopt(ns_client_t *client) {
*/
rdatalist->ttl = (client->extflags & DNS_MESSAGEEXTFLAG_REPLYPRESERVE);
/*
* No ENDS options in the default case.
*/
rdata->data = NULL;
rdata->length = 0;
/* Set EDNS options if applicable */
if (client->attributes & NS_CLIENTATTR_WANTNSID &&
(ns_g_server->server_id != NULL ||
ns_g_server->server_usehostname)) {
/*
* Space required for NSID data:
* 2 bytes for opt code
* + 2 bytes for NSID length
* + NSID itself
*/
char nsid[BUFSIZ], *nsidp;
isc_buffer_t *buffer = NULL;
if (ns_g_server->server_usehostname) {
isc_result_t result;
result = ns_os_gethostname(nsid, sizeof(nsid));
if (result != ISC_R_SUCCESS) {
goto no_nsid;
}
nsidp = nsid;
} else
nsidp = ns_g_server->server_id;
rdata->length = strlen(nsidp) + 4;
result = isc_buffer_allocate(client->mctx, &buffer,
rdata->length);
if (result != ISC_R_SUCCESS)
goto no_nsid;
isc_buffer_putuint16(buffer, DNS_OPT_NSID);
isc_buffer_putuint16(buffer, strlen(nsidp));
isc_buffer_putstr(buffer, nsidp);
rdata->data = buffer->base;
dns_message_takebuffer(client->message, &buffer);
} else {
no_nsid:
rdata->data = NULL;
rdata->length = 0;
}
rdata->rdclass = rdatalist->rdclass;
rdata->type = rdatalist->type;
rdata->flags = 0;
@@ -1218,7 +1275,7 @@ allowed(isc_netaddr_t *addr, dns_name_t *signer, dns_acl_t *acl) {
* delivered to 'myview'.
*
* We run this unlocked as both the view list and the interface list
* are updated when the approprite task has exclusivity.
* are updated when the appropriate task has exclusivity.
*/
isc_boolean_t
ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
@@ -1284,6 +1341,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
isc_buffer_t tbuffer;
dns_view_t *view;
dns_rdataset_t *opt;
dns_name_t *signame;
isc_boolean_t ra; /* Recursion available. */
isc_netaddr_t netaddr;
isc_netaddr_t destaddr;
@@ -1291,6 +1349,8 @@ client_request(isc_task_t *task, isc_event_t *event) {
dns_messageid_t id;
unsigned int flags;
isc_boolean_t notimp;
dns_rdata_t rdata;
isc_uint16_t optcode;
REQUIRE(event != NULL);
client = event->ev_arg;
@@ -1439,6 +1499,20 @@ client_request(isc_task_t *task, isc_event_t *event) {
}
}
/*
* Update some statistics counters. Don't count responses.
*/
if (isc_sockaddr_pf(&client->peeraddr) == PF_INET) {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_requestv4);
} else {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_requestv6);
}
if (TCP_CLIENT(client))
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_tcp);
/*
* It's a request. Parse it.
*/
@@ -1452,6 +1526,8 @@ client_request(isc_task_t *task, isc_event_t *event) {
goto cleanup;
}
dns_opcodestats_increment(ns_g_server->opcodestats,
client->message->opcode);
switch (client->message->opcode) {
case dns_opcode_query:
case dns_opcode_update:
@@ -1499,12 +1575,35 @@ client_request(isc_task_t *task, isc_event_t *event) {
*/
client->ednsversion = (opt->ttl & 0x00FF0000) >> 16;
if (client->ednsversion > 0) {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_badednsver);
result = client_addopt(client);
if (result == ISC_R_SUCCESS)
result = DNS_R_BADVERS;
ns_client_error(client, result);
goto cleanup;
}
/* Check for NSID request */
result = dns_rdataset_first(opt);
if (result == ISC_R_SUCCESS) {
dns_rdata_init(&rdata);
dns_rdataset_current(opt, &rdata);
if (rdata.length >= 2) {
isc_buffer_t nsidbuf;
isc_buffer_init(&nsidbuf,
rdata.data, rdata.length);
isc_buffer_add(&nsidbuf, rdata.length);
optcode = isc_buffer_getuint16(&nsidbuf);
if (optcode == DNS_OPT_NSID)
client->attributes |=
NS_CLIENTATTR_WANTNSID;
}
}
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_edns0in);
/*
* Create an OPT for our reply.
*/
@@ -1534,7 +1633,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
* For IPv6 UDP queries, we get this from the pktinfo structure (if
* supported).
* If all the attempts fail (this can happen due to memory shortage,
* etc), we regard this as an error for safety.
* etc), we regard this as an error for safety.
*/
if ((client->interface->flags & NS_INTERFACEFLAG_ANYADDR) == 0)
isc_netaddr_fromsockaddr(&destaddr, &client->interface->addr);
@@ -1649,6 +1748,17 @@ client_request(isc_task_t *task, isc_event_t *event) {
client->signer = NULL;
dns_name_init(&client->signername, NULL);
result = dns_message_signer(client->message, &client->signername);
if (result != ISC_R_NOTFOUND) {
signame = NULL;
if (dns_message_gettsig(client->message, &signame) != NULL) {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_tsigin);
} else {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_sig0in);
}
}
if (result == ISC_R_SUCCESS) {
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(3),
@@ -1665,17 +1775,22 @@ client_request(isc_task_t *task, isc_event_t *event) {
} else {
char tsigrcode[64];
isc_buffer_t b;
dns_name_t *name = NULL;
dns_rcode_t status;
isc_result_t tresult;
isc_buffer_init(&b, tsigrcode, sizeof(tsigrcode) - 1);
RUNTIME_CHECK(dns_tsigrcode_totext(client->message->tsigstatus,
&b) == ISC_R_SUCCESS);
tsigrcode[isc_buffer_usedlength(&b)] = '\0';
/* There is a signature, but it is bad. */
if (dns_message_gettsig(client->message, &name) != NULL) {
isc_stats_increment(ns_g_server->nsstats,
dns_nsstatscounter_invalidsig);
signame = NULL;
if (dns_message_gettsig(client->message, &signame) != NULL) {
char namebuf[DNS_NAME_FORMATSIZE];
char cnamebuf[DNS_NAME_FORMATSIZE];
dns_name_format(name, namebuf, sizeof(namebuf));
dns_name_format(signame, namebuf, sizeof(namebuf));
status = client->message->tsigstatus;
isc_buffer_init(&b, tsigrcode, sizeof(tsigrcode) - 1);
tresult = dns_tsigrcode_totext(status, &b);
INSIST(tresult == ISC_R_SUCCESS);
tsigrcode[isc_buffer_usedlength(&b)] = '\0';
if (client->message->tsigkey->generated) {
dns_name_format(client->message->tsigkey->creator,
cnamebuf, sizeof(cnamebuf));
@@ -1697,6 +1812,11 @@ client_request(isc_task_t *task, isc_event_t *event) {
tsigrcode);
}
} else {
status = client->message->sig0status;
isc_buffer_init(&b, tsigrcode, sizeof(tsigrcode) - 1);
tresult = dns_tsigrcode_totext(status, &b);
INSIST(tresult == ISC_R_SUCCESS);
tsigrcode[isc_buffer_usedlength(&b)] = '\0';
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT, ISC_LOG_ERROR,
"request has invalid signature: %s (%s)",
@@ -1835,12 +1955,13 @@ get_clientmctx(ns_clientmgr_t *manager, isc_mem_t **mctxp) {
result = isc_mem_create(0, 0, &clientmctx);
if (result != ISC_R_SUCCESS)
return (result);
isc_mem_setname(clientmctx, "client", NULL);
manager->mctxpool[manager->nextmctx] = clientmctx;
manager->nextmctx++;
if (manager->nextmctx == NMCTXS)
manager->nextmctx = 0;
}
manager->nextmctx++;
if (manager->nextmctx == NMCTXS)
manager->nextmctx = 0;
#else
clientmctx = manager->mctx;
#endif
@@ -2133,7 +2254,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
* Let a new client take our place immediately, before
* we wait for a request packet. If we don't,
* telnetting to port 53 (once per CPU) will
* deny service to legititmate TCP clients.
* deny service to legitimate TCP clients.
*/
result = isc_quota_attach(&ns_g_server->tcpquota,
&client->tcpquota);
@@ -2474,12 +2595,12 @@ ns_client_checkaclsilent(ns_client_t *client, isc_sockaddr_t *sockaddr,
goto deny;
}
if (sockaddr == NULL)
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
else
isc_netaddr_fromsockaddr(&netaddr, sockaddr);
result = dns_acl_match(&netaddr, client->signer, acl,
&ns_g_server->aclenv,
&match, NULL);
@@ -2505,7 +2626,7 @@ ns_client_checkacl(ns_client_t *client, isc_sockaddr_t *sockaddr,
isc_result_t result =
ns_client_checkaclsilent(client, sockaddr, acl, default_allow);
if (result == ISC_R_SUCCESS)
if (result == ISC_R_SUCCESS)
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(3),
"%s approved", opname);
@@ -2561,7 +2682,7 @@ ns_client_log(ns_client_t *client, isc_logcategory_t *category,
void
ns_client_aclmsg(const char *msg, dns_name_t *name, dns_rdatatype_t type,
dns_rdataclass_t rdclass, char *buf, size_t len)
dns_rdataclass_t rdclass, char *buf, size_t len)
{
char namebuf[DNS_NAME_FORMATSIZE];
char typebuf[DNS_RDATATYPE_FORMATSIZE];
+16 -13
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,14 +15,13 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.77 2007/03/29 23:47:04 tbox Exp $ */
/* $Id: config.c,v 1.82.38.8 2008/09/27 23:39:42 jinmei Exp $ */
/*! \file */
#include <config.h>
#include <stdlib.h>
#include <string.h>
#include <isc/buffer.h>
#include <isc/log.h>
@@ -31,6 +30,7 @@
#include <isc/region.h>
#include <isc/result.h>
#include <isc/sockaddr.h>
#include <isc/string.h>
#include <isc/util.h>
#include <isccfg/namedconf.h>
@@ -52,7 +52,7 @@ options {\n\
#ifndef WIN32
" coresize default;\n\
datasize default;\n\
files default;\n\
files unlimited;\n\
stacksize default;\n"
#endif
" deallocate-on-exit true;\n\
@@ -99,6 +99,8 @@ options {\n\
use-ixfr true;\n\
edns-udp-size 4096;\n\
max-udp-size 4096;\n\
request-nsid false;\n\
reserved-sockets 512;\n\
\n\
/* view */\n\
allow-notify {none;};\n\
@@ -123,7 +125,7 @@ options {\n\
query-source-v6 address *;\n\
notify-source *;\n\
notify-source-v6 *;\n\
cleaning-interval 60;\n\
cleaning-interval 0; /* now meaningless */\n\
min-roots 2;\n\
lame-ttl 600;\n\
max-ncache-ttl 10800; /* 3 hours */\n\
@@ -136,9 +138,9 @@ options {\n\
check-mx warn;\n\
acache-enable no;\n\
acache-cleaning-interval 60;\n\
max-acache-size 0;\n\
max-acache-size 16M;\n\
dnssec-enable yes;\n\
dnssec-validation no; /* Make yes for 9.5. */ \n\
dnssec-validation yes; \n\
dnssec-accept-expired no;\n\
clients-per-query 10;\n\
max-clients-per-query 100;\n\
@@ -152,6 +154,7 @@ options {\n\
notify yes;\n\
# also-notify <none>\n\
notify-delay 5;\n\
notify-to-soa no;\n\
dialup no;\n\
# forward <none>\n\
# forwarders <none>\n\
@@ -186,7 +189,7 @@ options {\n\
"
"#\n\
# Zones in the \"_bind\" view are NOT counted is the count of zones.\n\
# Zones in the \"_bind\" view are NOT counted in the count of zones.\n\
#\n\
view \"_bind\" chaos {\n\
recursion no;\n\
@@ -406,7 +409,7 @@ ns_config_putiplist(isc_mem_t *mctx, isc_sockaddr_t **addrsp,
static isc_result_t
get_masters_def(const cfg_obj_t *cctx, const char *name,
const cfg_obj_t **ret)
const cfg_obj_t **ret)
{
isc_result_t result;
const cfg_obj_t *masters = NULL;
@@ -524,7 +527,7 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
tresult = get_masters_def(config, listname, &list);
if (tresult == ISC_R_NOTFOUND) {
cfg_obj_log(addr, ns_g_lctx, ISC_LOG_ERROR,
"masters \"%s\" not found", listname);
"masters \"%s\" not found", listname);
result = tresult;
goto cleanup;
@@ -602,7 +605,7 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
if (keys[i] == NULL)
goto cleanup;
dns_name_init(keys[i], NULL);
keystr = cfg_obj_asstring(key);
isc_buffer_init(&b, keystr, strlen(keystr));
isc_buffer_add(&b, strlen(keystr));
@@ -658,7 +661,7 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
isc_mem_put(mctx, lists, listcount * sizeof(*lists));
if (stack != NULL)
isc_mem_put(mctx, stack, stackcount * sizeof(*stack));
INSIST(keycount == addrcount);
*addrsp = addrs;
+9 -7
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,17 +15,17 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.c,v 1.31 2007/02/26 23:46:54 tbox Exp $ */
/* $Id: control.c,v 1.33.62.2 2009/07/11 23:46:45 tbox Exp $ */
/*! \file */
#include <config.h>
#include <string.h>
#include <isc/app.h>
#include <isc/event.h>
#include <isc/mem.h>
#include <isc/string.h>
#include <isc/timer.h>
#include <isc/util.h>
@@ -56,7 +56,7 @@ command_compare(const char *text, const char *command) {
/*%
* This function is called to process the incoming command
* when a control channel message is received.
* when a control channel message is received.
*/
isc_result_t
ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *text) {
@@ -170,10 +170,12 @@ ns_control_docommand(isccc_sexpr_t *message, isc_buffer_t *text) {
} else if (command_compare(command, NS_COMMAND_TSIGDELETE)) {
result = ns_server_tsigdelete(ns_g_server, command, text);
} else if (command_compare(command, NS_COMMAND_FREEZE)) {
result = ns_server_freeze(ns_g_server, ISC_TRUE, command);
result = ns_server_freeze(ns_g_server, ISC_TRUE, command,
text);
} else if (command_compare(command, NS_COMMAND_UNFREEZE) ||
command_compare(command, NS_COMMAND_THAW)) {
result = ns_server_freeze(ns_g_server, ISC_FALSE, command);
result = ns_server_freeze(ns_g_server, ISC_FALSE, command,
text);
} else if (command_compare(command, NS_COMMAND_RECURSING)) {
result = ns_server_dumprecursing(ns_g_server);
} else if (command_compare(command, NS_COMMAND_TIMERPOKE)) {
+48 -53
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: controlconf.c,v 1.53 2007/02/14 00:27:26 marka Exp $ */
/* $Id: controlconf.c,v 1.55.64.4 2008/07/23 23:31:17 marka Exp $ */
/*! \file */
@@ -345,9 +345,9 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
listener = conn->listener;
secret.rstart = NULL;
/* Is the server shutting down? */
if (listener->controls->shuttingdown)
goto cleanup;
/* Is the server shutting down? */
if (listener->controls->shuttingdown)
goto cleanup;
if (conn->ccmsg.result != ISC_R_SUCCESS) {
if (conn->ccmsg.result != ISC_R_CANCELED &&
@@ -364,9 +364,6 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
{
ccregion.rstart = isc_buffer_base(&conn->ccmsg.buffer);
ccregion.rend = isc_buffer_used(&conn->ccmsg.buffer);
if (secret.rstart != NULL)
isc_mem_put(listener->mctx, secret.rstart,
REGION_SIZE(secret));
secret.rstart = isc_mem_get(listener->mctx, key->secret.length);
if (secret.rstart == NULL)
goto cleanup;
@@ -375,7 +372,8 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
result = isccc_cc_fromwire(&ccregion, &request, &secret);
if (result == ISC_R_SUCCESS)
break;
else if (result == ISCCC_R_BADAUTH) {
isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
if (result == ISCCC_R_BADAUTH) {
/*
* For some reason, request is non-NULL when
* isccc_cc_fromwire returns ISCCC_R_BADAUTH.
@@ -396,7 +394,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
/* We shouldn't be getting a reply. */
if (isccc_cc_isreply(request)) {
log_invalid(&conn->ccmsg, ISC_R_FAILURE);
goto cleanup;
goto cleanup_request;
}
isc_stdtime_get(&now);
@@ -407,17 +405,17 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
_ctrl = isccc_alist_lookup(request, "_ctrl");
if (_ctrl == NULL) {
log_invalid(&conn->ccmsg, ISC_R_FAILURE);
goto cleanup;
goto cleanup_request;
}
if (isccc_cc_lookupuint32(_ctrl, "_tim", &sent) == ISC_R_SUCCESS) {
if ((sent + CLOCKSKEW) < now || (sent - CLOCKSKEW) > now) {
log_invalid(&conn->ccmsg, ISCCC_R_CLOCKSKEW);
goto cleanup;
goto cleanup_request;
}
} else {
log_invalid(&conn->ccmsg, ISC_R_FAILURE);
goto cleanup;
goto cleanup_request;
}
/*
@@ -426,7 +424,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (isccc_cc_lookupuint32(_ctrl, "_exp", &exp) == ISC_R_SUCCESS &&
now > exp) {
log_invalid(&conn->ccmsg, ISCCC_R_EXPIRED);
goto cleanup;
goto cleanup_request;
}
/*
@@ -436,16 +434,16 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
result = isccc_cc_checkdup(listener->controls->symtab, request, now);
if (result != ISC_R_SUCCESS) {
if (result == ISC_R_EXISTS)
result = ISCCC_R_DUPLICATE;
result = ISCCC_R_DUPLICATE;
log_invalid(&conn->ccmsg, result);
goto cleanup;
goto cleanup_request;
}
if (conn->nonce != 0 &&
(isccc_cc_lookupuint32(_ctrl, "_nonce", &nonce) != ISC_R_SUCCESS ||
conn->nonce != nonce)) {
log_invalid(&conn->ccmsg, ISCCC_R_BADAUTH);
goto cleanup;
goto cleanup_request;
}
/*
@@ -459,7 +457,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
result = isccc_cc_createresponse(request, now, now + 60, &response);
if (result != ISC_R_SUCCESS)
goto cleanup;
goto cleanup_request;
if (eresult != ISC_R_SUCCESS) {
isccc_sexpr_t *data;
@@ -467,7 +465,7 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (data != NULL) {
const char *estr = isc_result_totext(eresult);
if (isccc_cc_definestring(data, "err", estr) == NULL)
goto cleanup;
goto cleanup_response;
}
}
@@ -478,20 +476,20 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
if (data != NULL) {
char *str = (char *)isc_buffer_base(&text);
if (isccc_cc_definestring(data, "text", str) == NULL)
goto cleanup;
goto cleanup_response;
}
}
_ctrl = isccc_alist_lookup(response, "_ctrl");
if (_ctrl == NULL ||
isccc_cc_defineuint32(_ctrl, "_nonce", conn->nonce) == NULL)
goto cleanup;
goto cleanup_response;
ccregion.rstart = conn->buffer + 4;
ccregion.rend = conn->buffer + sizeof(conn->buffer);
result = isccc_cc_towire(response, &ccregion, &secret);
if (result != ISC_R_SUCCESS)
goto cleanup;
goto cleanup_response;
isc_buffer_init(&b, conn->buffer, 4);
len = sizeof(conn->buffer) - REGION_SIZE(ccregion);
isc_buffer_putuint32(&b, len - 4);
@@ -500,31 +498,27 @@ control_recvmessage(isc_task_t *task, isc_event_t *event) {
result = isc_socket_send(conn->sock, &r, task, control_senddone, conn);
if (result != ISC_R_SUCCESS)
goto cleanup;
goto cleanup_response;
conn->sending = ISC_TRUE;
if (secret.rstart != NULL)
isc_mem_put(listener->mctx, secret.rstart,
REGION_SIZE(secret));
if (request != NULL)
isccc_sexpr_free(&request);
if (response != NULL)
isccc_sexpr_free(&response);
isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
isccc_sexpr_free(&request);
isccc_sexpr_free(&response);
return;
cleanup_response:
isccc_sexpr_free(&response);
cleanup_request:
isccc_sexpr_free(&request);
isc_mem_put(listener->mctx, secret.rstart, REGION_SIZE(secret));
cleanup:
if (secret.rstart != NULL)
isc_mem_put(listener->mctx, secret.rstart,
REGION_SIZE(secret));
isc_socket_detach(&conn->sock);
isccc_ccmsg_invalidate(&conn->ccmsg);
conn->ccmsg_valid = ISC_FALSE;
maybe_free_connection(conn);
maybe_free_listener(listener);
if (request != NULL)
isccc_sexpr_free(&request);
if (response != NULL)
isccc_sexpr_free(&response);
}
static void
@@ -548,7 +542,7 @@ newconnection(controllistener_t *listener, isc_socket_t *sock) {
conn = isc_mem_get(listener->mctx, sizeof(*conn));
if (conn == NULL)
return (ISC_R_NOMEMORY);
conn->sock = sock;
isccc_ccmsg_init(listener->mctx, sock, &conn->ccmsg);
conn->ccmsg_valid = ISC_TRUE;
@@ -661,7 +655,7 @@ ns_controls_shutdown(ns_controls_t *controls) {
static isc_result_t
cfgkeylist_find(const cfg_obj_t *keylist, const char *keyname,
const cfg_obj_t **objp)
const cfg_obj_t **objp)
{
const cfg_listelt_t *element;
const char *str;
@@ -809,7 +803,7 @@ register_keys(const cfg_obj_t *control, const cfg_obj_t *keylist,
if (result != ISC_R_SUCCESS) \
goto cleanup; \
} while (0)
static isc_result_t
get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
isc_result_t result;
@@ -829,14 +823,14 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
CHECK(cfg_map_get(config, "key", &key));
keyid = isc_mem_get(mctx, sizeof(*keyid));
if (keyid == NULL)
if (keyid == NULL)
CHECK(ISC_R_NOMEMORY);
keyid->keyname = isc_mem_strdup(mctx,
cfg_obj_asstring(cfg_map_getname(key)));
keyid->secret.base = NULL;
keyid->secret.length = 0;
ISC_LINK_INIT(keyid, link);
if (keyid->keyname == NULL)
if (keyid->keyname == NULL)
CHECK(ISC_R_NOMEMORY);
CHECK(bind9_check_key(key, ns_g_lctx));
@@ -892,7 +886,7 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
cfg_parser_destroy(&pctx);
return (result);
}
/*
* Ensures that both '*global_keylistp' and '*control_keylistp' are
* valid or both are NULL.
@@ -926,7 +920,7 @@ static void
update_listener(ns_controls_t *cp, controllistener_t **listenerp,
const cfg_obj_t *control, const cfg_obj_t *config,
isc_sockaddr_t *addr, cfg_aclconfctx_t *aclconfctx,
const char *socktext, isc_sockettype_t type)
const char *socktext, isc_sockettype_t type)
{
controllistener_t *listener;
const cfg_obj_t *allow;
@@ -946,7 +940,7 @@ update_listener(ns_controls_t *cp, controllistener_t **listenerp,
*listenerp = NULL;
return;
}
/*
* There is already a listener for this sockaddr.
* Update the access list and key information.
@@ -1014,7 +1008,7 @@ update_listener(ns_controls_t *cp, controllistener_t **listenerp,
if (control != NULL && type == isc_sockettype_tcp) {
allow = cfg_tuple_get(control, "allow");
result = cfg_acl_fromconfig(allow, config, ns_g_lctx,
aclconfctx, listener->mctx,
aclconfctx, listener->mctx, 0,
&new_acl);
} else {
result = dns_acl_any(listener->mctx, &new_acl);
@@ -1101,7 +1095,8 @@ add_listener(ns_controls_t *cp, controllistener_t **listenerp,
if (control != NULL && type == isc_sockettype_tcp) {
allow = cfg_tuple_get(control, "allow");
result = cfg_acl_fromconfig(allow, config, ns_g_lctx,
aclconfctx, mctx, &new_acl);
aclconfctx, mctx, 0,
&new_acl);
} else {
result = dns_acl_any(mctx, &new_acl);
}
@@ -1154,8 +1149,8 @@ add_listener(ns_controls_t *cp, controllistener_t **listenerp,
isc_socket_setname(listener->sock, "control", NULL);
if (result == ISC_R_SUCCESS)
result = isc_socket_bind(listener->sock,
&listener->address);
result = isc_socket_bind(listener->sock, &listener->address,
ISC_SOCKET_REUSEADDRESS);
if (result == ISC_R_SUCCESS && type == isc_sockettype_unix) {
listener->perm = cfg_obj_asuint32(cfg_tuple_get(control,
@@ -1342,7 +1337,7 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
update_listener(cp, &listener, control, config,
&addr, aclconfctx,
cfg_obj_asstring(path),
cfg_obj_asstring(path),
isc_sockettype_unix);
if (listener != NULL)
@@ -1388,10 +1383,10 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
isc_sockaddr_setport(&addr, NS_CONTROL_PORT);
isc_sockaddr_format(&addr, socktext, sizeof(socktext));
update_listener(cp, &listener, NULL, NULL,
&addr, NULL, socktext,
isc_sockettype_tcp);
isc_sockettype_tcp);
if (listener != NULL)
/*
+30 -9
View File
@@ -1,8 +1,8 @@
#!/usr/bin/env perl
#
# Copyright (C) 2006 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2006-2008 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and distribute this software for any
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
@@ -14,23 +14,44 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: convertxsl.pl,v 1.6 2006/12/22 01:59:43 marka Exp $
# $Id: convertxsl.pl,v 1.9.60.5 2008/07/17 23:50:58 jinmei Exp $
use strict;
use warnings;
print 'static char msg[] = "';
my $rev = '$Id: convertxsl.pl,v 1.9.60.5 2008/07/17 23:50:58 jinmei Exp $';
$rev =~ s/\$//g;
$rev =~ s/,v//g;
$rev =~ s/Id: //;
my $xsl = "unknown";
my $lines = '';
while (<>) {
chomp;
$lines .= $_;
# pickout the id for comment.
$xsl = $_ if (/<!-- .Id:.* -->/);
# convert Id string to a form not recognisable by cvs.
$_ =~ s/<!-- .Id:(.*). -->/<!-- \\045Id: $1\\045 -->/;
s/[\ \t]+/ /g;
s/\>\ \</\>\</g;
s/\"/\\\"/g;
s/^/\t\"/;
s/$/\\n\"/;
if ($lines eq "") {
$lines .= $_;
} else {
$lines .= "\n" . $_;
}
}
$lines =~ s/[\ \t]+/ /g;
$lines =~ s/\>\ \</\>\</g;
$lines =~ s/\"/\\\"/g;
$xsl =~ s/\$//g;
$xsl =~ s/<!-- Id: //;
$xsl =~ s/ -->.*//;
$xsl =~ s/,v//;
print "/*\n * Generated by $rev \n * From $xsl\n */\n";
print 'static char xslmsg[] =',"\n";
print $lines;
print '\\n";', "\n";
print ';', "\n";
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: builtin.h,v 1.4 2005/04/29 00:22:29 marka Exp $ */
/* $Id: builtin.h,v 1.6 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_BUILTIN_H
#define NAMED_BUILTIN_H 1
+8 -7
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.h,v 1.81 2007/03/29 23:47:04 tbox Exp $ */
/* $Id: client.h,v 1.82.128.4 2009/01/19 23:47:01 tbox Exp $ */
#ifndef NAMED_CLIENT_H
#define NAMED_CLIENT_H 1
@@ -24,7 +24,7 @@
***** Module Info
*****/
/*! \file
/*! \file
* \brief
* This module defines two objects, ns_client_t and ns_clientmgr_t.
*
@@ -155,10 +155,11 @@ struct ns_client {
#define NS_CLIENT_VALID(c) ISC_MAGIC_VALID(c, NS_CLIENT_MAGIC)
#define NS_CLIENTATTR_TCP 0x01
#define NS_CLIENTATTR_RA 0x02 /*%< Client gets recusive service */
#define NS_CLIENTATTR_RA 0x02 /*%< Client gets recursive service */
#define NS_CLIENTATTR_PKTINFO 0x04 /*%< pktinfo is valid */
#define NS_CLIENTATTR_MULTICAST 0x08 /*%< recv'd from multicast */
#define NS_CLIENTATTR_WANTDNSSEC 0x10 /*%< include dnssec records */
#define NS_CLIENTATTR_WANTNSID 0x20 /*%< include nameserver ID */
extern unsigned int ns_client_requests;
@@ -358,8 +359,8 @@ ns_client_qnamereplace(ns_client_t *client, dns_name_t *name);
isc_boolean_t
ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr,
dns_rdataclass_t rdclass, void *arg);
isc_sockaddr_t *srcaddr, isc_sockaddr_t *destaddr,
dns_rdataclass_t rdclass, void *arg);
/*%
* Isself callback.
*/
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.h,v 1.12 2006/02/28 02:39:51 marka Exp $ */
/* $Id: config.h,v 1.14 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_CONFIG_H
#define NAMED_CONFIG_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.h,v 1.23 2006/12/04 01:52:45 marka Exp $ */
/* $Id: control.h,v 1.25 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_CONTROL_H
#define NAMED_CONTROL_H 1
+5 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: globals.h,v 1.70 2006/12/22 03:07:57 explorer Exp $ */
/* $Id: globals.h,v 1.73.46.2 2008/10/24 01:44:15 tbox Exp $ */
#ifndef NAMED_GLOBALS_H
#define NAMED_GLOBALS_H 1
@@ -48,6 +48,7 @@ EXTERN isc_taskmgr_t * ns_g_taskmgr INIT(NULL);
EXTERN dns_dispatchmgr_t * ns_g_dispatchmgr INIT(NULL);
EXTERN isc_entropy_t * ns_g_entropy INIT(NULL);
EXTERN isc_entropy_t * ns_g_fallbackentropy INIT(NULL);
EXTERN unsigned int ns_g_cpus_detected INIT(1);
/*
* XXXRTH We're going to want multiple timer managers eventually. One
@@ -114,6 +115,7 @@ EXTERN const char * ns_g_username INIT(NULL);
EXTERN int ns_g_listen INIT(3);
EXTERN isc_time_t ns_g_boottime;
EXTERN isc_boolean_t ns_g_memstatistics INIT(ISC_FALSE);
#undef EXTERN
#undef INIT
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.h,v 1.31 2005/07/18 05:58:57 marka Exp $ */
/* $Id: interfacemgr.h,v 1.33 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_INTERFACEMGR_H
#define NAMED_INTERFACEMGR_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: listenlist.h,v 1.13 2005/04/29 00:22:30 marka Exp $ */
/* $Id: listenlist.h,v 1.15 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_LISTENLIST_H
#define NAMED_LISTENLIST_H 1
+4 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.h,v 1.23 2005/04/29 00:22:30 marka Exp $ */
/* $Id: log.h,v 1.25.128.2 2009/01/27 23:46:49 tbox Exp $ */
#ifndef NAMED_LOG_H
#define NAMED_LOG_H 1
@@ -36,6 +36,7 @@
#define NS_LOGCATEGORY_QUERIES (&ns_g_categories[4])
#define NS_LOGCATEGORY_UNMATCHED (&ns_g_categories[5])
#define NS_LOGCATEGORY_UPDATE_SECURITY (&ns_g_categories[6])
#define NS_LOGCATEGORY_QUERY_EERRORS (&ns_g_categories[7])
/*
* Backwards compatibility.
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: logconf.h,v 1.15 2006/03/02 00:37:23 marka Exp $ */
/* $Id: logconf.h,v 1.17 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_LOGCONF_H
#define NAMED_LOGCONF_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwaddr.h,v 1.6 2005/04/29 00:22:31 marka Exp $ */
/* $Id: lwaddr.h,v 1.8 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+4 -4
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdclient.h,v 1.16 2005/04/29 00:22:31 marka Exp $ */
/* $Id: lwdclient.h,v 1.18.128.2 2009/01/19 23:47:01 tbox Exp $ */
#ifndef NAMED_LWDCLIENT_H
#define NAMED_LWDCLIENT_H 1
@@ -39,7 +39,7 @@
#define LWRD_SHUTDOWN (LWRD_EVENTCLASS + 0x0001)
/*% Lighweight Resolver Daemon Client */
/*% Lightweight Resolver Daemon Client */
struct ns_lwdclient {
isc_sockaddr_t address; /*%< where to reply */
struct in6_pktinfo pktinfo;
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwresd.h,v 1.17 2006/03/02 00:37:23 marka Exp $ */
/* $Id: lwresd.h,v 1.19 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_LWRESD_H
#define NAMED_LWRESD_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwsearch.h,v 1.7 2005/04/29 00:22:31 marka Exp $ */
/* $Id: lwsearch.h,v 1.9 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_LWSEARCH_H
#define NAMED_LWSEARCH_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: main.h,v 1.13 2005/04/29 00:22:32 marka Exp $ */
/* $Id: main.h,v 1.15 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_MAIN_H
#define NAMED_MAIN_H 1
+4 -4
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: notify.h,v 1.12 2005/04/29 00:22:32 marka Exp $ */
/* $Id: notify.h,v 1.14.128.2 2009/01/19 23:47:01 tbox Exp $ */
#ifndef NAMED_NOTIFY_H
#define NAMED_NOTIFY_H 1
@@ -41,7 +41,7 @@ void
ns_notify_start(ns_client_t *client);
/*%<
* Examines the incoming message to determine apporiate zone.
* Examines the incoming message to determine appropriate zone.
* Returns FORMERR if there is not exactly one question.
* Returns REFUSED if we do not serve the listed zone.
* Pass the message to the zone module for processing
+3 -3
View File
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: ns_smf_globals.h,v 1.5 2005/05/13 01:35:41 marka Exp $ */
/* $Id: ns_smf_globals.h,v 1.7 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NS_SMF_GLOBALS_H
#define NS_SMF_GLOBALS_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.h,v 1.38 2005/04/29 00:22:32 marka Exp $ */
/* $Id: query.h,v 1.40 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_QUERY_H
#define NAMED_QUERY_H 1
+62 -9
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,14 +15,13 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.h,v 1.85 2006/12/21 06:02:30 marka Exp $ */
/* $Id: server.h,v 1.88.10.7 2009/07/11 04:28:14 marka Exp $ */
#ifndef NAMED_SERVER_H
#define NAMED_SERVER_H 1
/*! \file */
#include <isc/httpd.h>
#include <isc/log.h>
#include <isc/magic.h>
#include <isc/quota.h>
@@ -64,7 +63,7 @@ struct ns_server {
isc_boolean_t server_usehostname;
char * server_id; /*%< User-specified server id */
/*%
/*%
* Current ACL environment. This defines the
* current values of the localhost and localnets
* ACLs.
@@ -92,21 +91,74 @@ struct ns_server {
isc_boolean_t flushonshutdown;
isc_boolean_t log_queries; /*%< For BIND 8 compatibility */
isc_uint64_t * querystats; /*%< Query statistics counters */
isc_stats_t * nsstats; /*%< Server statistics */
dns_stats_t * rcvquerystats; /*% Incoming query statistics */
dns_stats_t * opcodestats; /*%< Incoming message statistics */
isc_stats_t * zonestats; /*% Zone management statistics */
isc_stats_t * resolverstats; /*% Resolver statistics */
isc_stats_t * sockstats; /*%< Socket statistics */
ns_controls_t * controls; /*%< Control channels */
unsigned int dispatchgen;
ns_dispatchlist_t dispatches;
dns_acache_t *acache;
isc_httpdmgr_t *httpd;
isc_sockaddr_t httpd_sockaddr;
ns_statschannellist_t statschannels;
};
#define NS_SERVER_MAGIC ISC_MAGIC('S','V','E','R')
#define NS_SERVER_VALID(s) ISC_MAGIC_VALID(s, NS_SERVER_MAGIC)
/*%
* Server statistics counters. Used as isc_statscounter_t values.
*/
enum {
dns_nsstatscounter_requestv4 = 0,
dns_nsstatscounter_requestv6 = 1,
dns_nsstatscounter_edns0in = 2,
dns_nsstatscounter_badednsver = 3,
dns_nsstatscounter_tsigin = 4,
dns_nsstatscounter_sig0in = 5,
dns_nsstatscounter_invalidsig = 6,
dns_nsstatscounter_tcp = 7,
dns_nsstatscounter_authrej = 8,
dns_nsstatscounter_recurserej = 9,
dns_nsstatscounter_xfrrej = 10,
dns_nsstatscounter_updaterej = 11,
dns_nsstatscounter_response = 12,
dns_nsstatscounter_truncatedresp = 13,
dns_nsstatscounter_edns0out = 14,
dns_nsstatscounter_tsigout = 15,
dns_nsstatscounter_sig0out = 16,
dns_nsstatscounter_success = 17,
dns_nsstatscounter_authans = 18,
dns_nsstatscounter_nonauthans = 19,
dns_nsstatscounter_referral = 20,
dns_nsstatscounter_nxrrset = 21,
dns_nsstatscounter_servfail = 22,
dns_nsstatscounter_formerr = 23,
dns_nsstatscounter_nxdomain = 24,
dns_nsstatscounter_recursion = 25,
dns_nsstatscounter_duplicate = 26,
dns_nsstatscounter_dropped = 27,
dns_nsstatscounter_failure = 28,
dns_nsstatscounter_xfrdone = 29,
dns_nsstatscounter_updatereqfwd = 30,
dns_nsstatscounter_updaterespfwd = 31,
dns_nsstatscounter_updatefwdfail = 32,
dns_nsstatscounter_updatedone = 33,
dns_nsstatscounter_updatefail = 34,
dns_nsstatscounter_updatebadprereq = 35,
dns_nsstatscounter_max = 36
};
void
ns_server_create(isc_mem_t *mctx, ns_server_t **serverp);
/*%<
@@ -224,7 +276,8 @@ ns_server_tsigdelete(ns_server_t *server, char *command, isc_buffer_t *text);
* Enable or disable updates for a zone.
*/
isc_result_t
ns_server_freeze(ns_server_t *server, isc_boolean_t freeze, char *args);
ns_server_freeze(ns_server_t *server, isc_boolean_t freeze, char *args,
isc_buffer_t *text);
/*%
* Dump the current recursive queries.
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: sortlist.h,v 1.9 2006/03/02 00:37:23 marka Exp $ */
/* $Id: sortlist.h,v 1.11 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_SORTLIST_H
#define NAMED_SORTLIST_H 1
+61
View File
@@ -0,0 +1,61 @@
/*
* Copyright (C) 2008 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
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* 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: statschannel.h,v 1.2.2.2 2008/04/03 06:10:19 marka Exp $ */
#ifndef NAMED_STATSCHANNEL_H
#define NAMED_STATSCHANNEL_H 1
/*! \file
* \brief
* The statistics channels built-in the name server.
*/
#include <isccc/types.h>
#include <isccfg/aclconf.h>
#include <named/types.h>
#define NS_STATSCHANNEL_HTTPPORT 80
isc_result_t
ns_statschannels_configure(ns_server_t *server, const cfg_obj_t *config,
cfg_aclconfctx_t *aclconfctx);
/*%<
* [Re]configure the statistics channels.
*
* If it is no longer there but was previously configured, destroy
* it here.
*
* If the IP address or port has changed, destroy the old server
* and create a new one.
*/
void
ns_statschannels_shutdown(ns_server_t *server);
/*%<
* Initiate shutdown of all the statistics channel listeners.
*/
isc_result_t
ns_stats_dump(ns_server_t *server, FILE *fp);
/*%<
* Dump statistics counters managed by the server to the file fp.
*/
#endif /* NAMED_STATSCHANNEL_H */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: tkeyconf.h,v 1.14 2006/03/02 00:37:23 marka Exp $ */
/* $Id: tkeyconf.h,v 1.16 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NS_TKEYCONF_H
#define NS_TKEYCONF_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: tsigconf.h,v 1.14 2006/03/02 00:37:23 marka Exp $ */
/* $Id: tsigconf.h,v 1.16 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NS_TSIGCONF_H
#define NS_TSIGCONF_H 1
+5 -4
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: types.h,v 1.25 2006/12/22 01:59:43 marka Exp $ */
/* $Id: types.h,v 1.27.128.2 2008/01/17 23:46:36 tbox Exp $ */
#ifndef NAMED_TYPES_H
#define NAMED_TYPES_H 1
@@ -41,5 +41,6 @@ typedef struct ns_lwsearchctx ns_lwsearchctx_t;
typedef struct ns_controls ns_controls_t;
typedef struct ns_dispatch ns_dispatch_t;
typedef ISC_LIST(ns_dispatch_t) ns_dispatchlist_t;
typedef struct ns_statschannel ns_statschannel_t;
typedef ISC_LIST(ns_statschannel_t) ns_statschannellist_t;
#endif /* NAMED_TYPES_H */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: update.h,v 1.11 2005/04/29 00:22:33 marka Exp $ */
/* $Id: update.h,v 1.13 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_UPDATE_H
#define NAMED_UPDATE_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: xfrout.h,v 1.10 2005/04/29 00:22:33 marka Exp $ */
/* $Id: xfrout.h,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_XFROUT_H
#define NAMED_XFROUT_H 1
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zoneconf.h,v 1.24 2006/03/02 00:37:23 marka Exp $ */
/* $Id: zoneconf.h,v 1.26 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NS_ZONECONF_H
#define NS_ZONECONF_H 1
+31 -38
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.88 2007/02/13 02:49:08 marka Exp $ */
/* $Id: interfacemgr.c,v 1.90.64.5 2009/01/19 23:47:01 tbox Exp $ */
/*! \file */
@@ -90,7 +90,7 @@ ns_interfacemgr_create(isc_mem_t *mctx, isc_taskmgr_t *taskmgr,
mgr->generation = 1;
mgr->listenon4 = NULL;
mgr->listenon6 = NULL;
ISC_LIST_INIT(mgr->interfaces);
ISC_LIST_INIT(mgr->listenon);
@@ -308,7 +308,8 @@ ns_interface_accepttcp(ns_interface_t *ifp) {
#ifndef ISC_ALLOW_MAPPED
isc_socket_ipv6only(ifp->tcpsocket, ISC_TRUE);
#endif
result = isc_socket_bind(ifp->tcpsocket, &ifp->addr);
result = isc_socket_bind(ifp->tcpsocket, &ifp->addr,
ISC_SOCKET_REUSEADDRESS);
if (result != ISC_R_SUCCESS) {
isc_log_write(IFMGR_COMMON_LOGARGS, ISC_LOG_ERROR,
"binding TCP socket: %s",
@@ -323,7 +324,7 @@ ns_interface_accepttcp(ns_interface_t *ifp) {
goto tcp_listen_failure;
}
/*
/*
* If/when there a multiple filters listen to the
* result.
*/
@@ -483,7 +484,7 @@ static isc_result_t
clearacl(isc_mem_t *mctx, dns_acl_t **aclp) {
dns_acl_t *newacl = NULL;
isc_result_t result;
result = dns_acl_create(mctx, 10, &newacl);
result = dns_acl_create(mctx, 0, &newacl);
if (result != ISC_R_SUCCESS)
return (result);
dns_acl_detach(aclp);
@@ -494,36 +495,31 @@ clearacl(isc_mem_t *mctx, dns_acl_t **aclp) {
static isc_boolean_t
listenon_is_ip6_any(ns_listenelt_t *elt) {
if (elt->acl->length != 1)
return (ISC_FALSE);
if (elt->acl->elements[0].negative == ISC_FALSE &&
elt->acl->elements[0].type == dns_aclelementtype_any)
return (ISC_TRUE); /* listen-on-v6 { any; } */
return (ISC_FALSE); /* All others */
REQUIRE(elt && elt->acl);
return dns_acl_isany(elt->acl);
}
static isc_result_t
setup_locals(ns_interfacemgr_t *mgr, isc_interface_t *interface) {
isc_result_t result;
dns_aclelement_t elt;
unsigned int family;
unsigned int prefixlen;
isc_netaddr_t *netaddr;
family = interface->address.family;
elt.type = dns_aclelementtype_ipprefix;
elt.negative = ISC_FALSE;
elt.u.ip_prefix.address = interface->address;
elt.u.ip_prefix.prefixlen = (family == AF_INET) ? 32 : 128;
result = dns_acl_appendelement(mgr->aclenv.localhost, &elt);
netaddr = &interface->address;
/* First add localhost address */
prefixlen = (netaddr->family == AF_INET) ? 32 : 128;
result = dns_iptable_addprefix(mgr->aclenv.localhost->iptable,
netaddr, prefixlen, ISC_TRUE);
if (result != ISC_R_SUCCESS)
return (result);
/* Then add localnets prefix */
result = isc_netaddr_masktoprefixlen(&interface->netmask,
&prefixlen);
/* Non contigious netmasks not allowed by IPv6 arch. */
if (result != ISC_R_SUCCESS && family == AF_INET6)
/* Non contiguous netmasks not allowed by IPv6 arch. */
if (result != ISC_R_SUCCESS && netaddr->family == AF_INET6)
return (result);
if (result != ISC_R_SUCCESS) {
@@ -533,24 +529,21 @@ setup_locals(ns_interfacemgr_t *mgr, isc_interface_t *interface) {
"localnets ACL: %s",
interface->name,
isc_result_totext(result));
} else {
elt.u.ip_prefix.prefixlen = prefixlen;
if (dns_acl_elementmatch(mgr->aclenv.localnets, &elt,
NULL) == ISC_R_NOTFOUND) {
result = dns_acl_appendelement(mgr->aclenv.localnets,
&elt);
if (result != ISC_R_SUCCESS)
return (result);
}
return (ISC_R_SUCCESS);
}
result = dns_iptable_addprefix(mgr->aclenv.localnets->iptable,
netaddr, prefixlen, ISC_TRUE);
if (result != ISC_R_SUCCESS)
return (result);
return (ISC_R_SUCCESS);
}
static void
setup_listenon(ns_interfacemgr_t *mgr, isc_interface_t *interface,
in_port_t port)
{
{
isc_sockaddr_t *addr;
isc_sockaddr_t *old;
@@ -564,7 +557,7 @@ setup_listenon(ns_interfacemgr_t *mgr, isc_interface_t *interface,
old != NULL;
old = ISC_LIST_NEXT(old, link))
if (isc_sockaddr_equal(addr, old))
break;
break;
if (old != NULL)
isc_mem_put(mgr->mctx, addr, sizeof(*addr));
@@ -700,7 +693,7 @@ do_scan(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen,
{
isc_interface_t interface;
ns_listenlist_t *ll;
unsigned int family;
unsigned int family;
result = isc_interfaceiter_current(iter, &interface);
if (result != ISC_R_SUCCESS)
@@ -884,7 +877,7 @@ do_scan(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen,
UNEXPECTED_ERROR(__FILE__, __LINE__,
"interface iteration failed: %s",
isc_result_totext(result));
else
else
result = ISC_R_SUCCESS;
cleanup_iter:
isc_interfaceiter_destroy(&iter);
@@ -915,7 +908,7 @@ ns_interfacemgr_scan0(ns_interfacemgr_t *mgr, ns_listenlist_t *ext_listen,
/*
* Warn if we are not listening on any interface, unless
* we're in lwresd-only mode, in which case that is to
* we're in lwresd-only mode, in which case that is to
* be expected.
*/
if (ext_listen == NULL &&
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: listenlist.c,v 1.12 2005/04/29 00:22:27 marka Exp $ */
/* $Id: listenlist.c,v 1.14 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+5 -4
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.44 2006/12/22 01:44:59 marka Exp $ */
/* $Id: log.c,v 1.46.130.3 2009/01/27 21:17:39 jinmei Exp $ */
/*! \file */
@@ -44,6 +44,7 @@ static isc_logcategory_t categories[] = {
{ "queries", 0 },
{ "unmatched", 0 },
{ "update-security", 0 },
{ "query-errors", 0 },
{ NULL, 0 }
};
@@ -120,7 +121,7 @@ ns_log_setdefaultchannels(isc_logconfig_t *lcfg) {
/*
* By default, the logging library makes "default_debug" log to
* stderr. In BIND, we want to override this and log to named.run
* instead, unless the the -g option was given.
* instead, unless the -g option was given.
*/
if (! ns_g_logstderr) {
destination.file.stream = NULL;
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: logconf.c,v 1.40 2006/03/02 00:37:23 marka Exp $ */
/* $Id: logconf.c,v 1.42 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+4 -4
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwaddr.c,v 1.6 2005/04/29 00:22:27 marka Exp $ */
/* $Id: lwaddr.c,v 1.8.130.2 2008/01/11 23:46:27 tbox Exp $ */
/*! \file */
@@ -81,7 +81,7 @@ lwaddr_lwresaddr_fromnetaddr(lwres_addr_t *la, isc_netaddr_t *na) {
} else {
la->family = LWRES_ADDRTYPE_V6;
la->length = 16;
memcpy(la->address, &na->type.in, 16);
memcpy(la->address, &na->type.in6, 16);
}
return (ISC_R_SUCCESS);
}
+2 -2
View File
@@ -2,7 +2,7 @@
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdclient.c,v 1.21 2007/02/14 00:27:26 marka Exp $ */
/* $Id: lwdclient.c,v 1.22 2007/06/18 23:47:18 tbox Exp $ */
/*! \file */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwderror.c,v 1.10 2005/04/29 00:22:28 marka Exp $ */
/* $Id: lwderror.c,v 1.12 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgabn.c,v 1.20 2006/03/02 00:37:23 marka Exp $ */
/* $Id: lwdgabn.c,v 1.22 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+3 -5
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgnba.c,v 1.18 2005/04/29 00:22:28 marka Exp $ */
/* $Id: lwdgnba.c,v 1.20.130.2 2008/01/14 23:46:28 tbox Exp $ */
/*! \file */
@@ -220,8 +220,6 @@ ns_lwdclient_processgnba(ns_lwdclient_t *client, lwres_buffer_t *b) {
b, &client->pkt, &req);
if (result != LWRES_R_SUCCESS)
goto out;
if (req->addr.address == NULL)
goto out;
client->options = 0;
if (req->addr.family == LWRES_ADDRTYPE_V4) {
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgrbn.c,v 1.18 2006/12/07 23:57:59 marka Exp $ */
/* $Id: lwdgrbn.c,v 1.20 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+11 -12
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdnoop.c,v 1.9 2005/04/29 00:22:28 marka Exp $ */
/* $Id: lwdnoop.c,v 1.11.130.2 2008/01/22 23:27:35 tbox Exp $ */
/*! \file */
@@ -44,7 +44,7 @@ ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
result = lwres_nooprequest_parse(client->clientmgr->lwctx,
b, &client->pkt, &req);
if (result != LWRES_R_SUCCESS)
goto out;
goto send_error;
client->pkt.recvlength = LWRES_RECVLENGTH;
client->pkt.authtype = 0; /* XXXMLG */
@@ -57,7 +57,7 @@ ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
lwres = lwres_noopresponse_render(client->clientmgr->lwctx, &resp,
&client->pkt, &lwb);
if (lwres != LWRES_R_SUCCESS)
goto out;
goto cleanup_req;
r.base = lwb.base;
r.length = lwb.used;
@@ -65,7 +65,7 @@ ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
client->sendlength = r.length;
result = ns_lwdclient_sendreply(client, &r);
if (result != ISC_R_SUCCESS)
goto out;
goto cleanup_lwb;
/*
* We can now destroy request.
@@ -76,13 +76,12 @@ ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
return;
out:
if (req != NULL)
lwres_nooprequest_free(client->clientmgr->lwctx, &req);
cleanup_lwb:
lwres_context_freemem(client->clientmgr->lwctx, lwb.base, lwb.length);
if (lwb.base != NULL)
lwres_context_freemem(client->clientmgr->lwctx,
lwb.base, lwb.length);
cleanup_req:
lwres_nooprequest_free(client->clientmgr->lwctx, &req);
send_error:
ns_lwdclient_errorpktsend(client, LWRES_R_FAILURE);
}
+60 -11
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: lwresd.8,v 1.25 2007/01/30 00:24:59 marka Exp $
.\" $Id: lwresd.8,v 1.27.150.3 2009/07/11 01:43:27 tbox Exp $
.\"
.hy 0
.ad l
@@ -33,7 +33,7 @@
lwresd \- lightweight resolver daemon
.SH "SYNOPSIS"
.HP 7
\fBlwresd\fR [\fB\-C\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-d\ \fR\fB\fIdebug\-level\fR\fR] [\fB\-f\fR] [\fB\-g\fR] [\fB\-i\ \fR\fB\fIpid\-file\fR\fR] [\fB\-n\ \fR\fB\fI#cpus\fR\fR] [\fB\-P\ \fR\fB\fIport\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-s\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR] [\fB\-v\fR]
\fBlwresd\fR [\fB\-c\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-C\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-d\ \fR\fB\fIdebug\-level\fR\fR] [\fB\-f\fR] [\fB\-g\fR] [\fB\-i\ \fR\fB\fIpid\-file\fR\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-n\ \fR\fB\fI#cpus\fR\fR] [\fB\-P\ \fR\fB\fIport\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-s\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR] [\fB\-v\fR] [\fB\-4\fR] [\fB\-6\fR]
.SH "DESCRIPTION"
.PP
\fBlwresd\fR
@@ -42,7 +42,7 @@ is the daemon providing name lookup services to clients that use the BIND 9 ligh
\fBlwresd\fR
listens for resolver queries on a UDP port on the IPv4 loopback interface, 127.0.0.1. This means that
\fBlwresd\fR
can only be used by processes running on the local machine. By default UDP port number 921 is used for lightweight resolver requests and responses.
can only be used by processes running on the local machine. By default, UDP port number 921 is used for lightweight resolver requests and responses.
.PP
Incoming lightweight resolver requests are decoded by the server which then resolves them using the DNS protocol. When the DNS lookup completes,
\fBlwresd\fR
@@ -61,12 +61,44 @@ entries are present, or if forwarding fails,
resolves the queries autonomously starting at the root name servers, using a built\-in list of root server hints.
.SH "OPTIONS"
.PP
\-4
.RS 4
Use IPv4 only even if the host machine is capable of IPv6.
\fB\-4\fR
and
\fB\-6\fR
are mutually exclusive.
.RE
.PP
\-6
.RS 4
Use IPv6 only even if the host machine is capable of IPv4.
\fB\-4\fR
and
\fB\-6\fR
are mutually exclusive.
.RE
.PP
\-c \fIconfig\-file\fR
.RS 4
Use
\fIconfig\-file\fR
as the configuration file instead of the default,
\fI/etc/lwresd.conf\fR.
\fB\-c\fR
can not be used with
\fB\-C\fR.
.RE
.PP
\-C \fIconfig\-file\fR
.RS 4
Use
\fIconfig\-file\fR
as the configuration file instead of the default,
\fI/etc/resolv.conf\fR.
\fB\-C\fR
can not be used with
\fB\-c\fR.
.RE
.PP
\-d \fIdebug\-level\fR
@@ -88,6 +120,25 @@ Run the server in the foreground and force all logging to
\fIstderr\fR.
.RE
.PP
\-i \fIpid\-file\fR
.RS 4
Use
\fIpid\-file\fR
as the PID file instead of the default,
\fI/var/run/lwresd.pid\fR.
.RE
.PP
\-m \fIflag\fR
.RS 4
Turn on memory usage debugging flags. Possible flags are
\fIusage\fR,
\fItrace\fR,
\fIrecord\fR,
\fIsize\fR, and
\fImctx\fR. These correspond to the ISC_MEM_DEBUGXXXX flags described in
\fI<isc/mem.h>\fR.
.RE
.PP
\-n \fI#cpus\fR
.RS 4
Create
@@ -122,8 +173,7 @@ This option is mainly of interest to BIND 9 developers and may be removed or cha
.PP
\-t \fIdirectory\fR
.RS 4
\fBchroot()\fR
to
Chroot to
\fIdirectory\fR
after processing the command line arguments, but before reading the configuration file.
.RS
@@ -131,15 +181,14 @@ after processing the command line arguments, but before reading the configuratio
This option should be used in conjunction with the
\fB\-u\fR
option, as chrooting a process running as root doesn't enhance security on most systems; the way
\fBchroot()\fR
\fBchroot(2)\fR
is defined allows a process with root privileges to escape a chroot jail.
.RE
.RE
.PP
\-u \fIuser\fR
.RS 4
\fBsetuid()\fR
to
Setuid to
\fIuser\fR
after completing privileged operations, such as creating sockets that listen on privileged ports.
.RE
@@ -168,7 +217,7 @@ The default process\-id file.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004, 2005, 2007\-2009 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000, 2001 Internet Software Consortium.
.br
+7 -6
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,9 +15,9 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwresd.c,v 1.53 2006/03/02 00:37:23 marka Exp $ */
/* $Id: lwresd.c,v 1.55.130.3 2008/07/23 23:31:17 marka Exp $ */
/*! \file
/*! \file
* \brief
* Main program for the Lightweight Resolver Daemon.
*
@@ -224,7 +224,7 @@ ns_lwresd_parseeresolvconf(isc_mem_t *mctx, cfg_parser_t *pctx,
for (i = 0; i < lwc->searchnxt; i++) {
CHECK(buffer_putstr(&b, "\t\t\""));
CHECK(buffer_putstr(&b, lwc->search[i]));
CHECK(buffer_putstr(&b, "\";\n"));
CHECK(buffer_putstr(&b, "\";\n"));
}
CHECK(buffer_putstr(&b, "\t};\n"));
}
@@ -576,7 +576,8 @@ listener_bind(ns_lwreslistener_t *listener, isc_sockaddr_t *address) {
return (result);
}
result = isc_socket_bind(sock, &listener->address);
result = isc_socket_bind(sock, &listener->address,
ISC_SOCKET_REUSEADDRESS);
if (result != ISC_R_SUCCESS) {
char socktext[ISC_SOCKADDR_FORMATSIZE];
isc_sockaddr_format(&listener->address, socktext,
+78 -7
View File
@@ -2,10 +2,10 @@
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000, 2001 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: lwresd.docbook,v 1.12 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: lwresd.docbook,v 1.15.130.4 2009/01/22 23:46:35 tbox Exp $ -->
<refentry>
<refentryinfo>
<date>June 30, 2000</date>
@@ -40,6 +40,8 @@
<year>2004</year>
<year>2005</year>
<year>2007</year>
<year>2008</year>
<year>2009</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -52,11 +54,13 @@
<refsynopsisdiv>
<cmdsynopsis>
<command>lwresd</command>
<arg><option>-c <replaceable class="parameter">config-file</replaceable></option></arg>
<arg><option>-C <replaceable class="parameter">config-file</replaceable></option></arg>
<arg><option>-d <replaceable class="parameter">debug-level</replaceable></option></arg>
<arg><option>-f</option></arg>
<arg><option>-g</option></arg>
<arg><option>-i <replaceable class="parameter">pid-file</replaceable></option></arg>
<arg><option>-m <replaceable class="parameter">flag</replaceable></option></arg>
<arg><option>-n <replaceable class="parameter">#cpus</replaceable></option></arg>
<arg><option>-P <replaceable class="parameter">port</replaceable></option></arg>
<arg><option>-p <replaceable class="parameter">port</replaceable></option></arg>
@@ -64,6 +68,8 @@
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-u <replaceable class="parameter">user</replaceable></option></arg>
<arg><option>-v</option></arg>
<arg><option>-4</option></arg>
<arg><option>-6</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -82,7 +88,7 @@
listens for resolver queries on a
UDP port on the IPv4 loopback interface, 127.0.0.1. This
means that <command>lwresd</command> can only be used by
processes running on the local machine. By default UDP port
processes running on the local machine. By default, UDP port
number 921 is used for lightweight resolver requests and
responses.
</para>
@@ -109,6 +115,43 @@
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>-4</term>
<listitem>
<para>
Use IPv4 only even if the host machine is capable of IPv6.
<option>-4</option> and <option>-6</option> are mutually
exclusive.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-6</term>
<listitem>
<para>
Use IPv6 only even if the host machine is capable of IPv4.
<option>-4</option> and <option>-6</option> are mutually
exclusive.
</para>
</listitem>
</varlistentry>
<!-- this is in source but not mentioned? does this matter? -->
<varlistentry>
<term>-c <replaceable class="parameter">config-file</replaceable></term>
<listitem>
<para>
Use <replaceable class="parameter">config-file</replaceable> as the
configuration file instead of the default,
<filename>/etc/lwresd.conf</filename>.
<!-- Should this be an absolute path name? -->
<option>-c</option> can not be used with <option>-C</option>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-C <replaceable class="parameter">config-file</replaceable></term>
<listitem>
@@ -116,6 +159,7 @@
Use <replaceable class="parameter">config-file</replaceable> as the
configuration file instead of the default,
<filename>/etc/resolv.conf</filename>.
<option>-C</option> can not be used with <option>-c</option>.
</para>
</listitem>
</varlistentry>
@@ -150,6 +194,33 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-i <replaceable class="parameter">pid-file</replaceable></term>
<listitem>
<para>
Use <replaceable class="parameter">pid-file</replaceable> as the
PID file instead of the default,
<filename>/var/run/lwresd.pid</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-m <replaceable class="parameter">flag</replaceable></term>
<listitem>
<para>
Turn on memory usage debugging flags. Possible flags are
<replaceable class="parameter">usage</replaceable>,
<replaceable class="parameter">trace</replaceable>,
<replaceable class="parameter">record</replaceable>,
<replaceable class="parameter">size</replaceable>, and
<replaceable class="parameter">mctx</replaceable>.
These correspond to the ISC_MEM_DEBUGXXXX flags described in
<filename>&lt;isc/mem.h&gt;</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-n <replaceable class="parameter">#cpus</replaceable></term>
<listitem>
@@ -207,7 +278,7 @@
<varlistentry>
<term>-t <replaceable class="parameter">directory</replaceable></term>
<listitem>
<para><function>chroot()</function>
<para>Chroot
to <replaceable class="parameter">directory</replaceable> after
processing the command line arguments, but before
reading the configuration file.
@@ -217,7 +288,7 @@
This option should be used in conjunction with the
<option>-u</option> option, as chrooting a process
running as root doesn't enhance security on most
systems; the way <function>chroot()</function> is
systems; the way <function>chroot(2)</function> is
defined allows a process with root privileges to
escape a chroot jail.
</para>
@@ -228,7 +299,7 @@
<varlistentry>
<term>-u <replaceable class="parameter">user</replaceable></term>
<listitem>
<para><function>setuid()</function>
<para>Setuid
to <replaceable class="parameter">user</replaceable> after completing
privileged operations, such as creating sockets that
listen on privileged ports.
+51 -13
View File
@@ -1,8 +1,8 @@
<!--
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000, 2001 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
- copyright notice and this permission notice appear in all copies.
-
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: lwresd.html,v 1.21 2007/01/30 00:24:59 marka Exp $ -->
<!-- $Id: lwresd.html,v 1.23.150.3 2009/07/11 01:43:28 tbox Exp $ -->
<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">lwresd</code> [<code class="option">-C <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-d <em class="replaceable"><code>debug-level</code></em></code>] [<code class="option">-f</code>] [<code class="option">-g</code>] [<code class="option">-i <em class="replaceable"><code>pid-file</code></em></code>] [<code class="option">-n <em class="replaceable"><code>#cpus</code></em></code>] [<code class="option">-P <em class="replaceable"><code>port</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-s</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>] [<code class="option">-v</code>]</p></div>
<div class="cmdsynopsis"><p><code class="command">lwresd</code> [<code class="option">-c <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-C <em class="replaceable"><code>config-file</code></em></code>] [<code class="option">-d <em class="replaceable"><code>debug-level</code></em></code>] [<code class="option">-f</code>] [<code class="option">-g</code>] [<code class="option">-i <em class="replaceable"><code>pid-file</code></em></code>] [<code class="option">-m <em class="replaceable"><code>flag</code></em></code>] [<code class="option">-n <em class="replaceable"><code>#cpus</code></em></code>] [<code class="option">-P <em class="replaceable"><code>port</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port</code></em></code>] [<code class="option">-s</code>] [<code class="option">-t <em class="replaceable"><code>directory</code></em></code>] [<code class="option">-u <em class="replaceable"><code>user</code></em></code>] [<code class="option">-v</code>] [<code class="option">-4</code>] [<code class="option">-6</code>]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543435"></a><h2>DESCRIPTION</h2>
<a name="id2543467"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">lwresd</strong></span>
is the daemon providing name lookup
services to clients that use the BIND 9 lightweight resolver
@@ -44,7 +44,7 @@
listens for resolver queries on a
UDP port on the IPv4 loopback interface, 127.0.0.1. This
means that <span><strong class="command">lwresd</strong></span> can only be used by
processes running on the local machine. By default UDP port
processes running on the local machine. By default, UDP port
number 921 is used for lightweight resolver requests and
responses.
</p>
@@ -67,13 +67,34 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543482"></a><h2>OPTIONS</h2>
<a name="id2543514"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-4</span></dt>
<dd><p>
Use IPv4 only even if the host machine is capable of IPv6.
<code class="option">-4</code> and <code class="option">-6</code> are mutually
exclusive.
</p></dd>
<dt><span class="term">-6</span></dt>
<dd><p>
Use IPv6 only even if the host machine is capable of IPv4.
<code class="option">-4</code> and <code class="option">-6</code> are mutually
exclusive.
</p></dd>
<dt><span class="term">-c <em class="replaceable"><code>config-file</code></em></span></dt>
<dd><p>
Use <em class="replaceable"><code>config-file</code></em> as the
configuration file instead of the default,
<code class="filename">/etc/lwresd.conf</code>.
<code class="option">-c</code> can not be used with <code class="option">-C</code>.
</p></dd>
<dt><span class="term">-C <em class="replaceable"><code>config-file</code></em></span></dt>
<dd><p>
Use <em class="replaceable"><code>config-file</code></em> as the
configuration file instead of the default,
<code class="filename">/etc/resolv.conf</code>.
<code class="option">-C</code> can not be used with <code class="option">-c</code>.
</p></dd>
<dt><span class="term">-d <em class="replaceable"><code>debug-level</code></em></span></dt>
<dd><p>
@@ -90,6 +111,23 @@
Run the server in the foreground and force all logging
to <code class="filename">stderr</code>.
</p></dd>
<dt><span class="term">-i <em class="replaceable"><code>pid-file</code></em></span></dt>
<dd><p>
Use <em class="replaceable"><code>pid-file</code></em> as the
PID file instead of the default,
<code class="filename">/var/run/lwresd.pid</code>.
</p></dd>
<dt><span class="term">-m <em class="replaceable"><code>flag</code></em></span></dt>
<dd><p>
Turn on memory usage debugging flags. Possible flags are
<em class="replaceable"><code>usage</code></em>,
<em class="replaceable"><code>trace</code></em>,
<em class="replaceable"><code>record</code></em>,
<em class="replaceable"><code>size</code></em>, and
<em class="replaceable"><code>mctx</code></em>.
These correspond to the ISC_MEM_DEBUGXXXX flags described in
<code class="filename">&lt;isc/mem.h&gt;</code>.
</p></dd>
<dt><span class="term">-n <em class="replaceable"><code>#cpus</code></em></span></dt>
<dd><p>
Create <em class="replaceable"><code>#cpus</code></em> worker threads
@@ -129,7 +167,7 @@
</dd>
<dt><span class="term">-t <em class="replaceable"><code>directory</code></em></span></dt>
<dd>
<p><code class="function">chroot()</code>
<p>Chroot
to <em class="replaceable"><code>directory</code></em> after
processing the command line arguments, but before
reading the configuration file.
@@ -140,14 +178,14 @@
This option should be used in conjunction with the
<code class="option">-u</code> option, as chrooting a process
running as root doesn't enhance security on most
systems; the way <code class="function">chroot()</code> is
systems; the way <code class="function">chroot(2)</code> is
defined allows a process with root privileges to
escape a chroot jail.
</p>
</div>
</dd>
<dt><span class="term">-u <em class="replaceable"><code>user</code></em></span></dt>
<dd><p><code class="function">setuid()</code>
<dd><p>Setuid
to <em class="replaceable"><code>user</code></em> after completing
privileged operations, such as creating sockets that
listen on privileged ports.
@@ -159,7 +197,7 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543746"></a><h2>FILES</h2>
<a name="id2543931"></a><h2>FILES</h2>
<div class="variablelist"><dl>
<dt><span class="term"><code class="filename">/etc/resolv.conf</code></span></dt>
<dd><p>
@@ -172,14 +210,14 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2543785"></a><h2>SEE ALSO</h2>
<a name="id2543971"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">lwres</span>(3)</span>,
<span class="citerefentry"><span class="refentrytitle">resolver</span>(5)</span>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543819"></a><h2>AUTHOR</h2>
<a name="id2544005"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+3 -3
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwsearch.c,v 1.11 2005/07/12 01:00:13 marka Exp $ */
/* $Id: lwsearch.c,v 1.13 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+58 -19
View File
@@ -1,8 +1,8 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: main.c,v 1.154 2006/12/21 06:02:29 marka Exp $ */
/* $Id: main.c,v 1.158.48.8 2009/04/03 20:18:26 marka Exp $ */
/*! \file */
@@ -33,6 +33,7 @@
#include <isc/hash.h>
#include <isc/os.h>
#include <isc/platform.h>
#include <isc/print.h>
#include <isc/resource.h>
#include <isc/stdio.h>
#include <isc/string.h>
@@ -85,6 +86,7 @@ static char program_name[ISC_DIR_NAMEMAX] = "named";
static char absolute_conffile[ISC_DIR_PATHMAX];
static char saved_command_line[512];
static char version[512];
static unsigned int maxsocks = 0;
void
ns_main_earlywarning(const char *format, ...) {
@@ -137,7 +139,7 @@ assertion_failed(const char *file, int line, isc_assertiontype_t type,
if (ns_g_lctx != NULL) {
/*
* Reset the assetion callback in case it is the log
* Reset the assertion callback in case it is the log
* routines causing the assertion.
*/
isc_assertion_setcallback(NULL);
@@ -356,7 +358,8 @@ parse_command_line(int argc, char *argv[]) {
isc_commandline_errprint = ISC_FALSE;
while ((ch = isc_commandline_parse(argc, argv,
"46c:C:d:fgi:lm:n:N:p:P:st:u:vx:")) != -1) {
"46c:C:d:fgi:lm:n:N:p:P:"
"sS:t:u:vx:")) != -1) {
switch (ch) {
case '4':
if (disable4)
@@ -435,6 +438,10 @@ parse_command_line(int argc, char *argv[]) {
/* XXXRTH temporary syntax */
want_stats = ISC_TRUE;
break;
case 'S':
maxsocks = parse_int(isc_commandline_argument,
"max number of sockets");
break;
case 't':
/* XXXJAB should we make a copy? */
ns_g_chrootdir = isc_commandline_argument;
@@ -447,6 +454,8 @@ parse_command_line(int argc, char *argv[]) {
exit(0);
case '?':
usage();
if (isc_commandline_option == '?')
exit(0);
ns_main_earlyfatal("unknown option '-%c'",
isc_commandline_option);
default:
@@ -466,17 +475,14 @@ parse_command_line(int argc, char *argv[]) {
static isc_result_t
create_managers(void) {
isc_result_t result;
#ifdef ISC_PLATFORM_USETHREADS
unsigned int cpus_detected;
#endif
unsigned int socks;
#ifdef ISC_PLATFORM_USETHREADS
cpus_detected = isc_os_ncpus();
if (ns_g_cpus == 0)
ns_g_cpus = cpus_detected;
ns_g_cpus = ns_g_cpus_detected;
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL, NS_LOGMODULE_SERVER,
ISC_LOG_INFO, "found %u CPU%s, using %u worker thread%s",
cpus_detected, cpus_detected == 1 ? "" : "s",
ns_g_cpus_detected, ns_g_cpus_detected == 1 ? "" : "s",
ns_g_cpus, ns_g_cpus == 1 ? "" : "s");
#else
ns_g_cpus = 1;
@@ -497,13 +503,19 @@ create_managers(void) {
return (ISC_R_UNEXPECTED);
}
result = isc_socketmgr_create(ns_g_mctx, &ns_g_socketmgr);
result = isc_socketmgr_create2(ns_g_mctx, &ns_g_socketmgr, maxsocks);
if (result != ISC_R_SUCCESS) {
UNEXPECTED_ERROR(__FILE__, __LINE__,
"isc_socketmgr_create() failed: %s",
isc_result_totext(result));
return (ISC_R_UNEXPECTED);
}
result = isc_socketmgr_getmaxsockets(ns_g_socketmgr, &socks);
if (result == ISC_R_SUCCESS) {
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
NS_LOGMODULE_SERVER,
ISC_LOG_INFO, "using up to %u sockets", socks);
}
result = isc_entropy_create(ns_g_mctx, &ns_g_entropy);
if (result != ISC_R_SUCCESS) {
@@ -550,6 +562,7 @@ destroy_managers(void) {
static void
setup(void) {
isc_result_t result;
isc_resourcevalue_t old_openfiles;
#ifdef HAVE_LIBSCF
char *instance = NULL;
#endif
@@ -603,6 +616,13 @@ setup(void) {
}
#endif
#ifdef ISC_PLATFORM_USETHREADS
/*
* Check for the number of cpu's before ns_os_chroot().
*/
ns_g_cpus_detected = isc_os_ncpus();
#endif
ns_os_chroot(ns_g_chrootdir);
/*
@@ -655,6 +675,23 @@ setup(void) {
(void)isc_resource_getlimit(isc_resource_openfiles,
&ns_g_initopenfiles);
/*
* System resources cannot effectively be tuned on some systems.
* Raise the limit in such cases for safety.
*/
old_openfiles = ns_g_initopenfiles;
ns_os_adjustnofile();
(void)isc_resource_getlimit(isc_resource_openfiles,
&ns_g_initopenfiles);
if (old_openfiles != ns_g_initopenfiles) {
isc_log_write(ns_g_lctx, NS_LOGCATEGORY_GENERAL,
NS_LOGMODULE_MAIN, ISC_LOG_NOTICE,
"adjusted limit on open files from "
"%" ISC_PRINT_QUADFORMAT "u to "
"%" ISC_PRINT_QUADFORMAT "u",
old_openfiles, ns_g_initopenfiles);
}
/*
* If the named configuration filename is relative, prepend the current
* directory's name before possibly changing to another directory.
@@ -665,7 +702,7 @@ setup(void) {
sizeof(absolute_conffile));
if (result != ISC_R_SUCCESS)
ns_main_earlyfatal("could not construct absolute path of "
"configuration file: %s",
"configuration file: %s",
isc_result_totext(result));
ns_g_conffile = absolute_conffile;
}
@@ -692,7 +729,7 @@ setup(void) {
#ifdef DLZ
/*
* Registyer any DLZ drivers.
* Register any DLZ drivers.
*/
result = dlz_drivers_init();
if (result != ISC_R_SUCCESS)
@@ -765,7 +802,7 @@ ns_smf_get_instance(char **ins_name, int debug, isc_mem_t *mctx) {
if (debug)
UNEXPECTED_ERROR(__FILE__, __LINE__,
"scf_handle_create() failed: %s",
scf_strerror(scf_error()));
scf_strerror(scf_error()));
return (ISC_R_FAILURE);
}
@@ -824,10 +861,10 @@ main(int argc, char *argv[]) {
* strings named.core | grep "named version:"
*/
strlcat(version,
#ifdef __DATE__
"named version: BIND " VERSION " (" __DATE__ ")",
#else
#if defined(NO_VERSION_DATE) || !defined(__DATE__)
"named version: BIND " VERSION,
#else
"named version: BIND " VERSION " (" __DATE__ ")",
#endif
sizeof(version));
result = isc_file_progname(*argv, program_name, sizeof(program_name));
@@ -865,6 +902,7 @@ main(int argc, char *argv[]) {
if (result != ISC_R_SUCCESS)
ns_main_earlyfatal("isc_mem_create() failed: %s",
isc_result_totext(result));
isc_mem_setname(ns_g_mctx, "main", NULL);
setup();
@@ -910,7 +948,8 @@ main(int argc, char *argv[]) {
isc_mem_stats(ns_g_mctx, stdout);
isc_mutex_stats(stdout);
}
if (memstats != NULL) {
if (ns_g_memstatistics && memstats != NULL) {
FILE *fp = NULL;
result = isc_stdio_open(memstats, "w", &fp);
if (result == ISC_R_SUCCESS) {
+38 -12
View File
@@ -1,7 +1,7 @@
.\" Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" Permission to use, copy, modify, and/or distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
@@ -13,7 +13,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named.8,v 1.31 2007/01/30 00:24:59 marka Exp $
.\" $Id: named.8,v 1.34.130.2 2009/07/11 01:43:29 tbox Exp $
.\"
.hy 0
.ad l
@@ -33,7 +33,7 @@
named \- Internet domain name server
.SH "SYNOPSIS"
.HP 6
\fBnamed\fR [\fB\-4\fR] [\fB\-6\fR] [\fB\-c\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-d\ \fR\fB\fIdebug\-level\fR\fR] [\fB\-f\fR] [\fB\-g\fR] [\fB\-n\ \fR\fB\fI#cpus\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-s\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR] [\fB\-v\fR] [\fB\-x\ \fR\fB\fIcache\-file\fR\fR]
\fBnamed\fR [\fB\-4\fR] [\fB\-6\fR] [\fB\-c\ \fR\fB\fIconfig\-file\fR\fR] [\fB\-d\ \fR\fB\fIdebug\-level\fR\fR] [\fB\-f\fR] [\fB\-g\fR] [\fB\-m\ \fR\fB\fIflag\fR\fR] [\fB\-n\ \fR\fB\fI#cpus\fR\fR] [\fB\-p\ \fR\fB\fIport\fR\fR] [\fB\-s\fR] [\fB\-S\ \fR\fB\fI#max\-socks\fR\fR] [\fB\-t\ \fR\fB\fIdirectory\fR\fR] [\fB\-u\ \fR\fB\fIuser\fR\fR] [\fB\-v\fR] [\fB\-x\ \fR\fB\fIcache\-file\fR\fR]
.SH "DESCRIPTION"
.PP
\fBnamed\fR
@@ -94,6 +94,17 @@ Run the server in the foreground and force all logging to
\fIstderr\fR.
.RE
.PP
\-m \fIflag\fR
.RS 4
Turn on memory usage debugging flags. Possible flags are
\fIusage\fR,
\fItrace\fR,
\fIrecord\fR,
\fIsize\fR, and
\fImctx\fR. These correspond to the ISC_MEM_DEBUGXXXX flags described in
\fI<isc/mem.h>\fR.
.RE
.PP
\-n \fI#cpus\fR
.RS 4
Create
@@ -120,10 +131,24 @@ This option is mainly of interest to BIND 9 developers and may be removed or cha
.RE
.RE
.PP
\-S \fI#max\-socks\fR
.RS 4
Allow
\fBnamed\fR
to use up to
\fI#max\-socks\fR
sockets.
.RS
.B "Warning:"
This option should be unnecessary for the vast majority of users. The use of this option could even be harmful because the specified value may exceed the limitation of the underlying system API. It is therefore set only when the default configuration causes exhaustion of file descriptors and the operational environment is known to support the specified number of sockets. Note also that the actual maximum number is normally a little fewer than the specified value because
\fBnamed\fR
reserves some file descriptors for its internal use.
.RE
.RE
.PP
\-t \fIdirectory\fR
.RS 4
\fBchroot()\fR
to
Chroot to
\fIdirectory\fR
after processing the command line arguments, but before reading the configuration file.
.RS
@@ -131,15 +156,14 @@ after processing the command line arguments, but before reading the configuratio
This option should be used in conjunction with the
\fB\-u\fR
option, as chrooting a process running as root doesn't enhance security on most systems; the way
\fBchroot()\fR
\fBchroot(2)\fR
is defined allows a process with root privileges to escape a chroot jail.
.RE
.RE
.PP
\-u \fIuser\fR
.RS 4
\fBsetuid()\fR
to
Setuid to
\fIuser\fR
after completing privileged operations, such as creating sockets that listen on privileged ports.
.RS
@@ -147,13 +171,13 @@ after completing privileged operations, such as creating sockets that listen on
On Linux,
\fBnamed\fR
uses the kernel's capability mechanism to drop all root privileges except the ability to
\fBbind()\fR
\fBbind(2)\fR
to a privileged port and set process resource limits. Unfortunately, this means that the
\fB\-u\fR
option only works when
\fBnamed\fR
is run on kernel 2.2.18 or later, or kernel 2.3.99\-pre3 or later, since previous kernels did not allow privileges to be retained after
\fBsetuid()\fR.
\fBsetuid(2)\fR.
.RE
.RE
.PP
@@ -211,6 +235,8 @@ The default process\-id file.
RFC 1033,
RFC 1034,
RFC 1035,
\fBnamed\-checkconf\fR(8),
\fBnamed\-checkzone\fR(8),
\fBrndc\fR(8),
\fBlwresd\fR(8),
\fBnamed.conf\fR(5),
@@ -219,7 +245,7 @@ BIND 9 Administrator Reference Manual.
.PP
Internet Systems Consortium
.SH "COPYRIGHT"
Copyright \(co 2004\-2007 Internet Systems Consortium, Inc. ("ISC")
Copyright \(co 2004\-2008 Internet Systems Consortium, Inc. ("ISC")
.br
Copyright \(co 2000, 2001, 2003 Internet Software Consortium.
.br

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