Compare commits

...
1158 Commits
Author SHA1 Message Date
cvs2git d7d597a2a3 This commit was manufactured by cvs2git to create tag 'v9_5_0b1'. 2008-06-24 23:46:28 +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 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 神明達哉 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 神明達哉 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
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
Mark Andrews f6476fa522 9.5.0a4 2007-04-30 01:24:46 +00:00
Mark Andrews cd1e58c339 2172. [bug] query_addsoa() was being called with a non zone db.
[RT #16834]
2007-04-30 01:02:53 +00:00
Mark Andrews a05f23d07e 2171. [bug] Handle breaks in DNSSEC trust chains where the parent
servers are not DS aware (DS queries to the parent
                        return a referral to the child).
2007-04-27 06:13:29 +00:00
Automatic Updater db100c22d6 update copyright notice 2007-04-26 23:46:52 +00:00
Automatic Updater fd7c65dce9 newcopyrights 2007-04-26 23:30:29 +00:00
Mark Andrews 540169180b regen 2007-04-26 13:29:51 +00:00
Mark Andrews 57dff913d2 update Y2K comment 2007-04-26 06:14:26 +00:00
Mark Andrews 429e23d2f5 2170. [func] Add acache processing to test suite. [RT #16711] 2007-04-26 04:06:50 +00:00
Automatic Updater c6a98f2a4b update copyright notice 2007-04-24 23:46:56 +00:00
Automatic Updater 3a6600c8d3 newcopyrights 2007-04-24 23:30:25 +00:00
Automatic Updater 78cb432395 auto update 2007-04-24 23:17:30 +00:00
Mark Andrews c5c825bf07 2169. [bug] host, nslookup: when reporting NXDOMAIN report the
given name and not the last name searched for.
                        [RT #16763]
2007-04-24 07:21:57 +00:00
Mark Andrews aaa42824d2 2169. [bug] nslookup: when reporting NXDOMAIN report the given
name and not the last name searched for. [RT #16763]
2007-04-24 07:20:45 +00:00
Mark Andrews 43da756591 2168. [bug] nsupdate: in non-interactive mode treat syntax errors
as fatal errors. [RT #16785]
2007-04-24 07:02:31 +00:00
Mark Andrews c1297b6025 2167. [bug] When re-using a automatic zone named failed to
attach it to the new view. [RT #16786]
2007-04-24 06:55:32 +00:00
Mark Andrews a404eb87dc regen 2007-04-24 06:19:27 +00:00
Mark Andrews bf3370abb2 minor cleanups 2007-04-24 01:54:36 +00:00
Automatic Updater 2f47684e81 auto update 2007-04-23 23:18:13 +00:00
Mark Andrews a15d37e5c3 custom_UTK_v9_4_0 2007-04-23 13:33:05 +00:00
Mark Andrews 91d5404fb8 custom_AFIS_v9_4_0 2007-04-23 05:07:46 +00:00
Mark Andrews 552bbdd1fd regen 2007-04-23 02:36:40 +00:00
Mark Andrews 9c33579709 dns_zone_setqueryonacl 2007-04-04 02:47:55 +00:00
Evan Hunt 25820cf1d1 9.5.0a3 2007-04-03 23:28:00 +00:00
Automatic Updater fedc63915d auto update 2007-04-03 23:19:03 +00:00
Mark Andrews a9c790c7dd 2166. [bug] When running in batch mode, dig could misinterpret
a server address as a name to be looked up, causing
                        unexpected output. [RT #16743]
(continued)
2007-04-03 23:06:39 +00:00
Mark Andrews 4480cc1fbd update 2007-04-03 06:27:54 +00:00
Mark Andrews 0a19afabe8 s/view->name/viewname/ 2007-04-02 23:46:47 +00:00
Automatic Updater 3d65ba10e3 auto update 2007-04-02 23:17:56 +00:00
Mark Andrews 261a8854cc 2161. [bug] Fix which log messages are emitted for 'rndc flush'.
[RT #16698]
2007-04-02 23:17:52 +00:00
Mark Andrews 278a75dbfe 2292bis -> RFC 3542 2007-04-02 02:03:55 +00:00
Automatic Updater 184d77489a update copyright notice 2007-03-30 23:46:45 +00:00
Automatic Updater bac1bc9841 newcopyrights 2007-03-30 23:30:19 +00:00
Mark Andrews 3235148493 regen 2007-03-30 10:38:17 +00:00
Evan Hunt 99cce386a4 When running in batch mode, dig could misinterpret a server address as
a name to be looked up, causing unexpected output. [RT #16743]
2007-03-30 03:46:13 +00:00
Mark Andrews ba5f402650 s/they/the/ 2007-03-30 02:27:13 +00:00
Automatic Updater 858ad8db23 update copyright notice 2007-03-29 23:47:04 +00:00
Automatic Updater 04eba969cb newcopyrights 2007-03-29 23:30:23 +00:00
Automatic Updater 04797bf517 auto update 2007-03-29 23:18:09 +00:00
Mark Andrews 68b30890eb regen 2007-03-29 15:19:20 +00:00
Mark Andrews 819b98479e 2165. [func] Allow the destination address of a query to determine
if we will answer the query or recurse.
                        allow-query-on, allow-recursion-on and
                        allow-query-cache-on. [RT #16291]
2007-03-29 06:36:31 +00:00
Mark Andrews 113e0b7819 2164. [bug] The code to determine how named-checkzone /
named-compilezone was called failed under windows.
                        [RT #16764]
2007-03-29 04:39:07 +00:00
Mark Andrews 6dfc78fab6 2163. [bug] If only one of query-source and query-source-v6
specified a port the query pools code broke (change
                        2129).  [RT #16768]
2007-03-29 04:13:22 +00:00
Mark Andrews 8cb6fd7cf8 build bind9.xsl.h for make depend 2007-03-28 23:24:00 +00:00
Michael Graff 471cf28bb0 add ALL_CFLAGS to the makedep options. Since we always use our mkdep this should be safe across all platforms. 2007-03-28 22:36:26 +00:00
Automatic Updater fe6be8063f auto update 2007-03-27 23:17:29 +00:00
Automatic Updater 6c345e3152 auto update 2007-03-26 23:17:22 +00:00
Automatic Updater bd65dafcc2 auto update 2007-03-22 23:17:35 +00:00
Automatic Updater 013a64b79f auto update 2007-03-19 23:17:23 +00:00
Automatic Updater 87bff9accd update copyright notice 2007-03-14 23:46:54 +00:00
Automatic Updater 555d01f4c0 newcopyrights 2007-03-14 23:30:21 +00:00
Mark Andrews ee911d0ab5 update 2007-03-14 05:58:21 +00:00
Mark Andrews 65085946d4 2162. [func] Allow "rrset-order fixed" to be disabled at compile
time. [RT #16665]
: ----------------------------------------------------------------------
2007-03-14 05:57:10 +00:00
Automatic Updater edcd4afc02 auto update 2007-03-13 23:18:06 +00:00
Mark Andrews b5f690e161 2161. [bug] Fix which log messages are emitted for 'rndc flush'.
[RT #16698]
2007-03-13 04:30:17 +00:00
Automatic Updater 67a00bc40b update copyright notice 2007-03-12 23:46:48 +00:00
Automatic Updater cb33110f69 newcopyrights 2007-03-12 23:30:22 +00:00
Mark Andrews 37d373d886 2160. [bug] libisc wasn't handling NULL ifa_addr pointers returned
from getifaddrs(). [RT #16708]
2007-03-12 05:59:08 +00:00
Mark Andrews 072eaf055b move 9.5.0a2 tag point 2007-03-12 03:38:12 +00:00
Mark Andrews 62ea33ba1a 2159. [bug] Array bounds overrun in acache processing. [RT #16710] 2007-03-12 03:37:21 +00:00
Automatic Updater ab41e5d1c7 auto update 2007-03-09 23:17:17 +00:00
Automatic Updater e2a5e7f282 newcopyrights 2007-03-08 23:30:18 +00:00
Automatic Updater 5c549718d8 auto update 2007-03-08 23:17:22 +00:00
Mark Andrews f949b6761d custom_WFB_v9_4_0 2007-03-08 10:00:41 +00:00
Automatic Updater 8ce463bc15 newcopyrights 2007-03-06 23:30:21 +00:00
Automatic Updater 6a1cf2b7b0 auto update 2007-03-06 23:17:27 +00:00
Mark Andrews 73c1cc15cc 9.5.0a2 2007-03-06 02:32:46 +00:00
Automatic Updater c51b419ad4 doc/arm/Bv9ARM.pdf 2007-03-06 02:22:29 +00:00
Mark Andrews 7dbbf4799a 9.5.0a2 2007-03-06 02:17:37 +00:00
Automatic Updater 1b5a345334 update copyright notice 2007-03-06 02:12:39 +00:00
Automatic Updater 3e79333aa3 newcopyrights 2007-03-06 02:09:54 +00:00
Mark Andrews 2d4cb13dfb add functions 2007-03-06 01:56:23 +00:00
Mark Andrews bdf9b9caac add name and tag to socket structure 2007-03-06 01:50:48 +00:00
Mark Andrews b130bf8b4e 9.5.0a2 2007-03-06 01:30:03 +00:00
Mark Andrews 74daa484b0 update 2007-03-06 01:28:22 +00:00
Mark Andrews 7a3c2d189e 2158. [bug] ns_client_isself() failed to initialise key
leading to a REQUIRE failure. [RT #16688]
2007-03-06 01:14:27 +00:00
Mark Andrews a56f5ada43 2157. [func] dns_db_transfernode() created. [RT #16685]
2156.   [bug]           Fix node reference leaks in lookup.c:lookup_find(),
                        resolver.c:validated() and resolver.c:cache_name().
                        Fix a memory leak in rbtdb.c:free_noqname().
                        Make lookup.c:lookup_find() robust against
                        event leaks. [RT #16685]
2007-03-06 00:38:58 +00:00
Mark Andrews ceeb18e690 regen 2007-03-06 00:24:46 +00:00
Automatic Updater adea559405 update copyright notice 2007-03-05 23:46:52 +00:00
Automatic Updater f6056ad067 newcopyrights 2007-03-05 23:30:25 +00:00
1476 changed files with 71232 additions and 37847 deletions
+375 -5
View File
@@ -1,3 +1,373 @@
--- 9.5.0b1 released ---
2267. [bug] Radix tree node_num value could be set incorrectly,
causing positive ACL matches to look like negative
ones. [RT #17311]
2266. [bug] client.c:get_clientmctx() returned the same mctx
once the pool of mctx's was filled. [RT #17218]
2265. [bug] Test that the memory context's basic_table is non NULL
before freeing. [RT #17265]
2264. [bug] Server prefix length was being ignored. [RT #17308]
2263. [bug] "named-checkconf -z" failed to set default value
for "check-integrity". [RT #17306]
2262. [bug] Error status from all but the last view could be
lost. [RT #17292]
2261. [bug] Fix memory leak with "any" and "none" ACLs [RT #17272]
2260. [bug] Reported wrong clients-per-query when increasing the
value. [RT #17236]
2259. [placeholder]
--- 9.5.0a7 released ---
2258. [bug] Fallback from IXFR/TSIG to SOA/AXFR/TSIG broken.
[RT #17241]
2257. [bug] win32: Use the full path to vcredist_x86.exe when
calling it. [RT #17222]
2256. [bug] win32: Correctly register the installation location of
bindevt.dll. [RT #17159]
2255. [bug] L.ROOT-SERVERS.NET is now 199.7.83.42.
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]
2253. [func] "max-cache-size" defaults to 32M.
"max-acache-size" defaults to 16M.
2252. [bug] Fixed errors in sortlist code [RT #17216]
2251. [placeholder]
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]
2249. [bug] Only set Authentic Data bit if client requested
DNSSEC, per RFC 3655 [RT #17175]
2248. [cleanup] Fix several errors reported by Coverity. [RT #17160]
2247. [doc] Sort doc/misc/options. [RT #17067]
2246. [bug] Make the startup of test servers (ans.pl) more
robust. [RT #17147]
2245. [bug] Validating lack of DS records at trust anchors wasn't
working. [RT #17151]
2244. [func] Allow the check of nameserver names against the
SOA MNAME field to be disabled by specifying
'notify-to-soa yes;'. [RT #17073]
2243. [func] Configuration files without a newline at the end now
parse without error. [RT #17120]
2242. [bug] nsupdate: GSS-TSIG support using the Heimdal Kerberos
library could require a source of random data.
[RT #17127]
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]
2239. [func] Ship a prebuilt bin/named/bind9.xsl.h. [RT #17114]
2238. [bug] It was possible to trigger a REQUIRE when a
validation was cancelled. [RT #17106]
2237. [bug] libbind: res_init() was not thread aware. [RT #17123]
2236. [bug] dnssec-signzone failed to preserve the case of
of wildcard owner names. [RT #17085]
2235. [bug] <isc/atomic.h> was not being installed. [RT #17135]
2234. [port] Correct some compiler warnings on SCO OSr5 [RT #17134]
2233. [func] Add support for O(1) ACL processing, based on
radix tree code originally written by kevin
brintnall. [RT #16288]
2232. [bug] dns_adb_findaddrinfo() could fail and return
ISC_R_SUCCESS. [RT #17137]
2231. [bug] Building dlzbdb (contrib/dlz/bin/dlzbdb) was broken.
[RT #17088]
2230. [bug] We could INSIST reading a corrupted journal.
[RT #17132]
2229. [bug] Null pointer dereference on query pool creation
failure. [RT #17133]
2228. [contrib] contrib: Change 2188 was incomplete.
2227. [cleanup] Tidied up the FAQ. [RT #17121]
2226. [placeholder]
2225. [bug] More support for systems with no IPv4 addresses.
[RT #17111]
2224. [bug] Defer journal compaction if a xfrin is in progress.
[RT #17119]
2223. [bug] Make a new journal when compacting. [RT #17119]
2222. [func] named-checkconf now checks server key references.
[RT #17097]
2221. [bug] Set the event result code to reflect the actual
record turned to caller when a cache update is
rejected due to a more credible answer existing.
[RT #17017]
2220. [bug] win32: Address a race condition in final shutdown of
the Windows socket code. [RT #17028]
2219. [bug] Apply zone consistancy checks to additions, not
removals, when updating. [RT #17049]
2218. [bug] Remove unnecessary REQUIRE from dns_validator_create().
[RT #16976]
2217. [func] Adjust update log levels. [RT #17092]
2216. [cleanup] Fix a number of errors reported by Coverity.
[RT #17094]
2215. [bug] Bad REQUIRE check isc_hmacsha1_verify(). [RT #17094]
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]
2213. [bug] SIG0 diagnostic failure messages were looking at the
wrong status code. [RT #17101]
2212. [func] 'host -m' now causes memory statistics and active
memory to be printed at exit. [RT 17028]
2211. [func] Update "dynamic update temporarily disabled" message.
[RT #17065]
2210. [bug] Deleting class specific records via UPDATE could
fail. [RT #17074]
2209. [port] osx: linking against user supplied static OpenSSL
libraries failed as the system ones were still being
found. [RT #17078]
2208. [port] win32: make sure both build methods produce the
same output. [RT #17058]
2207. [port] Some implementations of getaddrinfo() fail to set
ai_canonname correctly. [RT #17061]
--- 9.5.0a6 released ---
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]
2205. [bug] libbind: change #2119 broke thread support. [RT #16982]
2204. [bug] "rndc flushanme name unknown-view" caused named
to crash. [RT #16984]
2203. [security] Query id generation was cryptographically weak.
[RT # 16915]
2202. [security] The default acls for allow-query-cache and
allow-recursion were not being applied. [RT #16960]
2201. [bug] The build failed in a separate object directory.
[RT #16943]
2200. [bug] The search for cached NSEC records was stopping to
early leading to excessive DLV queries. [RT #16930]
2199. [bug] win32: don't call WSAStartup() while loading dlls.
[RT #16911]
2198. [bug] win32: RegCloseKey() could be called when
RegOpenKeyEx() failed. [RT #16911]
2197. [bug] Add INSIST to catch negative responses which are
not setting the event result code appropriately.
[RT #16909]
2196. [port] win32: yield processor while waiting for once to
to complete. [RT #16958]
2195. [func] dnssec-keygen now defaults to nametype "ZONE"
when generating DNSKEYs. [RT #16954]
2194. [bug] Close journal before calling 'done' in xfrin.c.
--- 9.5.0a5 released ---
2193. [port] win32: BINDInstall.exe is now linked statically.
[RT #16906]
2192. [port] win32: use vcredist_x86.exe to install Visual
Studio's redistributable dlls if building with
Visual Stdio 2005 or later.
2191. [func] named-checkzone now allows dumping to stdout (-).
named-checkconf now has -h for help.
named-checkzone now has -h for help.
rndc now has -h for help.
Better handling of '-?' for usage summaries.
[RT #16707]
2190. [func] Make fallback to plain DNS from EDNS due to timeouts
more visible. New logging category "edns-disabled".
[RT #16871]
2189. [bug] Handle socket() returning EINTR. [RT #15949]
2188. [contrib] queryperf: autoconf changes to make the search for
libresolv or libbind more robust. [RT #16299]
2187. [bug] query_addds(), query_addwildcardproof() and
query_addnxrrsetnsec() should take a version
arguement. [RT #16368]
2186. [port] cygwin: libbind: check for struct sockaddr_storage
independently of IPv6. [RT #16482]
2185. [port] sunos: libbind: check for ssize_t, memmove() and
memchr(). [RT #16463]
2184. [bug] bind9.xsl.h didn't build out of the source tree.
[RT #16830]
2183. [bug] dnssec-signzone didn't handle offline private keys
well. [RT #16832]
2182. [bug] dns_dispatch_createtcp() and dispatch_createudp()
could return ISC_R_SUCCESS when they ran out of
memory. [RT #16365]
2181. [port] sunos: libbind: add paths.h from BIND 8. [RT #16462]
2180. [cleanup] Remove bit test from 'compress_test' as they
are no longer needed. [RT #16497]
2179. [func] 'rndc command zone' will now find 'zone' if it is
unique to all the views. [RT #16821]
2178. [bug] 'rndc reload' of a slave or stub zone resulted in
a reference leak. [RT #16867]
2177. [bug] Array bounds overrun on read (rcodetext) at
debug level 10+. [RT #16798]
2176. [contrib] dbus update to handle race condition during
initialisation (Bugzilla 235809). [RT #16842]
2175. [bug] win32: windows broadcast condition variable support
was broken. [RT #16592]
2174. [bug] I/O errors should always be fatal when reading
master files. [RT #16825]
2173. [port] win32: When compiling with MSVS 2005 SP1 we also
need to ship Microsoft.VC80.MFCLOC.
--- 9.5.0a4 released ---
2172. [bug] query_addsoa() was being called with a non zone db.
[RT #16834]
2171. [bug] Handle breaks in DNSSEC trust chains where the parent
servers are not DS aware (DS queries to the parent
return a referral to the child).
2170. [func] Add acache processing to test suite. [RT #16711]
2169. [bug] host, nslookup: when reporting NXDOMAIN report the
given name and not the last name searched for.
[RT #16763]
2168. [bug] nsupdate: in non-interactive mode treat syntax errors
as fatal errors. [RT #16785]
2167. [bug] When re-using a automatic zone named failed to
attach it to the new view. [RT #16786]
--- 9.5.0a3 released ---
2166. [bug] When running in batch mode, dig could misinterpret
a server address as a name to be looked up, causing
unexpected output. [RT #16743]
2165. [func] Allow the destination address of a query to determine
if we will answer the query or recurse.
allow-query-on, allow-recursion-on and
allow-query-cache-on. [RT #16291]
2164. [bug] The code to determine how named-checkzone /
named-compilezone was called failed under windows.
[RT #16764]
2163. [bug] If only one of query-source and query-source-v6
specified a port the query pools code broke (change
2129). [RT #16768]
2162. [func] Allow "rrset-order fixed" to be disabled at compile
time. [RT #16665]
2161. [bug] Fix which log messages are emitted for 'rndc flush'.
[RT #16698]
2160. [bug] libisc wasn't handling NULL ifa_addr pointers returned
from getifaddrs(). [RT #16708]
--- 9.5.0a2 released ---
2159. [bug] Array bounds overrun in acache processing. [RT #16710]
2158. [bug] ns_client_isself() failed to initialise key
leading to a REQUIRE failure. [RT #16688]
2157. [func] dns_db_transfernode() created. [RT #16685]
2156. [bug] Fix node reference leaks in lookup.c:lookup_find(),
resolver.c:validated() and resolver.c:cache_name().
Fix a memory leak in rbtdb.c:free_noqname().
Make lookup.c:lookup_find() robust against
event leaks. [RT #16685]
2155. [contrib] SQLite sdb module from jaboydjr@netwalk.com.
[RT #16694]
@@ -555,7 +925,7 @@
hex strings with comments. [RT #15814]
1974. [doc] List each of the zone types and associated zone
options seperately in the ARM.
options separately in the ARM.
1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support. [RT #13606]
@@ -582,7 +952,7 @@
1965. [func] Suppress spurious "recusion requested but not
available" warning with 'dig +qr'. [RT #15780].
1964. [func] Seperate out MX and SRV to CNAME checks. [RT #15723]
1964. [func] Separate out MX and SRV to CNAME checks. [RT #15723]
1963. [port] Tru64 4.0E doesn't support send() and recv().
[RT #15586]
@@ -792,7 +1162,7 @@
1898. [bug] Extend ISC_SOCKADDR_FORMATSIZE and
ISC_NETADDR_FORMATSIZE to allow for scope details.
1897. [func] x86 and x86_64 now have seperate atomic locking
1897. [func] x86 and x86_64 now have separate atomic locking
implementations.
1896. [bug] Recursive clients soft quota support wasn't working
@@ -846,7 +1216,7 @@
[RT #14892]
1878. [func] Detect duplicates of UDP queries we are recursing on
and drop them. New stats category "duplicates".
and drop them. New stats category "duplicate".
[RT #2471]
1877. [bug] Fix unreasonably low quantum on call to
@@ -6285,7 +6655,7 @@
and has been removed.
170. [cleanup] Remove inter server consistancy checks from zone,
these should return as a seperate module in 9.1.
these should return as a separate module in 9.1.
dns_zone_checkservers(), dns_zone_checkparents(),
dns_zone_checkchildren(), dns_zone_checkglue().
+2 -2
View File
@@ -1,7 +1,7 @@
Copyright (C) 2004-2007 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 2007/06/18 05:59:26 marka Exp $
Portions Copyright (C) 1996-2001 Nominum, Inc.
+461 -401
View File
File diff suppressed because it is too large Load Diff
+558 -504
View File
File diff suppressed because it is too large Load Diff
+4 -4
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) 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 2007/09/03 00:36:53 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -61,7 +61,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::
+30 -18
View File
@@ -54,8 +54,12 @@ BIND 9.5.0
Experimental http server and statistics support for named via xml.
Faster ACL processing.
Use Doxygen to generate internal documention.
Efficient LRU cache-cleaning mechanism.
BIND 9.4.0
BIND 9.4.0 has a number of new features over 9.3,
@@ -77,7 +81,9 @@ BIND 9.4.0
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.
levels. If allow-query-cache is not set then allow-recursion
is used if set, otherwise allow-query is used if set, otherwise
the default (localhost; localnets;) is used.
rndc: the source address can now be specified.
@@ -362,27 +368,31 @@ Building
We've had successful builds and tests on the following systems:
COMPAQ Tru64 UNIX 5.1B
FreeBSD 4.10, 5.2.1
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)
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 NT/2000/XP/2003
Additionally, we have unverified reports of success building
previous versions of BIND 9 from users of the following systems:
We have recent reports from the user community that a supported
version of BIND will build and run on the following systems:
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
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,6 +429,8 @@ 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
LDFLAGS
Linker flags. Defaults to empty string.
+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-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 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+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@
+44 -18
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-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 2007/09/13 04:45:18 each 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>
@@ -193,7 +192,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 (ai != NULL && cur->ai_canonname != NULL &&
strcasecmp(ai->ai_canonname, namebuf) != 0 &&
!logged(namebuf, ERR_IS_CNAME)) {
dns_zone_log(zone, ISC_LOG_ERROR,
"%s/NS '%s' (out of zone) "
@@ -348,7 +356,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;
@@ -373,7 +381,16 @@ checkmx(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) {
if ((zone_options & DNS_ZONEOPT_WARNMXCNAME) != 0)
level = ISC_LOG_WARNING;
if ((zone_options & DNS_ZONEOPT_IGNOREMXCNAME) == 0) {
@@ -422,7 +439,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;
@@ -447,7 +464,16 @@ checksrv(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) {
if ((zone_options & DNS_ZONEOPT_WARNSRVCNAME) != 0)
level = ISC_LOG_WARNING;
if ((zone_options & DNS_ZONEOPT_IGNORESRVCNAME) == 0) {
@@ -494,7 +520,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 +532,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 +616,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 +635,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,
+10 -4
View File
@@ -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 2007/06/20 02:27:32 marka 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
+25 -9
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: named-checkconf.c,v 1.42 2006/02/28 02:39:51 marka Exp $ */
/* $Id: named-checkconf.c,v 1.46 2007/11/26 02:12:45 marka 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,8 +61,8 @@ isc_log_t *logc = NULL;
/*% usage */
static void
usage(void) {
fprintf(stderr, "usage: named-checkconf [-j] [-v] [-z] [-t directory] "
"[named.conf]\n");
fprintf(stderr, "usage: %s [-h] [-j] [-v] [-z] [-t directory] "
"[named.conf]\n", program);
exit(1);
}
@@ -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)) {
@@ -397,7 +400,9 @@ main(int argc, char **argv) {
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++;
@@ -433,11 +438,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 +461,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>
+15 -10
View File
@@ -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 2007/06/20 02:27:32 marka 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>
+17 -7
View File
@@ -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 2007/06/20 02:27:32 marka 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.
@@ -82,7 +87,7 @@ Specify the class of the zone. If not specified "IN" is assumed.
.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,6 +265,7 @@ 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"
+48 -19
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-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.45 2006/10/05 05:22:34 marka Exp $ */
/* $Id: named-checkzone.c,v 1.49 2007/06/18 23:47:17 tbox Exp $ */
/*! \file */
@@ -105,10 +105,13 @@ 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;
prog_name = strrchr(argv[0], '/');
if (prog_name == NULL)
prog_name = strrchr(argv[0], '\\');
if (prog_name != NULL)
prog_name++;
else
@@ -137,8 +140,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':
@@ -340,17 +345,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);
}
}
@@ -387,12 +392,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);
@@ -406,17 +435,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);
+21 -6
View File
@@ -5,7 +5,7 @@
- Copyright (C) 2004-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-checkzone.docbook,v 1.29 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: named-checkzone.docbook,v 1.34 2007/06/19 06:58:03 marka Exp $ -->
<refentry id="man.named-checkzone">
<refentryinfo>
<date>June 13, 2000</date>
@@ -56,6 +56,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 +118,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 +137,15 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-h</term>
<listitem>
<para>
Print the usage summary and exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-q</term>
<listitem>
@@ -177,7 +187,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 +209,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 +311,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 +354,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 +434,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>
+18 -11
View File
@@ -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 2007/06/20 02:27:32 marka 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="id2543669"></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="id2543704"></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.
@@ -79,7 +83,7 @@
<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="id2544325"></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="id2544337"></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="id2544370"></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@
+13 -13
View File
@@ -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 2007/05/16 06:12:00 marka Exp $
.\"
.hy 0
.ad l
@@ -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
@@ -128,14 +128,14 @@ 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
@@ -160,7 +160,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 +171,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 +228,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
@@ -330,7 +330,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 +354,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 +391,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 +451,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
@@ -487,7 +487,7 @@ 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
.SH "MULTIPLE QUERIES"
.PP
+59 -67
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-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.213 2006/07/21 23:50:15 marka Exp $ */
/* $Id: dig.c,v 1.217 2007/06/18 23:47:17 tbox Exp $ */
/*! \file */
@@ -650,42 +650,6 @@ printgreeting(int argc, char **argv, dig_lookup_t *lookup) {
}
}
/*%
* Reorder an argument list so that server names all come at the end.
* This is a bit of a hack, to allow batch-mode processing to properly
* handle the server options.
*/
static void
reorder_args(int argc, char *argv[]) {
int i, j;
char *ptr;
int end;
debug("reorder_args()");
end = argc - 1;
while (argv[end][0] == '@') {
end--;
if (end == 0)
return;
}
debug("arg[end]=%s", argv[end]);
for (i = 1; i < end - 1; i++) {
if (argv[i][0] == '@') {
debug("arg[%d]=%s", i, argv[i]);
ptr = argv[i];
for (j = i + 1; j < end; j++) {
debug("Moving %s to %d", argv[j], j - 1);
argv[j - 1] = argv[j];
}
debug("moving %s to end, %d", ptr, end - 1);
argv[end - 1] = ptr;
end--;
if (end < 1)
return;
}
}
}
static isc_uint32_t
parse_uint(char *arg, const char *desc, isc_uint32_t max) {
isc_result_t result;
@@ -1104,7 +1068,9 @@ static const char *single_dash_opts = "46dhimnv";
static const char *dash_opts = "46bcdfhikmnptvyx";
static isc_boolean_t
dash_option(char *option, char *next, dig_lookup_t **lookup,
isc_boolean_t *open_type_class, isc_boolean_t config_only)
isc_boolean_t *open_type_class, isc_boolean_t *need_clone,
isc_boolean_t config_only, int argc, char **argv,
isc_boolean_t *firstarg)
{
char opt, *value, *ptr, *ptr2, *ptr3;
isc_result_t result;
@@ -1241,14 +1207,20 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
return (value_from_next);
case 'q':
if (!config_only) {
(*lookup) = clone_lookup(default_lookup,
ISC_TRUE);
if (*need_clone)
(*lookup) = clone_lookup(default_lookup,
ISC_TRUE);
*need_clone = ISC_TRUE;
strncpy((*lookup)->textname, value,
sizeof((*lookup)->textname));
(*lookup)->textname[sizeof((*lookup)->textname)-1]=0;
(*lookup)->trace_root = ISC_TF((*lookup)->trace ||
(*lookup)->ns_search_only);
(*lookup)->new_search = ISC_TRUE;
if (*firstarg) {
printgreeting(argc, argv, *lookup);
*firstarg = ISC_FALSE;
}
ISC_LIST_APPEND(lookup_list, (*lookup), link);
debug("looking up %s", (*lookup)->textname);
}
@@ -1376,7 +1348,9 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
keysecret[sizeof(keysecret)-1]=0;
return (value_from_next);
case 'x':
*lookup = clone_lookup(default_lookup, ISC_TRUE);
if (*need_clone)
*lookup = clone_lookup(default_lookup, ISC_TRUE);
*need_clone = ISC_TRUE;
if (get_reverse(textname, sizeof(textname), value,
ip6_int, ISC_FALSE) == ISC_R_SUCCESS) {
strncpy((*lookup)->textname, textname,
@@ -1390,6 +1364,10 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
if (!(*lookup)->rdclassset)
(*lookup)->rdclass = dns_rdataclass_in;
(*lookup)->new_search = ISC_TRUE;
if (*firstarg) {
printgreeting(argc, argv, *lookup);
*firstarg = ISC_FALSE;
}
ISC_LIST_APPEND(lookup_list, *lookup, link);
} else {
fprintf(stderr, "Invalid IP address %s\n", value);
@@ -1481,6 +1459,8 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
char rcfile[256];
#endif
char *input;
int i;
isc_boolean_t need_clone = ISC_TRUE;
/*
* The semantics for parsing the args is a bit complex; if
@@ -1528,7 +1508,9 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
bargv[0] = argv[0];
argv0 = argv[0];
reorder_args(bargc, (char **)bargv);
for(i = 0; i < bargc; i++)
debug(".digrc argv %d: %s",
i, bargv[i]);
parse_args(ISC_TRUE, ISC_TRUE, bargc,
(char **)bargv);
}
@@ -1537,7 +1519,12 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
#endif
}
lookup = default_lookup;
if (is_batchfile && !config_only) {
/* Processing '-f batchfile'. */
lookup = clone_lookup(default_lookup, ISC_TRUE);
need_clone = ISC_FALSE;
} else
lookup = default_lookup;
rc = argc;
rv = argv;
@@ -1554,14 +1541,16 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
if (rc <= 1) {
if (dash_option(&rv[0][1], NULL,
&lookup, &open_type_class,
config_only)) {
&need_clone, config_only,
argc, argv, &firstarg)) {
rc--;
rv++;
}
} else {
if (dash_option(&rv[0][1], rv[1],
&lookup, &open_type_class,
config_only)) {
&need_clone, config_only,
argc, argv, &firstarg)) {
rc--;
rv++;
}
@@ -1629,21 +1618,29 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
continue;
}
}
if (!config_only) {
lookup = clone_lookup(default_lookup,
ISC_TRUE);
if (need_clone)
lookup = clone_lookup(default_lookup,
ISC_TRUE);
need_clone = ISC_TRUE;
strncpy(lookup->textname, rv[0],
sizeof(lookup->textname));
lookup->textname[sizeof(lookup->textname)-1]=0;
lookup->trace_root = ISC_TF(lookup->trace ||
lookup->ns_search_only);
lookup->new_search = ISC_TRUE;
if (firstarg) {
printgreeting(argc, argv, lookup);
firstarg = ISC_FALSE;
}
ISC_LIST_APPEND(lookup_list, lookup, link);
debug("looking up %s", lookup->textname);
}
/* XXX Error message */
}
}
/*
* If we have a batchfile, seed the lookup list with the
* first entry, then trust the callback in dighost_shutdown
@@ -1678,15 +1675,20 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
bargv[0] = argv[0];
argv0 = argv[0];
reorder_args(bargc, (char **)bargv);
for(i = 0; i < bargc; i++)
debug("batch argv %d: %s", i, bargv[i]);
parse_args(ISC_TRUE, ISC_FALSE, bargc, (char **)bargv);
return;
}
return;
}
/*
* If no lookup specified, search for root
*/
if ((lookup_list.head == NULL) && !config_only) {
lookup = clone_lookup(default_lookup, ISC_TRUE);
if (need_clone)
lookup = clone_lookup(default_lookup, ISC_TRUE);
need_clone = ISC_TRUE;
lookup->trace_root = ISC_TF(lookup->trace ||
lookup->ns_search_only);
lookup->new_search = ISC_TRUE;
@@ -1698,10 +1700,9 @@ parse_args(isc_boolean_t is_batchfile, isc_boolean_t config_only,
firstarg = ISC_FALSE;
}
ISC_LIST_APPEND(lookup_list, lookup, link);
} else if (!config_only && firstarg) {
printgreeting(argc, argv, lookup);
firstarg = ISC_FALSE;
}
if (!need_clone)
destroy_lookup(lookup);
}
/*
@@ -1715,7 +1716,7 @@ dighost_shutdown(void) {
int bargc;
char *bargv[16];
char *input;
int i;
if (batchname == NULL) {
isc_app_shutdown();
@@ -1743,7 +1744,8 @@ dighost_shutdown(void) {
bargv[0] = argv0;
reorder_args(bargc, (char **)bargv);
for(i = 0; i < bargc; i++)
debug("batch argv %d: %s", i, bargv[i]);
parse_args(ISC_TRUE, ISC_FALSE, bargc, (char **)bargv);
start_lookup();
} else {
@@ -1759,7 +1761,6 @@ dighost_shutdown(void) {
int
main(int argc, char **argv) {
isc_result_t result;
dig_server_t *s, *s2;
ISC_LIST_INIT(lookup_list);
ISC_LIST_INIT(server_list);
@@ -1780,16 +1781,7 @@ main(int argc, char **argv) {
result = isc_app_onrun(mctx, global_task, onrun_callback, NULL);
check_result(result, "isc_app_onrun");
isc_app_run();
s = ISC_LIST_HEAD(default_lookup->my_server_list);
while (s != NULL) {
debug("freeing server %p belonging to %p",
s, default_lookup);
s2 = s;
s = ISC_LIST_NEXT(s, link);
ISC_LIST_DEQUEUE(default_lookup->my_server_list, s2, link);
isc_mem_free(mctx, s2);
}
isc_mem_free(mctx, default_lookup);
destroy_lookup(default_lookup);
if (batchname != NULL) {
if (batchfp != stdin)
fclose(batchfp);
+15 -15
View File
@@ -5,7 +5,7 @@
- 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.
-
@@ -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 2007/06/18 23:47:17 tbox Exp $ -->
<refentry id="man.dig">
<refentryinfo>
@@ -104,7 +104,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.
@@ -216,7 +216,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,7 +225,7 @@
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>
@@ -251,7 +251,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 +263,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 +343,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>
@@ -536,7 +536,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 +588,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 +662,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 +763,7 @@
default is
to not try the next server which is the reverse of normal stub
resolver
behaviour.
behavior.
</para>
</listitem>
</varlistentry>
@@ -822,7 +822,7 @@
<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>
+14 -14
View File
@@ -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 2007/05/16 06:12:01 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -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.
@@ -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,7 +147,7 @@
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>
@@ -170,7 +170,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 +181,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.
@@ -249,7 +249,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>
@@ -362,7 +362,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 +394,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 +433,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 +499,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>
@@ -535,7 +535,7 @@
</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>
+12 -6
View File
@@ -2,7 +2,7 @@
* 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.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.301 2007/02/27 00:58:08 marka Exp $ */
/* $Id: dighost.c,v 1.303 2007/06/18 23:47:17 tbox Exp $ */
/*! \file
* \note
@@ -1276,9 +1276,7 @@ clear_query(dig_query_t *query) {
*/
static isc_boolean_t
try_clear_lookup(dig_lookup_t *lookup) {
dig_server_t *s;
dig_query_t *q;
void *ptr;
REQUIRE(lookup != NULL);
@@ -1299,7 +1297,16 @@ try_clear_lookup(dig_lookup_t *lookup) {
* At this point, we know there are no queries on the lookup,
* so can make it go away also.
*/
debug("cleared");
destroy_lookup(lookup);
return (ISC_TRUE);
}
void
destroy_lookup(dig_lookup_t *lookup) {
dig_server_t *s;
void *ptr;
debug("destroy");
s = ISC_LIST_HEAD(lookup->my_server_list);
while (s != NULL) {
debug("freeing server %p belonging to %p", s, lookup);
@@ -1324,7 +1331,6 @@ try_clear_lookup(dig_lookup_t *lookup) {
dst_context_destroy(&lookup->tsigctx);
isc_mem_free(mctx, lookup);
return (ISC_TRUE);
}
/*%
+4 -4
View File
@@ -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 2007/05/09 03:33:50 marka Exp $
.\"
.hy 0
.ad l
@@ -130,7 +130,7 @@ 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
\fBhost\fR
@@ -152,7 +152,7 @@ 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
\fB\-C\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
+7 -4
View File
@@ -2,7 +2,7 @@
* 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.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: host.c,v 1.112 2007/02/26 23:46:54 tbox Exp $ */
/* $Id: host.c,v 1.115 2007/08/15 04:40:30 marka Exp $ */
/*! \file */
@@ -426,8 +426,10 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (msg->rcode != 0) {
char namestr[DNS_NAME_FORMATSIZE];
dns_name_format(query->lookup->name, namestr, sizeof(namestr));
printf("Host %s not found: %d(%s)\n", namestr,
msg->rcode, rcodetext[msg->rcode]);
printf("Host %s not found: %d(%s)\n",
(msg->rcode != dns_rcode_nxdomain) ? namestr :
query->lookup->textname, msg->rcode,
rcodetext[msg->rcode]);
return (ISC_R_SUCCESS);
}
@@ -581,6 +583,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",
+5 -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: host.docbook,v 1.14 2007/01/29 23:57:22 marka Exp $ -->
<!-- $Id: host.docbook,v 1.16 2007/06/18 23:47:17 tbox Exp $ -->
<refentry id="man.host">
<refentryinfo>
@@ -173,7 +173,7 @@
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>
@@ -194,7 +194,7 @@
<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
@@ -227,7 +227,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>
+4 -4
View File
@@ -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 2007/05/09 03:33:50 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -125,7 +125,7 @@
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>
@@ -143,7 +143,7 @@
</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
@@ -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
+5 -2
View File
@@ -2,7 +2,7 @@
* 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.
*
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.103 2007/02/26 23:46:54 tbox Exp $ */
/* $Id: dig.h,v 1.105 2007/06/18 23:47:17 tbox Exp $ */
#ifndef DIG_H
#define DIG_H
@@ -303,6 +303,9 @@ check_result(isc_result_t result, const char *msg);
void
setup_lookup(dig_lookup_t *lookup);
void
destroy_lookup(dig_lookup_t *lookup);
void
do_lookup(dig_lookup_t *lookup);
+3 -3
View File
@@ -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 2007/05/16 06:12:01 marka 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
+6 -5
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-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.114 2006/12/07 05:52:16 marka Exp $ */
/* $Id: nslookup.c,v 1.117 2007/06/18 23:47:17 tbox Exp $ */
#include <config.h>
@@ -410,8 +410,9 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
char nametext[DNS_NAME_FORMATSIZE];
dns_name_format(query->lookup->name,
nametext, sizeof(nametext));
printf("** server can't find %s: %s\n", nametext,
rcodetext[msg->rcode]);
printf("** server can't find %s: %s\n",
(msg->rcode != dns_rcode_nxdomain) ? nametext :
query->lookup->textname, rcodetext[msg->rcode]);
debug("returning with rcode == 0");
return (ISC_R_SUCCESS);
}
+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)
+5 -7
View File
@@ -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 2007/05/16 06:12:01 marka 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@
+7 -7
View File
@@ -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 2007/06/18 23:37:19 marka 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,7 +182,7 @@ 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),
+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;
+10 -10
View File
@@ -5,7 +5,7 @@
- Copyright (C) 2004, 2005, 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.
-
@@ -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 2007/06/18 23:47:17 tbox Exp $ -->
<refentry id="man.dnssec-keygen">
<refentryinfo>
<date>June 30, 2000</date>
@@ -76,7 +76,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 +129,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 +286,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 +300,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 +330,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>
+9 -9
View File
@@ -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 2007/06/18 23:37:19 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -35,7 +35,7 @@
<a name="id2543474"></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>
@@ -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>
@@ -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,14 +182,14 @@
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>
@@ -211,7 +211,7 @@
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">
+29 -14
View File
@@ -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 2007/05/09 03:33:50 marka 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,29 +219,44 @@ 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),
+29 -6
View File
@@ -1,9 +1,22 @@
/*
* Portions Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* 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-signzone.c,v 1.199 2006/08/30 22:57:16 marka Exp $ */
/* $Id: dnssec-signzone.c,v 1.204 2007/08/28 07:20:42 tbox Exp $ */
/*! \file */
@@ -1481,7 +1494,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);
@@ -1862,8 +1875,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 +1905,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);
+30 -25
View File
@@ -5,7 +5,7 @@
- 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.
-
@@ -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 2007/06/18 23:47:18 tbox Exp $ -->
<refentry id="man.dnssec-signzone">
<refentryinfo>
<date>June 30, 2000</date>
@@ -193,7 +193,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 +212,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 +256,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 +411,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 +427,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>
+31 -26
View File
@@ -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 2007/05/09 03:33:50 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -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,9 +232,11 @@
</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>
@@ -242,37 +244,40 @@
<a name="id2544327"></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="id2544378"></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>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2544400"></a><h2>AUTHOR</h2>
<a name="id2544403"></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
+5 -4
View File
@@ -1,7 +1,7 @@
# Copyright (C) 2004-2007 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.92 2007/02/14 00:27:26 marka Exp $
# $Id: Makefile.in,v 1.96 2007/06/19 06:49:18 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}
@@ -133,8 +133,9 @@ clean distclean maintainer-clean::
rm -f ${TARGETS} ${OBJS} ${GENERATED}
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
installdirs:
+2 -2
View File
@@ -2,7 +2,7 @@
<!--
- Copyright (C) 2006, 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.
-
@@ -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 2007/06/18 23:47:18 tbox Exp $ -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
File diff suppressed because one or more lines are too long
+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
+68 -39
View File
@@ -2,7 +2,7 @@
* Copyright (C) 2004-2007 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.243 2007/02/26 00:57:03 marka Exp $ */
/* $Id: client.c,v 1.250 2007/11/26 04:47:17 marka Exp $ */
#include <config.h>
@@ -119,9 +119,9 @@ struct ns_clientmgr {
isc_mutex_t lock;
/* Locked by lock. */
isc_boolean_t exiting;
client_list_t active; /*%< Active clients */
client_list_t recursing; /*%< Recursing clients */
client_list_t inactive; /*%< To be recycled */
client_list_t active; /*%< Active clients */
client_list_t recursing; /*%< Recursing clients */
client_list_t inactive; /*%< To be recycled */
#if NMCTXS > 0
/*%< mctx pool for clients. */
unsigned int nextmctx;
@@ -640,7 +640,7 @@ ns_client_checkactive(ns_client_t *client) {
/*
* This client object should normally go inactive
* at this point, but if we have fewer active client
* objects than desired due to earlier quota exhaustion,
* objects than desired due to earlier quota exhaustion,
* keep it active to make up for the shortage.
*/
isc_boolean_t need_another_client = ISC_FALSE;
@@ -817,7 +817,7 @@ client_sendpkg(ns_client_t *client, isc_buffer_t *buffer) {
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
if (ns_g_server->blackholeacl != NULL &&
dns_acl_match(&netaddr, NULL,
ns_g_server->blackholeacl,
ns_g_server->blackholeacl,
&ns_g_server->aclenv,
&match, NULL) == ISC_R_SUCCESS &&
match > 0)
@@ -1180,7 +1180,7 @@ client_addopt(ns_client_t *client) {
rdatalist->ttl = (client->extflags & DNS_MESSAGEEXTFLAG_REPLYPRESERVE);
/*
* No ENDS options in the default case.
* No EDNS options in the default case.
*/
rdata->data = NULL;
rdata->length = 0;
@@ -1226,7 +1226,7 @@ ns_client_isself(dns_view_t *myview, dns_tsigkey_t *mykey,
dns_rdataclass_t rdclass, void *arg)
{
dns_view_t *view;
dns_tsigkey_t *key;
dns_tsigkey_t *key = NULL;
dns_name_t *tsig = NULL;
isc_netaddr_t netsrc;
isc_netaddr_t netdst;
@@ -1284,7 +1284,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
isc_buffer_t tbuffer;
dns_view_t *view;
dns_rdataset_t *opt;
isc_boolean_t ra; /* Recursion available. */
isc_boolean_t ra; /* Recursion available. */
isc_netaddr_t netaddr;
isc_netaddr_t destaddr;
int match;
@@ -1439,6 +1439,14 @@ client_request(isc_task_t *task, isc_event_t *event) {
}
}
/*
* Hash the incoming request here as it is after
* dns_dispatch_importrecv().
*/
dns_dispatch_hash(&client->now, sizeof(client->now));
dns_dispatch_hash(isc_buffer_base(buffer),
isc_buffer_usedlength(buffer));
/*
* It's a request. Parse it.
*/
@@ -1666,16 +1674,19 @@ client_request(isc_task_t *task, isc_event_t *event) {
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) {
char namebuf[DNS_NAME_FORMATSIZE];
char cnamebuf[DNS_NAME_FORMATSIZE];
dns_name_format(name, 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 +1708,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)",
@@ -1724,9 +1740,17 @@ client_request(isc_task_t *task, isc_event_t *event) {
ra = ISC_FALSE;
if (client->view->resolver != NULL &&
client->view->recursion == ISC_TRUE &&
ns_client_checkaclsilent(client, client->view->recursionacl,
ns_client_checkaclsilent(client, NULL,
client->view->recursionacl,
ISC_TRUE) == ISC_R_SUCCESS &&
ns_client_checkaclsilent(client, client->view->queryacl,
ns_client_checkaclsilent(client, NULL,
client->view->queryacl,
ISC_TRUE) == ISC_R_SUCCESS &&
ns_client_checkaclsilent(client, &client->interface->addr,
client->view->recursiononacl,
ISC_TRUE) == ISC_R_SUCCESS &&
ns_client_checkaclsilent(client, &client->interface->addr,
client->view->queryonacl,
ISC_TRUE) == ISC_R_SUCCESS)
ra = ISC_TRUE;
@@ -1735,7 +1759,7 @@ client_request(isc_task_t *task, isc_event_t *event) {
ns_client_log(client, DNS_LOGCATEGORY_SECURITY, NS_LOGMODULE_CLIENT,
ISC_LOG_DEBUG(3), ra ? "recursion available" :
"recursion not available");
"recursion not available");
/*
* Adjust maximum UDP response size for this client.
@@ -1829,10 +1853,10 @@ get_clientmctx(ns_clientmgr_t *manager, isc_mem_t **mctxp) {
return (result);
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
@@ -2078,7 +2102,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
} else {
/*
* XXXRTH What should we do? We're trying to accept but
* it didn't work. If we just give up, then TCP
* it didn't work. If we just give up, then TCP
* service may eventually stop.
*
* For now, we just go idle.
@@ -2103,7 +2127,7 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
if (ns_g_server->blackholeacl != NULL &&
dns_acl_match(&netaddr, NULL,
ns_g_server->blackholeacl,
ns_g_server->blackholeacl,
&ns_g_server->aclenv,
&match, NULL) == ISC_R_SUCCESS &&
match > 0)
@@ -2159,7 +2183,7 @@ client_accept(ns_client_t *client) {
isc_result_totext(result));
/*
* XXXRTH What should we do? We're trying to accept but
* it didn't work. If we just give up, then TCP
* it didn't work. If we just give up, then TCP
* service may eventually stop.
*
* For now, we just go idle.
@@ -2452,8 +2476,8 @@ ns_client_getsockaddr(ns_client_t *client) {
}
isc_result_t
ns_client_checkaclsilent(ns_client_t *client, dns_acl_t *acl,
isc_boolean_t default_allow)
ns_client_checkaclsilent(ns_client_t *client, isc_sockaddr_t *sockaddr,
dns_acl_t *acl, isc_boolean_t default_allow)
{
isc_result_t result;
int match;
@@ -2466,11 +2490,16 @@ ns_client_checkaclsilent(ns_client_t *client, dns_acl_t *acl,
goto deny;
}
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
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);
if (result != ISC_R_SUCCESS)
goto deny; /* Internal error, already logged. */
if (match > 0)
@@ -2485,12 +2514,12 @@ ns_client_checkaclsilent(ns_client_t *client, dns_acl_t *acl,
}
isc_result_t
ns_client_checkacl(ns_client_t *client,
ns_client_checkacl(ns_client_t *client, isc_sockaddr_t *sockaddr,
const char *opname, dns_acl_t *acl,
isc_boolean_t default_allow, int log_level)
{
isc_result_t result =
ns_client_checkaclsilent(client, acl, default_allow);
ns_client_checkaclsilent(client, sockaddr, acl, default_allow);
if (result == ISC_R_SUCCESS)
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
@@ -2513,7 +2542,7 @@ ns_client_name(ns_client_t *client, char *peerbuf, size_t len) {
void
ns_client_logv(ns_client_t *client, isc_logcategory_t *category,
isc_logmodule_t *module, int level, const char *fmt, va_list ap)
isc_logmodule_t *module, int level, const char *fmt, va_list ap)
{
char msgbuf[2048];
char peerbuf[ISC_SOCKADDR_FORMATSIZE];
@@ -2550,14 +2579,14 @@ void
ns_client_aclmsg(const char *msg, dns_name_t *name, dns_rdatatype_t type,
dns_rdataclass_t rdclass, char *buf, size_t len)
{
char namebuf[DNS_NAME_FORMATSIZE];
char typebuf[DNS_RDATATYPE_FORMATSIZE];
char classbuf[DNS_RDATACLASS_FORMATSIZE];
char namebuf[DNS_NAME_FORMATSIZE];
char typebuf[DNS_RDATATYPE_FORMATSIZE];
char classbuf[DNS_RDATACLASS_FORMATSIZE];
dns_name_format(name, namebuf, sizeof(namebuf));
dns_rdatatype_format(type, typebuf, sizeof(typebuf));
dns_rdataclass_format(rdclass, classbuf, sizeof(classbuf));
(void)snprintf(buf, len, "%s '%s/%s/%s'", msg, namebuf, typebuf,
dns_name_format(name, namebuf, sizeof(namebuf));
dns_rdatatype_format(type, typebuf, sizeof(typebuf));
dns_rdataclass_format(rdclass, classbuf, sizeof(classbuf));
(void)snprintf(buf, len, "%s '%s/%s/%s'", msg, namebuf, typebuf,
classbuf);
}
@@ -2585,7 +2614,7 @@ ns_client_dumpmessage(ns_client_t *client, const char *reason) {
isc_mem_put(client->mctx, buf, len);
len += 1024;
} else if (result == ISC_R_SUCCESS)
ns_client_log(client, NS_LOGCATEGORY_UNMATCHED,
ns_client_log(client, NS_LOGCATEGORY_UNMATCHED,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(1),
"%s\n%.*s", reason,
(int)isc_buffer_usedlength(&buffer),
@@ -2605,7 +2634,7 @@ ns_client_dumprecursing(FILE *f, ns_clientmgr_t *manager) {
const char *sep;
REQUIRE(VALID_MANAGER(manager));
LOCK(&manager->lock);
client = ISC_LIST_HEAD(manager->recursing);
while (client != NULL) {
+11 -7
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,14 +15,13 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.75 2006/06/04 23:17:06 marka Exp $ */
/* $Id: config.c,v 1.82 2007/10/19 17:15:53 explorer 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>
@@ -104,7 +104,9 @@ options {\n\
allow-notify {none;};\n\
allow-update-forwarding {none;};\n\
allow-query-cache { localnets; localhost; };\n\
allow-query-cache-on { any; };\n\
allow-recursion { localnets; localhost; };\n\
allow-recursion-on { any; };\n\
# allow-v6-synthesis <obsolete>;\n\
# sortlist <none>\n\
# topology <none>\n\
@@ -127,14 +129,14 @@ options {\n\
max-ncache-ttl 10800; /* 3 hours */\n\
max-cache-ttl 604800; /* 1 week */\n\
transfer-format many-answers;\n\
max-cache-size 0;\n\
max-cache-size 32M;\n\
check-names master fail;\n\
check-names slave warn;\n\
check-names response ignore;\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-accept-expired no;\n\
@@ -145,10 +147,12 @@ options {\n\
" /* zone */\n\
allow-query {any;};\n\
allow-query-on {any;};\n\
allow-transfer {any;};\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\
@@ -183,7 +187,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\
+3 -3
View File
@@ -2,7 +2,7 @@
* 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,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 2007/09/13 04:45:18 each 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>
+5 -4
View File
@@ -2,7 +2,7 @@
* 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: controlconf.c,v 1.53 2007/02/14 00:27:26 marka Exp $ */
/* $Id: controlconf.c,v 1.55 2007/09/12 01:09:07 each Exp $ */
/*! \file */
@@ -1014,7 +1014,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 +1101,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);
}
+21 -4
View File
@@ -1,8 +1,8 @@
#!/usr/bin/env perl
#
# Copyright (C) 2006 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2006, 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,23 +14,40 @@
# 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 2007/09/14 06:14:44 marka Exp $
use strict;
use warnings;
print 'static char msg[] = "';
my $rev = '$Id: convertxsl.pl,v 1.9 2007/09/14 06:14:44 marka Exp $';
$rev =~ s/\$//g;
$rev =~ s/,v//g;
$rev =~ s/Id: //;
my $xsl = "unknown";
my $lines = '';
while (<>) {
chomp;
# pickout the id for comment.
$xsl = $_ if (/<!-- .Id:.* -->/);
# convert Id string to a form not recognisable by cvs.
$_ =~ s/<!-- .Id:(.*). -->/<!-- \\045Id: $1\\045 -->/;
$lines .= $_;
}
$xsl =~ s/\$//g;
$xsl =~ s/<!-- Id: //;
$xsl =~ s/ -->.*//;
$xsl =~ s/,v//;
$lines =~ s/[\ \t]+/ /g;
$lines =~ s/\>\ \</\>\</g;
$lines =~ s/\"/\\\"/g;
print "/*\n * Generated by $rev \n * From $xsl\n */\n";
print 'static char msg[] = "';
print $lines;
print '\\n";', "\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
+16 -10
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-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.79 2006/06/06 00:11:42 marka Exp $ */
/* $Id: client.h,v 1.82 2007/06/18 23:47:19 tbox Exp $ */
#ifndef NAMED_CLIENT_H
#define NAMED_CLIENT_H 1
@@ -266,7 +266,9 @@ ns_client_getsockaddr(ns_client_t *client);
*/
isc_result_t
ns_client_checkaclsilent(ns_client_t *client,dns_acl_t *acl,
ns_client_checkaclsilent(ns_client_t *client,
isc_sockaddr_t *sockaddr,
dns_acl_t *acl,
isc_boolean_t default_allow);
/*%
@@ -274,6 +276,8 @@ ns_client_checkaclsilent(ns_client_t *client,dns_acl_t *acl,
*
* Check the current client request against 'acl'. If 'acl'
* is NULL, allow the request iff 'default_allow' is ISC_TRUE.
* If netaddr is NULL, check the ACL against client->peeraddr;
* otherwise check it against netaddr.
*
* Notes:
*\li This is appropriate for checking allow-update,
@@ -284,6 +288,7 @@ ns_client_checkaclsilent(ns_client_t *client,dns_acl_t *acl,
*
* Requires:
*\li 'client' points to a valid client.
*\li 'sockaddr' points to a valid address, or is NULL.
*\li 'acl' points to a valid ACL, or is NULL.
*
* Returns:
@@ -294,18 +299,19 @@ ns_client_checkaclsilent(ns_client_t *client,dns_acl_t *acl,
isc_result_t
ns_client_checkacl(ns_client_t *client,
isc_sockaddr_t *sockaddr,
const char *opname, dns_acl_t *acl,
isc_boolean_t default_allow,
int log_level);
/*%
* Like ns_client_checkacl, but also logs the outcome of the
* check at log level 'log_level' if denied, and at debug 3
* if approved. Log messages will refer to the request as
* an 'opname' request.
* Like ns_client_checkaclsilent, except the outcome of the check is
* logged at log level 'log_level' if denied, and at debug 3 if approved.
* Log messages will refer to the request as an 'opname' request.
*
* Requires:
*\li Those of ns_client_checkaclsilent(), and:
*
*\li 'client' points to a valid client.
*\li 'sockaddr' points to a valid address, or is NULL.
*\li 'acl' points to a valid ACL, or is NULL.
*\li 'opname' points to a null-terminated string.
*/
+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
+4 -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-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 2007/09/26 03:22:43 marka Exp $ */
#ifndef NAMED_GLOBALS_H
#define NAMED_GLOBALS_H 1
@@ -114,6 +114,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
+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: log.h,v 1.23 2005/04/29 00:22:30 marka Exp $ */
/* $Id: log.h,v 1.25 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_LOG_H
#define NAMED_LOG_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: 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 */
+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: lwdclient.h,v 1.16 2005/04/29 00:22:31 marka Exp $ */
/* $Id: lwdclient.h,v 1.18 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_LWDCLIENT_H
#define NAMED_LWDCLIENT_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) 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
+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: notify.h,v 1.12 2005/04/29 00:22:32 marka Exp $ */
/* $Id: notify.h,v 1.14 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_NOTIFY_H
#define NAMED_NOTIFY_H 1
+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
+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-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: server.h,v 1.85 2006/12/21 06:02:30 marka Exp $ */
/* $Id: server.h,v 1.87 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_SERVER_H
#define NAMED_SERVER_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) 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
+55
View File
@@ -0,0 +1,55 @@
/*
* 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 2008/01/17 00:15:13 jinmei 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.
*/
#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
+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: types.h,v 1.25 2006/12/22 01:59:43 marka Exp $ */
/* $Id: types.h,v 1.27 2007/06/19 23:46:59 tbox Exp $ */
#ifndef NAMED_TYPES_H
#define NAMED_TYPES_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: 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
+19 -27
View File
@@ -2,7 +2,7 @@
* 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: interfacemgr.c,v 1.88 2007/02/13 02:49:08 marka Exp $ */
/* $Id: interfacemgr.c,v 1.90 2007/09/12 01:09:07 each Exp $ */
/*! \file */
@@ -483,7 +483,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 +494,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;
netaddr = &interface->address;
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);
/* 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)
if (result != ISC_R_SUCCESS && netaddr->family == AF_INET6)
return (result);
if (result != ISC_R_SUCCESS) {
@@ -533,17 +528,14 @@ 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);
}
+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 */
+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: log.c,v 1.44 2006/12/22 01:44:59 marka Exp $ */
/* $Id: log.c,v 1.46 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) 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 */
+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.c,v 1.6 2005/04/29 00:22:27 marka Exp $ */
/* $Id: lwaddr.c,v 1.8 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+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 -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-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 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, 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 */
+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: lwdnoop.c,v 1.9 2005/04/29 00:22:28 marka Exp $ */
/* $Id: lwdnoop.c,v 1.11 2007/06/19 23:46:59 tbox Exp $ */
/*! \file */
+56 -7
View File
@@ -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 2007/05/16 06:12:01 marka 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
@@ -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.
<term>\-c</term>
can not be used with
<term>\-C</term>.
.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.
<term>\-C</term>
can not be used with
<term>\-c</term>.
.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
+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-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: lwresd.c,v 1.53 2006/03/02 00:37:23 marka Exp $ */
/* $Id: lwresd.c,v 1.55 2007/06/19 23:46:59 tbox Exp $ */
/*! \file
* \brief
+74 -5
View File
@@ -5,7 +5,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.
-
@@ -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 2007/06/18 23:47:18 tbox Exp $ -->
<refentry>
<refentryinfo>
<date>June 30, 2000</date>
@@ -52,11 +52,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 +66,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>
@@ -109,6 +113,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? -->
<term>-c</term> can not be used with <term>-C</term>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-C <replaceable class="parameter">config-file</replaceable></term>
<listitem>
@@ -116,6 +157,7 @@
Use <replaceable class="parameter">config-file</replaceable> as the
configuration file instead of the default,
<filename>/etc/resolv.conf</filename>.
<term>-C</term> can not be used with <term>-c</term>.
</para>
</listitem>
</varlistentry>
@@ -150,6 +192,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 +276,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 +286,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 +297,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.
+48 -10
View File
@@ -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 2007/05/16 06:12:01 marka 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="id2543461"></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
@@ -67,13 +67,34 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2543482"></a><h2>OPTIONS</h2>
<a name="id2543508"></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>.
<font color="red">&lt;term&gt;-c&lt;/term&gt;</font> can not be used with <font color="red">&lt;term&gt;-C&lt;/term&gt;</font>.
</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>.
<font color="red">&lt;term&gt;-C&lt;/term&gt;</font> can not be used with <font color="red">&lt;term&gt;-c&lt;/term&gt;</font>.
</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="id2543925"></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="id2543964"></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="id2543998"></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 */
+7 -4
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-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 2007/09/26 03:22:43 marka Exp $ */
/*! \file */
@@ -447,6 +447,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:
@@ -910,7 +912,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) {
+20 -9
View File
@@ -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 2007/06/20 02:27:32 marka 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\-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
@@ -122,8 +133,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 +141,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 +156,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 +220,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),
+20 -6
View File
@@ -12,7 +12,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: named.conf.5,v 1.25 2007/02/02 04:33:36 marka Exp $
.\" $Id: named.conf.5,v 1.31 2007/10/21 22:15:32 marka Exp $
.\"
.hy 0
.ad l
@@ -192,6 +192,7 @@ options {
use\-ixfr \fIboolean\fR;
version ( \fIquoted_string\fR | none );
allow\-recursion { \fIaddress_match_element\fR; ... };
allow\-recursion\-on { \fIaddress_match_element\fR; ... };
sortlist { \fIaddress_match_element\fR; ... };
topology { \fIaddress_match_element\fR; ... }; // not implemented
auth\-nxdomain \fIboolean\fR; // default changed
@@ -217,8 +218,8 @@ options {
max\-ncache\-ttl \fIinteger\fR;
max\-cache\-ttl \fIinteger\fR;
transfer\-format ( many\-answers | one\-answer );
max\-cache\-size \fIsize_no_default\fR;
max\-acache\-size \fIsize_no_default\fR;
max\-cache\-size \fIsize\fR;
max\-acache\-size \fIsize\fR;
clients\-per\-query \fInumber\fR;
max\-clients\-per\-query \fInumber\fR;
check\-names ( master | slave | response )
@@ -251,15 +252,19 @@ options {
dialup \fIdialuptype\fR;
ixfr\-from\-differences \fIixfrdiff\fR;
allow\-query { \fIaddress_match_element\fR; ... };
allow\-query\-on { \fIaddress_match_element\fR; ... };
allow\-query\-cache { \fIaddress_match_element\fR; ... };
allow\-query\-cache\-on { \fIaddress_match_element\fR; ... };
allow\-transfer { \fIaddress_match_element\fR; ... };
allow\-update { \fIaddress_match_element\fR; ... };
allow\-update\-forwarding { \fIaddress_match_element\fR; ... };
update\-check\-ksk \fIboolean\fR;
masterfile\-format ( text | raw );
notify \fInotifytype\fR;
notify\-source ( \fIipv4_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-source\-v6 ( \fIipv6_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-delay \fIseconds\fR;
notify\-to\-soa \fIboolean\fR;
also\-notify [ port \fIinteger\fR ] { ( \fIipv4_address\fR | \fIipv6_address\fR )
[ port \fIinteger\fR ]; ... };
allow\-notify { \fIaddress_match_element\fR; ... };
@@ -329,6 +334,7 @@ view \fIstring\fR \fIoptional_class\fR {
\fIstring\fR \fIinteger\fR \fIinteger\fR \fIinteger\fR \fIquoted_string\fR; ...
};
allow\-recursion { \fIaddress_match_element\fR; ... };
allow\-recursion\-on { \fIaddress_match_element\fR; ... };
sortlist { \fIaddress_match_element\fR; ... };
topology { \fIaddress_match_element\fR; ... }; // not implemented
auth\-nxdomain \fIboolean\fR; // default changed
@@ -354,8 +360,8 @@ view \fIstring\fR \fIoptional_class\fR {
max\-ncache\-ttl \fIinteger\fR;
max\-cache\-ttl \fIinteger\fR;
transfer\-format ( many\-answers | one\-answer );
max\-cache\-size \fIsize_no_default\fR;
max\-acache\-size \fIsize_no_default\fR;
max\-cache\-size \fIsize\fR;
max\-acache\-size \fIsize\fR;
clients\-per\-query \fInumber\fR;
max\-clients\-per\-query \fInumber\fR;
check\-names ( master | slave | response )
@@ -388,15 +394,19 @@ view \fIstring\fR \fIoptional_class\fR {
dialup \fIdialuptype\fR;
ixfr\-from\-differences \fIixfrdiff\fR;
allow\-query { \fIaddress_match_element\fR; ... };
allow\-query\-on { \fIaddress_match_element\fR; ... };
allow\-query\-cache { \fIaddress_match_element\fR; ... };
allow\-query\-cache\-on { \fIaddress_match_element\fR; ... };
allow\-transfer { \fIaddress_match_element\fR; ... };
allow\-update { \fIaddress_match_element\fR; ... };
allow\-update\-forwarding { \fIaddress_match_element\fR; ... };
update\-check\-ksk \fIboolean\fR;
masterfile\-format ( text | raw );
notify \fInotifytype\fR;
notify\-source ( \fIipv4_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-source\-v6 ( \fIipv6_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-delay \fIseconds\fR;
notify\-to\-soa \fIboolean\fR;
also\-notify [ port \fIinteger\fR ] { ( \fIipv4_address\fR | \fIipv6_address\fR )
[ port \fIinteger\fR ]; ... };
allow\-notify { \fIaddress_match_element\fR; ... };
@@ -461,6 +471,7 @@ zone \fIstring\fR \fIoptional_class\fR {
journal \fIquoted_string\fR;
zero\-no\-soa\-ttl \fIboolean\fR;
allow\-query { \fIaddress_match_element\fR; ... };
allow\-query\-on { \fIaddress_match_element\fR; ... };
allow\-transfer { \fIaddress_match_element\fR; ... };
allow\-update { \fIaddress_match_element\fR; ... };
allow\-update\-forwarding { \fIaddress_match_element\fR; ... };
@@ -470,10 +481,12 @@ zone \fIstring\fR \fIoptional_class\fR {
\fIrrtypelist\fR; ...
};
update\-check\-ksk \fIboolean\fR;
masterfile\-format ( text | raw );
notify \fInotifytype\fR;
notify\-source ( \fIipv4_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-source\-v6 ( \fIipv6_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-delay \fIseconds\fR;
notify\-to\-soa \fIboolean\fR;
also\-notify [ port \fIinteger\fR ] { ( \fIipv4_address\fR | \fIipv6_address\fR )
[ port \fIinteger\fR ]; ... };
allow\-notify { \fIaddress_match_element\fR; ... };
@@ -518,8 +531,9 @@ zone \fIstring\fR \fIoptional_class\fR {
.SH "SEE ALSO"
.PP
\fBnamed\fR(8),
\fBnamed\-checkconf\fR(8),
\fBrndc\fR(8),
\fBBIND 9 Administrator Reference Manual\fR().
BIND 9 Administrator Reference Manual.
.SH "COPYRIGHT"
Copyright \(co 2004\-2007 Internet Systems Consortium, Inc. ("ISC")
.br
+23 -9
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: named.conf.docbook,v 1.27 2007/02/02 02:18:04 marka Exp $ -->
<!-- $Id: named.conf.docbook,v 1.34 2007/10/19 17:15:53 explorer Exp $ -->
<refentry>
<refentryinfo>
<date>Aug 13, 2004</date>
@@ -219,6 +219,7 @@ options {
use-ixfr <replaceable>boolean</replaceable>;
version ( <replaceable>quoted_string</replaceable> | none );
allow-recursion { <replaceable>address_match_element</replaceable>; ... };
allow-recursion-on { <replaceable>address_match_element</replaceable>; ... };
sortlist { <replaceable>address_match_element</replaceable>; ... };
topology { <replaceable>address_match_element</replaceable>; ... }; // not implemented
auth-nxdomain <replaceable>boolean</replaceable>; // default changed
@@ -244,8 +245,8 @@ options {
max-ncache-ttl <replaceable>integer</replaceable>;
max-cache-ttl <replaceable>integer</replaceable>;
transfer-format ( many-answers | one-answer );
max-cache-size <replaceable>size_no_default</replaceable>;
max-acache-size <replaceable>size_no_default</replaceable>;
max-cache-size <replaceable>size</replaceable>;
max-acache-size <replaceable>size</replaceable>;
clients-per-query <replaceable>number</replaceable>;
max-clients-per-query <replaceable>number</replaceable>;
check-names ( master | slave | response )
@@ -281,16 +282,20 @@ options {
ixfr-from-differences <replaceable>ixfrdiff</replaceable>;
allow-query { <replaceable>address_match_element</replaceable>; ... };
allow-query-on { <replaceable>address_match_element</replaceable>; ... };
allow-query-cache { <replaceable>address_match_element</replaceable>; ... };
allow-query-cache-on { <replaceable>address_match_element</replaceable>; ... };
allow-transfer { <replaceable>address_match_element</replaceable>; ... };
allow-update { <replaceable>address_match_element</replaceable>; ... };
allow-update-forwarding { <replaceable>address_match_element</replaceable>; ... };
update-check-ksk <replaceable>boolean</replaceable>;
masterfile-format ( text | raw );
notify <replaceable>notifytype</replaceable>;
notify-source ( <replaceable>ipv4_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
notify-source-v6 ( <replaceable>ipv6_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
notify-delay <replaceable>seconds</replaceable>;
notify-to-soa <replaceable>boolean</replaceable>;
also-notify <optional> port <replaceable>integer</replaceable> </optional> { ( <replaceable>ipv4_address</replaceable> | <replaceable>ipv6_address</replaceable> )
<optional> port <replaceable>integer</replaceable> </optional>; ... };
allow-notify { <replaceable>address_match_element</replaceable>; ... };
@@ -371,6 +376,7 @@ view <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
};
allow-recursion { <replaceable>address_match_element</replaceable>; ... };
allow-recursion-on { <replaceable>address_match_element</replaceable>; ... };
sortlist { <replaceable>address_match_element</replaceable>; ... };
topology { <replaceable>address_match_element</replaceable>; ... }; // not implemented
auth-nxdomain <replaceable>boolean</replaceable>; // default changed
@@ -396,8 +402,8 @@ view <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
max-ncache-ttl <replaceable>integer</replaceable>;
max-cache-ttl <replaceable>integer</replaceable>;
transfer-format ( many-answers | one-answer );
max-cache-size <replaceable>size_no_default</replaceable>;
max-acache-size <replaceable>size_no_default</replaceable>;
max-cache-size <replaceable>size</replaceable>;
max-acache-size <replaceable>size</replaceable>;
clients-per-query <replaceable>number</replaceable>;
max-clients-per-query <replaceable>number</replaceable>;
check-names ( master | slave | response )
@@ -433,16 +439,20 @@ view <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
ixfr-from-differences <replaceable>ixfrdiff</replaceable>;
allow-query { <replaceable>address_match_element</replaceable>; ... };
allow-query-on { <replaceable>address_match_element</replaceable>; ... };
allow-query-cache { <replaceable>address_match_element</replaceable>; ... };
allow-query-cache-on { <replaceable>address_match_element</replaceable>; ... };
allow-transfer { <replaceable>address_match_element</replaceable>; ... };
allow-update { <replaceable>address_match_element</replaceable>; ... };
allow-update-forwarding { <replaceable>address_match_element</replaceable>; ... };
update-check-ksk <replaceable>boolean</replaceable>;
masterfile-format ( text | raw );
notify <replaceable>notifytype</replaceable>;
notify-source ( <replaceable>ipv4_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
notify-source-v6 ( <replaceable>ipv6_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
notify-delay <replaceable>seconds</replaceable>;
notify-to-soa <replaceable>boolean</replaceable>;
also-notify <optional> port <replaceable>integer</replaceable> </optional> { ( <replaceable>ipv4_address</replaceable> | <replaceable>ipv6_address</replaceable> )
<optional> port <replaceable>integer</replaceable> </optional>; ... };
allow-notify { <replaceable>address_match_element</replaceable>; ... };
@@ -516,6 +526,7 @@ zone <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
zero-no-soa-ttl <replaceable>boolean</replaceable>;
allow-query { <replaceable>address_match_element</replaceable>; ... };
allow-query-on { <replaceable>address_match_element</replaceable>; ... };
allow-transfer { <replaceable>address_match_element</replaceable>; ... };
allow-update { <replaceable>address_match_element</replaceable>; ... };
allow-update-forwarding { <replaceable>address_match_element</replaceable>; ... };
@@ -526,10 +537,12 @@ zone <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
};
update-check-ksk <replaceable>boolean</replaceable>;
masterfile-format ( text | raw );
notify <replaceable>notifytype</replaceable>;
notify-source ( <replaceable>ipv4_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
notify-source-v6 ( <replaceable>ipv6_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
notify-delay <replaceable>seconds</replaceable>;
notify-to-soa <replaceable>boolean</replaceable>;
also-notify <optional> port <replaceable>integer</replaceable> </optional> { ( <replaceable>ipv4_address</replaceable> | <replaceable>ipv6_address</replaceable> )
<optional> port <replaceable>integer</replaceable> </optional>; ... };
allow-notify { <replaceable>address_match_element</replaceable>; ... };
@@ -587,11 +600,12 @@ zone <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
<refentrytitle>named</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>rndc</refentrytitle><manvolnum>8</manvolnum>
<refentrytitle>named-checkconf</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>BIND 9 Administrator Reference Manual</refentrytitle>
</citerefentry>.
<refentrytitle>rndc</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citetitle>BIND 9 Administrator Reference Manual</citetitle>.
</para>
</refsect1>

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