Compare commits

...
1042 Commits
Author SHA1 Message Date
cvs2git 0ba8784cb9 This commit was manufactured by cvs2git to create tag 'v9_4_0a3'. 2006-03-10 04:54:36 +00:00
Mark Andrews 806f538c21 add const 2006-03-10 04:54:35 +00:00
Mark Andrews d7704efa4f newcopyrights 2006-03-10 04:30:06 +00:00
Mark Andrews a8b11b6a07 9.4.0a4 2006-03-10 04:29:35 +00:00
Mark Andrews e0fd5aaec9 update copyright notice 2006-03-10 04:15:10 +00:00
Mark Andrews 12ab87da04 newcopyrights 2006-03-10 04:12:13 +00:00
Mark Andrews 00c089f67d sync with HEAD 2006-03-10 04:04:32 +00:00
Mark Andrews 4ba635bc47 win32 2006-03-10 03:30:54 +00:00
Mark Andrews 5a52a2084b win32 2006-03-10 03:29:12 +00:00
Mark Andrews da1d72402a win32 2006-03-10 03:23:43 +00:00
Mark Andrews 0aaeda8d70 win32 2006-03-10 03:17:03 +00:00
Mark Andrews f44f29c8d6 win32 2006-03-10 03:14:28 +00:00
Mark Andrews 36d7f4bc26 win32 2006-03-10 03:11:45 +00:00
Mark Andrews af61764261 win32 2006-03-10 03:04:06 +00:00
Mark Andrews bc15fe3357 win32 2006-03-10 03:01:52 +00:00
Mark Andrews 4dec833feb update 2006-03-10 01:32:26 +00:00
Mark Andrews bf2fe05272 HAVE_RSA_GENERATE_KEY/HAVE_DSA_GENERATE_PARAMETERS/HAVE_DH_GENERATE_PARAMETERS 2006-03-10 01:13:42 +00:00
Mark Andrews 488e4f4e6a newcopyrights 2006-03-10 00:59:05 +00:00
Mark Andrews db8ac421d8 regen 2006-03-10 00:47:40 +00:00
Mark Andrews 50c7241d69 9.4.0a4 2006-03-10 00:28:00 +00:00
Mark Andrews a9c698bf3a update copyright notice 2006-03-10 00:23:20 +00:00
Mark Andrews 8e6f53c1b8 newcopyrights 2006-03-10 00:20:31 +00:00
Mark Andrews a501e657d3 2009. [bug] libbind: coverity fixes. [RT #15808] 2006-03-10 00:20:08 +00:00
Mark Andrews e9724570aa 2008. [func] It is now posssible to enable/disable DNSSEC
validation from rndc.  This is useful for the
                        mobile hosts where the current connection point
                        breaks DNSSEC (firewall/proxy).  [RT #15592]

                                rndc validation newstate [view]
2006-03-09 23:46:20 +00:00
Mark Andrews f560a1877b 2007. [func] It is now possible to explicitly enable DNSSEC
validation.  default dnssec-validation no; to
                        be changed to yes in 9.5.0.  [RT #15674]
2006-03-09 23:38:21 +00:00
cvs2git 915c9ab0fe This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-03-09 21:58:58 +00:00
Mark Andrews 980c5d7b8d regen 2006-03-09 05:04:01 +00:00
Mark Andrews 1ba9283d78 2006. [security] Allow-query-cache and allow-recursion now default
to the builtin acls "localnets" and "localhost".

                        This is being done to make caching servers less
                        attractive as reflective amplifying targets for
                        spoofed traffic.  This still leave authoritative
                        servers exposed.

                        The best fix is for full BCP 38 deployment to
                        remove spoofed traffic.
2006-03-09 03:40:33 +00:00
Mark Andrews 2d583a44d6 newcopyrights 2006-03-08 23:30:18 +00:00
Mark Andrews 8a6f69ef96 2005. [bug] libbind: Retransmission timeouts should be
based on which attempt it is to the nameserver
                        and not the nameserver itself. [RT #13548]
2006-03-08 04:14:17 +00:00
Mark Andrews b16c72bf12 2004. [bug] dns_tsig_sign() could pass a NULL pointer to
dst_context_destroy() when cleaning up after a
                        error. [RT #15835]
2006-03-08 03:55:50 +00:00
Mark Andrews 9b6c85ca20 2003. [bug] libbind: The DNS name/address lookup functions could
occasionally follow a random pointer due to
                        structures not being completely zeroed. [RT #15806]
2006-03-08 03:43:18 +00:00
Mark Andrews 1396c84257 tidy up 2006-03-07 05:06:09 +00:00
Mark Andrews 69036420c7 update copyright notice 2006-03-07 00:34:53 +00:00
Mark Andrews 3dc062fe12 newcopyrights 2006-03-06 23:30:22 +00:00
Mark Andrews cdaad1be46 regen 2006-03-06 08:06:49 +00:00
Mark Andrews 13481a92d8 2002 [bug] libbind: tighten the constraints on when
struct addrinfo._ai_pad exists.  [RT #15783]
2006-03-06 02:27:15 +00:00
Mark Andrews cb6bc372d8 2001. [func] Check the KSK flag when updating a dynamic zone.
New zone option "update-check-ksk yes;".  [RT #15817]
2006-03-06 01:38:01 +00:00
Mark Andrews ac5fb539db 2000. [bug] memmove()/strtol() fix was incomplete. [#RT 15812] 2006-03-06 01:11:04 +00:00
Mark Andrews 69ed9fe33f update copyright notice 2006-03-05 23:58:51 +00:00
Mark Andrews a2415e0e15 newcopyrights 2006-03-05 11:25:23 +00:00
Mark Andrews b40b95a7ef (char *) -> (unsigned char *) 2006-03-03 04:43:49 +00:00
Mark Andrews 3ee9b493ac add -Wpointer-arith to gcc 2006-03-03 03:21:09 +00:00
Mark Andrews 7eeb45a377 use (char *) for pointer arithmetic 2006-03-03 03:05:20 +00:00
Mark Andrews bf3bbdc9b6 1999. [func] Implement "rrset-order fixed". [RT #13662] 2006-03-03 00:56:53 +00:00
cvs2git 4798bc9e3c This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-03-03 00:43:36 +00:00
Mark Andrews 1adea826d0 update copyright notice 2006-03-02 23:48:49 +00:00
Mark Andrews d35adfae2c newcopyrights 2006-03-02 23:30:13 +00:00
Mark Andrews 7cdc4b985e 1998. [bug] Restrict handling of fifos as sockets to just SunOS.
This allows named to connect to entropy gathering
                        daemons that use fifos instead of sockets. [RT #15840]
2006-03-02 23:29:24 +00:00
Mark Andrews 3497fc3b77 1997. [bug] Named was failing to replace negative cache entries
when a positive one for the type was learnt.
                        [RT #15818]
2006-03-02 23:19:20 +00:00
Mark Andrews c4f3ffc491 1995. [bug] 'host' was reporting multiple "is an alias" messages.
[RT #15702]
2006-03-02 01:50:15 +00:00
Mark Andrews 1f8449c606 update copyright notice 2006-03-02 00:37:22 +00:00
Mark Andrews 8c3babd406 newcopyrights 2006-03-01 23:30:13 +00:00
Mark Andrews 8fe36fefe9 1994. [port] OpenSSL 0.9.8 support. [RT #15694] 2006-03-01 02:41:02 +00:00
Mark Andrews da7a930549 1993. [bug] Log messsage, via syslog, were missing the space
after the timestamp if "print-time yes" was specified.
                        [RT #15844]
2006-03-01 02:25:11 +00:00
Mark Andrews e73fc6bcef 1992. [bug] Not all incoming zone transfer messages included the
view.  [RT #15825]
2006-03-01 02:13:19 +00:00
Mark Andrews 8e1a73851d newcopyrights 2006-02-28 23:30:13 +00:00
Mark Andrews ea407e7082 1991. [cleanup] The configuration data, once read, should be treated
as readonly.  Expand the use of const to enforce this
                        at compile time. [RT #15813]
2006-02-28 03:10:49 +00:00
Mark Andrews f537534a39 1990. [bug] libbind: isc's override of broken gettimeofday()
implementions was not always effective.
                        [RT #15709]
2006-02-28 00:11:03 +00:00
Mark Andrews b84c54c850 update entry 2006-02-27 21:10:29 +00:00
Mark Andrews e608c03f34 regen 2006-02-27 02:18:04 +00:00
Mark Andrews ee8c147111 update copyright notice 2006-02-26 23:49:49 +00:00
Mark Andrews 7b8f402a4b newcopyrights 2006-02-26 23:30:13 +00:00
Mark Andrews 7af42116ba fix minor typos 2006-02-26 23:01:58 +00:00
Mark Andrews 5fcfdf8903 remove redundant memset 2006-02-26 22:30:56 +00:00
Mark Andrews c81148b3c6 update copyright notice 2006-02-26 22:28:37 +00:00
Mark Andrews 07f4e72711 newcopyrights 2006-02-24 23:30:19 +00:00
Mark Andrews bfca12c389 1989. [bug] win32: don't check the service password when
re-installing. [RT #15882]
2006-02-24 03:54:16 +00:00
Mark Andrews 4faccdcc07 1988. [bug] Remove a bus error from the SHA256/SHA512 support.
[RT #15878]
2006-02-24 00:06:32 +00:00
Mark Andrews c43996849a newcopyrights 2006-02-23 23:30:18 +00:00
Mark Andrews 904333546e update example 2006-02-23 22:33:55 +00:00
Mark Andrews ae3a8d847a update copyright notice 2006-02-22 23:50:09 +00:00
Mark Andrews 0e92ea829a newcopyrights 2006-02-22 23:30:15 +00:00
Mark Andrews 2f46120278 post merge problem 2006-02-22 01:57:12 +00:00
Mark Andrews c017465e4a 1987. [func] DS/DLV SHA256 digest algorithm support. [RT #15608] 2006-02-21 23:53:35 +00:00
Mark Andrews 77c5b1c067 1986. [func] Report when a zone is removed. [RT #15849] 2006-02-21 23:17:32 +00:00
Mark Andrews 9cc63c0b9e update copyright notice 2006-02-19 06:50:47 +00:00
Mark Andrews 03d9ed7779 newcopyrights 2006-02-17 23:30:14 +00:00
Mark Andrews 902d68b8bf regen 2006-02-17 02:05:47 +00:00
Mark Andrews f773366d5e 1985. [protocol] DLV has now been assigned a official type code of
32769. [RT #15807]

                        Note: care should be taken to ensure you upgrade
                        both named and dnssec-signzone at the same time for
                        zones with DLV records where named is the master
                        server for the zone.  Also any zones that contain
                        DLV records should be removed when upgrading a slave
                        zone.  You do not however have to upgrade all
                        servers for a zone with DLV records simultaniously.
2006-02-17 01:12:01 +00:00
cvs2git 30a6de88f0 This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-02-17 01:04:16 +00:00
Mark Andrews 8fc5e43bd9 1597. [func] Allow notify-source and query-source to be specified
on a per server basis similar to transfer-source.
                        [RT #6496]
2006-02-17 00:42:10 +00:00
Mark Andrews 80693a5fe0 1984. [func] dig, nslookup and host now advertise a 4096 byte
EDNS UDP buffer size by default. [RT #15855]
2006-02-17 00:14:21 +00:00
Mark Andrews e77385c265 update copyright notice 2006-02-16 23:51:32 +00:00
Mark Andrews 8cec66ed7f newcopyrights 2006-02-16 23:30:13 +00:00
Mark Andrews 918db3b403 regen 2006-02-16 04:57:56 +00:00
Mark Andrews dfb3eacdfb 1983. [func] Two new update policies. "selfsub" and "selfwild".
[RT #12895]
2006-02-16 01:38:49 +00:00
Mark Andrews 671495dd1e 1982. [bug] DNSKEY was being accepted on the parent side of
a delegation.  KEY is still accepted there for
                        RFC 3007 validated updates. [RT #15620]
2006-02-16 01:23:47 +00:00
Mark Andrews 0e38e7be45 update copyright notice 2006-02-13 23:50:53 +00:00
Mark Andrews e14e1988e5 newcopyrights 2006-02-13 23:30:17 +00:00
Mark Andrews bcc2d242d0 1981. [bug] win32: condition.c:wait() could fail to reattain
the mutex lock.
2006-02-13 03:39:02 +00:00
Mark Andrews 051f8a3397 Fix a signal race condition with the following change.
1980.   [func]          dnssec-signzone: output the SOA record as the
                        first record in the signed zone. [RT #15758]
2006-02-07 21:56:47 +00:00
Mark Andrews 26e33ad133 regen 2006-02-07 05:52:36 +00:00
Mark Andrews 60579704fe regen 2006-02-06 05:28:42 +00:00
Mark Andrews 2472552390 regen 2006-02-06 03:36:44 +00:00
Mark Andrews de6cb2108a update copyright notice 2006-02-03 23:51:38 +00:00
Mark Andrews 4956486838 newcopyrights 2006-02-03 23:30:17 +00:00
Mark Andrews 61822e71d1 1980. [func] dnssec-signzone: output the SOA record as the
first record in the signed zone. [RT #15758]
2006-02-03 00:15:43 +00:00
Mark Andrews d4c7754f14 1979. [port] linux: allow named to drop core after changing
user ids. [RT #15753]
2006-02-02 23:37:59 +00:00
Mark Andrews ff7e8e2f5b newcopyrights 2006-02-02 23:31:37 +00:00
Mark Andrews 3c8829f50a 1978. [port] Handle systems which have a broken recvmsg().
[RT #15742]
2006-02-02 23:13:20 +00:00
Mark Andrews 0c3fa5d938 1977. [bug] Silence noisy log message. [RT #15704] 2006-02-02 22:52:57 +00:00
Mark Andrews 870cf686c6 1976. [bug] Handle systems with no IPv4 addresses. [RT #15695] 2006-02-02 22:39:53 +00:00
Mark Andrews 4dd7e34f48 comment typo 2006-02-01 22:39:17 +00:00
Mark Andrews 6f93c80e8d update copyright notice 2006-02-01 00:10:34 +00:00
Mark Andrews d392fb7eb4 newcopyrights 2006-01-31 23:30:13 +00:00
Mark Andrews 8b1e1a03b2 silence compiler warnings 2006-01-31 23:03:52 +00:00
Mark Andrews 3ef5c36a94 silence compiler warning 2006-01-31 01:58:39 +00:00
Mark Andrews 275a1ccaf6 1975. [bug] libbind: isc_gethexstring() could misparse multi-line
hex strings with comments. [RT #15814]
2006-01-31 00:55:32 +00:00
Mark Andrews 7d20ed76ff silence compiler warnings 2006-01-31 00:38:06 +00:00
Mark Andrews e9c31cd679 silence compiler warnings 2006-01-31 00:25:46 +00:00
Mark Andrews 9ee3ecd4bf set BYTE_ORDER from WORDS_BIGENDIAN if not otherwise defined 2006-01-31 00:13:15 +00:00
Mark Andrews 15cd70917b regen 2006-01-30 02:26:25 +00:00
Mark Andrews 572e225823 delegation-only is valid for type forward 2006-01-30 00:39:39 +00:00
Mark Andrews 5c40f431b8 1974. [doc] List each of the zone types and associated zone
options seperately in the ARM.
2006-01-30 00:30:04 +00:00
Mark Andrews c3f2d61ede regen 2006-01-29 22:56:53 +00:00
Mark Andrews 17b2cc8f16 regen 2006-01-28 02:15:41 +00:00
Mark Andrews deaa25fd63 update copyright notice 2006-01-27 23:57:45 +00:00
Mark Andrews 77a9b5dbf3 update 2006-01-27 23:39:13 +00:00
Mark Andrews 084e118b18 newcopyrights 2006-01-27 23:30:14 +00:00
Mark Andrews 1ed167177d regen 2006-01-27 05:16:45 +00:00
Mark Andrews 65fdd79a50 1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support. [RT #13606]
2006-01-27 02:50:51 +00:00
cvs2git fbbcef65f5 This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-01-27 02:35:16 +00:00
Mark Andrews 691a48f8e0 1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998]
Fix the CLEANER_IDLE macro to make this change complete. [RT #15815]
2006-01-26 23:07:49 +00:00
Mark Andrews 0c4eb5c99e newcopyrights 2006-01-23 23:30:18 +00:00
Mark Andrews 6f0b93539c 1972. [contrib] DBUS dynamic forwarders integation from
Jason Vas Dias <jvdias@redhat.com>.
2006-01-23 04:56:26 +00:00
cvs2git 4618ea5ccc This commit was manufactured by cvs2git to create branch 'v9_4'. 2006-01-23 04:53:37 +00:00
Mark Andrews e9726c25ba regen 2006-01-18 04:59:11 +00:00
Mark Andrews 1d23449b0b update copyright notice 2006-01-17 23:49:31 +00:00
Mark Andrews 25daac20b5 newcopyrights 2006-01-17 23:30:17 +00:00
Mark Andrews 73e8579252 regen 2006-01-17 02:14:43 +00:00
Mark Andrews f84d9b582b xref named.conf(5) 2006-01-16 23:59:51 +00:00
Mark Andrews 70b15d3957 update copyright notice 2006-01-10 23:50:41 +00:00
Mark Andrews 2526270652 newcopyrights 2006-01-10 23:30:15 +00:00
Mark Andrews d60e7efb55 1971. [port] linux: make detection of missing IF_NAMESIZE more
robust. [RT #15443]
2006-01-10 05:09:08 +00:00
Mark Andrews 2cb35446ae style 2006-01-10 03:03:26 +00:00
Mark Andrews 8b774c8c4e regen 2006-01-07 03:40:23 +00:00
Mark Andrews 5cdce69e65 update copyright notice 2006-01-07 00:23:34 +00:00
Mark Andrews 59a29a6b78 newcopyrights 2006-01-06 23:30:13 +00:00
Mark Andrews 93980d685f specify -D as libtool does not preserve argv0. 2006-01-06 06:57:13 +00:00
Mark Andrews bb091d4bbe remove ns1/example.db.raw 2006-01-06 06:56:32 +00:00
Mark Andrews fff0cbc65c 1970. [bug] nsupdate: adjust UDP timeout when falling back to
unsigned SOA query. [RT #15775]
2006-01-06 04:50:21 +00:00
Mark Andrews 310d10a544 silence compiler warning 2006-01-06 02:04:09 +00:00
Mark Andrews df6f75f878 regen 2006-01-06 01:48:04 +00:00
Mark Andrews ec6e807f29 1969. [bug] win32: the socket code was freeing the socket
structure too early. [RT #15776]
2006-01-06 01:34:20 +00:00
Mark Andrews 27428ec47a 1968. [bug] Missing lock in resolver.c:validated(). [RT #15739] 2006-01-06 01:13:05 +00:00
Mark Andrews 82830b197b 1967. [func] dig/nslookup/host: warn about missing QR. [RT #15779] 2006-01-06 00:56:00 +00:00
Mark Andrews e23d3f34e6 1966. [bug] Don't set CD when we have fallen back to plain DNS.
[RT #15727]
2006-01-06 00:43:07 +00:00
Mark Andrews 00e430246d 1965. [func] Suppress spurious "recusion requested but not
available" warning with 'dig +qr'. [RT #15780].
2006-01-06 00:25:41 +00:00
Mark Andrews 76f6d0382a 1964. [func] Seperate out MX and SRV to CNAME checks. [RT #15723] 2006-01-06 00:10:00 +00:00
Mark Andrews 586f82c999 update copyright notice 2006-01-06 00:01:43 +00:00
Mark Andrews 9b1351dbb2 newcopyrights 2006-01-05 23:30:13 +00:00
Mark Andrews a788a04b08 unbalances <term>'s 2006-01-05 11:42:36 +00:00
Mark Andrews f7464d52ff typo 2006-01-05 03:49:10 +00:00
Mark Andrews ea87c36c34 1963. [port] Tru64 4.0E doesn't support send() and recv().
[RT #15586]
2006-01-05 03:46:26 +00:00
Mark Andrews dbf2a22cda 1962. [bug] Named failed to clear old update-policy when it
was removed. [RT #15491]
2006-01-05 03:38:28 +00:00
Mark Andrews 7820998a39 1961. [bug] Check the port and address of responses forwarded
to dispatch. [RT #15474]
2006-01-05 03:30:56 +00:00
Mark Andrews d71329a7df 1960. [bug] Update code should set NSEC ttls from SOA MINIMUM.
[RT #15465]
2006-01-05 03:21:54 +00:00
Mark Andrews ff3b707f8a 1959. [func] Control the zeroing of the negative response TTL to
a soa query.  Defaults "zero-no-soa-ttl yes;" and
                        "zero-no-soa-ttl-cache no;". [RT #15460]
2006-01-05 02:24:27 +00:00
Mark Andrews 84df135b2b fixed typos in error messages 2006-01-05 01:41:28 +00:00
Mark Andrews b35878c85b 1958. [bug] Named failed to update the zone's secure state
until the zone was reloaded. [RT #15412]
2006-01-05 01:33:55 +00:00
Mark Andrews 1e53d23ec4 1957. [bug] Dig mishandled responses to class ANY queries.
[RT #15402]
2006-01-05 01:04:28 +00:00
Mark Andrews 5975e2882e 1956. [bug] Improve cross compile support, 'gen' is now built
by native compiler.  See README for additional
                        cross compile support information. [RT #15148]
2006-01-05 00:41:03 +00:00
Mark Andrews 0befce1b74 1956. [bug] Improve cross compile support, 'gen' is now built
by native compiler.  See README for additional
                        cross compile support information. [RT #15148]
2006-01-05 00:30:10 +00:00
Mark Andrews 8c5dac56cd 1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998] 2006-01-05 00:21:11 +00:00
Mark Andrews 48d9f5bdaa inclu1954. [func] Named now falls back to advertising EDNS with a
512 byte receive buffer if the initial EDNS queries
                        fail.  [RT #14852]

1953.   [func]          The maximum EDNS UDP response named will send can
                        now be set in named.conf (max-udp-size).  This is
                        independent of the advertised receive buffer
                        (edns-udp-size). [RT #14852]
2006-01-05 00:10:44 +00:00
Mark Andrews e770e36d60 update copyright notice 2006-01-04 23:50:23 +00:00
Mark Andrews d0d651026d newcopyrights 2006-01-04 23:30:18 +00:00
Mark Andrews 4e3c349b7a 1952. [port] hpux: tell the linker to build a runtime link
path "-Wl,+b:". [RT #14816].
2006-01-04 22:48:19 +00:00
Mark Andrews 821c84f2e0 1951. [security] Drop queries from particular well known ports.
Don't return FORMERR to queries from particular
                        well known ports.  [RT #15636]
2006-01-04 05:13:43 +00:00
Mark Andrews e74b6c9c74 1950. [port] Solaris 2.5.1 and earlier cannot bind() then connect()
a TCP socket. This prevents the source address being
                        set for TCP connections. [RT #15628]
2006-01-04 04:29:18 +00:00
Mark Andrews 9114d9ae77 1949. [func] Addition memory leakage checks. [RT #15544] 2006-01-04 03:20:27 +00:00
Mark Andrews 9efa0b0eaa 1948. [bug] If was possible to trigger a REQUIRE failure in
xfrin.c:maybe_free() if named ran out of memory.
                        [RT #15568]
2006-01-04 03:08:40 +00:00
Mark Andrews f53e702b25 1947. [func] It is now possible to configure named to accept
expired RRSIGs.  Default "dnssec-accept-expired no;".
                        Setting "dnssec-accept-expired yes;" leaves named
                        vulnerable to replay attacks.  [RT #14685]
2006-01-04 02:58:42 +00:00
Mark Andrews 062b135630 update copyright notice 2006-01-04 00:37:23 +00:00
Mark Andrews 5195cbd6a3 newcopyrights 2006-01-03 23:30:17 +00:00
Mark Andrews 6201fe7298 1946. [bug] resume_dslookup() could trigger a REQUIRE failure
when using forwarders. [RT #15549]
2006-01-03 07:23:41 +00:00
Mark Andrews 431e2ab380 1945. [cleanup] dnssec-keygen: RSA (RSAMD5) is nolonger recommended.
To generate a RSAMD5 key you must explictly request
                        RSAMD5. [RT #13780]
2006-01-03 07:19:32 +00:00
Mark Andrews 7c500c5380 1944. [cleanup] isc_hash_create() does not need a read/write lock.
[RT #15522]
2006-01-03 05:55:01 +00:00
Mark Andrews 7a6ae288f4 spelling 2006-01-03 05:38:45 +00:00
Mark Andrews 15ed0dd65a 1943. [bug] Set the loadtime after rollimg forward the journal.
[RT #15647]
2006-01-03 05:37:13 +00:00
Mark Andrews faa9dc3c7d update copyrights 2005-12-06 23:40:07 +00:00
Mark Andrews 5b6d8a55ec v9_4_0a3 2005-12-06 03:03:34 +00:00
Mark Andrews b730720648 fix relative path 2005-12-06 02:00:01 +00:00
Mark Andrews 07956467c6 Handle named-compilezone.exe copy 2005-12-06 01:57:44 +00:00
Mark Andrews d05c833a90 win32 2005-12-06 01:19:54 +00:00
Mark Andrews 89f2e1aa4a 9.4.0a3 2005-12-06 00:39:17 +00:00
Mark Andrews 1002410f4d 9.4.0a3 2005-12-06 00:03:00 +00:00
Mark Andrews e3a0c1266e regen 2005-12-05 01:40:16 +00:00
Mark Andrews cf4e1143ea 1942. [bug] If the name of a DNSKEY match that of one in
trusted-keys do not attempt to validate the DNSKEY
                        using the parents DS RRset. [RT #15649]
2005-12-05 00:00:03 +00:00
Mark Andrews bc89eff622 update copyright notice 2005-11-30 23:52:53 +00:00
Mark Andrews 5bacdc2945 newcopyrights 2005-11-30 23:30:10 +00:00
Mark Andrews 72adedc82e 1941. [bug] ncache_adderesult() should set eresult even if no
rdataset is passed to it. [RT #15642]
2005-11-30 22:56:21 +00:00
Mark Andrews 864f9d0d0a silence dereferencing type-punned pointer will break strict-aliasing rules warning 2005-11-30 04:58:32 +00:00
Mark Andrews 3c8367a203 1940. [bug] Fixed a number of error conditions reported by
Coverity.
2005-11-30 03:44:39 +00:00
Mark Andrews e6988ed649 silence compiler warnings [RT #15562] 2005-11-03 23:02:24 +00:00
Mark Andrews c96954b3fb regen 2005-11-03 02:44:32 +00:00
Mark Andrews c7d337e4ff 1939. [bug] The resolver could dereference a null pointer after
validation if all the queries have timed out.
                        [RT #15528]

1938.   [bug]           The validator was not correctly handling unsecure
                        negative responses at or below a SEP. [RT #15528]
2005-11-03 00:58:00 +00:00
Mark Andrews 5029beeca2 update copyright notice 2005-11-03 00:02:55 +00:00
Mark Andrews 7d1a7dd02f pullup bind8:
1721.   [bug]           Change #1718 was incomplete.  Missing error return
                        on out of memory.
2005-11-03 00:01:18 +00:00
Mark Andrews a3f66da0c8 newcopyrights 2005-11-02 23:34:25 +00:00
Mark Andrews 71152af636 1937. [bug] sdlz doesn't handle RRSIG records. [RT #15564] 2005-11-02 23:29:50 +00:00
Mark Andrews a748400418 regen 2005-11-02 23:26:03 +00:00
Mark Andrews 28c3edd081 regen 2005-11-02 22:54:38 +00:00
Mark Andrews ae311fc61d extend cname and other data answer 2005-11-02 22:53:33 +00:00
Mark Andrews 68cf43ce19 move clients-per-query to tuning 2005-11-02 22:24:51 +00:00
Mark Andrews 8178f16f24 address timing issue in tests 2005-11-02 04:56:05 +00:00
Mark Andrews 43d25d3d13 1936. [bug] The validator could leak memory. [RT #15544] 2005-11-02 01:53:25 +00:00
Mark Andrews 52fa04c198 1935. [bug] 'acache' was DO sensitive. [RT #15430]
1934.   [func]          Validate pending NS RRsets, in the authority section,
                        prior to returning them if it can be done without
                        requiring DNSKEYs to be fetched.  [RT #15430]
2005-11-02 01:37:35 +00:00
Mark Andrews c3ce52ca59 update 2005-11-01 05:50:31 +00:00
Mark Andrews 9fd3293120 newcopyrights 2005-10-29 23:34:14 +00:00
Tatuya JINMEI 神明達哉 8ab00ba4d1 1919. [contrib] queryperf: a set of new features: collecting/printing
response delays, printing intermediate results, and
			adjusting query rate for the "target" qps.

(pull down to 9.4)
2005-10-29 00:21:12 +00:00
Mark Andrews a748f3fd88 always clean .o's 2005-10-28 01:53:28 +00:00
Mark Andrews d69f3661aa fix isc_timer_gettype return type 2005-10-26 06:50:50 +00:00
Mark Andrews b1439dd74c regen 2005-10-26 06:02:02 +00:00
Mark Andrews c27790ad8e spelling arguement vs argument 2005-10-26 04:59:20 +00:00
Mark Andrews 9aed407b75 CHANGE # 2005-10-21 06:41:18 +00:00
Mark Andrews d7d8f38caa 1932. [bug] dump_rdataset_raw() had a incorrect INSIST. [RT #15534] 2005-10-21 03:19:35 +00:00
Mark Andrews e6589ee119 regen 2005-10-20 23:59:57 +00:00
Mark Andrews 97885e90c6 1932. [bug] hpux: LDFLAGS was getting corrupted. [RT #15530] 2005-10-20 23:47:26 +00:00
Mark Andrews d1be0a9947 silence compiler warning 2005-10-17 03:50:11 +00:00
Mark Andrews 7e9dc3455a win32 2005-10-17 01:11:49 +00:00
Mark Andrews b787150c78 9.4.0a2 2005-10-17 00:02:59 +00:00
Mark Andrews ab8654ad34 9.4.0a2 2005-10-16 23:57:06 +00:00
Mark Andrews 4e35003f01 4193: Unique Local IPv6 Unicast Addresses 2005-10-16 23:54:17 +00:00
Mark Andrews b859060f6c 1930. [port] HPUX: ia64 support. [RT #15473] 2005-10-16 23:53:03 +00:00
Mark Andrews 60d1171ac5 1931. [bug] Per-client mctx could require a huge amount of memory,
particularly for a busy caching server. [RT #15519]
2005-10-16 23:29:38 +00:00
Mark Andrews 454d71306d silence compiler 2005-10-14 05:44:12 +00:00
Mark Andrews faf9916889 silence compiler 2005-10-14 05:26:54 +00:00
Mark Andrews 6d82d03ea3 update copyright notice 2005-10-14 02:13:08 +00:00
Mark Andrews 22b291ad8d newcopyrights 2005-10-14 01:59:03 +00:00
Mark Andrews 3a204dc120 1930. [port] HPUX: ia64 support. [RT #15473]
1929.   [port]          FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:33:30 +00:00
Mark Andrews 4edafbbd51 1930. [port] HPUX: ia64 support. [RT #15473]
1929.   [port]          FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
2005-10-14 01:28:24 +00:00
Mark Andrews 4361c20d0f regen 2005-10-13 02:53:16 +00:00
Mark Andrews cb5c9b5c74 9.4.0a2 2005-10-13 02:49:23 +00:00
Mark Andrews 369f44092a 1927. [bug] Access to soanode or nsnode in rbtdb violated the
lock order rule and could cause a dead lock.
                        [RT# 15518]
2005-10-13 02:12:25 +00:00
Mark Andrews 5def46551b update
1920.   [bug]           The cache rbtdb lock array was too small to
                        have the desired performance characteristics.
                        [RT #15454]
2005-10-13 01:26:07 +00:00
Mark Andrews 3f3027195c 1928. [bug] Race in rbtdb.c:currentversion(). [RT #15517] 2005-10-13 01:22:56 +00:00
Mark Andrews e0a51afdbd newcopyrights 2005-10-11 23:37:43 +00:00
Mark Andrews 0f320b880f BINDinstall was being installed in the wrong place. 2005-10-11 23:13:18 +00:00
Mark Andrews 812e2c86a2 1926. [bug] The Windows installer did not check for empty
passwords. [RT #15483]
2005-10-11 22:56:47 +00:00
Mark Andrews 785071e3cb 1925. [port] All outer level AC_TRY_RUNs need cross compiling
defaults. [RT #15469]
2005-10-11 22:31:51 +00:00
Mark Andrews 83e359a742 1924. [port] libbind: hpux ia64 support. [RT #15473] 2005-10-11 00:31:46 +00:00
Mark Andrews b68059cb7b 1924. [port] libbind: hpux ia64 support. [RT #15473] 2005-10-11 00:25:12 +00:00
Mark Andrews bd2b832da7 regen 2005-10-10 03:10:54 +00:00
Mark Andrews 503ab0f91a update forwarders description 2005-10-10 00:20:33 +00:00
Mark Andrews b9a8524f2f 1923. [bug] ns_client_detach() called too early. [RT #15499] 2005-10-07 04:07:54 +00:00
cvs2git 724b596d78 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-10-04 21:38:49 +00:00
Mark Andrews d97f99776c 1922. [bug] check-tool.c:setup_logging() missing call to
dns_log_setcontext().
2005-09-30 08:22:58 +00:00
Mark Andrews 099193af68 update copyright notice 2005-09-30 00:39:40 +00:00
Mark Andrews 4e3d865461 newcopyrights 2005-09-28 23:39:10 +00:00
Mark Andrews 100bc61d16 DEFAULT_CACHE_NODE_LOCK_COUNT=7 2005-09-28 22:45:52 +00:00
Mark Andrews 6a87e81bf3 bad change numbers 2005-09-28 06:05:02 +00:00
Mark Andrews cfdb8ad3dc 1920. [bug] Client memory contexts were not using internal
malloc. [RT# 15434]
2005-09-28 04:52:03 +00:00
Mark Andrews 081c8387a5 1919. [bug] The cache memory context array was too small to
have the desired performance characteristics.
                        [RT #15454]

stop.pl Increase amount of time allowed for named to stop before aborting the
server.
2005-09-28 04:42:50 +00:00
Mark Andrews df61987b00 isc_thread_key_destroy->isc_thread_key_delete 2005-09-20 06:02:12 +00:00
Mark Andrews f891ab7478 win32 2005-09-20 05:57:57 +00:00
Mark Andrews 3f1eda9a80 win32 2005-09-20 05:48:19 +00:00
Mark Andrews 708f60e7d4 win32 2005-09-20 05:38:37 +00:00
Mark Andrews 11e1f697de win32 2005-09-20 05:25:37 +00:00
Mark Andrews c113cefb9c damp interations adjustments [RT#15404] 2005-09-20 04:33:48 +00:00
Mark Andrews 4b3fde9378 silence compiler warning 2005-09-19 00:15:20 +00:00
Mark Andrews 2f57e5ea0a update 2005-09-19 00:10:33 +00:00
Mark Andrews 876546cb4d finetune isc_thread_key implementation [RT #15408] 2005-09-18 07:58:09 +00:00
Mark Andrews a912e9791d isc_mem_put not isc_mem_putanddetach 2005-09-18 07:05:40 +00:00
Mark Andrews b9c54202b5 regen 2005-09-15 22:50:08 +00:00
Mark Andrews 6e3b22de9f adjust for libxslt-1.1.15 2005-09-15 02:28:05 +00:00
Mark Andrews 861c5e2aca regen 2005-09-13 02:59:19 +00:00
Mark Andrews 6230958567 spelling 2005-09-13 01:38:53 +00:00
Mark Andrews ba2f7a75d9 update copyright notice 2005-09-13 00:35:11 +00:00
Mark Andrews 97b35aef1d newcopyrights 2005-09-12 23:56:31 +00:00
Mark Andrews 4a56cd461d fix cleanup 2005-09-12 22:36:18 +00:00
Mark Andrews d913302781 reversed sense if test 2005-09-12 07:10:41 +00:00
Mark Andrews c3a209d5d9 update 2005-09-12 03:00:14 +00:00
Mark Andrews 8644971009 remove duplicate description 2005-09-12 02:12:08 +00:00
Mark Andrews e11fe4011b 1918. [bug] Memory leak when checking acls. [RT #15391] 2005-09-12 02:04:07 +00:00
Mark Andrews 178a00b9db regen 2005-09-12 00:59:09 +00:00
Mark Andrews 3b38d915bc 1917. [doc] funcsynopsisinfo wasn't being treated as verbatim
when generating man pages. [RT #15385]
2005-09-12 00:04:58 +00:00
Mark Andrews 88259e7f02 silence compiler warnings 2005-09-10 01:09:29 +00:00
Mark Andrews b93f209433 make sure key is created if needed on both paths 2005-09-10 01:04:22 +00:00
Mark Andrews 76c17cf29b update copyright notice 2005-09-09 14:11:05 +00:00
Mark Andrews 7e58a422a1 update 2005-09-09 14:08:34 +00:00
Mark Andrews 4b103902df update 2005-09-09 13:55:05 +00:00
Mark Andrews abaa2493bc regen 2005-09-09 13:29:54 +00:00
Mark Andrews ec18b7d228 win32: minimal isc_key_*() implementation 2005-09-09 12:31:53 +00:00
Mark Andrews 7d014ff9d7 1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383] 2005-09-09 06:23:39 +00:00
Mark Andrews 1209225bcb 1916. [func] Integrate contibuted IDN code from JPNIC. [RT #15383] 2005-09-09 06:22:03 +00:00
cvs2git 79962012be This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-09-09 06:13:59 +00:00
Mark Andrews 10639b4850 pullup:
res_init()/res_ninit() could leak memory when re-called.
2005-09-09 00:40:27 +00:00
Mark Andrews 63d4a2a917 1915. [bug] dig +ndots was broken. [RT #15215] 2005-09-09 00:24:39 +00:00
Mark Andrews d65af876f7 newcopyrights 2005-09-07 23:39:04 +00:00
Mark Andrews e7b7953b4e copy named-checkzone to named-compilezone 2005-09-07 14:31:19 +00:00
Mark Andrews 6afa4b61d9 add named-compilezone 2005-09-07 14:25:16 +00:00
Mark Andrews e61923d692 win32 2005-09-07 14:13:32 +00:00
Mark Andrews c6749d82b4 iwin32 2005-09-07 10:02:41 +00:00
Mark Andrews 7e662aab1a iwin32 2005-09-07 09:58:04 +00:00
Mark Andrews 33acff0ce9 win32 2005-09-07 06:10:55 +00:00
Mark Andrews 5d828d6557 remove before linking 2005-09-07 00:29:53 +00:00
Mark Andrews a853d5dbe5 newcopyrights 2005-09-06 23:42:50 +00:00
Mark Andrews ee3bff8e4b copy Bv9ARM.pdf 2005-09-06 08:04:02 +00:00
Mark Andrews 885ccd6dfb update copyright notice 2005-09-06 07:29:33 +00:00
Mark Andrews 558ed95f0c 9.4.0a1 2005-09-06 07:02:43 +00:00
Mark Andrews e8ca58f592 9.4.0a0 2005-09-06 07:00:24 +00:00
Mark Andrews c2c3af417e newcopyrights 2005-09-06 06:59:48 +00:00
Mark Andrews f6200ca9fb 1914. [protocol] DS is required to accept mnemonic algorithms
(RFC 4034).  Still emit numeric algorithms for
                        compatability with RFC 3658. [RT #15354]
2005-09-06 06:48:39 +00:00
Mark Andrews c896ba3250 update 2005-09-06 06:38:14 +00:00
Mark Andrews 5d9d3e8c37 9.4.0 2005-09-06 06:01:25 +00:00
Mark Andrews d10c398ea4 newcopyrights 2005-09-06 04:12:57 +00:00
Mark Andrews 7f0e432047 9.4.0 2005-09-06 03:59:01 +00:00
Mark Andrews 847f1d06ab update copyright notice 2005-09-06 03:47:21 +00:00
Mark Andrews 44c1180062 add copyright notice 2005-09-06 02:58:32 +00:00
Mark Andrews f669693e39 update 2005-09-06 02:52:59 +00:00
Mark Andrews 840aa4cfaa newcopyrights 2005-09-06 02:46:18 +00:00
Mark Andrews 011a8b726a update 2005-09-06 02:36:51 +00:00
Mark Andrews 5535d908df update 2005-09-06 02:32:00 +00:00
Mark Andrews 66d240aae2 update 2005-09-06 02:27:47 +00:00
Mark Andrews 6f0722fdfd update 2005-09-06 02:21:54 +00:00
Mark Andrews ef443ff786 handle copyright less xml 2005-09-06 01:59:47 +00:00
Mark Andrews 8267819c42 newcopyrights 2005-09-06 01:25:15 +00:00
Mark Andrews a9e4b91098 add xml support 2005-09-06 01:17:33 +00:00
Mark Andrews 2ca16c2f87 regen 2005-09-05 06:12:13 +00:00
Mark Andrews bab555195e update for 9.4.0 2005-09-05 05:51:05 +00:00
Mark Andrews 0b5b8dba69 regen 2005-09-05 03:16:30 +00:00
Mark Andrews c0c29fa38f sync with head 2005-09-05 03:01:49 +00:00
Mark Andrews 4813aa536f win32: silence compiler warnings 2005-09-05 02:30:52 +00:00
Mark Andrews 948b570f18 cleanup 2005-09-05 02:24:33 +00:00
Mark Andrews daead3cfd5 silence compiler error 2005-09-05 02:07:45 +00:00
Mark Andrews b8de382c4f win32 2005-09-05 02:07:15 +00:00
Mark Andrews 4f52f8b33a win32 2005-09-05 01:59:16 +00:00
Mark Andrews 30f4c7c49f win32 2005-09-05 01:49:09 +00:00
Mark Andrews e057d7fa0d win32 2005-09-05 01:41:57 +00:00
Mark Andrews 373faf9e53 win32 support 2005-09-05 01:26:09 +00:00
Mark Andrews 756c1c98e4 1913. [func] Integrate contibuted DLZ code into named. [RT #11382] 2005-09-05 00:20:08 +00:00
cvs2git df2b07d6b2 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-09-05 00:12:30 +00:00
Mark Andrews 368ab46f70 silence compiler warnings 2005-09-03 12:47:03 +00:00
Mark Andrews b0f7f1700f pullup 2005-09-02 13:27:12 +00:00
Mark Andrews 446217ba10 update for release 2005-09-02 06:31:41 +00:00
Mark Andrews ad9e172b18 change numbers 2005-09-02 04:56:54 +00:00
Mark Andrews 83e075783d Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966] 2005-09-02 04:03:20 +00:00
Mark Andrews ede113a252 update 2005-09-02 01:49:18 +00:00
Mark Andrews 06d62cdd29 update 2005-09-02 01:41:51 +00:00
Mark Andrews 5512af8aec new draft 2005-09-02 01:41:37 +00:00
cvs2git 2c7e3ac579 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-09-02 01:39:31 +00:00
Mark Andrews 38c3dc6a65 update 2005-09-02 01:15:25 +00:00
Mark Andrews a2f70ecf14 1921. [port] aix: atomic locking for powerpc. [RT #15020] 2005-09-01 03:40:48 +00:00
Mark Andrews 13769892d0 1920. [bug] Update windows socket code. [RT #14965] 2005-09-01 03:04:36 +00:00
Mark Andrews a02c541f06 regen 2005-08-30 04:16:49 +00:00
Mark Andrews f2da1963d2 remove references to makekeyset/signkey 2005-08-30 01:58:31 +00:00
Mark Andrews 60a7279b81 remove references to makekeyset and signkey 2005-08-30 01:53:09 +00:00
Mark Andrews 1a09e310d5 remove make-keyset reference 2005-08-30 01:42:12 +00:00
Mark Andrews 8d469c42f8 update trusted-keys description 2005-08-30 00:47:49 +00:00
Mark Andrews eb754bd635 regen 2005-08-25 06:33:35 +00:00
Mark Andrews 7e60a1125d use_atomic fails for powerpc+libtool+thread+aix 2005-08-25 06:31:54 +00:00
Mark Andrews 550b458bb5 regen 2005-08-25 06:15:32 +00:00
Mark Andrews f5ab36ad01 make configure match powerpc atomic support 2005-08-25 06:13:58 +00:00
Mark Andrews 4ee4431103 silence compiler warning 2005-08-25 04:43:51 +00:00
Mark Andrews fc732a80df silence compiler warnings 2005-08-25 04:31:58 +00:00
Mark Andrews 1360a714c3 regen 2005-08-25 02:54:41 +00:00
Mark Andrews 55ae24844a 1919. [bug] dig's +sigchase code overhauled. [RT #14933]
1918.   [bug]           The DLV code has been re-worked to make no longer
                        query order sensitive. [RT #14933]
2005-08-25 01:54:01 +00:00
Mark Andrews b8f09dec6c 1917. [func] dig now warns if 'RA' is not set in the answer when
'RD' was set in the query.  host/nslookup skip servers
                        that fail to set 'RA' when 'RD' is set unless a server
                        is explicitly set.  [RT #15005]
2005-08-25 00:43:26 +00:00
Mark Andrews 783db10c34 1916. [func] host/nslookup now continue (default)/fail on SERVFAIL.
[RT #15006]
2005-08-25 00:33:36 +00:00
Mark Andrews e6b2687c12 1915. [func] dig now has a '-q queryname' and '+showsearch' options.
[RT #15034]
2005-08-25 00:21:01 +00:00
Mark Andrews 59606dc362 seperate out sibling glue checks 2005-08-25 00:05:47 +00:00
Mark Andrews a70f7d0f9d silence compiler warning 2005-08-23 04:48:16 +00:00
Mark Andrews d9f32b1a33 cleanup comment 2005-08-23 04:12:38 +00:00
Mark Andrews d179f9cb82 silence compiler warnings 2005-08-23 04:10:11 +00:00
Mark Andrews 8f35e7e93a adjust builtin syntax checks [RT#15268] 2005-08-23 03:02:19 +00:00
Mark Andrews 35dfb27614 1914. [bug] Strings returned from cfg_obj_asstring() should be
treated as read-only.  The prototype for
                        cfg_obj_asstring() has been updated to reflect this.
                        [RT #15256]
2005-08-23 02:31:40 +00:00
Mark Andrews 01f355e99a MEMUNLOCK called too early 2005-08-22 01:34:11 +00:00
Mark Andrews 1a79463418 dns_log_init() and dns_log_setcontext() had been moved to setup_logging() 2005-08-22 01:02:09 +00:00
Mark Andrews 57e6c4f902 regen 2005-08-18 02:56:07 +00:00
Mark Andrews 4df834d69f 1913. [func] Automatic empty zone creation for D.F.IP6.ARPA and
friends.  Note: RFC 1918 zones are not yet covered by
                        this but are likely to be in a future release.

                        New options: empty-server, empty-contact,
                        empty-zones-enable and disable-empty-zone.
2005-08-18 01:03:03 +00:00
Mark Andrews be4092f04e initalise/destroy entropy and hash contexts 2005-08-16 04:42:24 +00:00
Mark Andrews fc45613805 1912. [func] ISC string copy API. 2005-08-16 04:39:05 +00:00
Mark Andrews 86e7fbb8db silence compiler warning 2005-08-15 02:03:08 +00:00
Mark Andrews bbdb4afea0 1911. [func] Attempt to make the amount of work performed in a
iteration self tuning.  The covers nodes clean from
                        the cache per iteration, nodes written to disk when
                        rewriting a master file and nodes destroyed per
                        iteration when destroying a zone or a cache.
                        [RT #14996]
2005-08-15 01:46:51 +00:00
Mark Andrews 9a5919cb9b silence compiler warning 2005-08-12 01:36:03 +00:00
Mark Andrews 043a194979 soft is an int 2005-08-11 15:01:54 +00:00
Mark Andrews 421f1295b8 SOLARIS2 + HAVE_STROPTS_H 2005-08-11 08:05:31 +00:00
Mark Andrews 79a5a49135 1910. [cleanup] Don't add DNSKEY records to the additional section. 2005-08-11 05:35:12 +00:00
Mark Andrews 4297388959 1909. [bug] ixfr-from-differences failed to ensure that the
serial number increased. [RT #15036]
2005-07-29 00:35:16 +00:00
Mark Andrews ed1cff8314 update copyreight notice 2005-07-29 00:12:55 +00:00
Mark Andrews b75694711d update 2005-07-29 00:00:02 +00:00
Mark Andrews 439b006323 newcopyrights 2005-07-28 23:34:00 +00:00
Mark Andrews 24cbc72f9a sync w/ bind8 2005-07-28 07:40:04 +00:00
cvs2git 0c72e6c759 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-28 06:54:13 +00:00
Mark Andrews 6dff954cda result was not being assigned. 2005-07-28 05:46:55 +00:00
Mark Andrews f0c0dbccc0 1908. [func] named-checkconf now validates update-policy entries.
[RT #14963]
2005-07-28 05:45:23 +00:00
Mark Andrews d35792e94e 1907. [bug] Extend ISC_SOCKADDR_FORMATSIZE and
ISC_NETADDR_FORMATSIZE to allow for scope details.
2005-07-28 04:58:47 +00:00
Mark Andrews f349074a4d 1906. [func] x86 and x86_64 now have seperate atomic locking
implementations.
2005-07-27 04:25:03 +00:00
Mark Andrews afac697f0d remove trailing whitespace 2005-07-27 04:16:54 +00:00
Mark Andrews b9ee625560 1905. [bug] Recursive clients soft quota support wasn't working
as expected. [RT #15103]
2005-07-27 02:44:22 +00:00
Mark Andrews 29d6442fe5 ref not rep 2005-07-25 00:51:46 +00:00
Mark Andrews bbf243f240 update 2005-07-23 04:38:56 +00:00
Mark Andrews f6c5374202 update copyright notice 2005-07-23 04:35:12 +00:00
Mark Andrews 228cd7a9bf update 2005-07-22 05:57:23 +00:00
Mark Andrews c4c69dc13c failed to increment sp on last change. 2005-07-22 05:30:00 +00:00
Mark Andrews 604d2e88fe update 2005-07-22 03:13:55 +00:00
Mark Andrews b3ed8cabc1 1904. [bug] A escaped character is, potentially, converted to
the output character set too early. [RT #14666]
2005-07-20 01:49:27 +00:00
Mark Andrews 57a6a248d5 regen 2005-07-20 00:12:05 +00:00
Mark Andrews d1ba9ad04e regen 2005-07-19 07:14:50 +00:00
Mark Andrews 6628a21310 regen 2005-07-19 06:35:57 +00:00
Mark Andrews 31aeea625c uintptr_t is in <inttypes.h> on some platforms 2005-07-19 06:20:21 +00:00
cvs2git f99142d9d3 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-19 06:12:25 +00:00
Mark Andrews 19086ed551 1903. [doc] Review ARM for BIND 9.4. 2005-07-19 05:55:48 +00:00
cvs2git 6ffcc1b43c This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-19 04:55:26 +00:00
Mark Andrews 2e7f29dc00 update copyright notice 2005-07-18 23:59:26 +00:00
Mark Andrews 43de986da3 newcopyrights 2005-07-18 23:33:51 +00:00
Mark Andrews 4ba1af055e sync w/ HEAD 2005-07-18 07:29:21 +00:00
Mark Andrews 38fa252a94 new draft 2005-07-18 07:14:55 +00:00
Mark Andrews 56fa3e9ac0 sunc w/ HEAD 2005-07-18 07:02:19 +00:00
Mark Andrews 7afad00f40 sync w/ HEAD 2005-07-18 06:16:54 +00:00
Mark Andrews 0094683a9e 1902. [port] Use uintptr_t if available. [RT #14606] 2005-07-18 05:20:33 +00:00
Mark Andrews d33ca0baa7 1902. [port] Use uintptr_t if available. [RT #14606] 2005-07-18 05:19:47 +00:00
Mark Andrews 714c56efba regen 2005-07-18 02:45:03 +00:00
Mark Andrews 859fa27d87 update copyright notice 2005-07-16 00:40:54 +00:00
Mark Andrews 36d9a67287 newcopyrights 2005-07-15 23:33:38 +00:00
Mark Andrews 545fd2eaca spf_99 not spf_16 2005-07-15 01:38:34 +00:00
Mark Andrews 95494c7858 newcopyrights 2005-07-14 23:33:48 +00:00
Mark Andrews 7ec7de6e32 spf 2005-07-14 06:54:30 +00:00
Mark Andrews 23e40d8db0 1901. [func] Support for SPF rdata type. [RT #15033] 2005-07-14 06:51:03 +00:00
cvs2git 5778f2c88b This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-14 06:46:45 +00:00
Mark Andrews d71b58a6ca newcopyrights 2005-07-12 23:33:40 +00:00
Mark Andrews da76da34cd update copyright notice 2005-07-12 05:47:28 +00:00
Mark Andrews 82e2318373 1900. [port] freebsd: pthread_mutex_init can fail if it runs out
of memory. [RT #14995]
2005-07-12 01:22:34 +00:00
cvs2git 2a10229517 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-12 01:14:34 +00:00
Mark Andrews bd6ece146e 1899. [func] Raise the UDP recieve buffer size to 32k if it is
less than 32k. [RT #14953]
2005-07-12 00:47:36 +00:00
Mark Andrews c4b9f95b01 newcopyrights 2005-07-11 23:34:33 +00:00
Mark Andrews 6a2a83ab08 remove extraneous * after specific solaris version in case statements 2005-07-11 03:33:10 +00:00
Mark Andrews 725e04ed4b remove extraneous * after specific solaris version in case statements 2005-07-11 03:28:00 +00:00
Tatuya JINMEI 神明達哉 06b4938bd0 added powerpc and mips as supported architectures in change 1813. 2005-07-09 07:18:11 +00:00
Tatuya JINMEI 神明達哉 96eba1a4a5 regen 2005-07-09 07:16:02 +00:00
Tatuya JINMEI 神明達哉 2e39c5a201 supported mips atomic ops 2005-07-09 07:15:50 +00:00
Tatuya JINMEI 神明達哉 e6345d4d68 atomic ops for mips 2005-07-09 07:14:00 +00:00
cvs2git e2464a3d78 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-09 07:08:31 +00:00
Tatuya JINMEI 神明達哉 5ec9d08d57 typo in a comment line 2005-07-09 06:44:28 +00:00
Mark Andrews 0e3c727afb 1898. [port] sunos: non blocking i/o support. [RT #14951] 2005-07-08 04:58:44 +00:00
Mark Andrews e26767fd7b 1898. [port] sunos: non blocking i/o support. [RT #14951] 2005-07-08 04:43:21 +00:00
Mark Andrews 866a0ec9f2 1897. [func] Support for IPSECKEY rdata type. [RT #14967] 2005-07-07 03:17:36 +00:00
cvs2git e031593942 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-07 03:13:00 +00:00
Mark Andrews 72fe3ad9e1 1896. [bug] The cache could delete expired records too fast for
clients with a virtual time in the past. [RT #14991]
2005-07-07 02:53:19 +00:00
Mark Andrews 70f901a0b8 newcopyrights 2005-07-05 23:33:31 +00:00
Tatuya JINMEI 神明達哉 8db2fbc719 regen 2005-07-05 17:41:33 +00:00
Tatuya JINMEI 神明達哉 0595eb35c0 detect availability of atomic ops for powerpc 2005-07-05 17:40:14 +00:00
Tatuya JINMEI 神明達哉 01843b2f85 added support for atomic ops for powerpc 2005-07-05 17:37:02 +00:00
cvs2git 5341298957 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-07-05 00:44:25 +00:00
Mark Andrews d2debaa494 1895. [bug] fctx_create() could return success even though it
failed. [RT #14993]
2005-07-04 23:14:21 +00:00
Mark Andrews ac01dfd1f4 some extra locks need for change #1813 2005-07-04 03:58:20 +00:00
Mark Andrews a5b6bcc58f 1894. [func] dig: report the number of extra bytes still left in
the packet after processing all the records.

1893.   [cleanup]       dighost.c: move external declarations into <dig/dig.h>.
2005-07-04 03:11:00 +00:00
Mark Andrews df96fe1596 1892. [bug] dnssec-signzone, dnssec-keygen: handle negative debug
levels. [RT #14962]
2005-07-01 03:55:28 +00:00
Mark Andrews 512addad20 regen 2005-06-28 06:04:30 +00:00
Mark Andrews d1622cd9ec 1817. [func] Add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A separate command
                        named-compilezone was provided to generate zone files
                        in the new format.  Additionally, the -I and -O options
                        for dnssec-signzone specify the input and output
                        formats.
2005-06-28 03:00:21 +00:00
Mark Andrews 4a6d442084 regen 2005-06-27 02:58:50 +00:00
Mark Andrews e021d8eff8 1891. [func] Limit the number of recursive clients that can be
waiting for a single query (<qname,qtype,qclass>) to
                        resolve.  New options clients-per-query and
                        max-clients-per-query.
2005-06-27 00:20:04 +00:00
Mark Andrews c46d51606b regen 2005-06-26 00:06:07 +00:00
Mark Andrews 86d38ca5b6 remove garbage line 2005-06-24 00:17:39 +00:00
Mark Andrews 110b2aee49 update copyright notice 2005-06-24 00:08:13 +00:00
Mark Andrews f54e89feda make adb_test and byname_test compile and run 2005-06-23 23:51:47 +00:00
Mark Andrews 369eef1f71 newcopyrights 2005-06-23 23:35:55 +00:00
Mark Andrews 01c9fc9f5c 1890. [func] Add a system test for named-checkconf. [RT #14931] 2005-06-23 07:04:31 +00:00
cvs2git 303901e9a0 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-23 06:52:26 +00:00
Mark Andrews 722c04d3a2 handle isc_mem_create() failure gracefully 2005-06-23 06:14:52 +00:00
Mark Andrews 4d1fbf8a0f 1889. [func] The lame cache is now done on a <qname,qclass,qtype>
basis as some servers only appear to be lame for
                        certain query types.  [RT #14916]
2005-06-23 04:23:16 +00:00
Mark Andrews fdd90d33ae handle libtool prefix 2005-06-23 00:48:13 +00:00
Mark Andrews 02ff44e8ef sync w/ head 2005-06-22 22:05:50 +00:00
Mark Andrews a755c7e2a1 update copyright notice 2005-06-22 00:13:09 +00:00
Mark Andrews 0798f8e5e3 newcopyrights 2005-06-21 23:34:20 +00:00
Mark Andrews 2abe589f6b 1817. [func] add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A new separate command
                        named-compilezone was provided to generate zone files
                        in a new format.
2005-06-20 02:44:28 +00:00
Mark Andrews fd759209ce 1817. [func] add support for additional zone file formats for
improving loading performance.  The masterfile-format
                        option in named.conf can be used to specify a
                        non-default format.  A new separate command
                        named-compilezone was provided to generate zone files
                        in a new format.
2005-06-20 01:21:17 +00:00
cvs2git d6d88a0efb This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-20 01:05:34 +00:00
Mark Andrews fd2d42320c remove #define ROOTNS 1 2005-06-19 22:46:19 +00:00
Mark Andrews e84be1e4c4 simplify conditional code 2005-06-19 22:17:14 +00:00
Mark Andrews e930c6b822 extent timeout now that we are have memrecord on 2005-06-19 05:50:23 +00:00
Mark Andrews 34d26f0a33 CONF_modules_unload(), ENGINE_cleanup() and CRYPTO_cleanup_all_ex_data() are
not available in 0x0090607fL
2005-06-18 00:51:07 +00:00
Mark Andrews 9b233a577b silence implicit function declaration warning 2005-06-17 03:58:27 +00:00
Mark Andrews 110aa8d42d 1888. [func] "USE INTERNAL MALLOC" is now runtime selectable.
[RT #14892]
2005-06-17 02:27:16 +00:00
Mark Andrews 9ac4b79fc1 1887. [func] Detect duplicates of UDP queries we are recursing on
and drop them.  New stats category "duplicates".
                        [RT #2471]
2005-06-17 02:04:33 +00:00
Mark Andrews 4f1662f715 1886. [bug] Fix unreasonably low quantum on call to
dns_rbt_destroy2().  Remove unnecessay unhash_node()
                        call. [RT #14919]
2005-06-17 01:01:56 +00:00
Tatuya JINMEI 神明達哉 3c4e7e625a regen 2005-06-16 22:16:31 +00:00
Tatuya JINMEI 神明達哉 ee61ed661a [pull down from HEAD]
provided __asm version of assembly code for atomic atomic operations
for better compatibility.

(this is a temporary resolution so that this one won't block other tests.
we'll revisit this change when we figure out performance implication of
the __asm version.)
2005-06-16 22:01:02 +00:00
Mark Andrews 31be554eb7 update copyright notice 2005-06-12 00:02:53 +00:00
Mark Andrews 4a2b76db35 newcopyrights 2005-06-11 23:33:22 +00:00
Mark Andrews 0a26cd90ac #1864 had a size(foo) instead of sizeof(*foo) which broke on 64 bit machines. 2005-06-10 07:49:44 +00:00
Mark Andrews c1555d276d 1885. [func] Additional memory debugging support to track size
and mctx arguements. [RT #14814]
2005-06-10 07:10:08 +00:00
Mark Andrews 006dbb4c62 1884. [bug] process_dhtkey() was using the wrong memory context
to free some memory. [RT #14890]
2005-06-10 07:03:25 +00:00
Mark Andrews 89fa5b1430 update copyright notice 2005-06-09 23:55:10 +00:00
Mark Andrews cfe26b0408 newcopyrights 2005-06-09 23:33:50 +00:00
Mark Andrews 0abf0a4b73 newcopyrights 2005-06-08 02:17:29 +00:00
Mark Andrews 83995ba83a 1883. [port] sunos: portability fixes. [RT #14814] 2005-06-08 02:10:35 +00:00
cvs2git cb3eaf5777 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-08 02:09:20 +00:00
Mark Andrews 3ee0dbff63 1882. [port] win32: isc__errno2result() now reports its caller.
[RT #13753]

1881.   [port]          win32: Handle ERROR_NETNAME_DELETED.  [RT #13753]
2005-06-08 01:05:15 +00:00
Mark Andrews 11d84597be 1860. [port] solaris 2.8: hack_shutup_pthreadmutexinit was
incorrectly set. [RT #14775]
2005-06-08 00:49:50 +00:00
Mark Andrews ab74fc8218 regen 2005-06-07 03:05:54 +00:00
Mark Andrews 8bf73a23f6 1855. [bug] ixfr-from-differences was failing to detect changes
of ttl due to dns_diff_subtract() was ignoring the ttl
                        of records.  [RT #14616]
2005-06-07 02:02:11 +00:00
Mark Andrews 37495b467a 1857. [bug] named could trigger a INSIST() if reconfigured /
reloaded too fast.  [RT #14673]
2005-06-07 01:53:50 +00:00
Mark Andrews b73879351c 1861. [bug] dig could trigger a INSIST on certain malformed
responses. [RT #14801]
2005-06-07 01:43:52 +00:00
Mark Andrews 4f60122350 1864. [bug] Don't try the alternative transfer source if you
got a answer / transfer with the main source
                        address. [RT #14802]
2005-06-07 01:22:01 +00:00
Mark Andrews 517edde365 1866. [bug] resolv.conf parse errors were being ignored by
dig/host/nslookup. [RT #14841]

1865.   [bug]           Silently ignore nameservers in /etc/resolv.conf with
                        bad addresses. [RT #14841]
2005-06-07 01:00:56 +00:00
Mark Andrews 468fdfbc2b 1867. [bug] It was possible to trigger a INSIST in
dlv_validatezonekey(). [RT #14846]
2005-06-07 00:39:12 +00:00
Mark Andrews 740a273347 1868. [func] edns-udp-size can now be overridden on a per
server basis. [RT #14851]
2005-06-07 00:30:42 +00:00
Mark Andrews ee1c0b612a 1879. [func] Added framework for handling multiple EDNS versions.
1878.   [func]          dig can now specify the EDNS version when making
                        a query.
2005-06-07 00:18:08 +00:00
Mark Andrews e7ac62d47d adjust description 2005-06-06 04:41:19 +00:00
Mark Andrews d62e40a39a update copyright 2005-06-05 00:02:23 +00:00
Mark Andrews 483ea7fd5b newcopyrights 2005-06-04 23:33:13 +00:00
Tatuya JINMEI 神明達哉 c8f9d7ecfd regen 2005-06-04 06:24:23 +00:00
Tatuya JINMEI 神明達哉 56dc24eda7 1813. [func] Restructured the data locking framework using
architecture dependent atomic operations (when
			available), improving response performance on
			multi-processor machines significantly.
			x86, x86_64, alpha, and sparc64 are currently
			supported.

(pulled down from the head)
2005-06-04 06:23:47 +00:00
cvs2git c8317826f6 This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-04 05:32:53 +00:00
Mark Andrews 2237ce0e60 1859. [func] Add support for CH A record. [RT #14695] 2005-06-04 00:39:05 +00:00
cvs2git 574953a0ce This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-06-04 00:18:57 +00:00
Mark Andrews ad5d99f620 style 2005-06-01 01:57:37 +00:00
Mark Andrews c4f65b18d5 update copyright notice 2005-05-30 01:59:57 +00:00
Mark Andrews 841348836f newcopyrights 2005-05-27 23:33:34 +00:00
Mark Andrews cb79d4148f 1863. [bug] rrset-order fixed error messages not complete. 2005-05-27 00:50:32 +00:00
Mark Andrews 266e5d1666 integrity check cleanup 2005-05-24 04:44:36 +00:00
Mark Andrews 3c5f7c7020 1838. [cleanup] Don't allow Linux capabilities to be inherited.
[RT #13707]
2005-05-20 01:37:26 +00:00
Mark Andrews 12d509846c 1837. [bug] Compile time option ISC_FACILITY was not effective
for 'named -u <user>'.  [RT #13714]
2005-05-20 01:21:44 +00:00
Mark Andrews 1da3399320 update copyright notice 2005-05-20 01:10:11 +00:00
Mark Andrews 958a8e3596 newcopyrights 2005-05-19 23:35:31 +00:00
Mark Andrews 9524945d0b regen 2005-05-19 07:42:10 +00:00
Mark Andrews 5717fe5ffc update 2005-05-19 05:24:29 +00:00
Mark Andrews b538f5c027 sync with head 2005-05-19 05:21:11 +00:00
Mark Andrews 066f566317 1862. [func] Add additional zone data constancy checks.
named-checkzone has extended checking of NS, MX and
                        SRV record and the hosts they reference.
                        named has extended post zone load checks.
                        New zone options: check-mx and integrity-check.
                        [RT #4940]
2005-05-19 04:59:57 +00:00
Mark Andrews 38d45fe1a8 1845. [bug] Improve error reporting to distingish between
accept()/fcntl() and socket()/fcntl() errors.
                        [RT #13745]
2005-05-19 02:41:52 +00:00
Mark Andrews 3783523d04 typo in comment 2005-05-16 05:31:22 +00:00
Mark Andrews 06cc96d1fd remove deleted files 2005-05-15 23:58:28 +00:00
Mark Andrews 5fe68f8a6d comment out debugging prints 2005-05-15 23:52:25 +00:00
Mark Andrews e250973f5d newcopyrights 2005-05-13 23:37:13 +00:00
Mark Andrews 20912549a9 regen 2005-05-13 03:12:14 +00:00
Mark Andrews b73e0a5f1b track the modification years even if we are not going to be updating the copyrights 2005-05-13 01:47:14 +00:00
Mark Andrews 50dcfb93d7 update copyright notice 2005-05-13 01:32:53 +00:00
Mark Andrews c55d4313df perl not C 2005-05-13 01:08:31 +00:00
Mark Andrews 9e32849c47 copyright notice is now generated from the source 2005-05-13 01:03:03 +00:00
Rob Austein 21e1a64cc6 regen 2005-05-12 23:58:32 +00:00
Rob Austein d49b033d27 Add $Id$ comments to generated output. 2005-05-12 20:21:33 +00:00
Mark Andrews 4581d3a076 update 2005-05-12 08:56:23 +00:00
Mark Andrews f8711ab89d remove extra < 2005-05-12 08:12:02 +00:00
Mark Andrews 3ea0b51727 regenerate <bookinfo> / <docinfo> as appropriate. 2005-05-12 07:24:10 +00:00
Mark Andrews 5033d8a494 1858. [bug] The flush-zones-on-shutdown option wasn't being
parsed. [RT #14686]
2005-05-12 04:35:13 +00:00
Mark Andrews a78ee566af newcopyrights 2005-05-12 02:54:14 +00:00
Mark Andrews 0d90ba9b18 handle files newer than 2004 2005-05-12 02:29:53 +00:00
Mark Andrews 747c7b1197 handle XSL files 2005-05-12 02:11:20 +00:00
Mark Andrews 20b9b21e96 fully collect the text before a comment in a docbook source 2005-05-12 01:05:38 +00:00
Rob Austein 98c08ebd02 Missing newline 2005-05-11 23:15:23 +00:00
Rob Austein 6a99134ec4 regen 2005-05-11 06:07:05 +00:00
Rob Austein 0328f86501 1856. [doc] Switch Docbook toolchain from DSSSL to XSL. 2005-05-11 05:56:14 +00:00
cvs2git 57e9dfad6e This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-05-11 05:55:42 +00:00
Mark Andrews 6757a7293e update copyright notice 2005-05-08 23:57:10 +00:00
Mark Andrews e937732372 newcopyrights 2005-05-06 23:35:13 +00:00
Mark Andrews 2b712bab1e 1854. [bug] lwres also needs to know the print format for
(long long).  [RT #13754]
2005-05-06 02:10:58 +00:00
Mark Andrews 13dea06bd6 1853. [bug] Rework how DLV interacts with proveunsecure().
[RT #13605]
2005-05-06 01:59:48 +00:00
Mark Andrews 913c9a9674 remove deleted files 2005-05-04 00:03:02 +00:00
Rob Austein 93680e2c98 1852. [cleanup] Remove dnssec-signkey and dnssec-makekeyset 2005-05-03 22:51:33 +00:00
Mark Andrews 48275e3edd update copyright notice 2005-05-02 00:26:11 +00:00
Mark Andrews 6a0a5097a6 newcopyrights 2005-04-29 23:36:47 +00:00
Mark Andrews 63d17fa08e oops the dnssec-signzone.@O@ was needed to set VERSION. 2005-04-29 05:24:15 +00:00
Mark Andrews 78a9f5d804 remove explict build rule for dnssec-signzone.o 2005-04-29 04:29:35 +00:00
Mark Andrews 27237763df further changes for
1848.   [bug]           Improve SMF integration. [RT #13238]
2005-04-29 00:55:53 +00:00
Mark Andrews e8f92bfe9c update copyright notice 2005-04-29 00:17:24 +00:00
Mark Andrews 80143afd3f newcopyrights 2005-04-27 23:33:55 +00:00
Rob Austein 338ab5929d Fix comment-within-comment warning. 2005-04-27 18:17:28 +00:00
Rob Austein 372edff338 1851. [doc] Doxygen comment markup. [RT #11398] 2005-04-27 05:02:59 +00:00
Mark Andrews 2485cd0162 1850. [bug] Memory leak in lwres_getipnodebyaddr(). [RT #14591] 2005-04-27 00:33:39 +00:00
Mark Andrews cb46325b21 cleanup 2005-04-27 00:06:04 +00:00
Mark Andrews a4a100c795 regen 2005-04-26 03:58:17 +00:00
Mark Andrews 523d2d8a04 document named-checkzone -W 2005-04-08 04:52:30 +00:00
Mark Andrews 284544d8b0 update named-checkzone/rndc descriptions to 9.3 level. 2005-04-08 04:44:12 +00:00
Mark Andrews 5aaf6178a5 1849. [doc] All forms of the man pages (docbook, man, html) should
have consistant copyright dates.
2005-04-07 04:08:53 +00:00
Mark Andrews 20273cc57a newcopyrights 2005-04-05 23:33:39 +00:00
Mark Andrews 07700dd611 Mac OS X 10.3.8 2005-04-05 03:04:27 +00:00
Mark Andrews 76f577db86 1848. [bug] Improve SMF integration. [RT #13238] 2005-04-05 02:13:28 +00:00
Mark Andrews 9c75560697 1848. [bug] Improve SMF integration. [RT #13238] 2005-04-05 01:29:52 +00:00
Mark Andrews a392997a02 1848. [bug] Improve SMF integration. [RT #13238] 2005-04-05 01:04:49 +00:00
cvs2git 3a502554ff This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-04-05 00:58:19 +00:00
Mark Andrews 96d9cfc39c newcopyrights 2005-04-03 23:33:13 +00:00
Mark Andrews d16e5588cc regen 2005-04-03 03:32:07 +00:00
Mark Andrews 31ec08ccd0 1847. [bug] isc_ondestroy_init() is called too late in
in dns_rbtdb_create()/dns_rbtdb_create().
                        [RT #13661]
2005-04-01 07:08:25 +00:00
Mark Andrews 8bfbefa821 1846. [contrib] query-loc-0.3.0 from Stephane Bortzmeyer
<bortzmeyer@nic.fr>.
2005-04-01 06:17:40 +00:00
cvs2git 9477faa1ce This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-04-01 05:35:04 +00:00
Mark Andrews 494efe97c7 update copyright notice 2005-03-31 23:59:41 +00:00
Mark Andrews 30cf16748e newcopyrights 2005-03-31 23:33:25 +00:00
Mark Andrews 370532e66f 1844. [bug] inet_pton() accepted more that 4 hexadecimal digits
for each 16 bit piece of the IPv6 address.  The text
                        representation of a IPv6 address has been tighted
                        to disallow this (draft-ietf-ipv6-addr-arch-v4-02.txt).
                        [RT #5662]
2005-03-31 07:26:45 +00:00
Mark Andrews 2883f8c77b Irix, MipsPRO 7.4.1m not 7.3.1m 2005-03-31 04:23:57 +00:00
Mark Andrews 381ad307cd update copyright notice 2005-03-31 04:23:01 +00:00
Mark Andrews 6bc2b1e3f6 1841. [bug] "dig +nssearch" now makes a recursive query to
find the list of nameservers to query. [RT #13694]
2005-03-31 02:37:24 +00:00
Mark Andrews 432546fc2a Irix, MipsPRO 7.3.1m is known to cause problems. 2005-03-31 00:02:08 +00:00
Mark Andrews 2c2049910d newcopyrights 2005-03-30 23:33:14 +00:00
Mark Andrews 9f6258e07c 1843. [cleanup] CINCLUDES takes precedence over CFLAGS. This helps
when CFLAGS contains "-I /usr/local/include"
                        resulting in old header files being used.
2005-03-30 06:04:35 +00:00
Mark Andrews 1100decf3f 1842. [port] cmsg_len() could produce incorrect results on
some platform. [RT #13744]
2005-03-30 05:42:53 +00:00
Mark Andrews 852e0edf29 update copyright notice 2005-03-24 00:14:22 +00:00
Mark Andrews 8bb0d80903 update copyright notice 2005-03-23 03:43:51 +00:00
Mark Andrews 34d093292c add example 2005-03-22 23:38:37 +00:00
Mark Andrews 22617509e4 newcopyrights 2005-03-22 23:33:30 +00:00
Mark Andrews 1f3437e4ce Q: I get "transfer of 'example.com/IN' from 192.168.4.12#53: failed while
receiving responses: permission denied" error messages.
2005-03-22 23:24:25 +00:00
Mark Andrews 63e6c7162c regen 2005-03-22 04:59:38 +00:00
Mark Andrews a8c1b0a317 update copyright notice 2005-03-22 02:41:44 +00:00
Mark Andrews 136dd06775 1840. [func] dnssec-signzone can now randomize signature end times
(dnssec-signzone -j jitter). [RT #13609]
2005-03-22 02:32:13 +00:00
Mark Andrews 4f1a020ecb newcopyrights 2005-03-21 23:33:47 +00:00
Mark Andrews df98c38146 1839. [bug] <isc/hash.h> was not being installed. 2005-03-21 05:47:31 +00:00
Mark Andrews c5e115c9e7 update copyright notice 2005-03-20 22:34:32 +00:00
Mark Andrews e11923b777 newcopyrights 2005-03-18 23:34:51 +00:00
Mark Andrews c16387389e silence compiler warnings. 2005-03-18 05:56:54 +00:00
Mark Andrews e9d4df07ff silence compiler warnings 2005-03-18 05:05:29 +00:00
Mark Andrews 7e8d7fd7b0 regen 2005-03-18 03:28:24 +00:00
Mark Andrews a7149af1d9 Don't depend on autoconf being called w/ -I ../.. 2005-03-18 03:26:51 +00:00
Mark Andrews 3a3772a3dc update copyright notice 2005-03-17 03:57:11 +00:00
Mark Andrews 8ffd60dd18 namespace sun -> sunix 2005-03-16 23:51:28 +00:00
Mark Andrews d0eb63d9a4 newcopyrights 2005-03-16 23:33:23 +00:00
Mark Andrews c414b1dd2f silence compiler warnings 2005-03-16 23:24:00 +00:00
Mark Andrews 2f8bc03001 silence ptr mismatch signed/unsigned. 2005-03-16 20:16:15 +00:00
Mark Andrews 604f247c48 1836. [cleanup] Silence compiler warnings in hash_test.c 2005-03-16 19:57:01 +00:00
Mark Andrews d369d27947 1836. [cleanup] Silence compiler warnings in hash_test.c 2005-03-16 19:48:34 +00:00
Mark Andrews e44cab3f75 conflict w/ builtin, log -> lctx. 2005-03-16 13:52:59 +00:00
Mark Andrews 96d5190618 missing ${LIBTOOL_MODE_LINK} 2005-03-16 13:46:16 +00:00
Mark Andrews 2f9d14c5a9 1836. [cleanup] Silence compiler warnings in hash_test.c. 2005-03-16 13:41:48 +00:00
Mark Andrews e11b0a4abe regen 2005-03-16 04:59:37 +00:00
Mark Andrews e212a80bf9 1807. [bug] When forwarding (forward only) set the active domain
from the forward zone name. [RT #13526]
2005-03-16 03:51:56 +00:00
Mark Andrews 5a2e4be11a 1820. [bug] Gracefully handle acl loops. [RT #13659] 2005-03-16 03:35:44 +00:00
Mark Andrews a24bc01c09 1835. [bug] Update dnssec-signzone's usage message. [RT #13657] 2005-03-16 03:09:33 +00:00
Mark Andrews ecf00155fe repeated word 2005-03-16 02:52:56 +00:00
Mark Andrews 3dcc113be5 1834. [bug] Bad memset in rdata_test.c. [RT #13658] 2005-03-16 02:45:20 +00:00
Mark Andrews 2470a7582e 1833. [bug] Race condition in isc_mutex_lock_profile(). [RT #13660] 2005-03-16 01:57:11 +00:00
Mark Andrews 99c8fa7462 1832. [bug] named fails to return BADKEY on unknown TSIG algorithm.
[RT #13620]
2005-03-16 01:46:45 +00:00
Mark Andrews e012f3bf16 1816. [port] UnixWare: failed to compile lib/isc/unix/net.c.
[RT #13597]
2005-03-16 01:22:50 +00:00
Mark Andrews afdc349f6a 1831. [doc] Update named-checkzone documentation. [RT#13604] 2005-03-16 01:07:31 +00:00
Mark Andrews 69a50c6d75 1815. [bug] nsupdate triggered a REQUIRE if the server was set
without also setting the zone and it encountered
                        a CNAME and was using TSIG.  [RT #13086]
2005-03-16 01:03:32 +00:00
Mark Andrews 04aed74c85 update copyright 2005-03-16 00:56:29 +00:00
Mark Andrews 5332e9a61d 1803. [bug] dnssec-signzone sometimes failed to remove old
RRSIGs. [RT #13483]
2005-03-16 00:10:44 +00:00
Mark Andrews 032a7034d6 newcopyrights 2005-03-16 00:03:56 +00:00
Mark Andrews 437a0aa264 newcopyrights 2005-03-15 23:59:12 +00:00
Mark Andrews 6d1b2cca4e 1830. [bug] adb lame cache has sence of test reversed. [RT #13600] 2005-03-15 23:39:28 +00:00
Mark Andrews dbdac9c07e 1829. [bug] win32: "pid-file none;" broken. [RT #13563] 2005-03-15 23:17:00 +00:00
Mark Andrews 39c7daba9c 1810. [bug] configure, lib/bind/configure make different default
decisions about whether to do a threaded build.
                        [RT #13212]
2005-03-15 23:08:57 +00:00
Mark Andrews 34c0330628 1810. [bug] configure, lib/bind/configure make different default
decisions about whether to do a threaded build.
                        [RT #13212]
2005-03-15 22:59:09 +00:00
cvs2git e5cbc46f4b This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-03-15 22:58:52 +00:00
Mark Andrews 16fd75dd6b 1799. [bug] 'rndc flushname' failed to flush negative cache
entries. [RT #13438]
2005-03-15 02:49:54 +00:00
Mark Andrews 06d7605be2 1809. [bug] "make distclean" failed for libbind if the platform
is not supported.
2005-03-15 02:15:22 +00:00
Mark Andrews cf26e24dec dumpb -> dumpdb 2005-03-15 02:12:34 +00:00
Mark Andrews a0645ffdd3 1828. [bug] isc_rwlock_init() failed to properly cleanup if it
encountered a error. [RT #13549]
2005-03-15 02:04:11 +00:00
Mark Andrews 6518824e1a 1827. [bug] host: update usage message for '-a'. [RT #37116] 2005-03-15 01:48:43 +00:00
Mark Andrews 0827b21e80 1802. [bug] Handle connection resets better. [RT #11280] 2005-03-15 01:39:35 +00:00
Mark Andrews 163f0fd424 1804. [bug] Ensure that if we are queried for glue that it fits
in the additional section or TC is set to tell the
                        client to retry using TCP. [RT #10114]
2005-03-15 01:31:31 +00:00
Mark Andrews 8665ebaebe 1826. [bug] Missing DESTROYLOCK() in isc_mem_createx() on out
of memory error. [RT #13537]
2005-03-15 01:11:50 +00:00
Mark Andrews 7feb5a3d3a style 2005-03-15 00:46:40 +00:00
Mark Andrews 40ecbd1b55 1825. [bug] Missing unlock on out of memory error from in
rbtdb.c:subtractrdataset().  [RT #13519]
2005-03-15 00:34:33 +00:00
Mark Andrews ac7af34ea0 1824. [bug] Memory leak on dns_zone_setdbtype() failure.
[RT #13510]
2005-03-15 00:24:25 +00:00
Mark Andrews a2ae35c02c 1823. [bug] Wrong macro used to check for point to point interface.
[RT#13418]
2005-03-15 00:09:02 +00:00
Mark Andrews 7769123869 1795. [bug] "rndc dumpb" was not fully documented. Minor
formating issues with "rndc dumpdb -all".  [RT #13396]
2005-03-14 23:55:50 +00:00
Mark Andrews 4eb91c5a68 1822. [bug] check-names test for RT was reversed. [RT #13382] 2005-03-14 23:41:19 +00:00
Mark Andrews 8810438125 1791. [bug] 'host -t a' still printed out AAAA and MX records.
[RT #13230]
2005-03-14 23:36:37 +00:00
Mark Andrews b85e8e5904 update copyright notice 2005-03-06 15:31:38 +00:00
Mark Andrews d51703454d newcopyrights 2005-03-04 23:33:26 +00:00
Mark Andrews db82e0aaa3 1819. [bug] The validator needed to check both the algorithm and
digest types of the DS to determine if it could be
                        used to introduce a secure zone. [RT #13593]
2005-03-04 03:53:54 +00:00
Mark Andrews ee91dffebc 1811. [func] Preserve the case of domain names in rdata during
zone transfers. [RT #13547]
2005-03-04 02:57:30 +00:00
Mark Andrews 822b6e1642 update copyright notice 2005-03-03 06:33:28 +00:00
Mark Andrews f19142c7e9 newcopyrights 2005-03-03 05:27:14 +00:00
Mark Andrews 3fe9a1b994 1818. [bug] 'named-checkconf -z' triggered an INSIST. [RT #13599] 2005-03-03 04:53:40 +00:00
Mark Andrews fecb87d5b9 update copyright notice 2005-02-24 00:32:23 +00:00
Mark Andrews 931ed495b1 newcopyrights 2005-02-23 23:33:44 +00:00
Mark Andrews 805d768210 update 2005-02-23 01:50:09 +00:00
Mark Andrews fa466736a6 1814. [func] UNIX domain controls are now supported. 2005-02-23 01:04:46 +00:00
Mark Andrews 8e5880d6ad typo in comment 2005-02-17 05:44:00 +00:00
Mark Andrews ee0d243812 update copyright notice 2005-02-11 00:01:16 +00:00
Mark Andrews f3e3cee7e1 newcopyrights 2005-02-10 23:34:18 +00:00
Mark Andrews 696f2d996e aclconf is now in libisccfg 2005-02-10 06:07:14 +00:00
Mark Andrews 292840fa92 link against libdns 2005-02-10 06:04:41 +00:00
Mark Andrews ccfb99f09d 1758. [func] Don't send notify messages to self. [RT #12933] 2005-02-10 05:50:52 +00:00
Mark Andrews a88ca26544 update copyright notice 2005-02-09 05:18:28 +00:00
Mark Andrews c2337cf410 newcopyrights 2005-02-09 04:01:12 +00:00
Mark Andrews 4ae1da5780 1812. [port] win32: IN6_IS_ADDR_UNSPECIFIED macro is incorrect.
[RT #13453]
2005-02-09 03:47:02 +00:00
Mark Andrews 950a40375d 1806. [bug] The resolver returned the wrong result when a CNAME /
DNAME was encountered when fetching glue from a
                        secure namespace. [RT #13501]

1805.   [bug]           Pending status was not being cleared when DLV was
                        active. [RT #13501]
2005-02-09 00:00:35 +00:00
Mark Andrews 8dae6842f8 update copyright notice 2005-02-07 23:56:43 +00:00
Mark Andrews 1957c64f87 newcopyrights 2005-02-07 23:34:47 +00:00
Mark Andrews d5075a0df8 1801. [func] Report differences between hints and real NS rrset
and associated address records.
2005-02-07 00:53:47 +00:00
Mark Andrews c060c83d88 update copyright notice 2005-02-07 00:03:49 +00:00
Mark Andrews f5d8366b40 newcopyrights 2005-02-03 23:33:48 +00:00
Mark Andrews e8e1cff725 1808. [bug] zone.c:notify_zone() contained a race condition,
zone->db could change underneath it.  [RT #13511]
2005-02-03 05:20:30 +00:00
Tatuya JINMEI 神明達哉 b39844140c forgot destroing the acache entry lock in destroy_entry(), causing memory
leak. [RT #13533]
2005-02-03 02:53:54 +00:00
Mark Andrews 8a4c29b09b gcc-3.3.5 powerpc generates incorrect code at -02 2005-02-02 05:20:38 +00:00
Mark Andrews a09d1e35d6 update copyright notice 2005-01-20 00:01:14 +00:00
Mark Andrews 7373681dbb newcopyrights 2005-01-19 23:42:53 +00:00
Mark Andrews b590279082 1800. [bug] Changes #1719 allowed a INSIST to be triggered.
[RT #13428]
2005-01-19 23:39:15 +00:00
Mark Andrews a78fe6ef67 remove unused variable. 2005-01-19 23:22:03 +00:00
Mark Andrews acc66f028e Q: I get "Error 1067" when starting named under Windows. 2005-01-18 02:04:50 +00:00
Mark Andrews 32a007b9cb update copyright 2005-01-17 23:57:38 +00:00
Mark Andrews 13a6c55784 newcopyrights 2005-01-17 23:33:20 +00:00
Mark Andrews 38636245d1 update copyrights 2005-01-17 04:11:03 +00:00
Mark Andrews 400674fc2b regen 2005-01-17 01:42:20 +00:00
Mark Andrews 92531cb186 1798. [func] The server syntax has been extended to support a
range of servers.  [RT #11132]
2005-01-16 23:56:09 +00:00
Mark Andrews ba38e9e550 newcopyrights 2005-01-14 23:32:56 +00:00
Mark Andrews f14dd601bb 1796. [func] "rndc freeze/thaw" now freezes/thaws all zones. 2005-01-14 03:28:03 +00:00
Mark Andrews e216a94529 update copyrights 2005-01-13 23:57:30 +00:00
Mark Andrews 84c16f71fc spelling 2005-01-13 05:15:43 +00:00
Mark Andrews 12c719a008 regen 2005-01-13 04:43:04 +00:00
Mark Andrews 85a925b768 newcopyrights 2005-01-12 23:32:53 +00:00
Mark Andrews 1619928e2d update copyrights 2005-01-12 01:54:57 +00:00
Mark Andrews 243397c8ec 1793. [func] Extend adjusting TTL warning messages. [RT #13378]
: ----------------------------------------------------------------------
2005-01-11 23:56:59 +00:00
Mark Andrews 2229167142 aclconf.[ch] were moved. preserve copyright history. 2005-01-11 23:52:10 +00:00
Mark Andrews c1cd02f8f1 newcopyrights 2005-01-11 23:34:15 +00:00
Mark Andrews 5daded5446 1792. [func] New zone option "notify-delay". Specify a minimum
delay between sets of NOTIFY messages.
2005-01-11 23:10:40 +00:00
Mark Andrews 7589da4751 regen 2005-01-11 04:58:44 +00:00
Mark Andrews 0547d8d5d5 1797. [func] named-checkconf now check acls to verify that they
only refer to existing acls. [RT #13101]
2005-01-11 03:56:00 +00:00
cvs2git 800c85d32c This commit was manufactured by cvs2git to create branch 'v9_4'. 2005-01-11 03:46:12 +00:00
Mark Andrews 7150e2289b update copyright 2005-01-11 01:39:40 +00:00
Mark Andrews 0ea99b13ca newcopyrights 2005-01-10 23:56:21 +00:00
Mark Andrews 3326ecbfc9 update copyright notice 2005-01-10 23:50:57 +00:00
Mark Andrews a0e2e604a3 regen 2005-01-10 05:59:18 +00:00
Mark Andrews 4238db360a 1794. [func] Named and named-checkzone can now both check for
non-terminal wildcard records.
2005-01-10 00:05:32 +00:00
Mark Andrews f1d1090930 set the cache DB in the view's additional cache object so that
additional sections for a (DNS) cached response can also be stored
  in the additional cache. [RT #13339]
2004-12-29 23:13:55 +00:00
Mark Andrews 5bb72db271 cleanup 2004-12-29 22:44:37 +00:00
Mark Andrews 90b3f5c332 C avoided leakage of a cache entry by adjusting the timing of
incrementing the reference counter to the entry.  Otherwise, the
  entry could leak when dns_acache_setentry() fails.  This must be
  corrected in some way if not by this change. [RT #13339]
VS: ----------------------------------------------------------------------
2004-12-29 22:38:09 +00:00
Mark Andrews 944f0a4bbd update copyright notice 2004-12-23 00:08:16 +00:00
Mark Andrews 7a2a03b49e regen 2004-12-22 01:50:25 +00:00
Mark Andrews a877d4c63e newcopyrights 2004-12-21 23:47:57 +00:00
Tatuya JINMEI 神明達哉 7a79852eb2 1526. [func] Implemented "additional section caching (or acache)",
an internal cache framework for additional section
			content to improve response performance.  Several
			configuration options were provided to control the
			behavior.

(merged into 9_4)
2004-12-21 10:59:02 +00:00
cvs2git a62fb3a719 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-12-21 10:54:13 +00:00
Mark Andrews 73cb9349b1 need to link against libdns. 2004-12-10 00:11:50 +00:00
Mark Andrews be6c9fc4cd 1790. [cleanup] Move lib/dns/sec/dst up into lib/dns. This should
allow parallel make to succeed.
2004-12-09 04:43:53 +00:00
cvs2git d2025ec8db This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-12-09 01:41:29 +00:00
Mark Andrews 41d65b833f missing @ 2004-12-08 13:17:44 +00:00
Mark Andrews c72ce119cf 1789. [bug] Prerequisite test for tkey and dnssec could fail
with "configure --with-libtool".
2004-12-08 06:14:06 +00:00
Mark Andrews c1074125b8 1788. [bug] libbind9.la/libbind9.so needs to link against
libisccfg.la/libisccfg.so.
2004-12-08 02:59:30 +00:00
Mark Andrews e2cbd57f37 redo
1775.   [bug]           Only compile getnetent_r.c when threaded. [RT #13205]
2004-12-07 00:53:48 +00:00
Mark Andrews 5e870d8714 update 2004-12-06 23:56:51 +00:00
Mark Andrews 7690db6bf4 1786. [port] AIX: libt_api needs to be taught to look for
T_testlist in the main executable (--with-libtool).
                        [RT #13239]
2004-12-06 22:48:16 +00:00
Mark Andrews ae1325f526 1775. [bug] Only compile getnetent_r.c when threaded. [RT #13205] 2004-12-06 21:55:47 +00:00
Mark Andrews 524b8c1994 1787. [port] HPUX: both "cc" and "gcc" need -Wl,+vnocompatwarnings. 2004-12-06 21:37:43 +00:00
Mark Andrews 2bebd5a862 1784. [cleanup] "libtool -allow-undefined" is the default.
Leave hooks in configure to allow it to be set
                        if needed in the future.
2004-12-06 06:11:53 +00:00
Mark Andrews be8db5acb7 Updated config.guess returns alphaev6-dec-osf5.1b not
alphaev6-dec-osf5.1.
2004-12-06 01:19:48 +00:00
Mark Andrews 5c9ecaf3cf 1784. [cleanup] "libtool -allow-undefined" is the default.
Leave hooks in configure to allow it to be set
                        if needed in the future.
2004-12-05 23:07:26 +00:00
Mark Andrews 6d09c2e00a 1782. [port] OSX: --with-libtool + --enable-libbind broke on
__evOptMonoTime.  [RT #13219]
2004-12-05 22:40:03 +00:00
Mark Andrews f483ea59f8 1781. [port] FreeBSD 5.3: set PTHREAD_SCOPE_SYSTEM. [RT #12810] 2004-12-04 07:04:33 +00:00
Mark Andrews 84df115196 1783. [cleanup] We only need one copy of libtool.m4, ltmain.sh in the
source tree.
2004-12-03 02:55:09 +00:00
Mark Andrews c6097a1f9f 1773. [bug] Fast retry on host / net unreachable. [RT #13153] 2004-12-03 02:05:22 +00:00
Mark Andrews 852b2bc995 1779. [port] OSF 5.1: libtool didn't handle -pthread correctly.
Redo w/ fix from generic fix from libtool maintainer.
2004-12-02 23:41:13 +00:00
Mark Andrews a5be9c2e84 1780. [bug] Update libtool to 1.5.10. 2004-12-02 02:27:45 +00:00
Mark Andrews 42b8b6377e 1779. [port] OSF 5.1: libtool didn't handle -pthread correctly. 2004-12-01 05:01:39 +00:00
Mark Andrews decfa21d33 1778. [port] HUX 11.11: fix broken IN6ADDR_ANY_INIT and
IN6ADDR_LOOPBACK_INIT macros.
2004-11-30 13:29:02 +00:00
Mark Andrews d1d46c59b3 1777. [port] OSF 5.1: fix broken IN6ADDR_ANY_INIT and
IN6ADDR_LOOPBACK_INIT macros.
2004-11-30 06:54:10 +00:00
Mark Andrews c743b9c6fc 1776. [port] Solaris 2.9: fix broken PTHREAD_MUTEX_INIT macro. 2004-11-30 06:01:28 +00:00
Mark Andrews 9dea5f922e 1774. [port] Aix: Silence compiler warnings / build failures.
[RT #13154]
2004-11-30 01:26:31 +00:00
Mark Andrews 7bb67fe38b 1774. [port] Aix: Silence compiler warnings / build failures.
[RT #13154]
2004-11-30 01:18:08 +00:00
Mark Andrews aaf48f73ed update copyright notices 2004-11-24 23:49:17 +00:00
Mark Andrews bd26d70efa newcopyrights 2004-11-23 23:49:03 +00:00
Mark Andrews 0f455e5b47 1763. [func] Perform sanity checks on NS records which refer to
'in zone' names. [RT #13002]
2004-11-23 05:24:49 +00:00
cvs2git 88e02c6704 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-11-23 05:23:47 +00:00
Mark Andrews 1750c03cd1 1766. [bug] Update the master file timestamp on successful refresh
as well as the journal's timestamp. [RT# 13062]
2004-11-22 23:53:46 +00:00
Mark Andrews 979123b8fb 1745. [bug] Dig/host/nslookup accept replies from link locals
regardless of scope if no scope was specified when
                        query was sent. [RT #12745]
2004-11-22 23:30:02 +00:00
Mark Andrews 3fd0b523af 2.6. TXT records are no longer automatically split. 2004-11-22 22:32:19 +00:00
Mark Andrews a011dafa20 1770. [bug] named-checkconf failed to report missing a missing
file clause for rbt{64} master/hint zones. [RT#13009]
2004-11-22 05:02:24 +00:00
Mark Andrews d399e368a7 1767. [port] Builds on IPv6 platforms without IPv6 Advanced API
support for (struct in6_pktinfo) failed.  [RT #13077]
2004-11-18 21:32:08 +00:00
Mark Andrews dbbe421efa 1769. [port] win32: change compiler flags /MTd ==> /MDd,
/MT ==> /MD.
2004-11-18 01:04:12 +00:00
Mark Andrews 85b5356472 1768. [bug] nsecnoexistnodata() could be called with a non-NSEC
rdataset. [RT #12907]
2004-11-17 23:53:01 +00:00
Mark Andrews 047ca3efe0 regen 2004-11-11 01:55:59 +00:00
Mark Andrews 6ad17026b1 1755. [func] allow-update is now settable at the options / view
level. [RT #6636]
2004-11-11 01:07:55 +00:00
Mark Andrews 64cc2807dc 1765. [bug] configure --with-openssl=auto failed. [RT #12937] 2004-11-11 00:37:20 +00:00
Mark Andrews c3deb0e30d 1761. [bug] 'rndc dumpdb' didn't report unassociated entries.
[RT #12971]
2004-11-10 22:32:31 +00:00
Mark Andrews 8805e88c43 1762. [bug] isc_interfaceiter_create() could return ISC_R_SUCCESS
even when it failed. [RT #12995]
2004-11-10 22:22:44 +00:00
Mark Andrews 39e15bfaae 1759. [bug] Named failed to startup if the OS supported IPv6
but had no IPv6 interfaces configured. [RT #12942]
2004-11-10 22:13:48 +00:00
Mark Andrews 14720abb0f 1757. [func] host now can turn on memory debugging flags with '-m'. 2004-11-10 22:04:32 +00:00
Mark Andrews ec97c2abe4 1754. [bug] We wern't always attempting to query the parent
server for the DS records at the zone cut.
                        [RT #12774]
2004-11-10 21:57:40 +00:00
Mark Andrews 684bd7a140 1760. [bug] Host / net unreachable was not penalising rtt
estimates. [RT #12970]
2004-11-10 21:47:50 +00:00
Mark Andrews 5a0b4219cb 1764. [bug] dns_zone_replacedb failed to emit a error message
if there was no SOA record in the replacment db.
                        [RT #13016]
2004-11-09 22:17:50 +00:00
Mark Andrews c4e78f339d 1756. [func] named-checkconf now checks the logging configuration.
[RT #12352]
2004-11-09 21:24:15 +00:00
Mark Andrews 993d0487ca 1753. [bug] Don't serve a slave zone which has no NS records.
[RT #12894]
2004-10-26 02:06:49 +00:00
Mark Andrews 796af4025b 1740. [bug] Replace rbt's hash algorithm as it performed badly
with certain zones. [RT #12729]
2004-10-25 01:32:25 +00:00
Mark Andrews 3e312e54c5 1752. [port] Move isc_app_start() to after ns_os_daemonise()
as some fork() implementations unblock the signals
                        that are blocked by isc_app_start(). [RT #12810]
2004-10-25 00:49:11 +00:00
Mark Andrews 746921d376 regen 2004-10-21 02:45:17 +00:00
Mark Andrews 171664d085 1749. [bug] 'check-names response ignore;' failed to ignore.
[RT #12866]
2004-10-21 01:54:08 +00:00
Mark Andrews b8b92cc855 1748. [func] dig now returns the byte count for axfr/ixfr. 2004-10-21 01:44:35 +00:00
Mark Andrews 983e56a9a0 1742. [bug] Deleting all records at a node then adding a
previously existing record, in a single UPDATE
                        transaction, failed to leave / regenerate the
                        associated RRSIG records. [RT #12788]
2004-10-21 01:34:16 +00:00
Mark Andrews d9fa40d016 1676. [func] New option "allow-query-cache". This lets
allow-query be used to specify the default zone
                        access level rather than having to have every
                        zone override the global value.  allow-query-cache
                        can be set at both the options and view levels.
                        If allow-query-cache is not set allow-query applies.
2004-10-21 00:59:52 +00:00
Mark Andrews aeb0ed5f03 1751. [bug] --enable-getifaddrs failed under linux. [RT #12867] 2004-10-20 00:34:32 +00:00
Mark Andrews dd56672283 1750. [port] lib/bind/make/rules.in:subdirs was not bash friendly.
[RT #12864]
2004-10-20 00:26:13 +00:00
Mark Andrews 1d6f7e5bfe regen 2004-10-17 23:42:01 +00:00
Mark Andrews 5ad808cbc9 1747. [bug] BIND 8 compatability: named/named-checkconf failed
to parse "host-statistics-max" in named.conf.
2004-10-17 23:19:15 +00:00
Mark Andrews 9a4faedd32 1742. [bug] If isc_taskmgr_create() was not able to create the
requested number of worker threads then destruction
                        of the manager would trigger an INSIST() failure.
                        [RT #12790]
2004-10-15 00:45:21 +00:00
Mark Andrews 422071960a 1746. [func] Make public the function to read a key file,
dst_key_read_public(). [RT #12450]
2004-10-14 06:00:11 +00:00
Mark Andrews 92c601d063 regen 2004-10-14 02:51:18 +00:00
Mark Andrews e2da38bec5 1684. [func] ixfr-from-differences now takes master and slave in
addition to yes and no at the options and view levels.
2004-10-14 00:51:33 +00:00
Mark Andrews 4e282e97be 1744. [bug] If tuple2msgname() failed to convert a tuple to
a name a REQUIRE could be triggered. [RT #12796]
2004-10-13 22:28:31 +00:00
Mark Andrews 38364a5555 1741. [bug] Deleting all records at a node in a secure zone
using a update-policy grant failed. [RT #12787]
2004-10-12 22:01:52 +00:00
Mark Andrews f22f3078ab 1739. [bug] dns_rbt_deletetree() could incorrectly return
ISC_R_QUOTA.  [RT #12695]

1738.   [bug]           Enable overrun checking by default. [RT #12695]
2004-10-11 05:48:53 +00:00
Mark Andrews 2ac530b13c 1710. [func] 'rndc notify zone [class [view]]' resend the NOTIFY
messages for the specified zone. [RT #9479]
2004-10-11 05:30:03 +00:00
Mark Andrews 8ce0329ba8 regen 2004-10-07 02:52:23 +00:00
Mark Andrews 36bddc2e08 1725. [port] linux: update error message on interaction of threads,
capabilities and setuid support (named -u). [RT #12541]
2004-10-07 02:33:48 +00:00
Mark Andrews fb24d33f0a 1715. [func] 'dig +trace' now randomly selects the next servers
to try.  Report if there is a bad delegation.
2004-10-07 02:21:16 +00:00
Mark Andrews 30d7aefb3d 1705. [func] Allow the journal's name to be changed via named.conf. 2004-10-07 02:15:30 +00:00
Mark Andrews 90020caedf Add credit:
DNSSEC validation code in dig coded by Olivier Courtay
(olivier.courtay@irisa.fr) for the IDsA project (http://idsa.irisa.fr).
2004-10-07 01:12:13 +00:00
Mark Andrews d26f1a1a66 regen 2004-10-07 00:09:46 +00:00
Mark Andrews c55eaedb23 1729. [func] Improve check-names error messages.
1728.   [doc]           Update check-names documentation.

1727.   [bug]           named-checkzone: check-names support didn't match
                        documentation.
2004-10-06 05:41:56 +00:00
Mark Andrews 21280ae70e spelling 2004-10-05 22:18:25 +00:00
Mark Andrews a904a45f9f 1732. [bug] 'rrset-order name "*"' wasn't being applied to ".".
[RT #12467]
2004-10-05 04:38:40 +00:00
Mark Andrews a040a52191 1730. [port] Determine the length type used by the socket API.
[RT #12581]
2004-10-05 03:22:32 +00:00
Mark Andrews 36f2f2995d 1731. [port] darwin: relax version test in ifconfig.sh.
[RT #12581]

1730.   [port]          Determine the length type used by the socket API.
                        [RT #12581]
2004-10-05 03:18:24 +00:00
Mark Andrews a4c0ed5e69 1724. [bug] Look for DNSKEY records with "dig +sigtrace".
[RT #12557]
2004-10-05 03:01:36 +00:00
Mark Andrews 8ae0b86fca 1737. [bug] named failed if more that 16 masters were specified.
[RT #12627]
2004-10-05 02:52:06 +00:00
Mark Andrews a2d610b7a1 1736. [bug] dst_key_fromnamedfile() could fail to read a
public key. [RT #12687]
2004-10-01 00:17:13 +00:00
Mark Andrews 98a3caf512 1735. [bug] 'dig +sigtrace' could die with a REQUIRE failure.
[RE #12688]
2004-10-01 00:00:50 +00:00
Mark Andrews bafe87e278 1733. [bug] Return non-zero exit status on initial load failure.
[RT #12658]
2004-09-29 06:43:54 +00:00
Mark Andrews 74c34ec4a0 1734. [cleanup] 'rndc-confgen -a -t' remove extra '/' in path.
[RT #12588]
2004-09-28 07:17:08 +00:00
Mark Andrews 22e6067c16 Update error message. s/isc_socket_recv()/isc_socket_recv2()/ 2004-09-26 22:36:34 +00:00
Mark Andrews 3689445b72 update 2004-09-25 00:07:05 +00:00
Mark Andrews 91cfc8ef5b newcopyrights 2004-09-24 23:48:08 +00:00
Mark Andrews 65efc3e9d0 1726. [port] aix5: add support for aix5. 2004-09-24 05:58:28 +00:00
cvs2git f1c606616b This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-09-24 04:32:36 +00:00
Mark Andrews c8b578e649 1723. [cleanup] Silence compiler warnings from t_tasks.c. [RT #12493] 2004-09-21 02:15:35 +00:00
Mark Andrews ceb903b63e silence compiler 2004-09-17 13:33:09 +00:00
Mark Andrews d3c38555a4 silence compiler 2004-09-17 05:58:12 +00:00
Mark Andrews 3b03a78e3f silence compiler 2004-09-16 07:08:15 +00:00
Mark Andrews 1618097376 silence compiler 2004-09-16 07:02:23 +00:00
Mark Andrews 597d5884d9 make -j3 support 2004-09-16 05:13:00 +00:00
Mark Andrews 441199c960 1722. [bug] Don't commit the journal on malformed ixfr streams.
[RT #12519]

1721.   [bug]           Error message from the journal processing were not
                        always identifing the relevent journal. [RT #12519]
2004-09-16 04:56:02 +00:00
Mark Andrews e8cf98cf53 1713. [port] linux: extend capset failure message to say:
please ensure that the capset kernel module is
                        loaded.  see insmod(8)
2004-09-16 02:49:50 +00:00
Mark Andrews 9049555824 move the calculation of remaining 2004-09-16 02:13:29 +00:00
Mark Andrews 55bc69db77 1720. [bug] 'dig +chase' did not terminate on a RFC 2308 Type 1
negative response. [RT #12506]

1719.   [bug]           named was not correctly caching a RFC 2308 Type 1
                        negative response. [RT #12506]

1718.   [bug]           nsupdate was not handling RFC 2308 Type 3 negative
                        responses when looking for the zone / master server.
                        [RT #12506]
2004-09-16 02:12:11 +00:00
Mark Andrews 6b2e48094d silence compiler warnings 2004-09-16 01:02:20 +00:00
Mark Andrews bdf47db44f pullup
1684.   [port]          64 bit size_t issues / compiler warnings.
2004-09-16 00:55:14 +00:00
Mark Andrews afbb36df79 1717. [port] solaris: ifconfig.sh did not support Solaris 10.
"ifconfig.sh down" didn't work for Solaris 9.
2004-09-09 01:27:56 +00:00
Mark Andrews c66aadb4ca bad descriptions s/dns_label_countlabels/dns_name_countlabels/ 2004-09-08 00:30:08 +00:00
Mark Andrews 6bfbd57c9d 1716. [doc] named.conf(5) was being installed in the wrong
location.  [RT# 12441]
2004-09-06 21:52:16 +00:00
Mark Andrews 8448a9a2fc indenting 2004-09-06 06:23:47 +00:00
Mark Andrews 4a381a30fb 1714. [bug] dig/host/nslookup were only trying the first
address when a nameserver was specified by name.
                        [RT #12286]
2004-09-06 01:32:30 +00:00
Mark Andrews 628a8203ec 1712. [bug] Missing FULLCHECK for "trusted-key" in dig. 2004-09-03 03:55:06 +00:00
Mark Andrews 869e9e12a6 1711. [func] 'rndc unfreeze' has been deprecated by 'rndc thaw'. 2004-09-03 03:50:01 +00:00
Mark Andrews af39460a87 1709. [port] solaris: add SMF support from Sun. 2004-09-01 07:22:19 +00:00
Mark Andrews bdf6738ff3 1708. [cleanup] Replaced dns_fullname_hash() with dns_name_fullhash()
for conformance to the name space convention.  Binary
                        backward compatibility to the old function name is
                        provided. [RT #12376]
2004-09-01 05:17:05 +00:00
Mark Andrews 9278253078 fix typo in unexecuted code 2004-09-01 04:38:03 +00:00
Mark Andrews bd0d561c70 2797. [bug] Don't decrement the dispatch manager's maxbuffers.
[RT #20613]
2004-09-01 04:26:21 +00:00
Mark Andrews d9581a5ae7 1682. [bug] gethostby*_r() implementations that copied the return
pointer got NULL returned on success.
2004-09-01 02:03:59 +00:00
Mark Andrews d7d0e75fa6 copyright 2004-08-30 00:51:40 +00:00
Mark Andrews 623a72f308 use isc/print.c dates for lwres/print.c
use isc/print.h dates for lwres/print_p.c
2004-08-29 11:01:18 +00:00
Mark Andrews 3b73c81cad newcopyrights 2004-08-28 23:48:24 +00:00
Mark Andrews 932729846c 1704. [port] lwres needed a snprintf() implementation for
platforms without snprintf().  Add missing
                        "#include <isc/print.h>". [RT #12321]
2004-08-28 06:21:13 +00:00
cvs2git 6640ab627b This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-28 06:20:16 +00:00
Mark Andrews 84eb259dd3 1703. [bug] named would loop sending NOTIFY messages when it
failed to receive a response. [RT #12322]
2004-08-28 05:53:20 +00:00
Mark Andrews 42d6177825 1702. [bug] also-notify should not be applied to builtin zones.
[RT #12323]
2004-08-28 05:43:18 +00:00
Mark Andrews 823743f382 1706. [bug] 'rndc stop' failed to cause zones to be flushed
sometimes. [RT #12328]
2004-08-27 12:25:13 +00:00
Mark Andrews 908191b021 1707. [contrib] sdb/ldap updated to version 1.0-beta. 2004-08-27 00:10:25 +00:00
Mark Andrews 1f067b12ac new draft 2004-08-26 02:34:07 +00:00
Mark Andrews 41ececbd60 3833: Threat Analysis of the Domain Name System (DNS) 2004-08-25 00:53:32 +00:00
Mark Andrews 3ef92be8f2 pullup:
1679.   [bug]           A bad length check was introduced by change #1661
                        in dns_ho.c.
2004-08-24 00:32:57 +00:00
Tatuya JINMEI 神明達哉 701aea77a4 corrected the position of 3071 2004-08-23 07:05:45 +00:00
Mark Andrews d752e8a3c5 1. 3071 is missing
2. use tab characters as the delimiter between the RFC number and the
   title for 3007 and 3008 (just for consistency with other entries)
2004-08-23 06:49:09 +00:00
Mark Andrews 5b7b2ddd6c regen 2004-08-22 23:53:39 +00:00
Mark Andrews d5bf55ac93 regen 2004-08-21 07:35:35 +00:00
Mark Andrews 6344d163c8 newcopyrights 2004-08-21 07:02:26 +00:00
Mark Andrews 9a91e39824 remove 2004-08-21 06:56:50 +00:00
Mark Andrews 714f00f34f 1701. [doc] A minimal named.conf man page. 2004-08-21 06:27:27 +00:00
Mark Andrews ef92b68d62 1701. [doc] A minimal named.conf man page. 2004-08-20 21:42:34 +00:00
cvs2git 2ed3a4a076 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-20 21:33:17 +00:00
Mark Andrews 5ac8c345e2 update to reflect current lab systems 2004-08-20 06:00:25 +00:00
Mark Andrews bd9d6b2ba0 1700. [func] nslookup is no longer to be treated as deprecated.
Remove "deprecated" warning message.  Add man page.
2004-08-20 01:08:38 +00:00
cvs2git 3b99704b2c This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-20 00:54:30 +00:00
Mark Andrews 37c81e560d 1699. [bug] dnssec-signzone can generate "not exact" errors
when resigning. [RT #12281]
2004-08-20 00:45:54 +00:00
Mark Andrews b06e3d472b new draft 2004-08-19 23:11:40 +00:00
cvs2git 8e784e9439 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-19 22:58:47 +00:00
Mark Andrews 30900706e0 update for 9.4 2004-08-19 05:11:33 +00:00
Mark Andrews 0536f2b2f0 copyright 2004-08-19 04:42:54 +00:00
Mark Andrews 8913a9b481 3845: DNS Security (DNSSEC) NextSECure (NSEC) RDATA Format 2004-08-18 00:47:30 +00:00
cvs2git 6489978df2 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-08-18 00:39:42 +00:00
Mark Andrews 5a788a3258 1677. [bug] IN6_IS_ADDR_MC_NODELOCAL() addresses can also have
symbolic scope id's.
2004-08-17 05:51:14 +00:00
Mark Andrews b755e803b4 add docbook 2004-08-16 23:57:13 +00:00
Mark Andrews 9582d21861 regen 2004-08-16 05:41:40 +00:00
Mark Andrews e08827739c 1698. [doc] Use reserved IPv6 documentation prefix. 2004-08-16 00:50:01 +00:00
Mark Andrews f4a5522a05 regen 2004-08-15 09:28:48 +00:00
Tatuya JINMEI 神明達哉 3789b2f9aa s/6 to 4/Dual-stack/ [RT #12258] 2004-08-15 04:50:13 +00:00
Tatuya JINMEI 神明達哉 e4eb1714ef 1697. [bug] xxx-source{,-v6} was not effective when it
specified one of listening addresses and a
			different port than the listening port. [RT #12257]
2004-08-15 04:41:13 +00:00
Mark Andrews 2efcba3c5e regen 2004-08-14 09:20:13 +00:00
Tatuya JINMEI 神明達哉 955dd7ff98 listen-on-v6 is an "option". 2004-08-12 08:31:37 +00:00
Mark Andrews c85856ca60 1696. [bug] dnssec-signzone failed to clean out nodes that
consisted of only NSEC and RRSIG records.
                        [RT #12154]
2004-08-11 08:55:13 +00:00
Tatuya JINMEI 神明達哉 6cd2d7e24c comment wording / style nits. 2004-08-10 04:56:42 +00:00
Tatuya JINMEI 神明達哉 6a2aa7ce4a corrected the RFC number for the ipv6 basic API. 2004-08-10 04:28:41 +00:00
Mark Andrews bf0812f885 pullup:
1676.   [port]          Solaris 8 has if_nametoindex().
2004-08-10 02:39:56 +00:00
Mark Andrews d50ffa90f1 pullup:
1676.   [port]          Solaris 8 has if_nametoindex().

1675.   [bug]           match any returned scope when a scope is not specified
                        on non global scope address in resolv.conf.

1674.   [bug]           getaddrinfo() failed to set sin6_scope_id correctly
                        on some platforms.
2004-08-10 02:37:24 +00:00
Mark Andrews caceb753df improve dns_name_getlabelsequence() description. 2004-08-10 00:41:51 +00:00
Mark Andrews c4dd6e6095 1695. [bug] DS records when forwarding require special handling.
[RT #12133]
2004-08-10 00:40:46 +00:00
Mark Andrews c2f81bb678 new draft 2004-08-10 00:05:50 +00:00
Tatuya JINMEI 神明達哉 08efce292a minor editorial nits. 2004-08-02 04:07:21 +00:00
Mark Andrews 8a89fa71fc regen 2004-08-01 23:51:50 +00:00
Tatuya JINMEI 神明達哉 57ee8fabd9 updated IPv6 API issues. 2004-07-29 23:15:53 +00:00
Mark Andrews 64c639bbbf 1693. [bug] max-journal-size was not effective for master zones
with ixfr-from-differences set. [RT# 12024]
2004-07-29 00:17:02 +00:00
Mark Andrews 6728e3d25e 1694. [bug] Report if the builtin views of "_default" / "_bind"
are defined in named.conf. [RT #12023]
2004-07-29 00:07:58 +00:00
Mark Andrews 438467e01d pullup:
1672.   [bug]           libbind: failed to print unknown types and classes
                        above 4095. didn't correctly print unknown records
                        with zero length.
2004-07-28 20:16:40 +00:00
Mark Andrews 12e65c5dbe regen 2004-07-23 06:08:29 +00:00
Mark Andrews d12fc40960 1692. [bug] Don't set -I, -L and -R flags when libcrypto is in
/usr/lib. [RT #11971]
2004-07-23 04:43:43 +00:00
Mark Andrews 5fec812ac0 1692. [bug] Don't set -I, -L and -R flags when librcypto is in
/usr/lib. [RT #11971]
2004-07-23 04:36:02 +00:00
Mark Andrews ddfbf6e9b1 1680. [func] rndc: the source address can now be specified. 2004-07-23 04:12:49 +00:00
Mark Andrews 0f42634aea 1690. [bug] Delay detaching view from the client until UPDATE
processing completes when shutting down. [RT #11714]
2004-07-23 02:57:24 +00:00
Mark Andrews 27879f362b 1691. [bug] sdb's attachversion was not complete. [RT #11990] 2004-07-22 04:04:50 +00:00
Mark Andrews bd50355db6 1689. [bug] DNS_NAME_TOREGION() and DNS_NAME_SPLIT() macros
contained gratuitous semicolons. [RT #11707]
2004-07-22 00:16:36 +00:00
Mark Andrews 7e4b06161b 1687. [bug] Race condition in dispatch. [RT #10272] 2004-07-21 00:49:15 +00:00
Mark Andrews 5de917ca79 new draft 2004-07-20 23:49:16 +00:00
cvs2git d22ee2f3f2 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-07-20 23:48:49 +00:00
Mark Andrews a090029c97 new draft 2004-07-20 23:34:12 +00:00
Mark Andrews d8b30c39c0 1686. [bug] Named sent a extraneous NOTIFY when it received a
redundant UPDATE request. [RT #11943]
2004-07-20 07:39:03 +00:00
Mark Andrews 5537212dfd 1688. [bug] LDFLAGS was not supported. 2004-07-20 07:03:33 +00:00
Mark Andrews c9c8fb5c51 new draft 2004-07-20 02:57:04 +00:00
cvs2git 6c31e10894 This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-07-20 02:51:30 +00:00
Mark Andrews 251b3de9e2 pullup:
1669.   [bug]           Only test the gcc minor version when the major version
                        is known.
2004-07-19 05:55:45 +00:00
Rob Austein 2e48a4e6ad 1685. [bug] Change #1679 loop tests weren't quite right. 2004-07-02 22:15:12 +00:00
Mark Andrews e39229464b indenting 2004-07-01 04:52:28 +00:00
Mark Andrews 55479c62ff pullup:
1668.   [port]          solaris: allow applications compiling against
                        libbind to be compiled with "cc -Xc".
2004-07-01 04:40:15 +00:00
Mark Andrews 379c309c59 silence compiler 2004-07-01 02:02:24 +00:00
Mark Andrews 476e2fe301 1682. [port] Update configure test for (long long) printf format.
[RT #5066]
2004-07-01 00:21:23 +00:00
Mark Andrews ef425ef21f 1683. [bug] dig +sigchase could leak memory. [RT #11445] 2004-06-30 23:57:33 +00:00
Mark Andrews dc7661af5e 1681. [bug] Only set SO_REUSEADDR when a port is specified in
isc_socket_bind(). [RT #11742]
2004-06-30 23:28:06 +00:00
Mark Andrews 219967d623 order should be signed. 2004-06-30 14:14:46 +00:00
Mark Andrews 2be2570329 new draft 2004-06-29 23:41:59 +00:00
cvs2git 01692255cc This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-06-29 23:40:09 +00:00
Mark Andrews 753b90055a 1675. [bug] named would sometimes add extra NSEC records to
the authority section.
2004-06-29 00:52:18 +00:00
Mark Andrews 618f285e34 change #1679 still left case where address could not be tried.
fix loop termination condition to ensure that all finds are tried.
2004-06-27 01:30:37 +00:00
Mark Andrews c7c2135320 1679. [bug] When there was a single nameserver with multiple
addresses for a zone not all addresses were tried.
                        [RT #11706]
2004-06-25 04:44:35 +00:00
Mark Andrews caaf6e63f5 pullup:
document RES_DEBUG2 to that it not assigned.
2004-06-25 00:41:00 +00:00
Mark Andrews 7571b765f0 pullup:
1665.   [port]          getnameinfo() was broken on machines with 8 octet
                        longs.
2004-06-25 00:34:26 +00:00
Mark Andrews c7a343536d 1678. [bug] RRSIG should use TYPEXXXXX for unknown types. 2004-06-24 00:58:13 +00:00
Mark Andrews 20255af8ef regen 2004-06-23 09:11:24 +00:00
Mark Andrews 39c53a9930 1677. [bug] dig: +aaonly didn't work, +aaflag undocumented. 2004-06-23 04:13:45 +00:00
Mark Andrews 6104800c39 1674. [port] linux: increase buffer size used to scan
/proc/net/if_inet6.
2004-06-22 05:25:52 +00:00
Mark Andrews 59a615b03f add a explict dependancy for interfaceiter.@O@. 2004-06-22 02:54:06 +00:00
Mark Andrews 2bf69ec3a6 1673. [port] linux: issue a error messages if IPv6 interface
scans fails.
2004-06-22 02:37:15 +00:00
Mark Andrews 79b546c9bd change # 2004-06-21 07:09:29 +00:00
Mark Andrews ee5ed8a3fe 1671. [cleanup] Tests which only function in a threaded build
now return R:THREADONLY (rather than R:UNTESTED)
                        in a non-threaded build.
2004-06-21 06:45:19 +00:00
Mark Andrews 10e8263963 1671. [contrib] queryperf: add NAPTR to the list of known types. 2004-06-21 00:46:17 +00:00
Mark Andrews 029f8dce4d 1670. [func] Log UPDATE requests to slave zones without an acl as
"disabled" at debug level 3. [RT# 11657]
2004-06-21 00:42:36 +00:00
Rob Austein 3aa419673c 1668. [bug] DIG_SIGCHASE was making bin/dig/host dump core. 2004-06-19 02:48:18 +00:00
Mark Andrews c137d96671 1667. [port] linux: not all versions have IF_NAMESIZE. 2004-06-19 01:02:49 +00:00
Mark Andrews a1d28069cf regen 2004-06-18 06:00:24 +00:00
Mark Andrews f2e254d992 copy migration docs
don't make dnssec-signkey and dnssec-makekeyset.
2004-06-18 05:00:39 +00:00
Mark Andrews 6a543b4d9c 1666. [bug] The optional port on hostnames in dual-stack-servers
was being ignored.

1665.   [func]          rndc now allows addresses to be set in the
                        server clauses.
2004-06-18 04:39:40 +00:00
Mark Andrews 1717965ef4 1663. [func] Look for OpenSSL by default. 2004-06-18 01:38:06 +00:00
Mark Andrews 634ad333b6 1661. [bug] Restore dns_name_concatenate() call in
adb.c:set_target().  [RT #11582]
2004-06-18 01:22:19 +00:00
Mark Andrews 44800f9368 1660. [bug] win32: connection_reset_fix() was being called
unconditionally.  [RT #11595]
2004-06-18 01:15:21 +00:00
Mark Andrews b615bec612 1664. [bug] nsupdate needed KEY for SIG(0), not DNSKEY. 2004-06-17 01:42:36 +00:00
Mark Andrews a003b9fc73 1662. [bug] Change #1658 failed to one use of 'type' to 'keytype'. 2004-06-16 01:34:40 +00:00
Mark Andrews 10843d5d55 regen 2004-06-11 02:49:04 +00:00
Mark Andrews 220322f0cf 1659. [cleanup] Cleanup some messages that were referring to KEY vs
DNSKEY, NXT vs NSEC and SIG vs RRSIG.

1658.   [func]          Update dnssec-keygen to default to KEY for HMAC-MD5
                        and DH.  Tighten which options apply to KEY and
                        DNSKEY records.
2004-06-11 01:17:46 +00:00
Mark Andrews 0b144e9b31 1655. [bug] Logging multiple versions w/o a size was broken.
[RT #11446]
2004-06-11 00:35:52 +00:00
Mark Andrews 9908a282c8 1654. [bug] isc_result_totext() contained array bounds read
error.

1653.   [func]          Add key type checking to dst_key_fromfilename(),
                        DST_TYPE_KEY should be used to read TSIG, TKEY and
                        SIG(0) keys.

1652.   [bug]           TKEY still uses KEY.
2004-06-11 00:30:16 +00:00
Mark Andrews 8341ed2c6d 1657. [doc] ARM: document query log output.
1656.   [doc]           Update DNSSEC description in ARM to cover DS, NSEC
                        DNSKEY and RRSIG.  [RT #11542]
2004-06-11 00:19:52 +00:00
Mark Andrews 05908c80cd update 2004-06-09 01:40:44 +00:00
Mark Andrews 25bcf78fa7 new draft 2004-06-08 07:16:02 +00:00
Mark Andrews 5053f115e2 consolidate commits 2004-06-08 07:12:56 +00:00
cvs2git 9c7993422c This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-06-08 06:50:25 +00:00
Mark Andrews 1e029f6f2a bind9-users -> bind-users 2004-06-08 00:18:03 +00:00
Mark Andrews 68863b2728 1651. [bug] dig: process multiple dash options.
1650.   [bug]           dig, nslookup: flush standard out after each command.
2004-06-07 03:56:20 +00:00
Mark Andrews 81efc666ad 1647. [bug] It was possible trigger a INSIST when chasing a DS
record that required walking back over a empty node.
                        [RT #11445]
2004-06-07 03:24:42 +00:00
Mark Andrews 7965518f3c regen 2004-06-04 06:30:53 +00:00
Mark Andrews 673d278aa3 1649. [bug] Silence "unexpected non-minimal diff" message.
[RT #11206]
2004-06-04 03:45:45 +00:00
Mark Andrews 30966c9ac0 1644. [bug] Update the journal modification time after a
sucessfull refresh query. [RT #11436]
2004-06-04 02:42:00 +00:00
Mark Andrews 9b058373f8 1648. [func] Update dnssec-lookaside named.conf syntax to support
multiple dnssec-lookaside namespaces (not yet
                        implemented).
2004-06-04 02:31:56 +00:00
Mark Andrews 64be62f812 1646. [bug] win32: logging file versions didn't work with
non-UNC filenames.  [RT#11486]
2004-06-04 02:18:34 +00:00
Mark Andrews 4398add6a5 linux capset 2004-06-03 05:06:52 +00:00
Mark Andrews 7d7b3ad278 res_servicenumber returns -1 on error. 2004-06-03 04:44:15 +00:00
Mark Andrews 3dc68478eb don't compare unsigned w/ <= 0. 2004-06-03 04:40:59 +00:00
Mark Andrews 1e6066b68f update -b usage 2004-06-03 04:22:27 +00:00
Mark Andrews 44cf237d1d regen 2004-06-03 04:17:55 +00:00
Mark Andrews a68e747291 make sure executable files are executable. 2004-06-03 02:51:23 +00:00
Mark Andrews 4caab078d9 update corpauthor 2004-06-03 02:24:29 +00:00
Mark Andrews 55fe0312d0 645. [bug] named could trigger a REQUIRE failure if multiple
masters with keys are specified.
2004-05-29 00:01:11 +00:00
Mark Andrews 78920b507a 1643. [bug] dns_db_closeversion() could leak memory / node
references. [RT #11163]
2004-05-23 11:09:37 +00:00
Mark Andrews 1deb037c8e regen 2004-05-21 08:21:37 +00:00
Mark Andrews caf92532ae 1642. [port] Support OpenSSL implementations which don't have
DSA support. [RT #11360]
2004-05-21 08:20:01 +00:00
Mark Andrews 30294f6c0e regen 2004-05-20 02:48:06 +00:00
Mark Andrews 15080fc251 1641. [bug] Update the check-names description in ARM. [RT #11389] 2004-05-20 00:24:27 +00:00
Mark Andrews 292f96ff4f include <sys/param.h> for NetBSD 2004-05-18 01:40:02 +00:00
Mark Andrews be622473b4 mfc71.dll and msvcr71.dll correspond to _MSC_VER 1310 (Wesley Griffin) 2004-05-18 01:29:42 +00:00
Mark Andrews cb940a7288 do not install dnssec-makekeyset and dnssec-signkey. 2004-05-17 10:12:40 +00:00
Mark Andrews 95f4bcecf4 Install MFC71.DLL and MSVCR71.DLL if _MSC_VER is 1400 2004-05-17 10:10:06 +00:00
Mark Andrews 4be64b1ca2 pullup:
1661.   [cleanup]       indiscriminate use strlcat/strlcpy make auditing
                        harder.
2004-05-17 07:50:33 +00:00
Mark Andrews f0bb2f7719 1634. [bug] named didn't supply a useful error message when it
detected duplicate views.  [RT #11208]
2004-05-17 05:44:29 +00:00
Mark Andrews c4de8d8c96 1638. [bug] win32: isc_socket_cancel(ISC_SOCKCANCEL_ACCEPT) was
incorrectly closing the socket.  [RT #11291]
2004-05-17 03:21:08 +00:00
Mark Andrews c9c83c4ad2 LIBTOO_MODE_INSTALL -> LIBTOOL_MODE_INSTALL 2004-05-16 00:16:11 +00:00
Tatuya JINMEI 神明達哉 aff41690b6 1629. [func] dig now supports IPv6 scoped addresses with the
extended format in the local-server part. [RT #8753]

(pull down to 9.4)
2004-05-15 03:47:17 +00:00
Mark Andrews 74eec39849 newcopyrights 2004-05-14 23:49:02 +00:00
Mark Andrews 7f6a0583f1 DVL -> DLV 2004-05-14 05:59:23 +00:00
Mark Andrews ff9af122db 1638. [bug] "ixfr-from-differences" could generate a REQUIRE
failure if the journal open failed. [RT #11347]
2004-05-14 05:25:26 +00:00
Mark Andrews 02a4320bcd 1639. [func] Initial dlv system test. 2004-05-14 05:20:11 +00:00
Mark Andrews aa1a497079 1606. [bug] DVL insecurity proof was failing.
1605.   [func]          New dns_db_find() option DNS_DBFIND_COVERINGNSEC.
2004-05-14 05:07:12 +00:00
cvs2git a27623480f This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-05-14 04:58:26 +00:00
Mark Andrews 7b963cfbc5 1636. [bug] The dump done callback could get ISC_R_SUCCESS even if
a error had occured.  The database version no longer
                        matched the version of the database that was dumped.
2004-05-14 01:18:01 +00:00
Mark Andrews bc9e8c403f 1637. [bug] Node reference leak on error in addnoqname(). 2004-05-14 01:16:00 +00:00
Mark Andrews 179814803c move cleanup of in_roothints earlier to make it easier to detect reference
count mismatches.
2004-05-14 01:03:49 +00:00
Mark Andrews df73d89a1c 1635. [bug] Memory leak on error in query_addds(). 2004-05-14 00:59:30 +00:00
Mark Andrews 7cb6ca7958 newcopyrights 2004-05-13 23:49:49 +00:00
Tatuya JINMEI 神明達哉 22e5a0c8c0 corrected change entry ordering (broken in the previous commit) 2004-05-13 05:52:17 +00:00
Tatuya JINMEI 神明達哉 7f8ab29dcb 1630. [contrib] queryperf: add support for IPv6 transport.
(pull down to 9.4)
2004-05-13 05:51:37 +00:00
cvs2git cb91b780ca This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-05-12 07:06:44 +00:00
Mark Andrews 57311e5df8 1633. [bug] named should return NOTIMP to update requests to a
slaves without a allow-update-forwarding acl specified.
                        [RT #11331]
2004-05-12 06:39:15 +00:00
Mark Andrews 1107676239 1632. [bug] nsupdate failed to send prerequisite only UPDATE
messages. [RT #11288]
2004-05-12 04:48:15 +00:00
Mark Andrews 7b5a3c1fd0 regen 2004-05-12 02:44:55 +00:00
Mark Andrews f3991600da refer to transfer-source and notify-source in query-source description. 2004-05-12 02:06:13 +00:00
Mark Andrews dad5c123aa 1631. [bug] dns_journal_compact() could sometimes corrupt the
journal. [RT #11124]
2004-05-11 22:23:37 +00:00
Mark Andrews 11551beed8 1628. [bug] Typo in Compaq Trucluster support. [RT# 11264] 2004-05-06 03:25:58 +00:00
Mark Andrews 4cb64b11f1 newcopyrights 2004-05-05 23:49:24 +00:00
Mark Andrews 2ec5372082 1625. [bug] named failed to load/transfer RFC2535 signed zones
which contained CNAMES. [RT# 11237]
2004-05-05 01:32:37 +00:00
Mark Andrews ea7087645f silence compiler punned warning (adjust signed/unsigned chars). 2004-05-04 03:28:07 +00:00
Mark Andrews bc245cf13d silence compiler warning (cast to long and use %ld) 2004-05-04 03:24:02 +00:00
Mark Andrews 298eb0857d 1627. [bug] win32: sockets were not being closed when the
last external reference was removed. [RT# 11179]
2004-05-04 00:03:44 +00:00
Mark Andrews cc1094f25c regen 2004-05-03 10:59:17 +00:00
Mark Andrews cd1c1074fe 1626. [bug] --enable-getifaddrs was broken. [RT#11259] 2004-05-03 10:57:33 +00:00
Mark Andrews b4222ab69f 1624. [bug] zonemgr_putio() call should be locked. [RT# 11163] 2004-04-29 01:52:19 +00:00
Mark Andrews 476800df75 1622. [func] probe the system to see if IPV6_(RECV)PKTINFO is
available, and suppress wildcard binding if not.

1621.   [bug]           match-destinations did not work for IPv6 TCP queries.
                        [RT# 11156]
2004-04-29 01:45:54 +00:00
Mark Andrews 2ac036ebfb 1623. [bug] A serial number of zero was being displayed in the
"sending notifies" log message when also-notify was
                        used. [RT #11177]
2004-04-28 04:23:41 +00:00
Mark Andrews 2d89e6048e 1620. [func] When loading a zone report if it is signed. [RT #11149] 2004-04-28 04:07:23 +00:00
Mark Andrews b2e565ba75 pullup:
decunix/ibm: gethostbyname_r() only supported a small number of addresses.
2004-04-22 03:33:23 +00:00
Mark Andrews 6b7dc303b7 1612. [bug] check-names at the option/view level could trigger
an INSIST. [RT# 11116]
2004-04-20 14:12:44 +00:00
Mark Andrews d5f3865e75 1619. [bug] Missing ISC_LIST_UNLINK in end_reserved_dispatches().
[RT# 11118]
2004-04-20 07:10:44 +00:00
Mark Andrews 2ee8a9a4b9 1616. [compat] Ensure that named's version is visible in the core
dump. [RT #11127]
2004-04-20 06:53:03 +00:00
Mark Andrews a45abfed67 1613. [bug] Builds would fail on machines w/o a if_nametoindex().
Missing #ifdef ISC_PLATFORM_HAVEIFNAMETOINDEX/#endif.
                        [RT #11119]
2004-04-20 06:46:09 +00:00
Mark Andrews fb8352775c silence compiler warning 2004-04-19 23:41:03 +00:00
Mark Andrews 90c44ce934 1614. [port] win32: silence resource limit messages. [RT# 11101] 2004-04-19 23:15:59 +00:00
Mark Andrews fc43874b3d 1618. [bug] Fencepost errors in dns_name_ishostname() and
dns_name_ismailbox() could trigger a INSIST().
2004-04-19 21:54:23 +00:00
Mark Andrews 6ad3caff69 1617. [port] win32: VC++ 6.0 support. 2004-04-19 06:20:46 +00:00
Mark Andrews 5327f2bda7 1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
it is defined.
2004-04-19 03:02:23 +00:00
Mark Andrews 97fdd08843 regen 2004-04-16 02:40:52 +00:00
Mark Andrews c1425cc1d5 1600. [bug] Duplicate zone pre-load checks were not case
insensitive.

1599.   [bug]           Fix memory leak on error path when checking named.conf.

1598.   [func]          Specify that certain parts of the namespace must
                        be secure (dnssec-must-be-secure).
2004-04-16 00:01:45 +00:00
Mark Andrews 8f935bc37f 1611. [bug] solaris: IPv6 interface scanning failed to cope with
no active IPv6 interfaces.
2004-04-15 07:05:33 +00:00
Mark Andrews 95175131b3 1610. [bug] On dual stack machines "dig -b" failed to set the
address type to be looked up with "@server".
                        [RT #11069]
2004-04-15 06:50:30 +00:00
Mark Andrews 1b493bdca3 #include <time.h>. 2004-04-15 05:34:00 +00:00
Mark Andrews 3bdf0a6885 hide ((isc_event_t **) (void *)) cast using a macro, ISC_EVENT_PTR. 2004-04-15 02:04:05 +00:00
Mark Andrews 2813da82e5 Attempt to disable parallel processing. 2004-04-15 00:34:30 +00:00
Mark Andrews ee89886bf1 silence compiler warning 2004-04-14 05:14:04 +00:00
Mark Andrews 70135b936f regen 2004-04-13 12:17:09 +00:00
Mark Andrews 69f7a10d8e add description for RES_NO_NIBBLE2 2004-04-13 07:11:42 +00:00
Mark Andrews 026edac15d remove spurious tabs 2004-04-13 05:56:02 +00:00
Mark Andrews 45282ea0b8 remove stray nbits reference 2004-04-13 03:29:43 +00:00
Mark Andrews d76583dcde 1609. [func] dig now has support to chase DNSSEC signature chains.
Requires -DDIG_SIGCHASE=1 to be set in STD_CDEFINES.
2004-04-13 03:01:28 +00:00
Mark Andrews 8420fe1554 1608. [func] dig and host now accept -4/-6 to select IP transport
to use when making queries.
2004-04-13 01:30:33 +00:00
Mark Andrews 53190193d9 #ifdef EPFNOSUPPORT 2004-04-12 07:13:50 +00:00
Mark Andrews 68f0e786c9 1601. [bug] Silence spurious warning 'both "recursion no;" and
"allow-recursion" active' warning from view "_bind".
                        [RT# 10920]
2004-04-10 05:03:33 +00:00
Mark Andrews fa2eb19362 1602. [bug] Logging to a file failed unless a size was specified.
[RT# 10925]
2004-04-10 04:31:45 +00:00
Mark Andrews c56abaf801 1603. [bug] nsupdate: set interactive based on isatty().
[RT# 10929]
2004-04-10 04:09:39 +00:00
Mark Andrews b4a33928e8 pullup from BIND 8
1657.   [bug]           gmtime_r() called incorrectly.
2004-04-10 03:44:57 +00:00
Mark Andrews 7c3cd0fbcf add missing double-quote 2004-04-10 02:51:53 +00:00
Mark Andrews a63cbcb6d3 1607. [bug] dig, host and nslookup were still using random()
to generate query ids. [RT# 11013]
2004-04-08 01:26:01 +00:00
Mark Andrews 8ed427554c 1594. [bug] 'rndc dumpdb' could prevent named from answering
queries while the dump was in progress.  [RT #10565]
2004-04-08 00:11:24 +00:00
Mark Andrews 0526023fec regen 2004-04-07 00:58:17 +00:00
Mark Andrews b00f9a463a regen 2004-04-06 22:02:30 +00:00
Mark Andrews aa887cfa4c 1604. [bug] A xfrout_ctx_create() failure would result in
xfrout_ctx_destroy() being called with a
                        partially initialized structure.
2004-04-06 00:31:24 +00:00
Mark Andrews bc94d297e5 1595. [func] New notify type 'master-only'. Enable notify for
master zones only.
2004-03-30 02:12:16 +00:00
Mark Andrews 33ef81bd13 1596. [func] Accept 'notify-source' style syntax for query-source. 2004-03-30 02:04:47 +00:00
cvs2git b707bf2a1f This commit was manufactured by cvs2git to create branch 'v9_4'. 2004-03-30 01:18:50 +00:00
1109 changed files with 22269 additions and 28405 deletions
+13 -234
View File
@@ -1,218 +1,5 @@
2006. [security] Allow-query-cache and allow-recursion now default
to the builtin acls "localnets" and "localhost".
This is being done to make caching servers less
attractive as reflective amplifying targets for
spoofed traffic. This still leave authoritative
servers exposed.
The best fix is for full BCP 38 deployment to
remove spoofed traffic.
2005. [bug] libbind: Retransmission timeouts should be
based on which attempt it is to the nameserver
and not the nameserver itself. [RT #13548]
2004. [bug] dns_tsig_sign() could pass a NULL pointer to
dst_context_destroy() when cleaning up after a
error. [RT #15835]
2003. [bug] libbind: The DNS name/address lookup functions could
occasionally follow a random pointer due to
structures not being completely zeroed. [RT #15806]
2002. [bug] libbind: tighten the constraints on when
struct addrinfo._ai_pad exists. [RT #15783]
2001. [func] Check the KSK flag when updating a secure dynamic zone.
New zone option "update-check-ksk yes;". [RT #15817]
2000. [bug] memmove()/strtol() fix was incomplete. [RT #15812]
1999. [func] Implement "rrset-order fixed". [RT #13662]
1998. [bug] Restrict handling of fifos as sockets to just SunOS.
This allows named to connect to entropy gathering
daemons that use fifos instead of sockets. [RT #15840]
1997. [bug] Named was failing to replace negative cache entries
when a positive one for the type was learnt.
[RT #15818]
1996. [bug] nsupdate: if a zone has been specified it should
appear in the output of 'show'. [RT #15797]
1995. [bug] 'host' was reporting multiple "is an alias" messages.
[RT #15702]
1994. [port] OpenSSL 0.9.8 support. [RT #15694]
1993. [bug] Log messsage, via syslog, were missing the space
after the timestamp if "print-time yes" was specified.
[RT #15844]
1992. [bug] Not all incoming zone transfer messages included the
view. [RT #15825]
1991. [cleanup] The configuration data, once read, should be treated
as readonly. Expand the use of const to enforce this
at compile time. [RT #15813]
1990. [bug] libbind: isc's override of broken gettimeofday()
implementions was not always effective.
[RT #15709]
1989. [bug] win32: don't check the service password when
re-installing. [RT #15882]
1988. [bug] Remove a bus error from the SHA256/SHA512 support.
[RT #15878]
1987. [func] DS/DLV SHA256 digest algorithm support. [RT #15608]
1986. [func] Report when a zone is removed. [RT #15849]
1985. [protocol] DLV has now been assigned a official type code of
32769. [RT #15807]
Note: care should be taken to ensure you upgrade
both named and dnssec-signzone at the same time for
zones with DLV records where named is the master
server for the zone. Also any zones that contain
DLV records should be removed when upgrading a slave
zone. You do not however have to upgrade all
servers for a zone with DLV records simultaniously.
1984. [func] dig, nslookup and host now advertise a 4096 byte
EDNS UDP buffer size by default. [RT #15855]
1983. [func] Two new update policies. "selfsub" and "selfwild".
[RT #12895]
1982. [bug] DNSKEY was being accepted on the parent side of
a delegation. KEY is still accepted there for
RFC 3007 validated updates. [RT #15620]
1981. [bug] win32: condition.c:wait() could fail to reattain
the mutex lock.
1980. [func] dnssec-signzone: output the SOA record as the
first record in the signed zone. [RT #15758]
1979. [port] linux: allow named to drop core after changing
user ids. [RT #15753]
1978. [port] Handle systems which have a broken recvmsg().
[RT #15742]
1977. [bug] Silence noisy log message. [RT #15704]
1976. [bug] Handle systems with no IPv4 addresses. [RT #15695]
1975. [bug] libbind: isc_gethexstring() could misparse multi-line
hex strings with comments. [RT #15814]
1974. [doc] List each of the zone types and associated zone
options seperately in the ARM.
1973. [func] TSIG HMACSHA1, HMACSHA224, HMACSHA256, HMACSHA384 and
HMACSHA512 support. [RT #13606]
1972. [contrib] DBUS dynamic forwarders integation from
Jason Vas Dias <jvdias@redhat.com>.
1971. [port] linux: make detection of missing IF_NAMESIZE more
robust. [RT #15443]
1970. [bug] nsupdate: adjust UDP timeout when falling back to
unsigned SOA query. [RT #15775]
1969. [bug] win32: the socket code was freeing the socket
structure too early. [RT #15776]
1968. [bug] Missing lock in resolver.c:validated(). [RT #15739]
1967. [func] dig/nslookup/host: warn about missing "QR". [RT #15779]
1966. [bug] Don't set CD when we have fallen back to plain DNS.
[RT #15727]
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]
1963. [port] Tru64 4.0E doesn't support send() and recv().
[RT #15586]
1962. [bug] Named failed to clear old update-policy when it
was removed. [RT #15491]
1961. [bug] Check the port and address of responses forwarded
to dispatch. [RT #15474]
1960. [bug] Update code should set NSEC ttls from SOA MINIMUM.
[RT #15465]
1959. [func] Control the zeroing of the negative response TTL to
a soa query. Defaults "zero-no-soa-ttl yes;" and
"zero-no-soa-ttl-cache no;". [RT #15460]
1958. [bug] Named failed to update the zone's secure state
until the zone was reloaded. [RT #15412]
1957. [bug] Dig mishandled responses to class ANY queries.
[RT #15402]
1956. [bug] Improve cross compile support, 'gen' is now built
by native compiler. See README for additional
cross compile support information. [RT #15148]
1955. [bug] Pre-allocate the cache cleaning interator. [RT #14998]
1954. [func] Named now falls back to advertising EDNS with a
512 byte receive buffer if the initial EDNS queries
fail. [RT #14852]
1953. [func] The maximum EDNS UDP response named will send can
now be set in named.conf (max-udp-size). This is
independent of the advertised receive buffer
(edns-udp-size). [RT #14852]
1952. [port] hpux: tell the linker to build a runtime link
path "-Wl,+b:". [RT #14816].
1951. [security] Drop queries from particular well known ports.
Don't return FORMERR to queries from particular
well known ports. [RT #15636]
1950. [port] Solaris 2.5.1 and earlier cannot bind() then connect()
a TCP socket. This prevents the source address being
set for TCP connections. [RT #15628]
1949. [func] Addition memory leakage checks. [RT #15544]
1948. [bug] If was possible to trigger a REQUIRE failure in
xfrin.c:maybe_free() if named ran out of memory.
[RT #15568]
1947. [func] It is now possible to configure named to accept
expired RRSIGs. Default "dnssec-accept-expired no;".
Setting "dnssec-accept-expired yes;" leaves named
vulnerable to replay attacks. [RT #14685]
1946. [bug] resume_dslookup() could trigger a REQUIRE failure
when using forwarders. [RT #15549]
1945. [cleanup] dnssec-keygen: RSA (RSAMD5) is nolonger recommended.
To generate a RSAMD5 key you must explicitly request
RSAMD5. [RT #13780]
1944. [cleanup] isc_hash_create() does not need a read/write lock.
[RT #15522]
1943. [bug] Set the loadtime after rolling forward the journal.
[RT #15647]
--- 9.4.0a3 released ---
1942. [bug] If the name of a DNSKEY match that of one in
trusted-keys do not attempt to validate the DNSKEY
@@ -238,9 +25,15 @@
1935. [bug] 'acache' was DO sensitive. [RT #15430]
1934. [func] Validate pending NS RRsets, in the authority section,
prior to returning them if it can be done without
prior to returning them if it can be done without
requiring DNSKEYs to be fetched. [RT #15430]
1919. [contrib] queryperf: a set of new features: collecting/printing
response delays, printing intermediate results, and
adjusting query rate for the "target" qps.
--- 9.4.0a2 released ---
1933. [bug] dump_rdataset_raw() had a incorrect INSIST. [RT #15534]
1932. [bug] hpux: LDFLAGS was getting corrupted. [RT #15530]
@@ -279,9 +72,7 @@
have the desired performance characteristics.
[RT #15454]
1919. [contrib] queryperf: a set of new features: collecting/printing
response delays, printing intermediate results, and
adjusting query rate for the "target" qps.
--- 9.4.0a1 released ---
1918. [bug] Memory leak when checking acls. [RT #15391]
@@ -424,8 +215,6 @@
1872. [port] win32: Handle ERROR_NETNAME_DELETED. [RT #13753]
1871. [placeholder]
1870. [func] Added framework for handling multiple EDNS versions.
[RT #14873]
@@ -570,8 +359,6 @@
1822. [bug] check-names test for RT was reversed. [RT #13382]
1821. [placeholder]
1820. [bug] Gracefully handle acl loops. [RT #13659]
1819. [bug] The validator needed to check both the algorithm and
@@ -721,10 +508,6 @@
1773. [bug] Fast retry on host / net unreachable. [RT #13153]
1772. [placeholder]
1771. [placeholder]
1770. [bug] named-checkconf failed to report missing a missing
file clause for rbt{64} master/hint zones. [RT#13009]
@@ -1028,8 +811,6 @@
1670. [func] Log UPDATE requests to slave zones without an acl as
"disabled" at debug level 3. [RT# 11657]
1669. [placeholder]
1668. [bug] DIG_SIGCHASE was making bin/dig/host dump core.
1667. [port] linux: not all versions have IF_NAMESIZE.
@@ -1236,9 +1017,7 @@
1598. [func] Specify that certain parts of the namespace must
be secure (dnssec-must-be-secure).
1597. [func] Allow notify-source and query-source to be specified
on a per server basis similar to transfer-source.
[RT #6496]
1597. [placeholder] rt6496a
1596. [func] Accept 'notify-source' style syntax for query-source.
@@ -1778,8 +1557,8 @@
1414. [func] Support for KSK flag.
1413. [func] Explicitly request the (re-)generation of DS records
from keysets (dnssec-signzone -g).
1413. [func] Explictly request the (re-)generation of DS records from
keysets (dnssec-signzone -g).
1412. [func] You can now specify servers to be tried if a nameserver
has IPv6 address and you only support IPv4 or the
@@ -6028,7 +5807,7 @@
<isc/bufferlist.h>, <isc/task.h>, <isc/mem.h> or
<isc/net.h>.
119. [cleanup] structure definitions for generic rdata structures do
119. [cleanup] structure definitions for generic rdata stuctures do
not have _generic_ in their names.
118. [cleanup] libdns.a is now namespace-clean, on NetBSD, excepting
+2 -2
View File
@@ -1,4 +1,4 @@
Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
Copyright (C) 1996-2003 Internet Software Consortium.
Permission to use, copy, modify, and distribute this software for any
@@ -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.11 2006/01/04 00:37:24 marka Exp $
$Id: COPYRIGHT,v 1.9.18.1 2005/01/10 23:50:57 marka Exp $
Portions Copyright (C) 1996-2001 Nominum, Inc.
+141 -248
View File
@@ -4,36 +4,26 @@ Frequently Asked Questions about BIND 9
Q: Why doesn't -u work on Linux 2.2.x when I build with --enable-threads?
A: Linux threads do not fully implement the Posix threads (pthreads) standard. In
particular, setuid() operates only on the current thread, not the full process.
Because of this limitation, BIND 9 cannot use setuid() on Linux as it can on
all other supported platforms. setuid() cannot be called before creating
threads, since the server does not start listening on reserved ports until
after threads have started.
A: Linux threads do not fully implement the Posix threads (pthreads) standard.
In particular, setuid() operates only on the current thread, not the full
process. Because of this limitation, BIND 9 cannot use setuid() on Linux as
it can on all other supported platforms. setuid() cannot be called before
creating threads, since the server does not start listening on reserved
ports until after threads have started.
In the 2.2.18 or 2.3.99-pre3 and newer kernels, the ability to preserve
capabilities across a setuid() call is present. This allows BIND 9 to call
setuid() early, while retaining the ability to bind reserved ports. This is a
Linux-specific hack.
setuid() early, while retaining the ability to bind reserved ports. This is
a Linux-specific hack.
On a 2.2 kernel, BIND 9 does drop many root privileges, so it should be less of
a security risk than a root process that has not dropped privileges.
On a 2.2 kernel, BIND 9 does drop many root privileges, so it should be less
of a security risk than a root process that has not dropped privileges.
If Linux threads ever work correctly, this restriction will go away.
Configuring BIND9 with the --disable-threads option (the default) causes a
non-threaded version to be built, which will allow -u to be used.
Q: Why do I get the following errors:
general: errno2result.c:109: unexpected error:
general: unable to convert errno to isc_result: 14: Bad address
client: UDP client handler shutting down due to fatal receive error: unexpected error
A: This is the result of a Linux kernel bug.
See: http://marc.theaimsgroup.com/?l=linux-netdev&m=113081708031466&w=2
Q: Why does named log the warning message "no TTL specified - using SOA MINTTL
instead"?
@@ -50,26 +40,23 @@ A: Your zone file is illegal according to RFC1035. It must either have a line
Q: Why do I see 5 (or more) copies of named on Linux?
A: Linux threads each show up as a process under ps. The approximate number of
threads running is n+4, where n is the number of CPUs. Note that the amount of
memory used is not cumulative; if each process is using 10M of memory, only a
total of 10M is used.
Newer versions of Linux's ps command hide the individual threads and require -L
to display them.
threads running is n+4, where n is the number of CPUs. Note that the amount
of memory used is not cumulative; if each process is using 10M of memory,
only a total of 10M is used.
Q: Why does BIND 9 log "permission denied" errors accessing its configuration
files or zones on my Linux system even though it is running as root?
A: On Linux, BIND 9 drops most of its root privileges on startup. This including
the privilege to open files owned by other users. Therefore, if the server is
running as root, the configuration files and zone files should also be owned by
root.
A: On Linux, BIND 9 drops most of its root privileges on startup. This
including the privilege to open files owned by other users. Therefore, if
the server is running as root, the configuration files and zone files should
also be owned by root.
Q: Why do I get errors like "dns_zone_load: zone foo/IN: loading master file bar:
ran out of space"?
Q: Why do I get errors like "dns_zone_load: zone foo/IN: loading master file
bar: ran out of space"?
A: This is often caused by TXT records with missing close quotes. Check that all
TXT records containing quoted strings have both open and close quotes.
A: This is often caused by TXT records with missing close quotes. Check that
all TXT records containing quoted strings have both open and close quotes.
Q: How do I produce a usable core file from a multithreaded named on Linux?
@@ -81,16 +68,16 @@ A: If the Linux kernel is 2.4.7 or newer, multithreaded core dumps are usable
Q: How do I restrict people from looking up the server version?
A: Put a "version" option containing something other than the real version in the
"options" section of named.conf. Note doing this will not prevent attacks and
may impede people trying to diagnose problems with your server. Also it is
possible to "fingerprint" nameservers to determine their version.
A: Put a "version" option containing something other than the real version in
the "options" section of named.conf. Note doing this will not prevent
attacks and may impede people trying to diagnose problems with your server.
Also it is possible to "fingerprint" nameservers to determine their version.
Q: How do I restrict only remote users from looking up the server version?
A: The following view statement will intercept lookups as the internal view that
holds the version information will be matched last. The caveats of the previous
answer still apply, of course.
A: The following view statement will intercept lookups as the internal view
that holds the version information will be matched last. The caveats of the
previous answer still apply, of course.
view "chaos" chaos {
match-clients { <those to be refused>; };
@@ -104,45 +91,48 @@ A: The following view statement will intercept lookups as the internal view that
Q: What do "no source of entropy found" or "could not open entropy source foo"
mean?
A: The server requires a source of entropy to perform certain operations, mostly
DNSSEC related. These messages indicate that you have no source of entropy. On
systems with /dev/random or an equivalent, it is used by default. A source of
entropy can also be defined using the random-device option in named.conf.
A: The server requires a source of entropy to perform certain operations,
mostly DNSSEC related. These messages indicate that you have no source of
entropy. On systems with /dev/random or an equivalent, it is used by
default. A source of entropy can also be defined using the random-device
option in named.conf.
Q: I installed BIND 9 and restarted named, but it's still BIND 8. Why?
A: BIND 9 is installed under /usr/local by default. BIND 8 is often installed
under /usr. Check that the correct named is running.
Q: I'm trying to use TSIG to authenticate dynamic updates or zone transfers. I'm
sure I have the keys set up correctly, but the server is rejecting the TSIG.
Why?
Q: I'm trying to use TSIG to authenticate dynamic updates or zone transfers.
I'm sure I have the keys set up correctly, but the server is rejecting the
TSIG. Why?
A: This may be a clock skew problem. Check that the the clocks on the client and
server are properly synchronised (e.g., using ntp).
A: This may be a clock skew problem. Check that the the clocks on the client
and server are properly synchronised (e.g., using ntp).
Q: I'm trying to compile BIND 9, and "make" is failing due to files not being
found. Why?
A: Using a parallel or distributed "make" to build BIND 9 is not supported, and
doesn't work. If you are using one of these, use normal make or gmake instead.
doesn't work. If you are using one of these, use normal make or gmake
instead.
Q: I have a BIND 9 master and a BIND 8.2.3 slave, and the master is logging error
messages like "notify to 10.0.0.1#53 failed: unexpected end of input". What's
wrong?
Q: I have a BIND 9 master and a BIND 8.2.3 slave, and the master is logging
error messages like "notify to 10.0.0.1#53 failed: unexpected end of input".
What's wrong?
A: This error message is caused by a known bug in BIND 8.2.3 and is fixed in BIND
8.2.4. It can be safely ignored - the notify has been acted on by the slave
despite the error message.
A: This error message is caused by a known bug in BIND 8.2.3 and is fixed in
BIND 8.2.4. It can be safely ignored - the notify has been acted on by the
slave despite the error message.
Q: I keep getting log messages like the following. Why?
Dec 4 23:47:59 client 10.0.0.1#1355: updating zone 'example.com/IN': update
failed: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
failed: 'RRset exists (value dependent)' prerequisite not satisfied
(NXRRSET)
A: DNS updates allow the update request to test to see if certain conditions are
met prior to proceeding with the update. The message above is saying that
conditions were not met and the update is not proceeding. See doc/rfc/
A: DNS updates allow the update request to test to see if certain conditions
are met prior to proceeding with the update. The message above is saying
that conditions were not met and the update is not proceeding. See doc/rfc/
rfc2136.txt for more details on prerequisites.
Q: I keep getting log messages like the following. Why?
@@ -150,11 +140,11 @@ Q: I keep getting log messages like the following. Why?
Jun 21 12:00:00.000 client 10.0.0.1#1234: update denied
A: Someone is trying to update your DNS data using the RFC2136 Dynamic Update
protocol. Windows 2000 machines have a habit of sending dynamic update requests
to DNS servers without being specifically configured to do so. If the update
requests are coming from a Windows 2000 machine, see http://
support.microsoft.com/support/kb/articles/q246/8/04.asp for information about
how to turn them off.
protocol. Windows 2000 machines have a habit of sending dynamic update
requests to DNS servers without being specifically configured to do so. If
the update requests are coming from a Windows 2000 machine, see http://
support.microsoft.com/support/kb/articles/q246/8/04.asp for information
about how to turn them off.
Q: I see a log message like the following. Why?
@@ -162,59 +152,59 @@ Q: I see a log message like the following. Why?
A: You are most likely running named as a non-root user, and that user does not
have permission to write in /var/run. The common ways of fixing this are to
create a /var/run/named directory owned by the named user and set pid-file to "
/var/run/named/named.pid", or set pid-file to "named.pid", which will put the
file in the directory specified by the directory option (which, in this case,
must be writable by the named user).
create a /var/run/named directory owned by the named user and set pid-file
to "/var/run/named/named.pid", or set pid-file to "named.pid", which will
put the file in the directory specified by the directory option (which, in
this case, must be writable by the named user).
Q: When I do a "dig . ns", many of the A records for the root servers are missing.
Why?
Q: When I do a "dig . ns", many of the A records for the root servers are
missing. Why?
A: This is normal and harmless. It is a somewhat confusing side effect of the way
BIND 9 does RFC2181 trust ranking and of the efforts BIND 9 makes to avoid
promoting glue into answers.
A: This is normal and harmless. It is a somewhat confusing side effect of the
way BIND 9 does RFC2181 trust ranking and of the efforts BIND 9 makes to
avoid promoting glue into answers.
When BIND 9 first starts up and primes its cache, it receives the root server
addresses as additional data in an authoritative response from a root server,
and these records are eligible for inclusion as additional data in responses.
Subsequently it receives a subset of the root server addresses as additional
data in a non-authoritative (referral) response from a root server. This causes
the addresses to now be considered non-authoritative (glue) data, which is not
eligible for inclusion in responses.
When BIND 9 first starts up and primes its cache, it receives the root
server addresses as additional data in an authoritative response from a root
server, and these records are eligible for inclusion as additional data in
responses. Subsequently it receives a subset of the root server addresses as
additional data in a non-authoritative (referral) response from a root
server. This causes the addresses to now be considered non-authoritative
(glue) data, which is not eligible for inclusion in responses.
The server does have a complete set of root server addresses cached at all
times, it just may not include all of them as additional data, depending on
whether they were last received as answers or as glue. You can always look up
the addresses with explicit queries like "dig a.root-servers.net A".
whether they were last received as answers or as glue. You can always look
up the addresses with explicit queries like "dig a.root-servers.net A".
Q: Zone transfers from my BIND 9 master to my Windows 2000 slave fail. Why?
A: This may be caused by a bug in the Windows 2000 DNS server where DNS messages
larger than 16K are not handled properly. This can be worked around by setting
the option "transfer-format one-answer;". Also check whether your zone contains
domain names with embedded spaces or other special characters, like "John\
032Doe\213s\032Computer", since such names have been known to cause Windows
2000 slaves to incorrectly reject the zone.
A: This may be caused by a bug in the Windows 2000 DNS server where DNS
messages larger than 16K are not handled properly. This can be worked around
by setting the option "transfer-format one-answer;". Also check whether your
zone contains domain names with embedded spaces or other special characters,
like "John\032Doe\213s\032Computer", since such names have been known to
cause Windows 2000 slaves to incorrectly reject the zone.
Q: Why don't my zones reload when I do an "rndc reload" or SIGHUP?
A: A zone can be updated either by editing zone files and reloading the server or
by dynamic update, but not both. If you have enabled dynamic update for a zone
using the "allow-update" option, you are not supposed to edit the zone file by
hand, and the server will not attempt to reload it.
A: A zone can be updated either by editing zone files and reloading the server
or by dynamic update, but not both. If you have enabled dynamic update for a
zone using the "allow-update" option, you are not supposed to edit the zone
file by hand, and the server will not attempt to reload it.
Q: I can query the nameserver from the nameserver but not from other machines.
Why?
A: This is usually the result of the firewall configuration stopping the queries
and / or the replies.
A: This is usually the result of the firewall configuration stopping the
queries and / or the replies.
Q: How can I make a server a slave for both an internal and an external view at
the same time? When I tried, both views on the slave were transferred from the
same view on the master.
the same time? When I tried, both views on the slave were transferred from
the same view on the master.
A: You will need to give the master and slave multiple IP addresses and use those
to make sure you reach the correct view on the other machine.
A: You will need to give the master and slave multiple IP addresses and use
those to make sure you reach the correct view on the other machine.
Master: 10.0.1.1 (internal), 10.0.1.2 (external, IP alias)
internal:
@@ -242,8 +232,8 @@ A: You will need to give the master and slave multiple IP addresses and use thos
transfer-source 10.0.1.4;
query-source address 10.0.1.4;
You put the external address on the alias so that all the other dns clients on
these boxes see the internal view by default.
You put the external address on the alias so that all the other dns clients
on these boxes see the internal view by default.
A: BIND 9.3 and later: Use TSIG to select the appropriate view.
@@ -258,7 +248,7 @@ A: BIND 9.3 and later: Use TSIG to select the appropriate view.
};
view "external" {
match-clients { key external; any; };
server 10.0.1.2 { keys external; };
server 10.0.0.2 { keys external; };
recursion no;
...
};
@@ -274,7 +264,7 @@ A: BIND 9.3 and later: Use TSIG to select the appropriate view.
};
view "external" {
match-clients { key external; any; };
server 10.0.1.1 { keys external; };
server 10.0.0.1 { keys external; };
recursion no;
...
};
@@ -282,8 +272,8 @@ A: BIND 9.3 and later: Use TSIG to select the appropriate view.
Q: I have FreeBSD 4.x and "rndc-confgen -a" just sits there.
A: /dev/random is not configured. Use rndcontrol(8) to tell the kernel to use
certain interrupts as a source of random events. You can make this permanent by
setting rand_irqs in /etc/rc.conf.
certain interrupts as a source of random events. You can make this permanent
by setting rand_irqs in /etc/rc.conf.
/etc/rc.conf
rand_irqs="3 14 15"
@@ -293,33 +283,34 @@ A: /dev/random is not configured. Use rndcontrol(8) to tell the kernel to use
Q: Why is named listening on UDP port other than 53?
A: Named uses a system selected port to make queries of other nameservers. This
behaviour can be overridden by using query-source to lock down the port and/or
address. See also notify-source and transfer-source.
behaviour can be overridden by using query-source to lock down the port and/
or address. See also notify-source and transfer-source.
Q: I get error messages like "multiple RRs of singleton type" and "CNAME and other
data" when transferring a zone. What does this mean?
Q: I get error messages like "multiple RRs of singleton type" and "CNAME and
other data" when transferring a zone. What does this mean?
A: These indicate a malformed master zone. You can identify the exact records
involved by transferring the zone using dig then running named-checkzone on it.
involved by transferring the zone using dig then running named-checkzone on
it.
dig axfr example.com @master-server > tmp
named-checkzone example.com tmp
A CNAME record cannot exist with the same name as another record except for the
DNSSEC records which prove its existance (NSEC).
A CNAME record cannot exist with the same name as another record except for
the DNSSEC records which prove its existance (NSEC).
RFC 1034, Section 3.6.2: "If a CNAME RR is present at a node, no other data
should be present; this ensures that the data for a canonical name and its
aliases cannot be different. This rule also insures that a cached CNAME can be
used without checking with an authoritative server for other RR types."
aliases cannot be different. This rule also insures that a cached CNAME can
be used without checking with an authoritative server for other RR types."
Q: I get error messages like "named.conf:99: unexpected end of input" where 99 is
the last line of named.conf.
Q: I get error messages like "named.conf:99: unexpected end of input" where 99
is the last line of named.conf.
A: Some text editors (notepad and wordpad) fail to put a line title indication
(e.g. CR/LF) on the last line of a text file. This can be fixed by "adding" a
blank line to the end of the file. Named expects to see EOF immediately after
EOL and treats text files where this is not met as truncated.
(e.g. CR/LF) on the last line of a text file. This can be fixed by "adding"
a blank line to the end of the file. Named expects to see EOF immediately
after EOL and treats text files where this is not met as truncated.
Q: I get warning messages like "zone example.com/IN: refresh: failure trying
master 1.2.3.4#53: timed out".
@@ -328,15 +319,15 @@ A: Check that you can make UDP queries from the slave to the master
dig +norec example.com soa @1.2.3.4
You could be generating queries faster than the slave can cope with. Lower the
serial query rate.
You could be generating queries faster than the slave can cope with. Lower
the serial query rate.
serial-query-rate 5; // default 20
Q: How do I share a dynamic zone between multiple views?
A: You choose one view to be master and the second a slave and transfer the zone
between views.
A: You choose one view to be master and the second a slave and transfer the
zone between views.
Master 10.0.1.1:
key "external" {
@@ -379,14 +370,14 @@ Q: I get a error message like "zone wireless.ietf56.ietf.org/IN: loading master
file primaries/wireless.ietf56.ietf.org: no owner".
A: This error is produced when a line in the master file contains leading white
space (tab/space) but the is no current record owner name to inherit the name
from. Usually this is the result of putting white space before a comment.
Forgeting the "@" for the SOA record or indenting the master file.
space (tab/space) but the is no current record owner name to inherit the
name from. Usually this is the result of putting white space before a
comment. Forgeting the "@" for the SOA record or indenting the master file.
Q: Why are my logs in GMT (UTC).
A: You are running chrooted (-t) and have not supplied local timzone information
in the chroot area.
A: You are running chrooted (-t) and have not supplied local timzone
information in the chroot area.
FreeBSD: /etc/localtime
Solaris: /etc/TIMEZONE and /usr/share/lib/zoneinfo
@@ -404,23 +395,23 @@ Q: I get "rndc: connect failed: connection refused" when I try to run rndc.
A: This is usually a configuration error.
First ensure that named is running and no errors are being reported at startup
(/var/log/messages or equivalent). Running "named -g <usual arguments>" from a
title can help at this point.
First ensure that named is running and no errors are being reported at
startup (/var/log/messages or equivalent). Running "named -g <usual
arguments>" from a title can help at this point.
Secondly ensure that named is configured to use rndc either by "rndc-confgen
-a", rndc-confgen or manually. The Administrators Reference manual has details
on how to do this.
-a", rndc-confgen or manually. The Administrators Reference manual has
details on how to do this.
Old versions of rndc-confgen used localhost rather than 127.0.0.1 in /etc/
rndc.conf for the default server. Update /etc/rndc.conf if necessary so that
the default server listed in /etc/rndc.conf matches the addresses used in
named.conf. "localhost" has two address (127.0.0.1 and ::1).
If you use "rndc-confgen -a" and named is running with -t or -u ensure that /
etc/rndc.conf has the correct ownership and that a copy is in the chroot area.
You can do this by re-running "rndc-confgen -a" with appropriate -t and -u
arguments.
If you use "rndc-confgen -a" and named is running with -t or -u ensure that
/etc/rndc.conf has the correct ownership and that a copy is in the chroot
area. You can do this by re-running "rndc-confgen -a" with appropriate -t
and -u arguments.
Q: I don't get RRSIG's returned when I use "dig +dnssec".
@@ -428,11 +419,12 @@ A: You need to ensure DNSSEC is enabled (dnssec-enable yes;).
Q: I get "Error 1067" when starting named under Windows.
A: This is the service manager saying that named exited. You need to examine the
Application log in the EventViewer to find out why.
A: This is the service manager saying that named exited. You need to examine
the Application log in the EventViewer to find out why.
Common causes are that you failed to create "named.conf" (usually "C:\windows\
dns\etc\named.conf") or failed to specify the directory in named.conf.
Common causes are that you failed to create "named.conf" (usually "C:\
windows\dns\etc\named.conf") or failed to specify the directory in
named.conf.
options {
Directory "C:\windows\dns\etc";
@@ -447,11 +439,11 @@ A: These indicate a filesystem permission error preventing named creating /
"dumping master file: sl/tmp-XXXX5il3sQ: open: permission denied"
Named needs write permission on the directory containing the file. Named writes
the new cache file to a temporary file then renames it to the name specified in
named.conf to ensure that the contents are always complete. This is to prevent
named loading a partial zone in the event of power failure or similar
interrupting the write of the master file.
Named needs write permission on the directory containing the file. Named
writes the new cache file to a temporary file then renames it to the name
specified in named.conf to ensure that the contents are always complete.
This is to prevent named loading a partial zone in the event of power
failure or similar interrupting the write of the master file.
Note file names are relative to the directory specified in options and any
chroot directory ([<chroot dir>/][<options dir>]).
@@ -497,8 +489,8 @@ A: If the IN-ADDR.ARPA name covered refers to a internal address space you are
If you are not using these private addresses then a client has queried for
them. You can just ignore the messages, get the offending client to stop
sending you these messages as they are most probably leaking them or setup your
own zones empty zones to serve answers to these queries.
sending you these messages as they are most probably leaking them or setup
your own zones empty zones to serve answers to these queries.
zone "10.IN-ADDR.ARPA" {
type master;
@@ -531,102 +523,3 @@ A: If the IN-ADDR.ARPA name covered refers to a internal address space you are
Future versions of named are likely to do this automatically.
Q: I'm running BIND on Red Hat Enterprise Linux or Fedora Core -
Why can't named update slave zone database files?
Why can't named create DDNS journal files or update the master zones from
journals?
Why can't named create custom log files?
A: Red Hat Security Enhanced Linux (SELinux) policy security protections :
Red Hat have adopted the National Security Agency's SELinux security policy (
see http://www.nsa.gov/selinux ) and recommendations for BIND security , which
are more secure than running named in a chroot and make use of the bind-chroot
environment unecessary .
By default, named is not allowed by the SELinux policy to write, create or
delete any files EXCEPT in these directories:
$ROOTDIR/var/named/slaves
$ROOTDIR/var/named/data
$ROOTDIR/var/tmp
where $ROOTDIR may be set in /etc/sysconfig/named if bind-chroot is installed.
The SELinux policy particularly does NOT allow named to modify the $ROOTDIR/var
/named directory, the default location for master zone database files.
SELinux policy overrules file access permissions - so even if all the files
under /var/named have ownership named:named and mode rw-rw-r--, named will
still not be able to write or create files except in the directories above,
with SELinux in Enforcing mode.
So, to allow named to update slave or DDNS zone files, it is best to locate
them in $ROOTDIR/var/named/slaves, with named.conf zone statements such as:
zone "slave.zone." IN {
type slave;
file "slaves/slave.zone.db";
...
};
zone "ddns.zone." IN {
type master;
allow-updates {...};
file "slaves/ddns.zone.db";
};
To allow named to create its cache dump and statistics files, for example, you
could use named.conf options statements such as:
options {
...
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
...
};
You can also tell SELinux to allow named to update any zone database files, by
setting the SELinux tunable boolean parameter 'named_write_master_zones=1',
using the system-config-securitylevel GUI, using the 'setsebool' command, or in
/etc/selinux/targeted/booleans.
You can disable SELinux protection for named entirely by setting the
'named_disable_trans=1' SELinux tunable boolean parameter.
The SELinux named policy defines these SELinux contexts for named:
named_zone_t : for zone database files - $ROOTDIR/var/named/*
named_conf_t : for named configuration files - $ROOTDIR/etc/{named,rndc}.*
named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,data}}
If you want to retain use of the SELinux policy for named, and put named files
in different locations, you can do so by changing the context of the custom
file locations .
To create a custom configuration file location, eg. '/root/named.conf', to use
with the 'named -c' option, do:
# chcon system_u:object_r:named_conf_t /root/named.conf
To create a custom modifiable named data location, eg. '/var/log/named' for a
log file, do:
# chcon system_u:object_r:named_cache_t /var/log/named
To create a custom zone file location, eg. /root/zones/, do:
# chcon system_u:object_r:named_zone_t /root/zones/{.,*}
See these man-pages for more information : selinux(8), named_selinux(8), chcon
(1), setsebool(8)
+4 -194
View File
@@ -1,7 +1,7 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: FAQ.xml,v 1.12 2006/02/27 21:08:42 marka Exp $ -->
<!-- $Id: FAQ.xml,v 1.4.4.3 2005/11/02 22:53:33 marka Exp $ -->
<article class="faq">
<title>Frequently Asked Questions about BIND 9</title>
@@ -64,26 +64,6 @@
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
Why do I get the following errors:
<programlisting>general: errno2result.c:109: unexpected error:
general: unable to convert errno to isc_result: 14: Bad address
client: UDP client handler shutting down due to fatal receive error: unexpected error</programlisting>
</para>
</question>
<answer>
<para>
This is the result of a Linux kernel bug.
</para>
<para>
See:
<ulink url="http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2">http://marc.theaimsgroup.com/?l=linux-netdev&amp;m=113081708031466&amp;w=2</ulink>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
@@ -125,10 +105,6 @@ example.com. 86400 IN SOA ns hostmaster ( 1 3600 1800 1814400 3600 )</programlis
is not cumulative; if each process is using 10M of memory,
only a total of 10M is used.
</para>
<para>
Newer versions of Linux's ps command hide the individual threads
and require -L to display them.
</para>
</answer>
</qandaentry>
@@ -540,7 +516,7 @@ Master 10.0.1.1:
};
view "external" {
match-clients { key external; any; };
server 10.0.1.2 { keys external; };
server 10.0.0.2 { keys external; };
recursion no;
...
};
@@ -556,7 +532,7 @@ Slave 10.0.1.2:
};
view "external" {
match-clients { key external; any; };
server 10.0.1.1 { keys external; };
server 10.0.0.1 { keys external; };
recursion no;
...
};</programlisting>
@@ -1021,177 +997,11 @@ empty:
1 3600 1200 604800 10800 )
@ 10800 IN NS &lt;name-of-server&gt;.</programlisting>
</informalexample>
<para>
<note>
Future versions of named are likely to do this automatically.
</note>
</para>
</answer>
</qandaentry>
<qandaentry>
<question>
<para>
I'm running BIND on Red Hat Enterprise Linux or Fedora Core -
</para>
<para>
Why can't named update slave zone database files?
</para>
<para>
Why can't named create DDNS journal files or update
the master zones from journals?
</para>
<para>
Why can't named create custom log files?
</para>
</question>
<answer>
<para>
Red Hat Security Enhanced Linux (SELinux) policy security
protections :
</para>
<para>
Red Hat have adopted the National Security Agency's
SELinux security policy ( see http://www.nsa.gov/selinux
) and recommendations for BIND security , which are more
secure than running named in a chroot and make use of
the bind-chroot environment unecessary .
</para>
<para>
By default, named is not allowed by the SELinux policy
to write, create or delete any files EXCEPT in these
directories:
<informalexample>
<programlisting>
$ROOTDIR/var/named/slaves
$ROOTDIR/var/named/data
$ROOTDIR/var/tmp
</programlisting>
</informalexample>
where $ROOTDIR may be set in /etc/sysconfig/named if
bind-chroot is installed.
</para>
<para>
The SELinux policy particularly does NOT allow named to modify
the $ROOTDIR/var/named directory, the default location for master
zone database files.
</para>
<para>
SELinux policy overrules file access permissions - so
even if all the files under /var/named have ownership
named:named and mode rw-rw-r--, named will still not be
able to write or create files except in the directories
above, with SELinux in Enforcing mode.
</para>
<para>
So, to allow named to update slave or DDNS zone files,
it is best to locate them in $ROOTDIR/var/named/slaves,
with named.conf zone statements such as:
<informalexample>
<programlisting>
zone "slave.zone." IN {
type slave;
file "slaves/slave.zone.db";
...
};
zone "ddns.zone." IN {
type master;
allow-updates {...};
file "slaves/ddns.zone.db";
};
</programlisting>
</informalexample>
</para>
<para>
To allow named to create its cache dump and statistics
files, for example, you could use named.conf options
statements such as:
<informalexample>
<programlisting>
options {
...
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
...
};
</programlisting>
</informalexample>
</para>
<para>
You can also tell SELinux to allow named to update any
zone database files, by setting the SELinux tunable boolean
parameter 'named_write_master_zones=1', using the
system-config-securitylevel GUI, using the 'setsebool'
command, or in /etc/selinux/targeted/booleans.
</para>
<para>
You can disable SELinux protection for named entirely by
setting the 'named_disable_trans=1' SELinux tunable boolean
parameter.
</para>
<para>
The SELinux named policy defines these SELinux contexts for named:
<informalexample>
<programlisting>
named_zone_t : for zone database files - $ROOTDIR/var/named/*
named_conf_t : for named configuration files - $ROOTDIR/etc/{named,rndc}.*
named_cache_t: for files modifiable by named - $ROOTDIR/var/{tmp,named/{slaves,data}}
</programlisting>
</informalexample>
</para>
<para>
If you want to retain use of the SELinux policy for named,
and put named files in different locations, you can do
so by changing the context of the custom file locations
.
</para>
<para>
To create a custom configuration file location, eg.
'/root/named.conf', to use with the 'named -c' option,
do:
<informalexample>
<programlisting>
# chcon system_u:object_r:named_conf_t /root/named.conf
</programlisting>
</informalexample>
</para>
<para>
To create a custom modifiable named data location, eg.
'/var/log/named' for a log file, do:
<informalexample>
<programlisting>
# chcon system_u:object_r:named_cache_t /var/log/named
</programlisting>
</informalexample>
</para>
<para>
To create a custom zone file location, eg. /root/zones/, do:
<informalexample>
<programlisting>
# chcon system_u:object_r:named_zone_t /root/zones/{.,*}
</programlisting>
</informalexample>
</para>
<para>
See these man-pages for more information : selinux(8),
named_selinux(8), chcon(1), setsebool(8)
</para>
</answer>
</qandaentry>
</qandaset>
</article>
+1 -1
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: Makefile.in,v 1.45 2005/09/06 03:51:34 marka Exp $
# $Id: Makefile.in,v 1.43.18.2 2005/09/06 03:47:14 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
-13
View File
@@ -401,23 +401,10 @@ Building
Enable DNSSEC signature chasing support in dig.
-DDIG_SIGCHASE=1 (sets -DDIG_SIGCHASE_TD=1 and
-DDIG_SIGCHASE_BU=1)
Disable dropping queries from particular well known ports.
-DNS_CLIENT_DROPPORT=0
LDFLAGS
Linker flags. Defaults to empty string.
The following need to be set when cross compiling.
BUILD_CC
The native C compiler.
BUILD_CFLAGS (optional)
BUILD_CPPFLAGS (optional)
Possible Settings:
-DNEED_OPTARG=1 (optarg is not declared in <unistd.h>)
BUILD_LDFLAGS (optional)
BUILD_LIBS (optional)
To build shared libraries, specify "--with-libtool" on the
configure command line.
+1 -1
View File
@@ -109,4 +109,4 @@ about idnkit and this patch.
Bug reports and comments on this kit should be sent to
mdnkit-bugs@nic.ad.jp and idn-cmt@nic.ad.jp, respectively.
; $Id: README.idnkit,v 1.2 2005/09/09 06:13:57 marka Exp $
; $Id: README.idnkit,v 1.2.2.2 2005/09/12 02:12:08 marka Exp $
+1 -1
View File
@@ -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.44.18.5 2005/04/29 00:15:20 marka Exp $ */
/*! \file */
+1 -1
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: Makefile.in,v 1.28 2005/09/12 02:16:29 marka Exp $
# $Id: Makefile.in,v 1.24.18.4 2005/09/07 00:29:53 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+25 -56
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: check-tool.c,v 1.24 2006/01/07 00:23:35 marka Exp $ */
/* $Id: check-tool.c,v 1.10.18.10 2005/09/30 08:22:58 marka Exp $ */
/*! \file */
@@ -71,9 +71,7 @@ unsigned int zone_options = DNS_ZONEOPT_CHECKNS |
DNS_ZONEOPT_MANYERRORS |
DNS_ZONEOPT_CHECKNAMES |
DNS_ZONEOPT_CHECKINTEGRITY |
DNS_ZONEOPT_CHECKWILDCARD |
DNS_ZONEOPT_WARNMXCNAME |
DNS_ZONEOPT_WARNSRVCNAME;
DNS_ZONEOPT_CHECKWILDCARD;
/*
* This needs to match the list in bin/named/log.c.
@@ -130,11 +128,10 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
case 0:
if (strcasecmp(ai->ai_canonname, namebuf) != 0) {
dns_zone_log(zone, ISC_LOG_ERROR,
"%s/NS '%s' (out of zone) "
"%s/NS '%s' (out of zone) "
"is a CNAME (illegal)",
ownerbuf, namebuf);
/* XXX950 make fatal for 9.5.0 */
/* answer = ISC_FALSE; */
answer = ISC_FALSE;
}
break;
case EAI_NONAME:
@@ -144,8 +141,7 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
dns_zone_log(zone, ISC_LOG_ERROR, "%s/NS '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
/* XXX950 make fatal for 9.5.0 */
return (ISC_TRUE);
return (ISC_FALSE);
default:
dns_zone_log(zone, ISC_LOG_WARNING,
@@ -179,8 +175,7 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
ownerbuf, namebuf,
inet_ntop(AF_INET, rdata.data,
addrbuf, sizeof(addrbuf)));
/* XXX950 make fatal for 9.5.0 */
/* answer = ISC_FALSE; */
answer = ISC_FALSE;
}
dns_rdata_reset(&rdata);
result = dns_rdataset_next(a);
@@ -208,8 +203,7 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
ownerbuf, namebuf,
inet_ntop(AF_INET6, rdata.data,
addrbuf, sizeof(addrbuf)));
/* XXX950 make fatal for 9.5.0. */
/* answer = ISC_FALSE; */
answer = ISC_FALSE;
}
dns_rdata_reset(&rdata);
result = dns_rdataset_next(aaaa);
@@ -252,8 +246,7 @@ checkns(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner,
ownerbuf, namebuf, type,
inet_ntop(cur->ai_family, ptr,
addrbuf, sizeof(addrbuf)));
/* XXX950 make fatal for 9.5.0. */
/* answer = ISC_FALSE; */
answer = ISC_FALSE;
}
}
freeaddrinfo(ai);
@@ -270,8 +263,6 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
char namebuf[DNS_NAME_FORMATSIZE + 1];
char ownerbuf[DNS_NAME_FORMATSIZE];
int result;
int level = ISC_LOG_ERROR;
isc_boolean_t answer = ISC_TRUE;
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_CANONNAME;
@@ -291,21 +282,13 @@ 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) {
if ((zone_options & DNS_ZONEOPT_WARNMXCNAME) != 0)
level = ISC_LOG_WARNING;
if ((zone_options & DNS_ZONEOPT_IGNOREMXCNAME) == 0) {
dns_zone_log(zone, ISC_LOG_WARNING,
"%s/MX '%s' (out of zone) "
"is a CNAME (illegal)",
ownerbuf, namebuf);
if (level == ISC_LOG_ERROR)
answer = ISC_FALSE;
}
}
if (strcasecmp(ai->ai_canonname, namebuf) != 0)
dns_zone_log(zone, ISC_LOG_WARNING,
"%s/MX '%s' (out of zone) "
"is a CNAME (illegal)",
ownerbuf, namebuf);
freeaddrinfo(ai);
return (answer);
break;
case EAI_NONAME:
#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
case EAI_NODATA:
@@ -313,8 +296,7 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
dns_zone_log(zone, ISC_LOG_ERROR, "%s/MX '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
/* XXX950 make fatal for 9.5.0. */
return (ISC_TRUE);
return (ISC_FALSE);
default:
dns_zone_log(zone, ISC_LOG_WARNING,
@@ -322,9 +304,8 @@ checkmx(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
namebuf, gai_strerror(result));
return (ISC_TRUE);
}
#else
return (ISC_TRUE);
#endif
return (ISC_TRUE);
}
static isc_boolean_t
@@ -334,8 +315,6 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
char namebuf[DNS_NAME_FORMATSIZE + 1];
char ownerbuf[DNS_NAME_FORMATSIZE];
int result;
int level = ISC_LOG_ERROR;
isc_boolean_t answer = ISC_TRUE;
memset(&hints, 0, sizeof(hints));
hints.ai_flags = AI_CANONNAME;
@@ -355,21 +334,13 @@ 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) {
if ((zone_options & DNS_ZONEOPT_WARNSRVCNAME) != 0)
level = ISC_LOG_WARNING;
if ((zone_options & DNS_ZONEOPT_IGNORESRVCNAME) == 0) {
dns_zone_log(zone, level,
"%s/SRV '%s' (out of zone) "
"is a CNAME (illegal)",
ownerbuf, namebuf);
if (level == ISC_LOG_ERROR)
answer = ISC_FALSE;
}
}
if (strcasecmp(ai->ai_canonname, namebuf) != 0)
dns_zone_log(zone, ISC_LOG_WARNING,
"%s/SRV '%s' (out of zone) "
"is a CNAME (illegal)",
ownerbuf, namebuf);
freeaddrinfo(ai);
return (answer);
break;
case EAI_NONAME:
#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
case EAI_NODATA:
@@ -377,8 +348,7 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
dns_zone_log(zone, ISC_LOG_ERROR, "%s/SRV '%s' (out of zone) "
"has no addresses records (A or AAAA)",
ownerbuf, namebuf);
/* XXX950 make fatal for 9.5.0. */
return (ISC_TRUE);
return (ISC_FALSE);
default:
dns_zone_log(zone, ISC_LOG_WARNING,
@@ -386,9 +356,8 @@ checksrv(dns_zone_t *zone, dns_name_t *name, dns_name_t *owner) {
namebuf, gai_strerror(result));
return (ISC_TRUE);
}
#else
return (ISC_TRUE);
#endif
return (ISC_TRUE);
}
isc_result_t
+1 -1
View File
@@ -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.7.18.4 2005/06/20 01:19:25 marka Exp $ */
#ifndef CHECK_TOOL_H
#define CHECK_TOOL_H
+1 -1
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.24 2005/10/13 03:13:55 marka Exp $
.\" $Id: named-checkconf.8,v 1.16.18.8 2005/10/13 02:52:58 marka Exp $
.\"
.hy 0
.ad l
+31 -68
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.28.18.11 2005/09/18 07:58:03 marka Exp $ */
/*! \file */
@@ -66,7 +66,7 @@ usage(void) {
/*% directory callback */
static isc_result_t
directory_callback(const char *clausename, const cfg_obj_t *obj, void *arg) {
directory_callback(const char *clausename, cfg_obj_t *obj, void *arg) {
isc_result_t result;
const char *directory;
@@ -91,7 +91,7 @@ directory_callback(const char *clausename, const cfg_obj_t *obj, void *arg) {
}
static isc_boolean_t
get_maps(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
get_maps(cfg_obj_t **maps, const char *name, cfg_obj_t **obj) {
int i;
for (i = 0;; i++) {
if (maps[i] == NULL)
@@ -102,11 +102,11 @@ get_maps(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
}
static isc_boolean_t
get_checknames(const cfg_obj_t **maps, const cfg_obj_t **obj) {
const cfg_listelt_t *element;
const cfg_obj_t *checknames;
const cfg_obj_t *type;
const cfg_obj_t *value;
get_checknames(cfg_obj_t **maps, cfg_obj_t **obj) {
cfg_listelt_t *element;
cfg_obj_t *checknames;
cfg_obj_t *type;
cfg_obj_t *value;
isc_result_t result;
int i;
@@ -135,7 +135,7 @@ get_checknames(const cfg_obj_t **maps, const cfg_obj_t **obj) {
}
static isc_result_t
config_get(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
config_get(cfg_obj_t **maps, const char *name, cfg_obj_t **obj) {
int i;
for (i = 0;; i++) {
@@ -148,23 +148,22 @@ config_get(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
/*% configure the zone */
static isc_result_t
configure_zone(const char *vclass, const char *view,
const cfg_obj_t *zconfig, const cfg_obj_t *vconfig,
const cfg_obj_t *config, isc_mem_t *mctx)
configure_zone(const char *vclass, const char *view, cfg_obj_t *zconfig,
cfg_obj_t *vconfig, cfg_obj_t *config, isc_mem_t *mctx)
{
int i = 0;
isc_result_t result;
const char *zclass;
const char *zname;
const char *zfile;
const cfg_obj_t *maps[4];
const cfg_obj_t *zoptions = NULL;
const cfg_obj_t *classobj = NULL;
const cfg_obj_t *typeobj = NULL;
const cfg_obj_t *fileobj = NULL;
const cfg_obj_t *dbobj = NULL;
const cfg_obj_t *obj = NULL;
const cfg_obj_t *fmtobj = NULL;
cfg_obj_t *maps[4];
cfg_obj_t *zoptions = NULL;
cfg_obj_t *classobj = NULL;
cfg_obj_t *typeobj = NULL;
cfg_obj_t *fileobj = NULL;
cfg_obj_t *dbobj = NULL;
cfg_obj_t *obj = NULL;
cfg_obj_t *fmtobj = NULL;
dns_masterformat_t masterformat;
zone_options = DNS_ZONEOPT_CHECKNS | DNS_ZONEOPT_MANYERRORS;
@@ -226,42 +225,6 @@ configure_zone(const char *vclass, const char *view,
zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
}
obj = NULL;
if (get_maps(maps, "check-mx-cname", &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
} else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
zone_options &= ~DNS_ZONEOPT_WARNMXCNAME;
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
} else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
zone_options |= DNS_ZONEOPT_IGNOREMXCNAME;
} else
INSIST(0);
} else {
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
}
obj = NULL;
if (get_maps(maps, "check-srv-cname", &obj)) {
if (strcasecmp(cfg_obj_asstring(obj), "warn") == 0) {
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
} else if (strcasecmp(cfg_obj_asstring(obj), "fail") == 0) {
zone_options &= ~DNS_ZONEOPT_WARNSRVCNAME;
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
} else if (strcasecmp(cfg_obj_asstring(obj), "ignore") == 0) {
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
zone_options |= DNS_ZONEOPT_IGNORESRVCNAME;
} else
INSIST(0);
} else {
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
}
obj = NULL;
if (get_maps(maps, "check-sibling", &obj)) {
if (cfg_obj_asboolean(obj))
@@ -310,12 +273,12 @@ configure_zone(const char *vclass, const char *view,
/*% configure a view */
static isc_result_t
configure_view(const char *vclass, const char *view, const cfg_obj_t *config,
const cfg_obj_t *vconfig, isc_mem_t *mctx)
configure_view(const char *vclass, const char *view, cfg_obj_t *config,
cfg_obj_t *vconfig, isc_mem_t *mctx)
{
const cfg_listelt_t *element;
const cfg_obj_t *voptions;
const cfg_obj_t *zonelist;
cfg_listelt_t *element;
cfg_obj_t *voptions;
cfg_obj_t *zonelist;
isc_result_t result = ISC_R_SUCCESS;
isc_result_t tresult;
@@ -333,7 +296,7 @@ configure_view(const char *vclass, const char *view, const cfg_obj_t *config,
element != NULL;
element = cfg_list_next(element))
{
const cfg_obj_t *zconfig = cfg_listelt_value(element);
cfg_obj_t *zconfig = cfg_listelt_value(element);
tresult = configure_zone(vclass, view, zconfig, vconfig,
config, mctx);
if (tresult != ISC_R_SUCCESS)
@@ -345,11 +308,11 @@ configure_view(const char *vclass, const char *view, const cfg_obj_t *config,
/*% load zones from the configuration */
static isc_result_t
load_zones_fromconfig(const cfg_obj_t *config, isc_mem_t *mctx) {
const cfg_listelt_t *element;
const cfg_obj_t *classobj;
const cfg_obj_t *views;
const cfg_obj_t *vconfig;
load_zones_fromconfig(cfg_obj_t *config, isc_mem_t *mctx) {
cfg_listelt_t *element;
cfg_obj_t *classobj;
cfg_obj_t *views;
cfg_obj_t *vconfig;
const char *vclass;
isc_result_t result = ISC_R_SUCCESS;
isc_result_t tresult;
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkconf.docbook,v 1.13 2005/07/19 04:55:19 marka Exp $ -->
<!-- $Id: named-checkconf.docbook,v 1.8.18.5 2005/07/19 05:55:41 marka Exp $ -->
<refentry id="man.named-checkconf">
<refentryinfo>
<date>June 14, 2000</date>
+1 -1
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.22 2005/10/13 03:13:56 marka Exp $ -->
<!-- $Id: named-checkconf.html,v 1.9.18.13 2005/10/13 02:52:58 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+4 -18
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2002 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -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.33 2006/01/07 03:34:55 marka Exp $
.\" $Id: named-checkzone.8,v 1.18.18.13 2005/10/13 02:52:58 marka Exp $
.\"
.hy 0
.ad l
@@ -30,9 +30,9 @@
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\-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\-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}
.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}
\fBnamed\-compilezone\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\-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"
.PP
\fBnamed\-checkzone\fR
@@ -141,13 +141,6 @@ Specify whether MX records should be checked to see if they are addresses. Possi
(default) and
\fB"ignore"\fR.
.TP
\-M \fImode\fR
Check if a MX record refers to a CNAME. Possible modes are
\fB"fail"\fR,
\fB"warn"\fR
(default) and
\fB"ignore"\fR.
.TP
\-n \fImode\fR
Specify whether NS records should be checked to see if they are addresses. Possible modes are
\fB"fail"\fR
@@ -171,13 +164,6 @@ Specify the style of the dumped zone file. Possible styles are
\fBnamed\-checkzone\fR
this does not cause any effects unless it dumps the zone contents. It also does not have any meaning if the output format is not text.
.TP
\-S \fImode\fR
Check if a SRV record refers to a CNAME. Possible modes are
\fB"fail"\fR,
\fB"warn"\fR
(default) and
\fB"ignore"\fR.
.TP
\-t \fIdirectory\fR
chroot to
\fIdirectory\fR
+31 -59
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: named-checkzone.c,v 1.43 2006/01/07 00:23:35 marka Exp $ */
/* $Id: named-checkzone.c,v 1.29.18.12 2005/09/18 07:58:03 marka Exp $ */
/*! \file */
@@ -77,8 +77,7 @@ usage(void) {
"[-f inputformat] [-F outputformat] "
"[-t directory] [-w directory] [-k (ignore|warn|fail)] "
"[-n (ignore|warn|fail)] [-m (ignore|warn|fail)] "
"[-i (full|local|none)] [-M (ignore|warn|fail)] "
"[-S (ignore|warn|fail)] [-W (ignore|warn)] "
"[-i (full|local|none)] [-W (ignore|warn)] "
"zonename filename\n", prog_name);
exit(1);
}
@@ -135,10 +134,8 @@ main(int argc, char **argv) {
DNS_ZONEOPT_CHECKWILDCARD);
}
#define ARGCMP(X) (strcmp(isc_commandline_argument, X) == 0)
while ((c = isc_commandline_parse(argc, argv,
"c:df:i:jk:m:n:qst:o:vw:DF:M:S:W:"))
"c:df:i:jk:m:n:qst:o:vw:DF:W:"))
!= EOF) {
switch (c) {
case 'c':
@@ -150,31 +147,35 @@ main(int argc, char **argv) {
break;
case 'i':
if (ARGCMP("full")) {
if (!strcmp(isc_commandline_argument, "full")) {
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY |
DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_TRUE;
docheckns = ISC_TRUE;
dochecksrv = ISC_TRUE;
} else if (ARGCMP("full-sibling")) {
} else if (!strcmp(isc_commandline_argument,
"full-sibling")) {
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_TRUE;
docheckns = ISC_TRUE;
dochecksrv = ISC_TRUE;
} else if (ARGCMP("local")) {
} else if (!strcmp(isc_commandline_argument,
"local")) {
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
zone_options |= DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_FALSE;
docheckns = ISC_FALSE;
dochecksrv = ISC_FALSE;
} else if (ARGCMP("local-sibling")) {
} else if (!strcmp(isc_commandline_argument,
"local-sibling")) {
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_FALSE;
docheckns = ISC_FALSE;
dochecksrv = ISC_FALSE;
} else if (ARGCMP("none")) {
} else if (!strcmp(isc_commandline_argument,
"none")) {
zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
docheckmx = ISC_FALSE;
@@ -200,13 +201,15 @@ main(int argc, char **argv) {
break;
case 'k':
if (ARGCMP("warn")) {
if (!strcmp(isc_commandline_argument, "warn")) {
zone_options |= DNS_ZONEOPT_CHECKNAMES;
zone_options &= ~DNS_ZONEOPT_CHECKNAMESFAIL;
} else if (ARGCMP("fail")) {
} else if (!strcmp(isc_commandline_argument,
"fail")) {
zone_options |= DNS_ZONEOPT_CHECKNAMES |
DNS_ZONEOPT_CHECKNAMESFAIL;
} else if (ARGCMP("ignore")) {
} else if (!strcmp(isc_commandline_argument,
"ignore")) {
zone_options &= ~(DNS_ZONEOPT_CHECKNAMES |
DNS_ZONEOPT_CHECKNAMESFAIL);
} else {
@@ -217,13 +220,13 @@ main(int argc, char **argv) {
break;
case 'n':
if (ARGCMP("ignore")) {
if (!strcmp(isc_commandline_argument, "ignore")) {
zone_options &= ~(DNS_ZONEOPT_CHECKNS|
DNS_ZONEOPT_FATALNS);
} else if (ARGCMP("warn")) {
} else if (!strcmp(isc_commandline_argument, "warn")) {
zone_options |= DNS_ZONEOPT_CHECKNS;
zone_options &= ~DNS_ZONEOPT_FATALNS;
} else if (ARGCMP("fail")) {
} else if (!strcmp(isc_commandline_argument, "fail")) {
zone_options |= DNS_ZONEOPT_CHECKNS|
DNS_ZONEOPT_FATALNS;
} else {
@@ -234,13 +237,15 @@ main(int argc, char **argv) {
break;
case 'm':
if (ARGCMP("warn")) {
if (!strcmp(isc_commandline_argument, "warn")) {
zone_options |= DNS_ZONEOPT_CHECKMX;
zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
} else if (ARGCMP("fail")) {
} else if (!strcmp(isc_commandline_argument,
"fail")) {
zone_options |= DNS_ZONEOPT_CHECKMX |
DNS_ZONEOPT_CHECKMXFAIL;
} else if (ARGCMP("ignore")) {
} else if (!strcmp(isc_commandline_argument,
"ignore")) {
zone_options &= ~(DNS_ZONEOPT_CHECKMX |
DNS_ZONEOPT_CHECKMXFAIL);
} else {
@@ -271,9 +276,10 @@ main(int argc, char **argv) {
break;
case 's':
if (ARGCMP("full"))
if (strcmp(isc_commandline_argument, "full") == 0)
outputstyle = &dns_master_style_full;
else if (ARGCMP("default")) {
else if (strcmp(isc_commandline_argument,
"default") == 0) {
outputstyle = &dns_master_style_default;
} else {
fprintf(stderr,
@@ -299,44 +305,10 @@ main(int argc, char **argv) {
dumpzone++;
break;
case 'M':
if (ARGCMP("fail")) {
zone_options &= ~DNS_ZONEOPT_WARNMXCNAME;
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
} else if (ARGCMP("warn")) {
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
} else if (ARGCMP("ignore")) {
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
zone_options |= DNS_ZONEOPT_IGNOREMXCNAME;
} else {
fprintf(stderr, "invalid argument to -M: %s\n",
isc_commandline_argument);
exit(1);
}
break;
case 'S':
if (ARGCMP("fail")) {
zone_options &= ~DNS_ZONEOPT_WARNSRVCNAME;
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
} else if (ARGCMP("warn")) {
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
} else if (ARGCMP("ignore")) {
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
zone_options |= DNS_ZONEOPT_IGNORESRVCNAME;
} else {
fprintf(stderr, "invalid argument to -S: %s\n",
isc_commandline_argument);
exit(1);
}
break;
case 'W':
if (ARGCMP("warn"))
if (!strcmp(isc_commandline_argument, "warn"))
zone_options |= DNS_ZONEOPT_CHECKWILDCARD;
else if (ARGCMP("ignore"))
else if (!strcmp(isc_commandline_argument, "ignore"))
zone_options &= ~DNS_ZONEOPT_CHECKWILDCARD;
break;
+2 -30
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.docbook,v 1.25 2006/01/07 00:23:35 marka Exp $ -->
<!-- $Id: named-checkzone.docbook,v 1.11.18.11 2005/08/25 00:05:41 marka Exp $ -->
<refentry id="man.named-checkzone">
<refentryinfo>
<date>June 13, 2000</date>
@@ -34,7 +34,6 @@
<copyright>
<year>2004</year>
<year>2005</year>
<year>2006</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -64,11 +63,9 @@
<arg><option>-i <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-k <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-m <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-M <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-n <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-o <replaceable class="parameter">filename</replaceable></option></arg>
<arg><option>-s <replaceable class="parameter">style</replaceable></option></arg>
<arg><option>-S <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-w <replaceable class="parameter">directory</replaceable></option></arg>
<arg><option>-D</option></arg>
@@ -83,7 +80,6 @@
<arg><option>-q</option></arg>
<arg><option>-v</option></arg>
<arg><option>-c <replaceable class="parameter">class</replaceable></option></arg>
<arg><option>-C <replaceable class="parameter">mode</replaceable></option></arg>
<arg><option>-f <replaceable class="parameter">format</replaceable></option></arg>
<arg><option>-F <replaceable class="parameter">format</replaceable></option></arg>
<arg><option>-i <replaceable class="parameter">mode</replaceable></option></arg>
@@ -268,18 +264,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-M <replaceable class="parameter">mode</replaceable></term>
<listitem>
<para>
Check if a MX record refers to a CNAME.
Possible modes are <command>"fail"</command>,
<command>"warn"</command> (default) and
<command>"ignore"</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-n <replaceable class="parameter">mode</replaceable></term>
<listitem>
@@ -325,18 +309,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>-S <replaceable class="parameter">mode</replaceable></term>
<listitem>
<para>
Check if a SRV record refers to a CNAME.
Possible modes are <command>"fail"</command>,
<command>"warn"</command> (default) and
<command>"ignore"</command>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>-t <replaceable class="parameter">directory</replaceable></term>
<listitem>
+9 -23
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2002 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named-checkzone.html,v 1.31 2006/01/07 03:34:55 marka Exp $ -->
<!-- $Id: named-checkzone.html,v 1.11.18.18 2005/10/13 02:52:58 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-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 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">-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 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">-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="id2526157"></a><h2>DESCRIPTION</h2>
<a name="id2526129"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">named-checkzone</strong></span>
checks the syntax and integrity of a zone file. It performs the
same checks as <span><strong class="command">named</strong></span> does when loading a
@@ -53,7 +53,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2526193"></a><h2>OPTIONS</h2>
<a name="id2526164"></a><h2>OPTIONS</h2>
<div class="variablelist"><dl>
<dt><span class="term">-d</span></dt>
<dd><p>
@@ -149,13 +149,6 @@
<span><strong class="command">"warn"</strong></span> (default) and
<span><strong class="command">"ignore"</strong></span>.
</p></dd>
<dt><span class="term">-M <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
Check if a MX record refers to a CNAME.
Possible modes are <span><strong class="command">"fail"</strong></span>,
<span><strong class="command">"warn"</strong></span> (default) and
<span><strong class="command">"ignore"</strong></span>.
</p></dd>
<dt><span class="term">-n <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
Specify whether NS records should be checked to see if they
@@ -186,13 +179,6 @@
It also does not have any meaning if the output format
is not text.
</p></dd>
<dt><span class="term">-S <em class="replaceable"><code>mode</code></em></span></dt>
<dd><p>
Check if a SRV record refers to a CNAME.
Possible modes are <span><strong class="command">"fail"</strong></span>,
<span><strong class="command">"warn"</strong></span> (default) and
<span><strong class="command">"ignore"</strong></span>.
</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
@@ -233,21 +219,21 @@
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526792"></a><h2>RETURN VALUES</h2>
<a name="id2526710"></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="id2526804"></a><h2>SEE ALSO</h2>
<a name="id2526722"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</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="id2526828"></a><h2>AUTHOR</h2>
<a name="id2526746"></a><h2>AUTHOR</h2>
<p><span class="corpauthor">Internet Systems Consortium</span>
</p>
</div>
+1 -1
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: Makefile.in,v 1.39 2005/09/09 14:11:37 marka Exp $
# $Id: Makefile.in,v 1.33.18.6 2005/09/09 14:11:04 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+3 -5
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000-2003 Internet Software Consortium.
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -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.38 2006/01/28 02:15:53 marka Exp $
.\" $Id: dig.1,v 1.23.18.13 2005/10/26 06:02:01 marka Exp $
.\"
.hy 0
.ad l
@@ -30,7 +30,7 @@
dig \- DNS lookup utility
.SH "SYNOPSIS"
.HP 4
\fBdig\fR [@server] [\fB\-b\ \fR\fB\fIaddress\fR\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIfilename\fR\fR] [\fB\-k\ \fR\fB\fIfilename\fR\fR] [\fB\-p\ \fR\fB\fIport#\fR\fR] [\fB\-q\ \fR\fB\fIname\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-x\ \fR\fB\fIaddr\fR\fR] [\fB\-y\ \fR\fB\fI[hmac:]\fR\fIname:key\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [name] [type] [class] [queryopt...]
\fBdig\fR [@server] [\fB\-b\ \fR\fB\fIaddress\fR\fR] [\fB\-c\ \fR\fB\fIclass\fR\fR] [\fB\-f\ \fR\fB\fIfilename\fR\fR] [\fB\-k\ \fR\fB\fIfilename\fR\fR] [\fB\-p\ \fR\fB\fIport#\fR\fR] [\fB\-q\ \fR\fB\fIname\fR\fR] [\fB\-t\ \fR\fB\fItype\fR\fR] [\fB\-x\ \fR\fB\fIaddr\fR\fR] [\fB\-y\ \fR\fB\fIname:key\fR\fR] [\fB\-4\fR] [\fB\-6\fR] [name] [type] [class] [queryopt...]
.HP 4
\fBdig\fR [\fB\-h\fR]
.HP 4
@@ -180,8 +180,6 @@ and their responses using transaction signatures (TSIG), specify a TSIG key file
option. You can also specify the TSIG key itself on the command line using the
\fB\-y\fR
option;
\fIhmac\fR
is the type of the TSIG, default HMAC\-MD5,
\fIname\fR
is the name of the TSIG key and
\fIkey\fR
+10 -79
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.211 2006/01/27 02:35:14 marka Exp $ */
/* $Id: dig.c,v 1.186.18.21 2005/10/14 01:28:19 marka Exp $ */
/*! \file */
@@ -42,7 +42,6 @@
#include <dns/rdatatype.h>
#include <dns/rdataclass.h>
#include <dns/result.h>
#include <dns/tsig.h>
#include <bind9/getaddresses.h>
@@ -153,7 +152,7 @@ help(void) {
" -t type (specify query type)\n"
" -c class (specify query class)\n"
" -k keyfile (specify tsig key file)\n"
" -y [hmac:]name:key (specify named base64 tsig key)\n"
" -y name:key (specify named base64 tsig key)\n"
" -4 (use IPv4 query transport only)\n"
" -6 (use IPv6 query transport only)\n"
" d-opt is of the form +keyword[=value], where keyword is:\n"
@@ -492,8 +491,7 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
msg->counts[DNS_SECTION_AUTHORITY],
msg->counts[DNS_SECTION_ADDITIONAL]);
if (msg != query->lookup->sendmsg &&
(msg->flags & DNS_MESSAGEFLAG_RD) != 0 &&
if ((msg->flags & DNS_MESSAGEFLAG_RD) != 0 &&
(msg->flags & DNS_MESSAGEFLAG_RA) == 0)
printf(";; WARNING: recusion requested "
"but not available\n");
@@ -1106,7 +1104,7 @@ 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)
{
char opt, *value, *ptr, *ptr2, *ptr3;
char opt, *value, *ptr;
isc_result_t result;
isc_boolean_t value_from_next;
isc_textregion_t tr;
@@ -1296,83 +1294,16 @@ dash_option(char *option, char *next, dig_lookup_t **lookup,
value);
return (value_from_next);
case 'y':
ptr = next_token(&value,":"); /* hmac type or name */
ptr = next_token(&value,":");
if (ptr == NULL) {
usage();
}
ptr2 = next_token(&value, ":"); /* name or secret */
if (ptr2 == NULL)
usage();
ptr3 = next_token(&value,":"); /* secret or NULL */
if (ptr3 != NULL) {
if (strcasecmp(ptr, "hmac-md5") == 0) {
hmacname = DNS_TSIG_HMACMD5_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-md5-", 9) == 0) {
hmacname = DNS_TSIG_HMACMD5_NAME;
digestbits = parse_uint(&ptr[9],
"digest-bits [0..128]",
128);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha1") == 0) {
hmacname = DNS_TSIG_HMACSHA1_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha1-", 10) == 0) {
hmacname = DNS_TSIG_HMACSHA1_NAME;
digestbits = parse_uint(&ptr[10],
"digest-bits [0..160]",
160);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha224") == 0) {
hmacname = DNS_TSIG_HMACSHA224_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha224-", 12) == 0) {
hmacname = DNS_TSIG_HMACSHA224_NAME;
digestbits = parse_uint(&ptr[12],
"digest-bits [0..224]",
224);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha256") == 0) {
hmacname = DNS_TSIG_HMACSHA256_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha256-", 12) == 0) {
hmacname = DNS_TSIG_HMACSHA256_NAME;
digestbits = parse_uint(&ptr[12],
"digest-bits [0..256]",
256);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha384") == 0) {
hmacname = DNS_TSIG_HMACSHA384_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha384-", 12) == 0) {
hmacname = DNS_TSIG_HMACSHA384_NAME;
digestbits = parse_uint(&ptr[12],
"digest-bits [0..384]",
384);
digestbits = (digestbits + 7) & ~0x7U;
} else if (strcasecmp(ptr, "hmac-sha512") == 0) {
hmacname = DNS_TSIG_HMACSHA512_NAME;
digestbits = 0;
} else if (strncasecmp(ptr, "hmac-sha512-", 12) == 0) {
hmacname = DNS_TSIG_HMACSHA512_NAME;
digestbits = parse_uint(&ptr[12],
"digest-bits [0..512]",
512);
digestbits = (digestbits + 7) & ~0x7U;
} else {
fprintf(stderr, ";; Warning, ignoring "
"invalid TSIG algorithm %s\n", ptr);
return (value_from_next);
}
ptr = ptr2;
ptr2 = ptr3;
} else {
hmacname = DNS_TSIG_HMACMD5_NAME;
digestbits = 0;
}
strncpy(keynametext, ptr, sizeof(keynametext));
keynametext[sizeof(keynametext)-1]=0;
strncpy(keysecret, ptr2, sizeof(keysecret));
ptr = next_token(&value, "");
if (ptr == NULL)
usage();
strncpy(keysecret, ptr, sizeof(keysecret));
keysecret[sizeof(keysecret)-1]=0;
return (value_from_next);
case 'x':
+3 -5
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.docbook,v 1.30 2006/01/27 23:57:46 marka Exp $ -->
<!-- $Id: dig.docbook,v 1.17.18.11 2005/10/26 04:57:21 marka Exp $ -->
<refentry id="man.dig">
<refentryinfo>
@@ -40,7 +40,6 @@
<copyright>
<year>2004</year>
<year>2005</year>
<year>2006</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
@@ -64,7 +63,7 @@
<arg><option>-q <replaceable class="parameter">name</replaceable></option></arg>
<arg><option>-t <replaceable class="parameter">type</replaceable></option></arg>
<arg><option>-x <replaceable class="parameter">addr</replaceable></option></arg>
<arg><option>-y <replaceable class="parameter"><optional>hmac:</optional>name:key</replaceable></option></arg>
<arg><option>-y <replaceable class="parameter">name:key</replaceable></option></arg>
<arg><option>-4</option></arg>
<arg><option>-6</option></arg>
<arg choice="opt">name</arg>
@@ -282,7 +281,6 @@
responses using transaction signatures (TSIG), specify a TSIG key file
using the <option>-k</option> option. You can also specify the TSIG
key itself on the command line using the <option>-y</option> option;
<parameter>hmac</parameter> is the type of the TSIG, default HMAC-MD5,
<parameter>name</parameter> is the name of the TSIG key and
<parameter>key</parameter> is the actual key. The key is a
base-64
+12 -13
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and distribute this software for any
@@ -14,7 +14,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.html,v 1.32 2006/01/28 02:15:53 marka Exp $ -->
<!-- $Id: dig.html,v 1.13.18.17 2005/10/26 06:02:01 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -29,12 +29,12 @@
</div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">dig</code> [@server] [<code class="option">-b <em class="replaceable"><code>address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-k <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>] [<code class="option">-q <em class="replaceable"><code>name</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>] [<code class="option">-y <em class="replaceable"><code>[<span class="optional">hmac:</span>]name:key</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [name] [type] [class] [queryopt...]</p></div>
<div class="cmdsynopsis"><p><code class="command">dig</code> [@server] [<code class="option">-b <em class="replaceable"><code>address</code></em></code>] [<code class="option">-c <em class="replaceable"><code>class</code></em></code>] [<code class="option">-f <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-k <em class="replaceable"><code>filename</code></em></code>] [<code class="option">-p <em class="replaceable"><code>port#</code></em></code>] [<code class="option">-q <em class="replaceable"><code>name</code></em></code>] [<code class="option">-t <em class="replaceable"><code>type</code></em></code>] [<code class="option">-x <em class="replaceable"><code>addr</code></em></code>] [<code class="option">-y <em class="replaceable"><code>name:key</code></em></code>] [<code class="option">-4</code>] [<code class="option">-6</code>] [name] [type] [class] [queryopt...]</p></div>
<div class="cmdsynopsis"><p><code class="command">dig</code> [<code class="option">-h</code>]</p></div>
<div class="cmdsynopsis"><p><code class="command">dig</code> [global-queryopt...] [query...]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526001"></a><h2>DESCRIPTION</h2>
<a name="id2525995"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">dig</strong></span>
(domain information groper) is a flexible tool
for interrogating DNS name servers. It performs DNS lookups and
@@ -73,7 +73,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2526056"></a><h2>SIMPLE USAGE</h2>
<a name="id2526051"></a><h2>SIMPLE USAGE</h2>
<p>
A typical invocation of <span><strong class="command">dig</strong></span> looks like:
</p>
@@ -119,7 +119,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2526215"></a><h2>OPTIONS</h2>
<a name="id2526210"></a><h2>OPTIONS</h2>
<p>
The <code class="option">-b</code> option sets the source IP address of the query
to <em class="parameter"><code>address</code></em>. This must be a valid
@@ -200,7 +200,6 @@
responses using transaction signatures (TSIG), specify a TSIG key file
using the <code class="option">-k</code> option. You can also specify the TSIG
key itself on the command line using the <code class="option">-y</code> option;
<em class="parameter"><code>hmac</code></em> is the type of the TSIG, default HMAC-MD5,
<em class="parameter"><code>name</code></em> is the name of the TSIG key and
<em class="parameter"><code>key</code></em> is the actual key. The key is a
base-64
@@ -219,7 +218,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2526418"></a><h2>QUERY OPTIONS</h2>
<a name="id2526408"></a><h2>QUERY OPTIONS</h2>
<p><span><strong class="command">dig</strong></span>
provides a number of query options which affect
the way in which lookups are made and the results displayed. Some of
@@ -538,7 +537,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2527675"></a><h2>MULTIPLE QUERIES</h2>
<a name="id2527734"></a><h2>MULTIPLE QUERIES</h2>
<p>
The BIND 9 implementation of <span><strong class="command">dig </strong></span>
supports
@@ -584,7 +583,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2527737"></a><h2>IDN SUPPORT</h2>
<a name="id2527796"></a><h2>IDN SUPPORT</h2>
<p>
If <span><strong class="command">dig</strong></span> has been built with IDN (internationalized
domain name) support, it can accept and display non-ASCII domain names.
@@ -598,14 +597,14 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2527760"></a><h2>FILES</h2>
<a name="id2527818"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
<p><code class="filename">${HOME}/.digrc</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2527777"></a><h2>SEE ALSO</h2>
<a name="id2527835"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">dnssec-keygen</span>(8)</span>,
@@ -613,7 +612,7 @@ dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2527814"></a><h2>BUGS</h2>
<a name="id2527873"></a><h2>BUGS</h2>
<p>
There are probably too many query options.
</p>
+8 -37
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.292 2006/02/17 00:10:42 marka Exp $ */
/* $Id: dighost.c,v 1.259.18.28 2005/10/14 01:28:19 marka Exp $ */
/*! \file
* \note
@@ -161,8 +161,6 @@ int fatalexit = 0;
char keynametext[MXNAME];
char keyfile[MXNAME] = "";
char keysecret[MXNAME] = "";
dns_name_t *hmacname = NULL;
unsigned int digestbits = 0;
isc_buffer_t *namebuf = NULL;
dns_tsigkey_t *key = NULL;
isc_boolean_t validated = ISC_TRUE;
@@ -892,15 +890,14 @@ setup_text_key(void) {
if (result != ISC_R_SUCCESS)
goto failure;
result = dns_tsigkey_create(&keyname, hmacname, secretstore,
secretsize, ISC_FALSE, NULL, 0, 0, mctx,
result = dns_tsigkey_create(&keyname, dns_tsig_hmacmd5_name,
secretstore, secretsize,
ISC_FALSE, NULL, 0, 0, mctx,
NULL, &key);
failure:
if (result != ISC_R_SUCCESS)
printf(";; Couldn't create key %s: %s\n",
keynametext, isc_result_totext(result));
else
dst_key_setbits(key->key, digestbits);
isc_mem_free(mctx, secretstore);
dns_name_invalidate(&keyname);
@@ -921,31 +918,8 @@ setup_file_key(void) {
goto failure;
}
switch (dst_key_alg(dstkey)) {
case DST_ALG_HMACMD5:
hmacname = DNS_TSIG_HMACMD5_NAME;
break;
case DST_ALG_HMACSHA1:
hmacname = DNS_TSIG_HMACSHA1_NAME;
break;
case DST_ALG_HMACSHA224:
hmacname = DNS_TSIG_HMACSHA224_NAME;
break;
case DST_ALG_HMACSHA256:
hmacname = DNS_TSIG_HMACSHA256_NAME;
break;
case DST_ALG_HMACSHA384:
hmacname = DNS_TSIG_HMACSHA384_NAME;
break;
case DST_ALG_HMACSHA512:
hmacname = DNS_TSIG_HMACSHA512_NAME;
break;
default:
printf(";; Couldn't create key %s: bad algorithm\n",
keynametext);
goto failure;
}
result = dns_tsigkey_createfromkey(dst_key_name(dstkey), hmacname,
result = dns_tsigkey_createfromkey(dst_key_name(dstkey),
dns_tsig_hmacmd5_name,
dstkey, ISC_FALSE, NULL, 0, 0,
mctx, NULL, &key);
if (result != ISC_R_SUCCESS) {
@@ -1946,7 +1920,7 @@ setup_lookup(dig_lookup_t *lookup) {
check_result(result, "dns_message_renderbegin");
if (lookup->udpsize > 0 || lookup->dnssec || lookup->edns > -1) {
if (lookup->udpsize == 0)
lookup->udpsize = 4096;
lookup->udpsize = 2048;
if (lookup->edns < 0)
lookup->edns = 0;
add_opt(lookup->sendmsg, lookup->udpsize,
@@ -2825,9 +2799,6 @@ recv_done(isc_task_t *task, isc_event_t *event) {
"(< header size) message received\n");
}
if (result == ISC_R_SUCCESS && (msgflags & DNS_MESSAGEFLAG_QR) == 0)
printf(";; Warning: query response not set\n");
if (!match) {
isc_buffer_invalidate(&query->recvbuf);
isc_buffer_init(&query->recvbuf, query->recvspace, COMMSIZE);
+1 -1
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.24 2005/10/13 03:13:56 marka Exp $
.\" $Id: host.1,v 1.14.18.10 2005/10/13 02:52:59 marka Exp $
.\"
.hy 0
.ad l
+4 -36
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: host.c,v 1.108 2006/03/02 23:48:50 marka Exp $ */
/* $Id: host.c,v 1.94.18.11 2005/08/25 00:43:25 marka Exp $ */
/*! \file */
@@ -39,7 +39,6 @@
#include <dns/rdataclass.h>
#include <dns/rdataset.h>
#include <dns/rdatatype.h>
#include <dns/rdatastruct.h>
#include <dig/dig.h>
@@ -356,32 +355,6 @@ printrdata(dns_message_t *msg, dns_rdataset_t *rdataset, dns_name_t *owner,
return (ISC_R_SUCCESS);
}
static void
chase_cnamechain(dns_message_t *msg, dns_name_t *qname) {
isc_result_t result;
dns_rdataset_t *rdataset;
dns_rdata_cname_t cname;
dns_rdata_t rdata = DNS_RDATA_INIT;
unsigned int i = msg->counts[DNS_SECTION_ANSWER];
while (i-- > 0) {
rdataset = NULL;
result = dns_message_findname(msg, DNS_SECTION_ANSWER, qname,
dns_rdatatype_cname, 0, NULL,
&rdataset);
if (result != ISC_R_SUCCESS)
return;
result = dns_rdataset_first(rdataset);
check_result(result, "dns_rdataset_first");
dns_rdata_reset(&rdata);
dns_rdataset_current(rdataset, &rdata);
result = dns_rdata_tostruct(&rdata, &cname, NULL);
check_result(result, "dns_rdata_tostruct");
dns_name_copy(&cname.cname, qname, NULL);
dns_rdata_freestruct(&cname);
}
}
isc_result_t
printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
isc_boolean_t did_flag = ISC_FALSE;
@@ -420,15 +393,10 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
if (default_lookups && query->lookup->rdtype == dns_rdatatype_a) {
char namestr[DNS_NAME_FORMATSIZE];
dig_lookup_t *lookup;
dns_fixedname_t fixed;
dns_name_t *name;
/* Add AAAA and MX lookups. */
dns_fixedname_init(&fixed);
name = dns_fixedname_name(&fixed);
dns_name_copy(query->lookup->name, name, NULL);
chase_cnamechain(msg, name);
dns_name_format(name, namestr, sizeof(namestr));
dns_name_format(query->lookup->name, namestr, sizeof(namestr));
lookup = clone_lookup(query->lookup, ISC_FALSE);
if (lookup != NULL) {
strncpy(lookup->textname, namestr,
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.docbook,v 1.12 2005/09/09 06:13:59 marka Exp $ -->
<!-- $Id: host.docbook,v 1.5.18.7 2005/09/09 06:22:06 marka Exp $ -->
<refentry id="man.host">
<refentryinfo>
+1 -1
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.21 2005/10/13 03:13:57 marka Exp $ -->
<!-- $Id: host.html,v 1.7.18.14 2005/10/13 02:52:59 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+2 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.h,v 1.98 2006/01/27 23:57:46 marka Exp $ */
/* $Id: dig.h,v 1.82.18.14 2005/08/25 00:43:26 marka Exp $ */
#ifndef DIG_H
#define DIG_H
@@ -257,8 +257,6 @@ extern isc_sockaddr_t bind_address;
extern char keynametext[MXNAME];
extern char keyfile[MXNAME];
extern char keysecret[MXNAME];
extern dns_name_t *hmacname;
extern unsigned int digestbits;
#ifdef DIG_SIGCHASE
extern char trustedkey[MXNAME];
#endif
+3 -3
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -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.8 2006/01/06 01:55:38 marka Exp $
.\" $Id: nslookup.1,v 1.1.10.7 2005/10/13 02:52:59 marka Exp $
.\"
.hy 0
.ad l
@@ -147,7 +147,7 @@ Change the default TCP/UDP name server port to
\fBquerytype=\fR\fIvalue\fR
.TP
\fBtype=\fR\fIvalue\fR
Change the type of the information query.
Change the top of the information query.
.sp
(Default = A; abbreviations = q, ty)
.TP
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nslookup.c,v 1.111 2005/08/25 00:40:50 marka Exp $ */
/* $Id: nslookup.c,v 1.101.18.9 2005/08/25 00:43:25 marka Exp $ */
#include <config.h>
+3 -4
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.docbook,v 1.10 2006/01/06 00:01:44 marka Exp $ -->
<!-- $Id: nslookup.docbook,v 1.4.2.5 2005/08/25 00:33:36 marka Exp $ -->
<!--
- Copyright (c) 1985, 1989
- The Regents of the University of California. All rights reserved.
@@ -71,7 +71,6 @@
<copyright>
<year>2004</year>
<year>2005</year>
<year>2006</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
@@ -386,7 +385,7 @@ nslookup -query=hinfo -timeout=10
<term><constant>type=</constant><replaceable>value</replaceable></term>
<listitem>
<para>
Change the type of the information query.
Change the top of the information query.
</para>
<para>
(Default = A; abbreviations = q, ty)
+9 -9
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: nslookup.html,v 1.13 2006/01/06 01:55:38 marka Exp $ -->
<!-- $Id: nslookup.html,v 1.1.10.12 2005/10/13 02:52:59 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">nslookup</code> [<code class="option">-option</code>] [name | -] [server]</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2525985"></a><h2>DESCRIPTION</h2>
<a name="id2525981"></a><h2>DESCRIPTION</h2>
<p><span><strong class="command">Nslookup</strong></span>
is a program to query Internet domain name servers. <span><strong class="command">Nslookup</strong></span>
has two modes: interactive and non-interactive. Interactive mode allows
@@ -43,7 +43,7 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2526001"></a><h2>ARGUMENTS</h2>
<a name="id2525997"></a><h2>ARGUMENTS</h2>
<p>
Interactive mode is entered in the following cases:
</p>
@@ -76,7 +76,7 @@ nslookup -query=hinfo -timeout=10
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2526042"></a><h2>INTERACTIVE COMMANDS</h2>
<a name="id2526039"></a><h2>INTERACTIVE COMMANDS</h2>
<div class="variablelist"><dl>
<dt><span class="term">host [<span class="optional">server</span>]</span></dt>
<dd>
@@ -231,7 +231,7 @@ nslookup -query=hinfo -timeout=10
<dt><span class="term"><code class="constant">type=</code><em class="replaceable"><code>value</code></em></span></dt>
<dd>
<p>
Change the type of the information query.
Change the top of the information query.
</p>
<p>
(Default = A; abbreviations = q, ty)
@@ -288,19 +288,19 @@ nslookup -query=hinfo -timeout=10
</dl></div>
</div>
<div class="refsect1" lang="en">
<a name="id2528906"></a><h2>FILES</h2>
<a name="id2528835"></a><h2>FILES</h2>
<p><code class="filename">/etc/resolv.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2528918"></a><h2>SEE ALSO</h2>
<a name="id2528846"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">dig</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">host</span>(1)</span>,
<span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2528952"></a><h2>Author</h2>
<a name="id2528881"></a><h2>Author</h2>
<p>
Andrew Cherenson
</p>
+1 -1
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: Makefile.in,v 1.30 2005/05/02 00:26:28 marka Exp $
# $Id: Makefile.in,v 1.26.18.4 2005/05/02 00:26:11 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+1 -1
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.33 2005/10/13 03:13:57 marka Exp $
.\" $Id: dnssec-keygen.8,v 1.23.18.10 2005/10/13 02:53:00 marka Exp $
.\"
.hy 0
.ad l
+6 -100
View File
@@ -1,5 +1,5 @@
/*
* Portions Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2000-2003 Internet Software Consortium.
* Portions Copyright (C) 1995-2000 by Network Associates, Inc.
*
@@ -16,7 +16,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-keygen.c,v 1.73 2006/01/27 02:35:14 marka Exp $ */
/* $Id: dnssec-keygen.c,v 1.66.18.4 2005/09/18 07:58:05 marka Exp $ */
/*! \file */
@@ -49,9 +49,7 @@
const char *program = "dnssec-keygen";
int verbose;
static const char *algs = "RSA | RSAMD5 | DH | DSA | RSASHA1 | HMAC-MD5 |"
" HMAC-SHA1 | HMAC-SHA224 | HMAC-SHA256 | "
" HMAC-SHA384 | HMAC-SHA512";
static const char *algs = "RSA | RSAMD5 | DH | DSA | RSASHA1 | HMAC-MD5";
static isc_boolean_t
dsa_size_ok(int size) {
@@ -72,16 +70,10 @@ usage(void) {
fprintf(stderr, " DH:\t\t[128..4096]\n");
fprintf(stderr, " DSA:\t\t[512..1024] and divisible by 64\n");
fprintf(stderr, " HMAC-MD5:\t[1..512]\n");
fprintf(stderr, " HMAC-SHA1:\t[1..160]\n");
fprintf(stderr, " HMAC-SHA224:\t[1..224]\n");
fprintf(stderr, " HMAC-SHA256:\t[1..256]\n");
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, " name: owner of the key\n");
fprintf(stderr, "Other options:\n");
fprintf(stderr, " -c <class> (default: IN)\n");
fprintf(stderr, " -d <digest bits> (0 => max, default)\n");
fprintf(stderr, " -e use large exponent (RSAMD5/RSASHA1 only)\n");
fprintf(stderr, " -f keyflag: KSK\n");
fprintf(stderr, " -g <generator> use specified generator "
@@ -125,7 +117,6 @@ main(int argc, char **argv) {
isc_entropy_t *ectx = NULL;
dns_rdataclass_t rdclass;
int options = DST_TYPE_PRIVATE | DST_TYPE_PUBLIC;
int dbits = 0;
if (argc == 1)
usage();
@@ -135,7 +126,7 @@ main(int argc, char **argv) {
dns_result_register();
while ((ch = isc_commandline_parse(argc, argv,
"a:b:c:d:ef:g:kn:t:p:s:r:v:h")) != -1)
"a:b:c:ef:g:kn:t:p:s:r:v:h")) != -1)
{
switch (ch) {
case 'a':
@@ -149,11 +140,6 @@ main(int argc, char **argv) {
case 'c':
classname = isc_commandline_argument;
break;
case 'd':
dbits = strtol(isc_commandline_argument, &endp, 10);
if (*endp != '\0' || dbits < 0)
fatal("-d requires a non-negative number");
break;
case 'e':
rsa_exp = 1;
break;
@@ -227,29 +213,9 @@ main(int argc, char **argv) {
if (algname == NULL)
fatal("no algorithm was specified");
if (strcasecmp(algname, "RSA") == 0) {
fprintf(stderr, "The use of RSA (RSAMD5) is not recommended.\n"
"If you still wish to use RSA (RSAMD5) please "
"specify \"-a RSAMD5\"\n");
return (1);
} else if (strcasecmp(algname, "HMAC-MD5") == 0) {
if (strcasecmp(algname, "HMAC-MD5") == 0) {
options |= DST_TYPE_KEY;
alg = DST_ALG_HMACMD5;
} else if (strcasecmp(algname, "HMAC-SHA1") == 0) {
options |= DST_TYPE_KEY;
alg = DST_ALG_HMACSHA1;
} else if (strcasecmp(algname, "HMAC-SHA224") == 0) {
options |= DST_TYPE_KEY;
alg = DST_ALG_HMACSHA224;
} else if (strcasecmp(algname, "HMAC-SHA256") == 0) {
options |= DST_TYPE_KEY;
alg = DST_ALG_HMACSHA256;
} else if (strcasecmp(algname, "HMAC-SHA384") == 0) {
options |= DST_TYPE_KEY;
alg = DST_ALG_HMACSHA384;
} else if (strcasecmp(algname, "HMAC-SHA512") == 0) {
options |= DST_TYPE_KEY;
alg = DST_ALG_HMACSHA512;
} else {
r.base = algname;
r.length = strlen(algname);
@@ -296,56 +262,6 @@ main(int argc, char **argv) {
case DST_ALG_HMACMD5:
if (size < 1 || size > 512)
fatal("HMAC-MD5 key size %d out of range", size);
if (dbits != 0 && (dbits < 80 || dbits > 128))
fatal("HMAC-MD5 digest bits %d out of range", dbits);
if ((dbits % 8) != 0)
fatal("HMAC-MD5 digest bits %d not divisible by 8",
dbits);
break;
case DST_ALG_HMACSHA1:
if (size < 1 || size > 160)
fatal("HMAC-SHA1 key size %d out of range", size);
if (dbits != 0 && (dbits < 80 || dbits > 160))
fatal("HMAC-SHA1 digest bits %d out of range", dbits);
if ((dbits % 8) != 0)
fatal("HMAC-SHA1 digest bits %d not divisible by 8",
dbits);
break;
case DST_ALG_HMACSHA224:
if (size < 1 || size > 224)
fatal("HMAC-SHA224 key size %d out of range", size);
if (dbits != 0 && (dbits < 112 || dbits > 224))
fatal("HMAC-SHA224 digest bits %d out of range", dbits);
if ((dbits % 8) != 0)
fatal("HMAC-SHA224 digest bits %d not divisible by 8",
dbits);
break;
case DST_ALG_HMACSHA256:
if (size < 1 || size > 256)
fatal("HMAC-SHA256 key size %d out of range", size);
if (dbits != 0 && (dbits < 128 || dbits > 256))
fatal("HMAC-SHA256 digest bits %d out of range", dbits);
if ((dbits % 8) != 0)
fatal("HMAC-SHA256 digest bits %d not divisible by 8",
dbits);
break;
case DST_ALG_HMACSHA384:
if (size < 1 || size > 384)
fatal("HMAC-384 key size %d out of range", size);
if (dbits != 0 && (dbits < 192 || dbits > 384))
fatal("HMAC-SHA384 digest bits %d out of range", dbits);
if ((dbits % 8) != 0)
fatal("HMAC-SHA384 digest bits %d not divisible by 8",
dbits);
break;
case DST_ALG_HMACSHA512:
if (size < 1 || size > 512)
fatal("HMAC-SHA512 key size %d out of range", size);
if (dbits != 0 && (dbits < 256 || dbits > 512))
fatal("HMAC-SHA512 digest bits %d out of range", dbits);
if ((dbits % 8) != 0)
fatal("HMAC-SHA512 digest bits %d not divisible by 8",
dbits);
break;
}
@@ -392,10 +308,7 @@ main(int argc, char **argv) {
}
if ((flags & DNS_KEYFLAG_OWNERMASK) == DNS_KEYOWNER_ZONE &&
(alg == DNS_KEYALG_DH || alg == DST_ALG_HMACMD5 ||
alg == DST_ALG_HMACSHA1 || alg == DST_ALG_HMACSHA224 ||
alg == DST_ALG_HMACSHA256 || alg == DST_ALG_HMACSHA384 ||
alg == DST_ALG_HMACSHA512))
(alg == DNS_KEYALG_DH || alg == DST_ALG_HMACMD5))
fatal("a key with algorithm '%s' cannot be a zone key",
algname);
@@ -419,11 +332,6 @@ main(int argc, char **argv) {
break;
case DNS_KEYALG_DSA:
case DST_ALG_HMACMD5:
case DST_ALG_HMACSHA1:
case DST_ALG_HMACSHA224:
case DST_ALG_HMACSHA256:
case DST_ALG_HMACSHA384:
case DST_ALG_HMACSHA512:
param = 0;
break;
}
@@ -452,8 +360,6 @@ main(int argc, char **argv) {
exit(-1);
}
dst_key_setbits(key, dbits);
/*
* Try to read a key with the same name, alg and id from disk.
* If there is one we must continue generating a new one
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-keygen.docbook,v 1.14 2005/08/30 01:50:05 marka Exp $ -->
<!-- $Id: dnssec-keygen.docbook,v 1.7.18.7 2005/08/30 01:42:12 marka Exp $ -->
<refentry id="man.dnssec-keygen">
<refentryinfo>
<date>June 30, 2000</date>
+1 -1
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.23 2005/10/13 03:13:57 marka Exp $ -->
<!-- $Id: dnssec-keygen.html,v 1.9.18.14 2005/10/13 02:53:00 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+1 -1
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.40 2005/10/13 03:13:57 marka Exp $
.\" $Id: dnssec-signzone.8,v 1.28.18.12 2005/10/13 02:53:00 marka Exp $
.\"
.hy 0
.ad l
+9 -69
View File
@@ -1,5 +1,5 @@
/*
* Portions Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
* Portions Copyright (C) 1995-2000 by Network Associates, Inc.
*
@@ -16,7 +16,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dnssec-signzone.c,v 1.197 2006/02/21 23:49:50 marka Exp $ */
/* $Id: dnssec-signzone.c,v 1.177.18.15 2005/11/30 03:44:38 marka Exp $ */
/*! \file */
@@ -632,16 +632,6 @@ loadds(dns_name_t *name, isc_uint32_t ttl, dns_rdataset_t *dsset) {
ttl, &ds, &tuple);
check_result(result, "dns_difftuple_create");
dns_diff_append(&diff, &tuple);
dns_rdata_reset(&ds);
result = dns_ds_buildrdata(name, &key, DNS_DSDIGEST_SHA256,
dsbuf, &ds);
check_result(result, "dns_ds_buildrdata");
result = dns_difftuple_create(mctx, DNS_DIFFOP_ADD, name,
ttl, &ds, &tuple);
check_result(result, "dns_difftuple_create");
dns_diff_append(&diff, &tuple);
}
result = dns_diff_apply(&diff, db, ver);
check_result(result, "dns_diff_apply");
@@ -1101,32 +1091,6 @@ postsign(void) {
dns_dbiterator_destroy(&gdbiter);
}
/*%
* Sign the apex of the zone.
*/
static void
signapex(void) {
dns_dbnode_t *node = NULL;
dns_fixedname_t fixed;
dns_name_t *name;
isc_result_t result;
dns_fixedname_init(&fixed);
name = dns_fixedname_name(&fixed);
result = dns_dbiterator_current(gdbiter, &node, name);
check_result(result, "dns_dbiterator_current()");
signname(node, name);
dumpnode(name, node);
cleannode(gdb, gversion, node);
dns_db_detachnode(gdb, &node);
result = dns_dbiterator_next(gdbiter);
if (result == ISC_R_NOMORE)
finished = ISC_TRUE;
else if (result != ISC_R_SUCCESS)
fatal("failure iterating database: %s",
isc_result_totext(result));
}
/*%
* Assigns a node to a worker thread. This is protected by the master task's
* lock.
@@ -1595,19 +1559,6 @@ writeset(const char *prefix, dns_rdatatype_t type) {
ds.type = dns_rdatatype_dlv;
result = dns_difftuple_create(mctx, DNS_DIFFOP_ADD,
name, 0, &ds, &tuple);
check_result(result, "dns_difftuple_create");
dns_diff_append(&diff, &tuple);
dns_rdata_reset(&ds);
result = dns_ds_buildrdata(gorigin, &rdata,
DNS_DSDIGEST_SHA256,
dsbuf, &ds);
check_result(result, "dns_ds_buildrdata");
if (type == dns_rdatatype_dlv)
ds.type = dns_rdatatype_dlv;
result = dns_difftuple_create(mctx, DNS_DIFFOP_ADD,
name, 0, &ds, &tuple);
} else
result = dns_difftuple_create(mctx, DNS_DIFFOP_ADD,
gorigin, zonettl,
@@ -2126,6 +2077,10 @@ main(int argc, char *argv[]) {
if (result != ISC_R_SUCCESS)
fatal("failed to create task: %s",
isc_result_totext(result));
result = isc_app_onrun(mctx, master, startworker, tasks[i]);
if (result != ISC_R_SUCCESS)
fatal("failed to start task: %s",
isc_result_totext(result));
}
RUNTIME_CHECK(isc_mutex_init(&namelock) == ISC_R_SUCCESS);
@@ -2133,24 +2088,9 @@ main(int argc, char *argv[]) {
RUNTIME_CHECK(isc_mutex_init(&statslock) == ISC_R_SUCCESS);
presign();
signapex();
if (!finished) {
/*
* There is more work to do. Spread it out over multiple
* processors if possible.
*/
for (i = 0; i < (int)ntasks; i++) {
result = isc_app_onrun(mctx, master, startworker,
tasks[i]);
if (result != ISC_R_SUCCESS)
fatal("failed to start task: %s",
isc_result_totext(result));
}
(void)isc_app_run();
if (!finished)
fatal("process aborted by user");
} else
isc_task_detach(&master);
(void)isc_app_run();
if (!finished)
fatal("process aborted by user");
shuttingdown = ISC_TRUE;
for (i = 0; i < (int)ntasks; i++)
isc_task_detach(&tasks[i]);
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dnssec-signzone.docbook,v 1.20 2005/07/19 04:55:20 marka Exp $ -->
<!-- $Id: dnssec-signzone.docbook,v 1.10.18.10 2005/07/19 05:55:43 marka Exp $ -->
<refentry id="man.dnssec-signzone">
<refentryinfo>
<date>June 30, 2000</date>
+1 -1
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.25 2005/10/13 03:13:57 marka Exp $ -->
<!-- $Id: dnssec-signzone.html,v 1.8.18.17 2005/10/13 02:53:00 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+1 -1
View File
@@ -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.40.18.3 2005/07/01 03:55:28 marka Exp $ */
/*! \file */
+1 -1
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: Makefile.in,v 1.87 2005/09/05 00:10:51 marka Exp $
# $Id: Makefile.in,v 1.80.18.7 2005/09/05 00:18:10 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
+1 -1
View File
@@ -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.5.18.5 2005/08/23 04:12:38 marka Exp $ */
/*! \file
* \brief
+3 -85
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.c,v 1.235 2006/01/05 00:01:46 marka Exp $ */
/* $Id: client.c,v 1.219.18.13 2005/10/16 23:29:38 marka Exp $ */
#include <config.h>
@@ -34,13 +34,12 @@
#include <dns/dispatch.h>
#include <dns/events.h>
#include <dns/message.h>
#include <dns/peer.h>
#include <dns/rcode.h>
#include <dns/resolver.h>
#include <dns/rdata.h>
#include <dns/rdataclass.h>
#include <dns/rdatalist.h>
#include <dns/rdataset.h>
#include <dns/resolver.h>
#include <dns/tsig.h>
#include <dns/view.h>
#include <dns/zone.h>
@@ -192,13 +191,6 @@ struct ns_clientmgr {
* Must be greater than any valid state.
*/
/*
* Enable ns_client_dropport() by default.
*/
#ifndef NS_CLIENT_DROPPORT
#define NS_CLIENT_DROPPORT 1
#endif
unsigned int ns_client_requests;
static void client_read(ns_client_t *client);
@@ -1009,34 +1001,6 @@ ns_client_send(ns_client_t *client) {
ns_client_next(client, result);
}
#if NS_CLIENT_DROPPORT
#define DROPPORT_NO 0
#define DROPPORT_REQUEST 1
#define DROPPORT_RESPONSE 2
/*%
* ns_client_dropport determines if certain requests / responses
* should be dropped based on the port number.
*
* Returns:
* \li 0: Don't drop.
* \li 1: Drop request.
* \li 2: Drop (error) response.
*/
static int
ns_client_dropport(in_port_t port) {
switch (port) {
case 7: /* echo */
case 13: /* daytime */
case 19: /* chargen */
case 37: /* time */
return (DROPPORT_REQUEST);
case 464: /* kpasswd */
return (DROPPORT_RESPONSE);
}
return (DROPPORT_NO);
}
#endif
void
ns_client_error(ns_client_t *client, isc_result_t result) {
dns_rcode_t rcode;
@@ -1049,28 +1013,6 @@ ns_client_error(ns_client_t *client, isc_result_t result) {
message = client->message;
rcode = dns_result_torcode(result);
#if NS_CLIENT_DROPPORT
/*
* Don't send FORMERR to ports on the drop port list.
*/
if (rcode == dns_rcode_formerr &&
ns_client_dropport(isc_sockaddr_getport(&client->peeraddr)) !=
DROPPORT_NO) {
char buf[64];
isc_buffer_t b;
isc_buffer_init(&b, buf, sizeof(buf) - 1);
if (dns_rcode_totext(rcode, &b) != ISC_R_SUCCESS)
isc_buffer_putstr(&b, "UNKNOWN RCODE");
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(10),
"dropped error (%.*s) response: suspicious port",
(int)isc_buffer_usedlength(&b), buf);
ns_client_next(client, ISC_R_SUCCESS);
return;
}
#endif
/*
* Message may be an in-progress reply that we had trouble
* with, in which case QR will be set. We need to clear QR before
@@ -1355,17 +1297,6 @@ client_request(isc_task_t *task, isc_event_t *event) {
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
#if NS_CLIENT_DROPPORT
if (ns_client_dropport(isc_sockaddr_getport(&client->peeraddr)) ==
DROPPORT_REQUEST) {
ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(10),
"dropped request: suspicious port");
ns_client_next(client, ISC_R_SUCCESS);
goto cleanup;
}
#endif
ns_client_log(client, NS_LOGCATEGORY_CLIENT,
NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(3),
"%s request",
@@ -1706,19 +1637,6 @@ client_request(isc_task_t *task, isc_event_t *event) {
ISC_LOG_DEBUG(3), ra ? "recursion available" :
"recursion not available");
/*
* Adjust maximum UDP response size for this client.
*/
if (client->udpsize > 512) {
dns_peer_t *peer = NULL;
isc_uint16_t udpsize = view->maxudp;
(void) dns_peerlist_peerbyaddr(view->peers, &netaddr, &peer);
if (peer != NULL)
dns_peer_getmaxudp(peer, &udpsize);
if (client->udpsize > udpsize)
client->udpsize = udpsize;
}
/*
* Dispatch the request.
*/
+45 -107
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: config.c,v 1.72 2006/03/09 03:30:18 marka Exp $ */
/* $Id: config.c,v 1.47.18.16 2005/11/30 03:44:38 marka Exp $ */
/*! \file */
@@ -27,7 +27,6 @@
#include <isc/buffer.h>
#include <isc/log.h>
#include <isc/mem.h>
#include <isc/parseint.h>
#include <isc/region.h>
#include <isc/result.h>
#include <isc/sockaddr.h>
@@ -80,7 +79,7 @@ options {\n\
#endif
"\
recursive-clients 1000;\n\
rrset-order {type NS order random; order cyclic; };\n\
rrset-order {order cyclic;};\n\
serial-queries 20;\n\
serial-query-rate 20;\n\
server-id none;\n\
@@ -98,13 +97,11 @@ options {\n\
use-id-pool true;\n\
use-ixfr true;\n\
edns-udp-size 4096;\n\
max-udp-size 4096;\n\
\n\
/* view */\n\
allow-notify {none;};\n\
allow-update-forwarding {none;};\n\
allow-query-cache { localnets; localhost; };\n\
allow-recursion { localnets; localhost; };\n\
allow-recursion {any;};\n\
# allow-v6-synthesis <obsolete>;\n\
# sortlist <none>\n\
# topology <none>\n\
@@ -136,10 +133,8 @@ options {\n\
acache-cleaning-interval 60;\n\
max-acache-size 0;\n\
dnssec-enable no; /* Make yes for 9.4. */ \n\
dnssec-accept-expired no;\n\
clients-per-query 10;\n\
max-clients-per-query 100;\n\
zero-no-soa-ttl-cache no;\n\
"
" /* zone */\n\
@@ -173,10 +168,6 @@ options {\n\
check-wildcard yes;\n\
check-sibling yes;\n\
check-integrity yes;\n\
check-mx-cname warn;\n\
check-srv-cname warn;\n\
zero-no-soa-ttl yes;\n\
update-check-ksk yes;\n\
};\n\
"
@@ -218,7 +209,7 @@ ns_config_parsedefaults(cfg_parser_t *parser, cfg_obj_t **conf) {
}
isc_result_t
ns_config_get(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
ns_config_get(cfg_obj_t **maps, const char *name, cfg_obj_t **obj) {
int i;
for (i = 0;; i++) {
@@ -230,13 +221,11 @@ ns_config_get(const cfg_obj_t **maps, const char *name, const cfg_obj_t **obj) {
}
isc_result_t
ns_checknames_get(const cfg_obj_t **maps, const char *which,
const cfg_obj_t **obj)
{
const cfg_listelt_t *element;
const cfg_obj_t *checknames;
const cfg_obj_t *type;
const cfg_obj_t *value;
ns_checknames_get(cfg_obj_t **maps, const char *which, cfg_obj_t **obj) {
cfg_listelt_t *element;
cfg_obj_t *checknames;
cfg_obj_t *type;
cfg_obj_t *value;
int i;
for (i = 0;; i++) {
@@ -267,8 +256,8 @@ ns_checknames_get(const cfg_obj_t **maps, const char *which,
}
int
ns_config_listcount(const cfg_obj_t *list) {
const cfg_listelt_t *e;
ns_config_listcount(cfg_obj_t *list) {
cfg_listelt_t *e;
int i = 0;
for (e = cfg_list_first(list); e != NULL; e = cfg_list_next(e))
@@ -278,7 +267,7 @@ ns_config_listcount(const cfg_obj_t *list) {
}
isc_result_t
ns_config_getclass(const cfg_obj_t *classobj, dns_rdataclass_t defclass,
ns_config_getclass(cfg_obj_t *classobj, dns_rdataclass_t defclass,
dns_rdataclass_t *classp) {
isc_textregion_t r;
isc_result_t result;
@@ -297,7 +286,7 @@ ns_config_getclass(const cfg_obj_t *classobj, dns_rdataclass_t defclass,
}
isc_result_t
ns_config_gettype(const cfg_obj_t *typeobj, dns_rdatatype_t deftype,
ns_config_gettype(cfg_obj_t *typeobj, dns_rdatatype_t deftype,
dns_rdatatype_t *typep) {
isc_textregion_t r;
isc_result_t result;
@@ -316,7 +305,7 @@ ns_config_gettype(const cfg_obj_t *typeobj, dns_rdatatype_t deftype,
}
dns_zonetype_t
ns_config_getzonetype(const cfg_obj_t *zonetypeobj) {
ns_config_getzonetype(cfg_obj_t *zonetypeobj) {
dns_zonetype_t ztype = dns_zone_none;
const char *str;
@@ -333,14 +322,14 @@ ns_config_getzonetype(const cfg_obj_t *zonetypeobj) {
}
isc_result_t
ns_config_getiplist(const cfg_obj_t *config, const cfg_obj_t *list,
ns_config_getiplist(cfg_obj_t *config, cfg_obj_t *list,
in_port_t defport, isc_mem_t *mctx,
isc_sockaddr_t **addrsp, isc_uint32_t *countp)
{
int count, i = 0;
const cfg_obj_t *addrlist;
const cfg_obj_t *portobj;
const cfg_listelt_t *element;
cfg_obj_t *addrlist;
cfg_obj_t *portobj;
cfg_listelt_t *element;
isc_sockaddr_t *addrs;
in_port_t port;
isc_result_t result;
@@ -400,12 +389,10 @@ ns_config_putiplist(isc_mem_t *mctx, isc_sockaddr_t **addrsp,
}
static isc_result_t
get_masters_def(const cfg_obj_t *cctx, const char *name,
const cfg_obj_t **ret)
{
get_masters_def(cfg_obj_t *cctx, const char *name, cfg_obj_t **ret) {
isc_result_t result;
const cfg_obj_t *masters = NULL;
const cfg_listelt_t *elt;
cfg_obj_t *masters = NULL;
cfg_listelt_t *elt;
result = cfg_map_get(cctx, "masters", &masters);
if (result != ISC_R_SUCCESS)
@@ -413,7 +400,7 @@ get_masters_def(const cfg_obj_t *cctx, const char *name,
for (elt = cfg_list_first(masters);
elt != NULL;
elt = cfg_list_next(elt)) {
const cfg_obj_t *list;
cfg_obj_t *list;
const char *listname;
list = cfg_listelt_value(elt);
@@ -428,24 +415,24 @@ get_masters_def(const cfg_obj_t *cctx, const char *name,
}
isc_result_t
ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
isc_mem_t *mctx, isc_sockaddr_t **addrsp,
dns_name_t ***keysp, isc_uint32_t *countp)
ns_config_getipandkeylist(cfg_obj_t *config, cfg_obj_t *list, isc_mem_t *mctx,
isc_sockaddr_t **addrsp, dns_name_t ***keysp,
isc_uint32_t *countp)
{
isc_uint32_t addrcount = 0, keycount = 0, i = 0;
isc_uint32_t listcount = 0, l = 0, j;
isc_uint32_t stackcount = 0, pushed = 0;
isc_result_t result;
const cfg_listelt_t *element;
const cfg_obj_t *addrlist;
const cfg_obj_t *portobj;
cfg_listelt_t *element;
cfg_obj_t *addrlist;
cfg_obj_t *portobj;
in_port_t port;
dns_fixedname_t fname;
isc_sockaddr_t *addrs = NULL;
dns_name_t **keys = NULL;
struct { const char *name; } *lists = NULL;
struct {
const cfg_listelt_t *element;
cfg_listelt_t *element;
in_port_t port;
} *stack = NULL;
@@ -479,8 +466,8 @@ ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
element != NULL;
element = cfg_list_next(element))
{
const cfg_obj_t *addr;
const cfg_obj_t *key;
cfg_obj_t *addr;
cfg_obj_t *key;
const char *keystr;
isc_buffer_t b;
@@ -705,10 +692,10 @@ ns_config_putipandkeylist(isc_mem_t *mctx, isc_sockaddr_t **addrsp,
}
isc_result_t
ns_config_getport(const cfg_obj_t *config, in_port_t *portp) {
const cfg_obj_t *maps[3];
const cfg_obj_t *options = NULL;
const cfg_obj_t *portobj = NULL;
ns_config_getport(cfg_obj_t *config, in_port_t *portp) {
cfg_obj_t *maps[3];
cfg_obj_t *options = NULL;
cfg_obj_t *portobj = NULL;
isc_result_t result;
int i;
@@ -731,65 +718,16 @@ ns_config_getport(const cfg_obj_t *config, in_port_t *portp) {
return (ISC_R_SUCCESS);
}
struct keyalgorithms {
const char *str;
enum { hmacnone, hmacmd5, hmacsha1, hmacsha224,
hmacsha256, hmacsha384, hmacsha512 } hmac;
isc_uint16_t size;
} algorithms[] = {
{ "hmac-md5", hmacmd5, 128 },
{ "hmac-md5.sig-alg.reg.int", hmacmd5, 0 },
{ "hmac-md5.sig-alg.reg.int.", hmacmd5, 0 },
{ "hmac-sha1", hmacsha1, 160 },
{ "hmac-sha224", hmacsha224, 224 },
{ "hmac-sha256", hmacsha256, 256 },
{ "hmac-sha384", hmacsha384, 384 },
{ "hmac-sha512", hmacsha512, 512 },
{ NULL, hmacnone, 0 }
};
isc_result_t
ns_config_getkeyalgorithm(const char *str, dns_name_t **name,
isc_uint16_t *digestbits)
ns_config_getkeyalgorithm(const char *str, dns_name_t **name)
{
int i;
size_t len = 0;
isc_uint16_t bits;
isc_result_t result;
for (i = 0; algorithms[i].str != NULL; i++) {
len = strlen(algorithms[i].str);
if (strncasecmp(algorithms[i].str, str, len) == 0 &&
(str[len] == '\0' ||
(algorithms[i].size != 0 && str[len] == '-')))
break;
if (strcasecmp(str, "hmac-md5") == 0 ||
strcasecmp(str, "hmac-md5.sig-alg.reg.int") == 0 ||
strcasecmp(str, "hmac-md5.sig-alg.reg.int.") == 0)
{
if (name != NULL)
*name = dns_tsig_hmacmd5_name;
return (ISC_R_SUCCESS);
}
if (algorithms[i].str == NULL)
return (ISC_R_NOTFOUND);
if (str[len] == '-') {
result = isc_parse_uint16(&bits, str + len + 1, 10);
if (result != ISC_R_SUCCESS)
return (result);
if (bits > algorithms[i].size)
return (ISC_R_RANGE);
} else if (algorithms[i].size == 0)
bits = 128;
else
bits = algorithms[i].size;
if (name != NULL) {
switch (algorithms[i].hmac) {
case hmacmd5: *name = dns_tsig_hmacmd5_name; break;
case hmacsha1: *name = dns_tsig_hmacsha1_name; break;
case hmacsha224: *name = dns_tsig_hmacsha224_name; break;
case hmacsha256: *name = dns_tsig_hmacsha256_name; break;
case hmacsha384: *name = dns_tsig_hmacsha384_name; break;
case hmacsha512: *name = dns_tsig_hmacsha512_name; break;
default:
INSIST(0);
}
}
if (digestbits != NULL)
*digestbits = bits;
return (ISC_R_SUCCESS);
return (ISC_R_NOTFOUND);
}
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.c,v 1.26 2005/04/29 00:36:15 marka Exp $ */
/* $Id: control.c,v 1.20.10.6 2005/04/29 00:55:52 marka Exp $ */
/*! \file */
+53 -55
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: controlconf.c,v 1.50 2006/02/28 02:39:51 marka Exp $ */
/* $Id: controlconf.c,v 1.40.18.6 2005/11/30 03:44:38 marka Exp $ */
/*! \file */
@@ -659,12 +659,10 @@ ns_controls_shutdown(ns_controls_t *controls) {
}
static isc_result_t
cfgkeylist_find(const cfg_obj_t *keylist, const char *keyname,
const cfg_obj_t **objp)
{
const cfg_listelt_t *element;
cfgkeylist_find(cfg_obj_t *keylist, const char *keyname, cfg_obj_t **objp) {
cfg_listelt_t *element;
const char *str;
const cfg_obj_t *obj;
cfg_obj_t *obj;
for (element = cfg_list_first(keylist);
element != NULL;
@@ -683,13 +681,13 @@ cfgkeylist_find(const cfg_obj_t *keylist, const char *keyname,
}
static isc_result_t
controlkeylist_fromcfg(const cfg_obj_t *keylist, isc_mem_t *mctx,
controlkeylist_fromcfg(cfg_obj_t *keylist, isc_mem_t *mctx,
controlkeylist_t *keyids)
{
const cfg_listelt_t *element;
cfg_listelt_t *element;
char *newstr = NULL;
const char *str;
const cfg_obj_t *obj;
cfg_obj_t *obj;
controlkey_t *key = NULL;
for (element = cfg_list_first(keylist);
@@ -724,11 +722,11 @@ controlkeylist_fromcfg(const cfg_obj_t *keylist, isc_mem_t *mctx,
}
static void
register_keys(const cfg_obj_t *control, const cfg_obj_t *keylist,
register_keys(cfg_obj_t *control, cfg_obj_t *keylist,
controlkeylist_t *keyids, isc_mem_t *mctx, const char *socktext)
{
controlkey_t *keyid, *next;
const cfg_obj_t *keydef;
cfg_obj_t *keydef;
char secret[1024];
isc_buffer_t b;
isc_result_t result;
@@ -748,8 +746,8 @@ register_keys(const cfg_obj_t *control, const cfg_obj_t *keylist,
ISC_LIST_UNLINK(*keyids, keyid, link);
free_controlkey(keyid, mctx);
} else {
const cfg_obj_t *algobj = NULL;
const cfg_obj_t *secretobj = NULL;
cfg_obj_t *algobj = NULL;
cfg_obj_t *secretobj = NULL;
const char *algstr = NULL;
const char *secretstr = NULL;
@@ -760,7 +758,7 @@ register_keys(const cfg_obj_t *control, const cfg_obj_t *keylist,
algstr = cfg_obj_asstring(algobj);
secretstr = cfg_obj_asstring(secretobj);
if (ns_config_getkeyalgorithm(algstr, NULL, NULL) !=
if (ns_config_getkeyalgorithm(algstr, NULL) !=
ISC_R_SUCCESS)
{
cfg_obj_log(control, ns_g_lctx,
@@ -817,9 +815,9 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
isc_result_t result;
cfg_parser_t *pctx = NULL;
cfg_obj_t *config = NULL;
const cfg_obj_t *key = NULL;
const cfg_obj_t *algobj = NULL;
const cfg_obj_t *secretobj = NULL;
cfg_obj_t *key = NULL;
cfg_obj_t *algobj = NULL;
cfg_obj_t *secretobj = NULL;
const char *algstr = NULL;
const char *secretstr = NULL;
controlkey_t *keyid = NULL;
@@ -850,7 +848,7 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
algstr = cfg_obj_asstring(algobj);
secretstr = cfg_obj_asstring(secretobj);
if (ns_config_getkeyalgorithm(algstr, NULL, NULL) != ISC_R_SUCCESS) {
if (ns_config_getkeyalgorithm(algstr, NULL) != ISC_R_SUCCESS) {
cfg_obj_log(key, ns_g_lctx,
ISC_LOG_WARNING,
"unsupported algorithm '%s' in "
@@ -900,13 +898,12 @@ get_rndckey(isc_mem_t *mctx, controlkeylist_t *keyids) {
* valid or both are NULL.
*/
static void
get_key_info(const cfg_obj_t *config, const cfg_obj_t *control,
const cfg_obj_t **global_keylistp,
const cfg_obj_t **control_keylistp)
get_key_info(cfg_obj_t *config, cfg_obj_t *control,
cfg_obj_t **global_keylistp, cfg_obj_t **control_keylistp)
{
isc_result_t result;
const cfg_obj_t *control_keylist = NULL;
const cfg_obj_t *global_keylist = NULL;
cfg_obj_t *control_keylist = NULL;
cfg_obj_t *global_keylist = NULL;
REQUIRE(global_keylistp != NULL && *global_keylistp == NULL);
REQUIRE(control_keylistp != NULL && *control_keylistp == NULL);
@@ -925,15 +922,16 @@ get_key_info(const cfg_obj_t *config, const cfg_obj_t *control,
}
static void
update_listener(ns_controls_t *cp, controllistener_t **listenerp,
const cfg_obj_t *control, const cfg_obj_t *config,
isc_sockaddr_t *addr, cfg_aclconfctx_t *aclconfctx,
const char *socktext, isc_sockettype_t type)
update_listener(ns_controls_t *cp,
controllistener_t **listenerp, cfg_obj_t *control,
cfg_obj_t *config, isc_sockaddr_t *addr,
cfg_aclconfctx_t *aclconfctx, const char *socktext,
isc_sockettype_t type)
{
controllistener_t *listener;
const cfg_obj_t *allow;
const cfg_obj_t *global_keylist = NULL;
const cfg_obj_t *control_keylist = NULL;
cfg_obj_t *allow;
cfg_obj_t *global_keylist = NULL;
cfg_obj_t *control_keylist = NULL;
dns_acl_t *new_acl = NULL;
controlkeylist_t keys;
isc_result_t result = ISC_R_SUCCESS;
@@ -1064,15 +1062,15 @@ update_listener(ns_controls_t *cp, controllistener_t **listenerp,
static void
add_listener(ns_controls_t *cp, controllistener_t **listenerp,
const cfg_obj_t *control, const cfg_obj_t *config,
isc_sockaddr_t *addr, cfg_aclconfctx_t *aclconfctx,
const char *socktext, isc_sockettype_t type)
cfg_obj_t *control, cfg_obj_t *config, isc_sockaddr_t *addr,
cfg_aclconfctx_t *aclconfctx, const char *socktext,
isc_sockettype_t type)
{
isc_mem_t *mctx = cp->server->mctx;
controllistener_t *listener;
const cfg_obj_t *allow;
const cfg_obj_t *global_keylist = NULL;
const cfg_obj_t *control_keylist = NULL;
cfg_obj_t *allow;
cfg_obj_t *global_keylist = NULL;
cfg_obj_t *control_keylist = NULL;
dns_acl_t *new_acl = NULL;
isc_result_t result = ISC_R_SUCCESS;
@@ -1202,13 +1200,13 @@ add_listener(ns_controls_t *cp, controllistener_t **listenerp,
}
isc_result_t
ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
ns_controls_configure(ns_controls_t *cp, cfg_obj_t *config,
cfg_aclconfctx_t *aclconfctx)
{
controllistener_t *listener;
controllistenerlist_t new_listeners;
const cfg_obj_t *controlslist = NULL;
const cfg_listelt_t *element, *element2;
cfg_obj_t *controlslist = NULL;
cfg_listelt_t *element, *element2;
char socktext[ISC_SOCKADDR_FORMATSIZE];
ISC_LIST_INIT(new_listeners);
@@ -1230,8 +1228,8 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
for (element = cfg_list_first(controlslist);
element != NULL;
element = cfg_list_next(element)) {
const cfg_obj_t *controls;
const cfg_obj_t *inetcontrols = NULL;
cfg_obj_t *controls;
cfg_obj_t *inetcontrols = NULL;
controls = cfg_listelt_value(element);
(void)cfg_map_get(controls, "inet", &inetcontrols);
@@ -1241,9 +1239,9 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
for (element2 = cfg_list_first(inetcontrols);
element2 != NULL;
element2 = cfg_list_next(element2)) {
const cfg_obj_t *control;
const cfg_obj_t *obj;
isc_sockaddr_t addr;
cfg_obj_t *control;
cfg_obj_t *obj;
isc_sockaddr_t *addr;
/*
* The parser handles BIND 8 configuration file
@@ -1253,12 +1251,12 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
control = cfg_listelt_value(element2);
obj = cfg_tuple_get(control, "address");
addr = *cfg_obj_assockaddr(obj);
if (isc_sockaddr_getport(&addr) == 0)
isc_sockaddr_setport(&addr,
addr = cfg_obj_assockaddr(obj);
if (isc_sockaddr_getport(addr) == 0)
isc_sockaddr_setport(addr,
NS_CONTROL_PORT);
isc_sockaddr_format(&addr, socktext,
isc_sockaddr_format(addr, socktext,
sizeof(socktext));
isc_log_write(ns_g_lctx,
@@ -1269,7 +1267,7 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
socktext);
update_listener(cp, &listener, control, config,
&addr, aclconfctx, socktext,
addr, aclconfctx, socktext,
isc_sockettype_tcp);
if (listener != NULL)
@@ -1284,7 +1282,7 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
* This is a new listener.
*/
add_listener(cp, &listener, control,
config, &addr, aclconfctx,
config, addr, aclconfctx,
socktext,
isc_sockettype_tcp);
@@ -1296,8 +1294,8 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
for (element = cfg_list_first(controlslist);
element != NULL;
element = cfg_list_next(element)) {
const cfg_obj_t *controls;
const cfg_obj_t *unixcontrols = NULL;
cfg_obj_t *controls;
cfg_obj_t *unixcontrols = NULL;
controls = cfg_listelt_value(element);
(void)cfg_map_get(controls, "unix", &unixcontrols);
@@ -1307,8 +1305,8 @@ ns_controls_configure(ns_controls_t *cp, const cfg_obj_t *config,
for (element2 = cfg_list_first(unixcontrols);
element2 != NULL;
element2 = cfg_list_next(element2)) {
const cfg_obj_t *control;
const cfg_obj_t *path;
cfg_obj_t *control;
cfg_obj_t *path;
isc_sockaddr_t addr;
isc_result_t result;
+1 -1
View File
@@ -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.2.18.2 2005/04/29 00:15:34 marka Exp $ */
#ifndef NAMED_BUILTIN_H
#define NAMED_BUILTIN_H 1
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: client.h,v 1.77 2005/08/15 01:21:04 marka Exp $ */
/* $Id: client.h,v 1.69.18.7 2005/08/15 01:46:49 marka Exp $ */
#ifndef NAMED_CLIENT_H
#define NAMED_CLIENT_H 1
+14 -16
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.6.18.3 2005/04/29 00:15:34 marka Exp $ */
#ifndef NAMED_CONFIG_H
#define NAMED_CONFIG_H 1
@@ -31,28 +31,27 @@ isc_result_t
ns_config_parsedefaults(cfg_parser_t *parser, cfg_obj_t **conf);
isc_result_t
ns_config_get(const cfg_obj_t **maps, const char* name, const cfg_obj_t **obj);
ns_config_get(cfg_obj_t **maps, const char* name, cfg_obj_t **obj);
isc_result_t
ns_checknames_get(const cfg_obj_t **maps, const char* name,
const cfg_obj_t **obj);
ns_checknames_get(cfg_obj_t **maps, const char* name, cfg_obj_t **obj);
int
ns_config_listcount(const cfg_obj_t *list);
ns_config_listcount(cfg_obj_t *list);
isc_result_t
ns_config_getclass(const cfg_obj_t *classobj, dns_rdataclass_t defclass,
ns_config_getclass(cfg_obj_t *classobj, dns_rdataclass_t defclass,
dns_rdataclass_t *classp);
isc_result_t
ns_config_gettype(const cfg_obj_t *typeobj, dns_rdatatype_t deftype,
ns_config_gettype(cfg_obj_t *typeobj, dns_rdatatype_t deftype,
dns_rdatatype_t *typep);
dns_zonetype_t
ns_config_getzonetype(const cfg_obj_t *zonetypeobj);
ns_config_getzonetype(cfg_obj_t *zonetypeobj);
isc_result_t
ns_config_getiplist(const cfg_obj_t *config, const cfg_obj_t *list,
ns_config_getiplist(cfg_obj_t *config, cfg_obj_t *list,
in_port_t defport, isc_mem_t *mctx,
isc_sockaddr_t **addrsp, isc_uint32_t *countp);
@@ -61,19 +60,18 @@ ns_config_putiplist(isc_mem_t *mctx, isc_sockaddr_t **addrsp,
isc_uint32_t count);
isc_result_t
ns_config_getipandkeylist(const cfg_obj_t *config, const cfg_obj_t *list,
isc_mem_t *mctx, isc_sockaddr_t **addrsp,
dns_name_t ***keys, isc_uint32_t *countp);
ns_config_getipandkeylist(cfg_obj_t *config, cfg_obj_t *list, isc_mem_t *mctx,
isc_sockaddr_t **addrsp, dns_name_t ***keys,
isc_uint32_t *countp);
void
ns_config_putipandkeylist(isc_mem_t *mctx, isc_sockaddr_t **addrsp,
dns_name_t ***keys, isc_uint32_t count);
isc_result_t
ns_config_getport(const cfg_obj_t *config, in_port_t *portp);
ns_config_getport(cfg_obj_t *config, in_port_t *portp);
isc_result_t
ns_config_getkeyalgorithm(const char *str, dns_name_t **name,
isc_uint16_t *digestbits);
ns_config_getkeyalgorithm(const char *str, dns_name_t **name);
#endif /* NAMED_CONFIG_H */
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: control.h,v 1.21 2006/03/02 00:37:23 marka Exp $ */
/* $Id: control.h,v 1.14.18.5 2005/04/27 05:00:35 sra Exp $ */
#ifndef NAMED_CONTROL_H
#define NAMED_CONTROL_H 1
@@ -71,7 +71,7 @@ ns_controls_destroy(ns_controls_t **ctrlsp);
*/
isc_result_t
ns_controls_configure(ns_controls_t *controls, const cfg_obj_t *config,
ns_controls_configure(ns_controls_t *controls, cfg_obj_t *config,
cfg_aclconfctx_t *aclconfctx);
/*%<
* Configure zero or more command channels into 'controls'
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: globals.h,v 1.68 2006/03/02 00:37:23 marka Exp $ */
/* $Id: globals.h,v 1.64.18.2 2005/04/29 00:15:34 marka Exp $ */
#ifndef NAMED_GLOBALS_H
#define NAMED_GLOBALS_H 1
@@ -77,7 +77,7 @@ EXTERN unsigned int ns_g_debuglevel INIT(0);
* Current configuration information.
*/
EXTERN cfg_obj_t * ns_g_config INIT(NULL);
EXTERN const cfg_obj_t * ns_g_defaults INIT(NULL);
EXTERN cfg_obj_t * ns_g_defaults INIT(NULL);
EXTERN const char * ns_g_conffile INIT(NS_SYSCONFDIR
"/named.conf");
EXTERN const char * ns_g_keyfile INIT(NS_SYSCONFDIR
+1 -1
View File
@@ -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.26.18.4 2005/04/27 05:00:35 sra Exp $ */
#ifndef NAMED_INTERFACEMGR_H
#define NAMED_INTERFACEMGR_H 1
+1 -1
View File
@@ -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.11.18.2 2005/04/29 00:15:34 marka Exp $ */
#ifndef NAMED_LISTENLIST_H
#define NAMED_LISTENLIST_H 1
+1 -1
View File
@@ -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.21.18.2 2005/04/29 00:15:35 marka Exp $ */
#ifndef NAMED_LOG_H
#define NAMED_LOG_H 1
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.11.18.2 2005/04/29 00:15:35 marka Exp $ */
#ifndef NAMED_LOGCONF_H
#define NAMED_LOGCONF_H 1
@@ -25,7 +25,7 @@
#include <isc/log.h>
isc_result_t
ns_log_configure(isc_logconfig_t *logconf, const cfg_obj_t *logstmt);
ns_log_configure(isc_logconfig_t *logconf, cfg_obj_t *logstmt);
/*%<
* Set up the logging configuration in '*logconf' according to
* the named.conf data in 'logstmt'.
+1 -1
View File
@@ -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.4.18.2 2005/04/29 00:15:35 marka Exp $ */
/*! \file */
+1 -1
View File
@@ -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.14.18.2 2005/04/29 00:15:36 marka Exp $ */
#ifndef NAMED_LWDCLIENT_H
#define NAMED_LWDCLIENT_H 1
+4 -5
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.13.18.2 2005/04/29 00:15:36 marka Exp $ */
#ifndef NAMED_LWRESD_H
#define NAMED_LWRESD_H 1
@@ -58,7 +58,7 @@ struct ns_lwreslistener {
* Configure lwresd.
*/
isc_result_t
ns_lwresd_configure(isc_mem_t *mctx, const cfg_obj_t *config);
ns_lwresd_configure(isc_mem_t *mctx, cfg_obj_t *config);
isc_result_t
ns_lwresd_parseeresolvconf(isc_mem_t *mctx, cfg_parser_t *pctx,
@@ -75,8 +75,7 @@ ns_lwresd_shutdown(void);
*/
/*% create manager */
isc_result_t
ns_lwdmanager_create(isc_mem_t *mctx, const cfg_obj_t *lwres,
ns_lwresd_t **lwresdp);
ns_lwdmanager_create(isc_mem_t *mctx, cfg_obj_t *lwres, ns_lwresd_t **lwresdp);
/*% attach to manager */
void
+1 -1
View File
@@ -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.5.18.2 2005/04/29 00:15:36 marka Exp $ */
#ifndef NAMED_LWSEARCH_H
#define NAMED_LWSEARCH_H 1
+1 -1
View File
@@ -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.11.18.2 2005/04/29 00:15:37 marka Exp $ */
#ifndef NAMED_MAIN_H
#define NAMED_MAIN_H 1
+1 -1
View File
@@ -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.10.18.2 2005/04/29 00:15:37 marka Exp $ */
#ifndef NAMED_NOTIFY_H
#define NAMED_NOTIFY_H 1
+1 -1
View File
@@ -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.2.2.4 2005/05/13 01:32:46 marka Exp $ */
#ifndef NS_SMF_GLOBALS_H
#define NS_SMF_GLOBALS_H 1
+1 -1
View File
@@ -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.36.18.2 2005/04/29 00:15:37 marka Exp $ */
#ifndef NAMED_QUERY_H
#define NAMED_QUERY_H 1
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.h,v 1.82 2006/03/02 00:37:23 marka Exp $ */
/* $Id: server.h,v 1.73.18.5 2005/08/15 01:46:49 marka Exp $ */
#ifndef NAMED_SERVER_H
#define NAMED_SERVER_H 1
@@ -219,6 +219,6 @@ ns_server_dumprecursing(ns_server_t *server);
* Maintain a list of dispatches that require reserved ports.
*/
void
ns_add_reserved_dispatch(ns_server_t *server, const isc_sockaddr_t *addr);
ns_add_reserved_dispatch(ns_server_t *server, isc_sockaddr_t *addr);
#endif /* NAMED_SERVER_H */
+7 -8
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.5.18.2 2005/04/29 00:15:38 marka Exp $ */
#ifndef NAMED_SORTLIST_H
#define NAMED_SORTLIST_H 1
@@ -30,7 +30,7 @@
* Type for callback functions that rank addresses.
*/
typedef int
(*dns_addressorderfunc_t)(const isc_netaddr_t *address, const void *arg);
(*dns_addressorderfunc_t)(isc_netaddr_t *address, void *arg);
/*%
* Return value type for setup_sortlist.
@@ -42,8 +42,7 @@ typedef enum {
} ns_sortlisttype_t;
ns_sortlisttype_t
ns_sortlist_setup(dns_acl_t *acl, isc_netaddr_t *clientaddr,
const void **argp);
ns_sortlist_setup(dns_acl_t *acl, isc_netaddr_t *clientaddr, void **argp);
/*%<
* Find the sortlist statement in 'acl' that applies to 'clientaddr', if any.
*
@@ -58,14 +57,14 @@ ns_sortlist_setup(dns_acl_t *acl, isc_netaddr_t *clientaddr,
*/
int
ns_sortlist_addrorder1(const isc_netaddr_t *addr, const void *arg);
ns_sortlist_addrorder1(isc_netaddr_t *addr, void *arg);
/*%<
* Find the sort order of 'addr' in 'arg', the matching element
* of a 1-element top-level sortlist statement.
*/
int
ns_sortlist_addrorder2(const isc_netaddr_t *addr, const void *arg);
ns_sortlist_addrorder2(isc_netaddr_t *addr, void *arg);
/*%<
* Find the sort order of 'addr' in 'arg', a topology-like
* ACL forming the second element in a 2-element top-level
@@ -75,7 +74,7 @@ ns_sortlist_addrorder2(const isc_netaddr_t *addr, const void *arg);
void
ns_sortlist_byaddrsetup(dns_acl_t *sortlist_acl, isc_netaddr_t *client_addr,
dns_addressorderfunc_t *orderp,
const void **argp);
void **argp);
/*%<
* Find the sortlist statement in 'acl' that applies to 'clientaddr', if any.
* If a sortlist statement applies, return in '*orderp' a pointer to a function
+4 -4
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.10.18.2 2005/04/29 00:15:38 marka Exp $ */
#ifndef NS_TKEYCONF_H
#define NS_TKEYCONF_H 1
@@ -30,8 +30,8 @@
ISC_LANG_BEGINDECLS
isc_result_t
ns_tkeyctx_fromconfig(const cfg_obj_t *options, isc_mem_t *mctx,
isc_entropy_t *ectx, dns_tkeyctx_t **tctxp);
ns_tkeyctx_fromconfig(cfg_obj_t *options, isc_mem_t *mctx, isc_entropy_t *ectx,
dns_tkeyctx_t **tctxp);
/*%<
* Create a TKEY context and configure it, including the default DH key
* and default domain, according to 'options'.
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.10.18.2 2005/04/29 00:15:38 marka Exp $ */
#ifndef NS_TSIGCONF_H
#define NS_TSIGCONF_H 1
@@ -28,7 +28,7 @@
ISC_LANG_BEGINDECLS
isc_result_t
ns_tsigkeyring_fromconfig(const cfg_obj_t *config, const cfg_obj_t *vconfig,
ns_tsigkeyring_fromconfig(cfg_obj_t *config, cfg_obj_t *vconfig,
isc_mem_t *mctx, dns_tsig_keyring_t **ringp);
/*%<
* Create a TSIG key ring and configure it according to the 'key'
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: types.h,v 1.23 2005/04/29 00:22:33 marka Exp $ */
/* $Id: types.h,v 1.21.18.2 2005/04/29 00:15:38 marka Exp $ */
#ifndef NAMED_TYPES_H
#define NAMED_TYPES_H 1
+1 -1
View File
@@ -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.9.18.2 2005/04/29 00:15:39 marka Exp $ */
#ifndef NAMED_UPDATE_H
#define NAMED_UPDATE_H 1
+1 -1
View File
@@ -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.8.18.2 2005/04/29 00:15:39 marka Exp $ */
#ifndef NAMED_XFROUT_H
#define NAMED_XFROUT_H 1
+5 -6
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.19.18.3 2005/04/27 05:00:37 sra Exp $ */
#ifndef NS_ZONECONF_H
#define NS_ZONECONF_H 1
@@ -31,9 +31,8 @@
ISC_LANG_BEGINDECLS
isc_result_t
ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
const cfg_obj_t *zconfig, cfg_aclconfctx_t *ac,
dns_zone_t *zone);
ns_zone_configure(cfg_obj_t *config, cfg_obj_t *vconfig, cfg_obj_t *zconfig,
cfg_aclconfctx_t *ac, dns_zone_t *zone);
/*%<
* Configure or reconfigure a zone according to the named.conf
* data in 'cctx' and 'czone'.
@@ -50,7 +49,7 @@ ns_zone_configure(const cfg_obj_t *config, const cfg_obj_t *vconfig,
*/
isc_boolean_t
ns_zone_reusable(dns_zone_t *zone, const cfg_obj_t *zconfig);
ns_zone_reusable(dns_zone_t *zone, cfg_obj_t *zconfig);
/*%<
* If 'zone' can be safely reconfigured according to the configuration
* data in 'zconfig', return ISC_TRUE. If the configuration data is so
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: interfacemgr.c,v 1.83 2005/11/30 03:33:48 marka Exp $ */
/* $Id: interfacemgr.c,v 1.76.18.6 2005/11/30 03:44:38 marka Exp $ */
/*! \file */
+1 -1
View File
@@ -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.10.18.2 2005/04/29 00:15:22 marka Exp $ */
/*! \file */
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: log.c,v 1.41 2005/05/20 01:19:42 marka Exp $ */
/* $Id: log.c,v 1.37.18.4 2005/05/20 01:21:44 marka Exp $ */
/*! \file */
+26 -28
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.35.18.3 2005/08/23 02:31:31 marka Exp $ */
/*! \file */
@@ -43,13 +43,13 @@
* in 'ccat' and add it to 'lctx'.
*/
static isc_result_t
category_fromconf(const cfg_obj_t *ccat, isc_logconfig_t *lctx) {
category_fromconf(cfg_obj_t *ccat, isc_logconfig_t *lctx) {
isc_result_t result;
const char *catname;
isc_logcategory_t *category;
isc_logmodule_t *module;
const cfg_obj_t *destinations = NULL;
const cfg_listelt_t *element = NULL;
cfg_obj_t *destinations = NULL;
cfg_listelt_t *element = NULL;
catname = cfg_obj_asstring(cfg_tuple_get(ccat, "name"));
category = isc_log_categorybyname(ns_g_lctx, catname);
@@ -70,7 +70,7 @@ category_fromconf(const cfg_obj_t *ccat, isc_logconfig_t *lctx) {
element != NULL;
element = cfg_list_next(element))
{
const cfg_obj_t *channel = cfg_listelt_value(element);
cfg_obj_t *channel = cfg_listelt_value(element);
const char *channelname = cfg_obj_asstring(channel);
result = isc_log_usechannel(lctx, channelname, category,
@@ -91,18 +91,18 @@ category_fromconf(const cfg_obj_t *ccat, isc_logconfig_t *lctx) {
* in 'cchan' and add it to 'lctx'.
*/
static isc_result_t
channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
channel_fromconf(cfg_obj_t *channel, isc_logconfig_t *lctx) {
isc_result_t result;
isc_logdestination_t dest;
unsigned int type;
unsigned int flags = 0;
int level;
const char *channelname;
const cfg_obj_t *fileobj = NULL;
const cfg_obj_t *syslogobj = NULL;
const cfg_obj_t *nullobj = NULL;
const cfg_obj_t *stderrobj = NULL;
const cfg_obj_t *severity = NULL;
cfg_obj_t *fileobj = NULL;
cfg_obj_t *syslogobj = NULL;
cfg_obj_t *nullobj = NULL;
cfg_obj_t *stderrobj = NULL;
cfg_obj_t *severity = NULL;
int i;
channelname = cfg_obj_asstring(cfg_map_getname(channel));
@@ -132,10 +132,9 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
type = ISC_LOG_TONULL;
if (fileobj != NULL) {
const cfg_obj_t *pathobj = cfg_tuple_get(fileobj, "file");
const cfg_obj_t *sizeobj = cfg_tuple_get(fileobj, "size");
const cfg_obj_t *versionsobj =
cfg_tuple_get(fileobj, "versions");
cfg_obj_t *pathobj = cfg_tuple_get(fileobj, "file");
cfg_obj_t *sizeobj = cfg_tuple_get(fileobj, "size");
cfg_obj_t *versionsobj = cfg_tuple_get(fileobj, "versions");
isc_int32_t versions = ISC_LOG_ROLLNEVER;
isc_offset_t size = 0;
@@ -177,9 +176,9 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
* Munge flags.
*/
{
const cfg_obj_t *printcat = NULL;
const cfg_obj_t *printsev = NULL;
const cfg_obj_t *printtime = NULL;
cfg_obj_t *printcat = NULL;
cfg_obj_t *printsev = NULL;
cfg_obj_t *printtime = NULL;
(void)cfg_map_get(channel, "print-category", &printcat);
(void)cfg_map_get(channel, "print-severity", &printsev);
@@ -245,14 +244,13 @@ channel_fromconf(const cfg_obj_t *channel, isc_logconfig_t *lctx) {
}
isc_result_t
ns_log_configure(isc_logconfig_t *logconf, const cfg_obj_t *logstmt) {
ns_log_configure(isc_logconfig_t *logconf, cfg_obj_t *logstmt) {
isc_result_t result;
const cfg_obj_t *channels = NULL;
const cfg_obj_t *categories = NULL;
const cfg_listelt_t *element;
cfg_obj_t *channels = NULL;
cfg_obj_t *categories = NULL;
cfg_listelt_t *element;
isc_boolean_t default_set = ISC_FALSE;
isc_boolean_t unmatched_set = ISC_FALSE;
const cfg_obj_t *catname;
CHECK(ns_log_setdefaultchannels(logconf));
@@ -261,7 +259,7 @@ ns_log_configure(isc_logconfig_t *logconf, const cfg_obj_t *logstmt) {
element != NULL;
element = cfg_list_next(element))
{
const cfg_obj_t *channel = cfg_listelt_value(element);
cfg_obj_t *channel = cfg_listelt_value(element);
CHECK(channel_fromconf(channel, logconf));
}
@@ -270,15 +268,15 @@ ns_log_configure(isc_logconfig_t *logconf, const cfg_obj_t *logstmt) {
element != NULL;
element = cfg_list_next(element))
{
const cfg_obj_t *category = cfg_listelt_value(element);
cfg_obj_t *category = cfg_listelt_value(element);
CHECK(category_fromconf(category, logconf));
if (!default_set) {
catname = cfg_tuple_get(category, "name");
cfg_obj_t *catname = cfg_tuple_get(category, "name");
if (strcmp(cfg_obj_asstring(catname), "default") == 0)
default_set = ISC_TRUE;
}
if (!unmatched_set) {
catname = cfg_tuple_get(category, "name");
cfg_obj_t *catname = cfg_tuple_get(category, "name");
if (strcmp(cfg_obj_asstring(catname), "unmatched") == 0)
unmatched_set = ISC_TRUE;
}
+1 -1
View File
@@ -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.4.18.2 2005/04/29 00:15:23 marka Exp $ */
/*! \file */
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdclient.c,v 1.19 2005/04/29 00:22:27 marka Exp $ */
/* $Id: lwdclient.c,v 1.17.18.2 2005/04/29 00:15:23 marka Exp $ */
/*! \file */
+1 -1
View File
@@ -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.8.18.2 2005/04/29 00:15:24 marka Exp $ */
/*! \file */
+3 -3
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.15.18.3 2005/06/23 04:23:13 marka Exp $ */
/*! \file */
@@ -122,7 +122,7 @@ sort_addresses(ns_lwdclient_t *client) {
rankedaddress *addrs;
isc_netaddr_t remote;
dns_addressorderfunc_t order;
const void *arg;
void *arg;
ns_lwresd_t *lwresd = client->clientmgr->listener->manager;
unsigned int i;
isc_result_t result;
+1 -1
View File
@@ -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.16.18.2 2005/04/29 00:15:24 marka Exp $ */
/*! \file */
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: lwdgrbn.c,v 1.16 2005/11/30 03:33:48 marka Exp $ */
/* $Id: lwdgrbn.c,v 1.13.18.3 2005/11/30 03:44:38 marka Exp $ */
/*! \file */
+1 -1
View File
@@ -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.7.18.2 2005/04/29 00:15:25 marka Exp $ */
/*! \file */
+1 -1
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.22 2005/10/13 03:13:58 marka Exp $
.\" $Id: lwresd.8,v 1.15.18.7 2005/10/13 02:53:01 marka Exp $
.\"
.hy 0
.ad l
+11 -11
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -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.46.18.5 2005/11/30 03:44:38 marka Exp $ */
/*! \file
* \brief
@@ -286,14 +286,14 @@ ns_lwresd_parseeresolvconf(isc_mem_t *mctx, cfg_parser_t *pctx,
* Handle lwresd manager objects
*/
isc_result_t
ns_lwdmanager_create(isc_mem_t *mctx, const cfg_obj_t *lwres,
ns_lwdmanager_create(isc_mem_t *mctx, cfg_obj_t *lwres,
ns_lwresd_t **lwresdp)
{
ns_lwresd_t *lwresd;
const char *vname;
dns_rdataclass_t vclass;
const cfg_obj_t *obj, *viewobj, *searchobj;
const cfg_listelt_t *element;
cfg_obj_t *obj, *viewobj, *searchobj;
cfg_listelt_t *element;
isc_result_t result;
INSIST(lwresdp != NULL && *lwresdp == NULL);
@@ -357,7 +357,7 @@ ns_lwdmanager_create(isc_mem_t *mctx, const cfg_obj_t *lwres,
element != NULL;
element = cfg_list_next(element))
{
const cfg_obj_t *search;
cfg_obj_t *search;
const char *searchstr;
isc_buffer_t namebuf;
dns_fixedname_t fname;
@@ -752,11 +752,11 @@ configure_listener(isc_sockaddr_t *address, ns_lwresd_t *lwresd,
}
isc_result_t
ns_lwresd_configure(isc_mem_t *mctx, const cfg_obj_t *config) {
const cfg_obj_t *lwreslist = NULL;
const cfg_obj_t *lwres = NULL;
const cfg_obj_t *listenerslist = NULL;
const cfg_listelt_t *element = NULL;
ns_lwresd_configure(isc_mem_t *mctx, cfg_obj_t *config) {
cfg_obj_t *lwreslist = NULL;
cfg_obj_t *lwres = NULL;
cfg_obj_t *listenerslist = NULL;
cfg_listelt_t *element = NULL;
ns_lwreslistener_t *listener;
ns_lwreslistenerlist_t newlisteners;
isc_result_t result;
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: lwresd.docbook,v 1.10 2005/05/13 01:35:40 marka Exp $ -->
<!-- $Id: lwresd.docbook,v 1.7.18.3 2005/05/13 01:32:45 marka Exp $ -->
<refentry>
<refentryinfo>
<date>June 30, 2000</date>
+1 -1
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.16 2005/10/13 03:13:58 marka Exp $ -->
<!-- $Id: lwresd.html,v 1.5.18.11 2005/10/13 02:53:02 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+1 -1
View File
@@ -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.8.18.3 2005/07/12 01:22:17 marka Exp $ */
/*! \file */
+4 -5
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: main.c,v 1.152 2006/01/05 01:37:19 marka Exp $ */
/* $Id: main.c,v 1.136.18.13 2005/09/18 07:58:05 marka Exp $ */
/*! \file */
@@ -484,7 +484,7 @@ create_managers(void) {
result = isc_taskmgr_create(ns_g_mctx, ns_g_cpus, 0, &ns_g_taskmgr);
if (result != ISC_R_SUCCESS) {
UNEXPECTED_ERROR(__FILE__, __LINE__,
"isc_taskmgr_create() failed: %s",
"ns_taskmgr_create() failed: %s",
isc_result_totext(result));
return (ISC_R_UNEXPECTED);
}
@@ -492,7 +492,7 @@ create_managers(void) {
result = isc_timermgr_create(ns_g_mctx, &ns_g_timermgr);
if (result != ISC_R_SUCCESS) {
UNEXPECTED_ERROR(__FILE__, __LINE__,
"isc_timermgr_create() failed: %s",
"ns_timermgr_create() failed: %s",
isc_result_totext(result));
return (ISC_R_UNEXPECTED);
}
@@ -912,7 +912,6 @@ main(int argc, char *argv[]) {
}
}
isc_mem_destroy(&ns_g_mctx);
isc_mem_checkdestroyed(stderr);
ns_main_setmemstats(NULL);
+1 -1
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.27 2005/10/13 03:13:58 marka Exp $
.\" $Id: named.8,v 1.20.18.7 2005/10/13 02:53:01 marka Exp $
.\"
.hy 0
.ad l
+6 -25
View File
@@ -1,4 +1,4 @@
.\" Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
@@ -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.17 2006/03/06 02:23:19 marka Exp $
.\" $Id: named.conf.5,v 1.1.2.15 2005/10/13 02:53:01 marka Exp $
.\"
.hy 0
.ad l
@@ -69,7 +69,6 @@ server ( \fIipv4_address\fR\fI[/prefixlen]\fR | \fIipv6_address\fR\fI[/prefixlen
bogus \fIboolean\fR;
edns \fIboolean\fR;
edns\-udp\-size \fIinteger\fR;
max\-udp\-size \fIinteger\fR;
provide\-ixfr \fIboolean\fR;
request\-ixfr \fIboolean\fR;
keys \fIserver_key\fR;
@@ -201,9 +200,7 @@ options {
check\-names ( master | slave | response )
( fail | warn | ignore );
check\-mx ( fail | warn | ignore );
check\-integrity \fIboolean\fR;
check\-mx\-cname ( fail | warn | ignore );
check\-srv\-cname ( fail | warn | ignore );
integrity\-check \fIboolean\fR;
cache\-file \fIquoted_string\fR;
suppress\-initial\-notify \fIboolean\fR; // not yet implemented
preferred\-glue \fIstring\fR;
@@ -211,15 +208,13 @@ options {
( \fIquoted_string\fR [port \fIinteger\fR] |
\fIipv4_address\fR [port \fIinteger\fR] |
\fIipv6_address\fR [port \fIinteger\fR] ); ...
};
}
edns\-udp\-size \fIinteger\fR;
max\-udp\-size \fIinteger\fR;
root\-delegation\-only [ exclude { \fIquoted_string\fR; ... } ];
disable\-algorithms \fIstring\fR { \fIstring\fR; ... };
dnssec\-enable \fIboolean\fR;
dnssec\-lookaside \fIstring\fR trust\-anchor \fIstring\fR;
dnssec\-must\-be\-secure \fIstring\fR \fIboolean\fR;
dnssec\-accept\-expired \fIboolean\fR;
empty\-server \fIstring\fR;
empty\-contact \fIstring\fR;
empty\-zones\-enable \fIboolean\fR;
@@ -231,7 +226,6 @@ options {
allow\-transfer { \fIaddress_match_element\fR; ... };
allow\-update { \fIaddress_match_element\fR; ... };
allow\-update\-forwarding { \fIaddress_match_element\fR; ... };
update\-check\-ksk \fIboolean\fR;
notify \fInotifytype\fR;
notify\-source ( \fIipv4_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-source\-v6 ( \fIipv6_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
@@ -265,8 +259,6 @@ options {
use\-alt\-transfer\-source \fIboolean\fR;
zone\-statistics \fIboolean\fR;
key\-directory \fIquoted_string\fR;
zero\-no\-soa\-ttl \fIboolean\fR;
zero\-no\-soa\-ttl\-cache \fIboolean\fR;
allow\-v6\-synthesis { \fIaddress_match_element\fR; ... }; // obsolete
deallocate\-on\-exit \fIboolean\fR; // obsolete
fake\-iquery \fIboolean\fR; // obsolete
@@ -331,9 +323,7 @@ view \fIstring\fR \fIoptional_class\fR {
check\-names ( master | slave | response )
( fail | warn | ignore );
check\-mx ( fail | warn | ignore );
check\-integrity \fIboolean\fR;
check\-mx\-cname ( fail | warn | ignore );
check\-srv\-cname ( fail | warn | ignore );
integrity\-check \fIboolean\fR;
cache\-file \fIquoted_string\fR;
suppress\-initial\-notify \fIboolean\fR; // not yet implemented
preferred\-glue \fIstring\fR;
@@ -343,13 +333,11 @@ view \fIstring\fR \fIoptional_class\fR {
\fIipv6_address\fR [port \fIinteger\fR] ); ...
};
edns\-udp\-size \fIinteger\fR;
max\-udp\-size \fIinteger\fR;
root\-delegation\-only [ exclude { \fIquoted_string\fR; ... } ];
disable\-algorithms \fIstring\fR { \fIstring\fR; ... };
dnssec\-enable \fIboolean\fR;
dnssec\-lookaside \fIstring\fR trust\-anchor \fIstring\fR;
dnssec\-must\-be\-secure \fIstring\fR \fIboolean\fR;
dnssec\-accept\-expired \fIboolean\fR;
empty\-server \fIstring\fR;
empty\-contact \fIstring\fR;
empty\-zones\-enable \fIboolean\fR;
@@ -361,7 +349,6 @@ view \fIstring\fR \fIoptional_class\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;
notify \fInotifytype\fR;
notify\-source ( \fIipv4_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-source\-v6 ( \fIipv6_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
@@ -395,8 +382,6 @@ view \fIstring\fR \fIoptional_class\fR {
use\-alt\-transfer\-source \fIboolean\fR;
zone\-statistics \fIboolean\fR;
key\-directory \fIquoted_string\fR;
zero\-no\-soa\-ttl \fIboolean\fR;
zero\-no\-soa\-ttl\-cache \fIboolean\fR;
allow\-v6\-synthesis { \fIaddress_match_element\fR; ... }; // obsolete
fetch\-glue \fIboolean\fR; // obsolete
maintain\-ixfr\-base \fIboolean\fR; // obsolete
@@ -419,13 +404,10 @@ zone \fIstring\fR \fIoptional_class\fR {
delegation\-only \fIboolean\fR;
check\-names ( fail | warn | ignore );
check\-mx ( fail | warn | ignore );
check\-integrity \fIboolean\fR;
check\-mx\-cname ( fail | warn | ignore );
check\-srv\-cname ( fail | warn | ignore );
integrity\-check \fIboolean\fR;
dialup \fIdialuptype\fR;
ixfr\-from\-differences \fIboolean\fR;
journal \fIquoted_string\fR;
zero\-no\-soa\-ttl \fIboolean\fR;
allow\-query { \fIaddress_match_element\fR; ... };
allow\-transfer { \fIaddress_match_element\fR; ... };
allow\-update { \fIaddress_match_element\fR; ... };
@@ -435,7 +417,6 @@ zone \fIstring\fR \fIoptional_class\fR {
( name | subdomain | wildcard | self ) \fIstring\fR
\fIrrtypelist\fR; ...
};
update\-check\-ksk \fIboolean\fR;
notify \fInotifytype\fR;
notify\-source ( \fIipv4_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
notify\-source\-v6 ( \fIipv6_address\fR | * ) [ port ( \fIinteger\fR | * ) ];
+7 -26
View File
@@ -2,7 +2,7 @@
"http://www.oasis-open.org/docbook/xml/4.0/docbookx.dtd"
[<!ENTITY mdash "&#8212;">]>
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -17,7 +17,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.conf.docbook,v 1.20 2006/03/06 01:27:51 marka Exp $ -->
<!-- $Id: named.conf.docbook,v 1.1.2.14 2005/08/18 01:02:58 marka Exp $ -->
<refentry>
<refentryinfo>
<date>Aug 13, 2004</date>
@@ -38,7 +38,6 @@
<copyright>
<year>2004</year>
<year>2005</year>
<year>2006</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
</docinfo>
@@ -104,7 +103,6 @@ server ( <replaceable>ipv4_address<optional>/prefixlen</optional></replaceable>
bogus <replaceable>boolean</replaceable>;
edns <replaceable>boolean</replaceable>;
edns-udp-size <replaceable>integer</replaceable>;
max-udp-size <replaceable>integer</replaceable>;
provide-ixfr <replaceable>boolean</replaceable>;
request-ixfr <replaceable>boolean</replaceable>;
keys <replaceable>server_key</replaceable>;
@@ -247,9 +245,7 @@ options {
check-names ( master | slave | response )
( fail | warn | ignore );
check-mx ( fail | warn | ignore );
check-integrity <replaceable>boolean</replaceable>;
check-mx-cname ( fail | warn | ignore );
check-srv-cname ( fail | warn | ignore );
integrity-check <replaceable>boolean</replaceable>;
cache-file <replaceable>quoted_string</replaceable>;
suppress-initial-notify <replaceable>boolean</replaceable>; // not yet implemented
preferred-glue <replaceable>string</replaceable>;
@@ -257,15 +253,13 @@ options {
( <replaceable>quoted_string</replaceable> <optional>port <replaceable>integer</replaceable></optional> |
<replaceable>ipv4_address</replaceable> <optional>port <replaceable>integer</replaceable></optional> |
<replaceable>ipv6_address</replaceable> <optional>port <replaceable>integer</replaceable></optional> ); ...
};
}
edns-udp-size <replaceable>integer</replaceable>;
max-udp-size <replaceable>integer</replaceable>;
root-delegation-only <optional> exclude { <replaceable>quoted_string</replaceable>; ... } </optional>;
disable-algorithms <replaceable>string</replaceable> { <replaceable>string</replaceable>; ... };
dnssec-enable <replaceable>boolean</replaceable>;
dnssec-lookaside <replaceable>string</replaceable> trust-anchor <replaceable>string</replaceable>;
dnssec-must-be-secure <replaceable>string</replaceable> <replaceable>boolean</replaceable>;
dnssec-accept-expired <replaceable>boolean</replaceable>;
empty-server <replaceable>string</replaceable>;
empty-contact <replaceable>string</replaceable>;
@@ -280,7 +274,6 @@ options {
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>;
notify <replaceable>notifytype</replaceable>;
notify-source ( <replaceable>ipv4_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
@@ -320,8 +313,6 @@ options {
zone-statistics <replaceable>boolean</replaceable>;
key-directory <replaceable>quoted_string</replaceable>;
zero-no-soa-ttl <replaceable>boolean</replaceable>;
zero-no-soa-ttl-cache <replaceable>boolean</replaceable>;
allow-v6-synthesis { <replaceable>address_match_element</replaceable>; ... }; // obsolete
deallocate-on-exit <replaceable>boolean</replaceable>; // obsolete
@@ -394,9 +385,7 @@ view <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
check-names ( master | slave | response )
( fail | warn | ignore );
check-mx ( fail | warn | ignore );
check-integrity <replaceable>boolean</replaceable>;
check-mx-cname ( fail | warn | ignore );
check-srv-cname ( fail | warn | ignore );
integrity-check <replaceable>boolean</replaceable>;
cache-file <replaceable>quoted_string</replaceable>;
suppress-initial-notify <replaceable>boolean</replaceable>; // not yet implemented
preferred-glue <replaceable>string</replaceable>;
@@ -406,13 +395,12 @@ view <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
<replaceable>ipv6_address</replaceable> <optional>port <replaceable>integer</replaceable></optional> ); ...
};
edns-udp-size <replaceable>integer</replaceable>;
max-udp-size <replaceable>integer</replaceable>;
root-delegation-only <optional> exclude { <replaceable>quoted_string</replaceable>; ... } </optional>;
disable-algorithms <replaceable>string</replaceable> { <replaceable>string</replaceable>; ... };
dnssec-enable <replaceable>boolean</replaceable>;
dnssec-lookaside <replaceable>string</replaceable> trust-anchor <replaceable>string</replaceable>;
dnssec-must-be-secure <replaceable>string</replaceable> <replaceable>boolean</replaceable>;
dnssec-accept-expired <replaceable>boolean</replaceable>;
empty-server <replaceable>string</replaceable>;
empty-contact <replaceable>string</replaceable>;
@@ -427,7 +415,6 @@ view <replaceable>string</replaceable> <replaceable>optional_class</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>;
notify <replaceable>notifytype</replaceable>;
notify-source ( <replaceable>ipv4_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
@@ -467,8 +454,6 @@ view <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
zone-statistics <replaceable>boolean</replaceable>;
key-directory <replaceable>quoted_string</replaceable>;
zero-no-soa-ttl <replaceable>boolean</replaceable>;
zero-no-soa-ttl-cache <replaceable>boolean</replaceable>;
allow-v6-synthesis { <replaceable>address_match_element</replaceable>; ... }; // obsolete
fetch-glue <replaceable>boolean</replaceable>; // obsolete
@@ -496,13 +481,10 @@ zone <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
delegation-only <replaceable>boolean</replaceable>;
check-names ( fail | warn | ignore );
check-mx ( fail | warn | ignore );
check-integrity <replaceable>boolean</replaceable>;
check-mx-cname ( fail | warn | ignore );
check-srv-cname ( fail | warn | ignore );
integrity-check <replaceable>boolean</replaceable>;
dialup <replaceable>dialuptype</replaceable>;
ixfr-from-differences <replaceable>boolean</replaceable>;
journal <replaceable>quoted_string</replaceable>;
zero-no-soa-ttl <replaceable>boolean</replaceable>;
allow-query { <replaceable>address_match_element</replaceable>; ... };
allow-transfer { <replaceable>address_match_element</replaceable>; ... };
@@ -513,7 +495,6 @@ zone <replaceable>string</replaceable> <replaceable>optional_class</replaceable>
( name | subdomain | wildcard | self ) <replaceable>string</replaceable>
<replaceable>rrtypelist</replaceable>; ...
};
update-check-ksk <replaceable>boolean</replaceable>;
notify <replaceable>notifytype</replaceable>;
notify-source ( <replaceable>ipv4_address</replaceable> | * ) <optional> port ( <replaceable>integer</replaceable> | * ) </optional>;
+21 -39
View File
@@ -1,5 +1,5 @@
<!--
- Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
-
- Permission to use, copy, modify, and distribute this software for any
- purpose with or without fee is hereby granted, provided that the above
@@ -13,7 +13,7 @@
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.conf.html,v 1.23 2006/03/06 02:23:19 marka Exp $ -->
<!-- $Id: named.conf.html,v 1.1.2.21 2005/10/13 02:53:02 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
@@ -31,7 +31,7 @@
<div class="cmdsynopsis"><p><code class="command">named.conf</code> </p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2525900"></a><h2>DESCRIPTION</h2>
<a name="id2525897"></a><h2>DESCRIPTION</h2>
<p><code class="filename">named.conf</code> is the configuration file
for
<span><strong class="command">named</strong></span>. Statements are enclosed
@@ -50,14 +50,14 @@
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2525928"></a><h2>ACL</h2>
<a name="id2525925"></a><h2>ACL</h2>
<div class="literallayout"><p><br>
acl <em class="replaceable"><code>string</code></em> { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
<br>
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2525944"></a><h2>KEY</h2>
<a name="id2525941"></a><h2>KEY</h2>
<div class="literallayout"><p><br>
key <em class="replaceable"><code>domain_name</code></em> {<br>
algorithm <em class="replaceable"><code>string</code></em>;<br>
@@ -66,7 +66,7 @@ key
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2525963"></a><h2>MASTERS</h2>
<a name="id2525960"></a><h2>MASTERS</h2>
<div class="literallayout"><p><br>
masters <em class="replaceable"><code>string</code></em> [<span class="optional"> port <em class="replaceable"><code>integer</code></em> </span>] {<br>
( <em class="replaceable"><code>masters</code></em> | <em class="replaceable"><code>ipv4_address</code></em> [<span class="optional">port <em class="replaceable"><code>integer</code></em></span>] |<br>
@@ -75,13 +75,12 @@ masters
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526009"></a><h2>SERVER</h2>
<a name="id2526006"></a><h2>SERVER</h2>
<div class="literallayout"><p><br>
server ( <em class="replaceable"><code>ipv4_address[<span class="optional">/prefixlen</span>]</code></em> | <em class="replaceable"><code>ipv6_address[<span class="optional">/prefixlen</span>]</code></em> ) {<br>
bogus <em class="replaceable"><code>boolean</code></em>;<br>
edns <em class="replaceable"><code>boolean</code></em>;<br>
edns-udp-size <em class="replaceable"><code>integer</code></em>;<br>
max-udp-size <em class="replaceable"><code>integer</code></em>;<br>
provide-ixfr <em class="replaceable"><code>boolean</code></em>;<br>
request-ixfr <em class="replaceable"><code>boolean</code></em>;<br>
keys <em class="replaceable"><code>server_key</code></em>;<br>
@@ -97,7 +96,7 @@ server
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526077"></a><h2>TRUSTED-KEYS</h2>
<a name="id2526071"></a><h2>TRUSTED-KEYS</h2>
<div class="literallayout"><p><br>
trusted-keys {<br>
<em class="replaceable"><code>domain_name</code></em> <em class="replaceable"><code>flags</code></em> <em class="replaceable"><code>protocol</code></em> <em class="replaceable"><code>algorithm</code></em> <em class="replaceable"><code>key</code></em>; ... <br>
@@ -105,7 +104,7 @@ trusted-keys
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526103"></a><h2>CONTROLS</h2>
<a name="id2526097"></a><h2>CONTROLS</h2>
<div class="literallayout"><p><br>
controls {<br>
inet ( <em class="replaceable"><code>ipv4_address</code></em> | <em class="replaceable"><code>ipv6_address</code></em> | * )<br>
@@ -117,7 +116,7 @@ controls
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526138"></a><h2>LOGGING</h2>
<a name="id2526132"></a><h2>LOGGING</h2>
<div class="literallayout"><p><br>
logging {<br>
channel <em class="replaceable"><code>string</code></em> {<br>
@@ -135,7 +134,7 @@ logging
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526177"></a><h2>LWRES</h2>
<a name="id2526170"></a><h2>LWRES</h2>
<div class="literallayout"><p><br>
lwres {<br>
listen-on [<span class="optional"> port <em class="replaceable"><code>integer</code></em> </span>] {<br>
@@ -148,7 +147,7 @@ lwres
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526218"></a><h2>OPTIONS</h2>
<a name="id2526212"></a><h2>OPTIONS</h2>
<div class="literallayout"><p><br>
options {<br>
avoid-v4-udp-ports { <em class="replaceable"><code>port</code></em>; ... };<br>
@@ -219,9 +218,7 @@ options
check-names ( master | slave | response )<br>
( fail | warn | ignore );<br>
check-mx ( fail | warn | ignore );<br>
check-integrity <em class="replaceable"><code>boolean</code></em>;<br>
check-mx-cname ( fail | warn | ignore );<br>
check-srv-cname ( fail | warn | ignore );<br>
integrity-check <em class="replaceable"><code>boolean</code></em>;<br>
cache-file <em class="replaceable"><code>quoted_string</code></em>;<br>
suppress-initial-notify <em class="replaceable"><code>boolean</code></em>; // not yet implemented<br>
preferred-glue <em class="replaceable"><code>string</code></em>;<br>
@@ -229,15 +226,13 @@ options
( <em class="replaceable"><code>quoted_string</code></em> [<span class="optional">port <em class="replaceable"><code>integer</code></em></span>] |<br>
<em class="replaceable"><code>ipv4_address</code></em> [<span class="optional">port <em class="replaceable"><code>integer</code></em></span>] |<br>
<em class="replaceable"><code>ipv6_address</code></em> [<span class="optional">port <em class="replaceable"><code>integer</code></em></span>] ); ...<br>
};<br>
}<br>
edns-udp-size <em class="replaceable"><code>integer</code></em>;<br>
max-udp-size <em class="replaceable"><code>integer</code></em>;<br>
root-delegation-only [<span class="optional"> exclude { <em class="replaceable"><code>quoted_string</code></em>; ... } </span>];<br>
disable-algorithms <em class="replaceable"><code>string</code></em> { <em class="replaceable"><code>string</code></em>; ... };<br>
dnssec-enable <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-lookaside <em class="replaceable"><code>string</code></em> trust-anchor <em class="replaceable"><code>string</code></em>;<br>
dnssec-must-be-secure <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-accept-expired <em class="replaceable"><code>boolean</code></em>;<br>
<br>
empty-server <em class="replaceable"><code>string</code></em>;<br>
empty-contact <em class="replaceable"><code>string</code></em>;<br>
@@ -252,7 +247,6 @@ options
allow-transfer { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
allow-update { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
allow-update-forwarding { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
update-check-ksk <em class="replaceable"><code>boolean</code></em>;<br>
<br>
notify <em class="replaceable"><code>notifytype</code></em>;<br>
notify-source ( <em class="replaceable"><code>ipv4_address</code></em> | * ) [<span class="optional"> port ( <em class="replaceable"><code>integer</code></em> | * ) </span>];<br>
@@ -292,8 +286,6 @@ options
<br>
zone-statistics <em class="replaceable"><code>boolean</code></em>;<br>
key-directory <em class="replaceable"><code>quoted_string</code></em>;<br>
zero-no-soa-ttl <em class="replaceable"><code>boolean</code></em>;<br>
zero-no-soa-ttl-cache <em class="replaceable"><code>boolean</code></em>;<br>
<br>
allow-v6-synthesis { <em class="replaceable"><code>address_match_element</code></em>; ... }; // obsolete<br>
deallocate-on-exit <em class="replaceable"><code>boolean</code></em>; // obsolete<br>
@@ -311,7 +303,7 @@ options
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2526931"></a><h2>VIEW</h2>
<a name="id2526908"></a><h2>VIEW</h2>
<div class="literallayout"><p><br>
view <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>optional_class</code></em> {<br>
match-clients { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
@@ -365,9 +357,7 @@ view
check-names ( master | slave | response )<br>
( fail | warn | ignore );<br>
check-mx ( fail | warn | ignore );<br>
check-integrity <em class="replaceable"><code>boolean</code></em>;<br>
check-mx-cname ( fail | warn | ignore );<br>
check-srv-cname ( fail | warn | ignore );<br>
integrity-check <em class="replaceable"><code>boolean</code></em>;<br>
cache-file <em class="replaceable"><code>quoted_string</code></em>;<br>
suppress-initial-notify <em class="replaceable"><code>boolean</code></em>; // not yet implemented<br>
preferred-glue <em class="replaceable"><code>string</code></em>;<br>
@@ -377,13 +367,12 @@ view
<em class="replaceable"><code>ipv6_address</code></em> [<span class="optional">port <em class="replaceable"><code>integer</code></em></span>] ); ...<br>
};<br>
edns-udp-size <em class="replaceable"><code>integer</code></em>;<br>
max-udp-size <em class="replaceable"><code>integer</code></em>;<br>
root-delegation-only [<span class="optional"> exclude { <em class="replaceable"><code>quoted_string</code></em>; ... } </span>];<br>
disable-algorithms <em class="replaceable"><code>string</code></em> { <em class="replaceable"><code>string</code></em>; ... };<br>
dnssec-enable <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-lookaside <em class="replaceable"><code>string</code></em> trust-anchor <em class="replaceable"><code>string</code></em>;<br>
<br>
dnssec-must-be-secure <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>boolean</code></em>;<br>
dnssec-accept-expired <em class="replaceable"><code>boolean</code></em>;<br>
<br>
empty-server <em class="replaceable"><code>string</code></em>;<br>
empty-contact <em class="replaceable"><code>string</code></em>;<br>
@@ -398,7 +387,6 @@ view
allow-transfer { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
allow-update { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
allow-update-forwarding { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
update-check-ksk <em class="replaceable"><code>boolean</code></em>;<br>
<br>
notify <em class="replaceable"><code>notifytype</code></em>;<br>
notify-source ( <em class="replaceable"><code>ipv4_address</code></em> | * ) [<span class="optional"> port ( <em class="replaceable"><code>integer</code></em> | * ) </span>];<br>
@@ -438,8 +426,6 @@ view
<br>
zone-statistics <em class="replaceable"><code>boolean</code></em>;<br>
key-directory <em class="replaceable"><code>quoted_string</code></em>;<br>
zero-no-soa-ttl <em class="replaceable"><code>boolean</code></em>;<br>
zero-no-soa-ttl-cache <em class="replaceable"><code>boolean</code></em>;<br>
<br>
allow-v6-synthesis { <em class="replaceable"><code>address_match_element</code></em>; ... }; // obsolete<br>
fetch-glue <em class="replaceable"><code>boolean</code></em>; // obsolete<br>
@@ -449,7 +435,7 @@ view
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2527397"></a><h2>ZONE</h2>
<a name="id2527358"></a><h2>ZONE</h2>
<div class="literallayout"><p><br>
zone <em class="replaceable"><code>string</code></em> <em class="replaceable"><code>optional_class</code></em> {<br>
type ( master | slave | stub | hint |<br>
@@ -466,13 +452,10 @@ zone
delegation-only <em class="replaceable"><code>boolean</code></em>;<br>
check-names ( fail | warn | ignore );<br>
check-mx ( fail | warn | ignore );<br>
check-integrity <em class="replaceable"><code>boolean</code></em>;<br>
check-mx-cname ( fail | warn | ignore );<br>
check-srv-cname ( fail | warn | ignore );<br>
integrity-check <em class="replaceable"><code>boolean</code></em>;<br>
dialup <em class="replaceable"><code>dialuptype</code></em>;<br>
ixfr-from-differences <em class="replaceable"><code>boolean</code></em>;<br>
journal <em class="replaceable"><code>quoted_string</code></em>;<br>
zero-no-soa-ttl <em class="replaceable"><code>boolean</code></em>;<br>
<br>
allow-query { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
allow-transfer { <em class="replaceable"><code>address_match_element</code></em>; ... };<br>
@@ -483,7 +466,6 @@ zone
( name | subdomain | wildcard | self ) <em class="replaceable"><code>string</code></em><br>
<em class="replaceable"><code>rrtypelist</code></em>; ...<br>
};<br>
update-check-ksk <em class="replaceable"><code>boolean</code></em>;<br>
<br>
notify <em class="replaceable"><code>notifytype</code></em>;<br>
notify-source ( <em class="replaceable"><code>ipv4_address</code></em> | * ) [<span class="optional"> port ( <em class="replaceable"><code>integer</code></em> | * ) </span>];<br>
@@ -533,12 +515,12 @@ zone
</p></div>
</div>
<div class="refsect1" lang="en">
<a name="id2527817"></a><h2>FILES</h2>
<a name="id2527772"></a><h2>FILES</h2>
<p><code class="filename">/etc/named.conf</code>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2527829"></a><h2>SEE ALSO</h2>
<a name="id2527784"></a><h2>SEE ALSO</h2>
<p><span class="citerefentry"><span class="refentrytitle">named</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">rndc</span>(8)</span>,
<span class="citerefentry"><span class="refentrytitle">BIND 9 Administrator Reference Manual</span></span>.
+1 -1
View File
@@ -18,7 +18,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: named.docbook,v 1.11 2005/07/19 04:55:21 marka Exp $ -->
<!-- $Id: named.docbook,v 1.7.18.4 2005/07/19 05:55:43 marka Exp $ -->
<refentry id="man.named">
<refentryinfo>
<date>June 30, 2000</date>
+1 -1
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.html,v 1.17 2005/10/13 03:13:58 marka Exp $ -->
<!-- $Id: named.html,v 1.6.18.11 2005/10/13 02:53:01 marka Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+1 -1
View File
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: notify.c,v 1.33 2005/04/29 00:22:29 marka Exp $ */
/* $Id: notify.c,v 1.30.18.3 2005/04/29 00:15:26 marka Exp $ */
#include <config.h>
+12 -28
View File
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.282 2006/03/03 00:43:34 marka Exp $ */
/* $Id: query.c,v 1.257.18.20 2005/11/30 03:44:38 marka Exp $ */
/*! \file */
@@ -1914,8 +1914,6 @@ query_addrdataset(ns_client_t *client, dns_name_t *fname,
rdataset->attributes |= dns_order_find(client->view->order,
fname, rdataset->type,
rdataset->rdclass);
rdataset->attributes |= DNS_RDATASETATTR_LOADORDER;
if (NOADDITIONAL(client))
return;
@@ -2362,21 +2360,13 @@ get_key(ns_client_t *client, dns_db_t *db, dns_rdata_rrsig_t *rrsig,
static isc_boolean_t
verify(dst_key_t *key, dns_name_t *name, dns_rdataset_t *rdataset,
dns_rdata_t *rdata, isc_mem_t *mctx, isc_boolean_t acceptexpired)
dns_rdata_t *rdata, isc_mem_t *mctx)
{
isc_result_t result;
dns_fixedname_t fixed;
isc_boolean_t ignore = ISC_FALSE;
dns_fixedname_init(&fixed);
again:
result = dns_dnssec_verify2(name, rdataset, key, ignore, mctx,
rdata, NULL);
if (result == DNS_R_SIGEXPIRED && acceptexpired) {
ignore = ISC_TRUE;
goto again;
}
result = dns_dnssec_verify2(name, rdataset, key, ISC_FALSE,
mctx, rdata, NULL);
if (result == ISC_R_SUCCESS || result == DNS_R_FROMWILDCARD)
return (ISC_TRUE);
return (ISC_FALSE);
@@ -2416,8 +2406,7 @@ validate(ns_client_t *client, dns_db_t *db, dns_name_t *name,
do {
if (!get_key(client, db, &rrsig, &keyrdataset, &key))
break;
if (verify(key, name, rdataset, &rdata, client->mctx,
client->view->acceptexpired)) {
if (verify(key, name, rdataset, &rdata, client->mctx)) {
dst_key_free(&key);
dns_rdataset_disassociate(&keyrdataset);
mark_secure(client, db, name, rdataset,
@@ -3054,7 +3043,7 @@ do { \
* ISC_R_NOTIMPLEMENTED The rdata is not a known address type.
*/
static isc_result_t
rdata_tonetaddr(const dns_rdata_t *rdata, isc_netaddr_t *netaddr) {
rdata_tonetaddr(dns_rdata_t *rdata, isc_netaddr_t *netaddr) {
struct in_addr ina;
struct in6_addr in6a;
@@ -3080,7 +3069,7 @@ rdata_tonetaddr(const dns_rdata_t *rdata, isc_netaddr_t *netaddr) {
* sortlist statement.
*/
static int
query_sortlist_order_2element(const dns_rdata_t *rdata, const void *arg) {
query_sortlist_order_2element(dns_rdata_t *rdata, void *arg) {
isc_netaddr_t netaddr;
if (rdata_tonetaddr(rdata, &netaddr) != ISC_R_SUCCESS)
@@ -3093,7 +3082,7 @@ query_sortlist_order_2element(const dns_rdata_t *rdata, const void *arg) {
* of a 1-element top-level sortlist statement.
*/
static int
query_sortlist_order_1element(const dns_rdata_t *rdata, const void *arg) {
query_sortlist_order_1element(dns_rdata_t *rdata, void *arg) {
isc_netaddr_t netaddr;
if (rdata_tonetaddr(rdata, &netaddr) != ISC_R_SUCCESS)
@@ -3109,7 +3098,7 @@ static void
setup_query_sortlist(ns_client_t *client) {
isc_netaddr_t netaddr;
dns_rdatasetorderfunc_t order = NULL;
const void *order_arg = NULL;
void *order_arg = NULL;
isc_netaddr_fromsockaddr(&netaddr, &client->peeraddr);
switch (ns_sortlist_setup(client->view->sortlist,
@@ -3446,7 +3435,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
/*
* First we must find the right database.
*/
options &= DNS_GETDB_NOLOG; /* Preserve DNS_GETDB_NOLOG. */
options = 0;
if (dns_rdatatype_atparent(qtype) &&
!dns_name_equal(client->query.qname, dns_rootname))
options |= DNS_GETDB_NOEXACT;
@@ -3876,8 +3865,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
* the containing zone of an arbitrary name with a stub
* resolver and not have it cached.
*/
if (qtype == dns_rdatatype_soa &&
dns_zone_getzeronosoattl(zone))
if (qtype == dns_rdatatype_soa)
result = query_addsoa(client, db, version, ISC_TRUE);
else
result = query_addsoa(client, db, version, ISC_FALSE);
@@ -4001,8 +3989,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
query_maybeputqname(client);
client->query.qname = tname;
want_restart = ISC_TRUE;
if (!WANTRECURSION(client))
options |= DNS_GETDB_NOLOG;
goto addauth;
case DNS_R_DNAME:
/*
@@ -4120,8 +4106,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
client->query.qname = fname;
fname = NULL;
want_restart = ISC_TRUE;
if (!WANTRECURSION(client))
options |= DNS_GETDB_NOLOG;
goto addauth;
default:
/*

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