Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/bind Revert to the version of host installed by the...
details: https://anonhg.NetBSD.org/src/rev/c7507f404534
branches: trunk
changeset: 467632:c7507f404534
user: kim <kim%NetBSD.org@localhost>
date: Fri Mar 26 20:12:44 1999 +0000
description:
Revert to the version of host installed by the BIND distribution by default.
The contrib version was tagged `bind-contrib-host' before this change.
diffstat:
usr.sbin/bind/host/Makefile | 13 +-
usr.sbin/bind/host/RELEASE_NOTES | 952 ----
usr.sbin/bind/host/conf.h | 101 -
usr.sbin/bind/host/defs.h | 144 -
usr.sbin/bind/host/exit.h | 28 -
usr.sbin/bind/host/host.c | 8877 +++++--------------------------------
usr.sbin/bind/host/port.h | 148 -
usr.sbin/bind/host/rrec.h | 306 -
usr.sbin/bind/host/send.c | 841 ---
usr.sbin/bind/host/type.h | 196 -
usr.sbin/bind/host/vers.c | 11 -
usr.sbin/bind/man/host.1 | 1139 +---
12 files changed, 1474 insertions(+), 11282 deletions(-)
diffs (truncated from 13027 to 300 lines):
diff -r 2ee988d6a9f8 -r c7507f404534 usr.sbin/bind/host/Makefile
--- a/usr.sbin/bind/host/Makefile Fri Mar 26 20:04:50 1999 +0000
+++ b/usr.sbin/bind/host/Makefile Fri Mar 26 20:12:44 1999 +0000
@@ -1,12 +1,15 @@
-# $NetBSD: Makefile,v 1.2 1999/03/26 20:04:51 kim Exp $
+# $NetBSD: Makefile,v 1.3 1999/03/26 20:12:44 kim Exp $
+.PATH: ${.CURDIR}/../man
+
+WARNS= 0
BINDIR= /usr/bin
PROG= host
-SRCS= host.c send.c vers.c
+SRCS= ${PROG}.c
-WARNS= 0
-
-.PATH: ${.CURDIR}/../man
+CPPFLAGS+= ${INCLUDE}
+LDADD= ${LIBRARY}
+MAN= ${PROG}.1
.include "../../Makefile.inc"
.include <bsd.prog.mk>
diff -r 2ee988d6a9f8 -r c7507f404534 usr.sbin/bind/host/RELEASE_NOTES
--- a/usr.sbin/bind/host/RELEASE_NOTES Fri Mar 26 20:04:50 1999 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,952 +0,0 @@
- @(#)RELEASE_NOTES e07%nikhef.nl@localhost (Eric Wassenaar) 961113
-
-yymmdd Description of changes per release
-TODO Things that still need to be done
-WISHLIST Wishes expressed by various people
-NOTES Important issues to keep in mind
-MISC Miscellaneous reminders
-
-# ----------------------------------------------------------------------
-# Description of changes per release
-# ----------------------------------------------------------------------
-
-961113
- Portability fix.
- Trying to include <strings.h> was a bit over-ambitious
- and caused confusion on some platforms.
- On certain platforms PAGESIZE is not a constant, but
- hides a sysconf() call. This precludes initialization
- of static variables in malloc.c
- There are no functional changes in this release.
-
-961013
- Configurable defaults.
- Make the compiled-in read timeout during stream I/O
- configurable in conf.h. The default value is 60 seconds.
- Make the new default _res.retry and _res.retrans values
- configurable in conf.h. Note that the _res.retrans value
- can be overridden with the -s command line option.
- Minor fixes.
- Guard against possible interrupts during I/O handling.
-
-961012
- Multiple answers during zone listing.
- Allow multiple resource records per reply buffer packet
- during zone transfers. Currently BIND puts each resource
- record in a seperate reply buffer, but there are other
- implementations which behave differently. Important fix.
-
-961010
- New resource records and query types.
- Add support for T_NAPTR resource records.
- Define T_EID/T_NIMLOC/T_ATMA resource record types, but
- they have no support yet.
- Minor fixes.
- When comparing domain names in routines indomain() or
- samedomain(), properly handle embedded quoted dots.
- This is just a generalization. Currently these modules
- are used only in those cases where embedded quoted dots
- are not valid.
- Miscellaneous changes.
- Attempt to further reduce lint clutter. It is difficult
- to eliminate this altogether. There are too many subtle
- differences between various platforms.
-
-960929
- New resource records and query types.
- Define the new IXFR type as per RFC 1995. No support
- for this yet, however.
- Add support for T_KEY and T_SIG resource records.
- These require some new utility functions.
- Recognize T_NXT and T_SRV which still have draft status.
- Extra safety checks.
- After a positive return from an ordinary gethostbyname
- or gethostbyaddr we cannot be absolutely sure that the
- size of the canonical h_name is within bounds.
- Note that this is guaranteed by host's internal modules.
- Minor fixes.
- Be more restrictive with respect to wildcard checking.
- Make sure it is really specified as the first label.
- Construct reverse in-addr.arpa name without trailing dot
- if we know that this is already an absolute name.
- Miscellaneous changes.
- Print also the input name we are going to hostalias().
- Rename a few variables for better readability.
- Add various definitions that might be missing in the
- default include files on some weird platforms.
- Use a configurable limit for the number of recursive
- chain lookups.
- Some cleanup to avoid lint warnings on some platforms.
- Revised manual page.
- Some items needed an update.
- Extend the list of related RFCs.
- Several layout changes, suggested by Greg Woods.
-
-960921
- Extend functionality of -A option.
- If the -A flag is specified along with any explicit
- list mode option, it not only enables reversed address
- checking, it also enables those special checks that are
- normally suppressed during recursive listings, such as
- checks for canonical host names and invalid underscores.
- Revise -p option plus explicit server.
- Consider the set of NS servers gotten from an explicit
- server as authoritative if the -p option is also given.
- This affects whether or not to print lame delegation
- warnings in case the SOA record could not be retrieved.
- Suppress lame delegation warnings in case the A records
- for NS servers could not be retrieved and an explicit
- server is specified. The latter was an oversight.
- Indicated by Peter Koch <pk%TechFak.Uni-Bielefeld.DE@localhost>
- Improve error reporting.
- After a negative return from an ordinary gethostbyname
- or gethostbyaddr we don't know whether or not the answer
- was authoritative. Perform an extra lookup in some few
- cases where we really want to distinguish between them.
- This is kludgy, and needs improvement.
- Revise additional checking during RR printout.
- This prevents possible recursive loops in some cases.
- Requires adapting the way state information is passed
- via print_info() and print_rrec().
- Make query section consistency checks.
- When retrieving certain crucial information, such as
- SOA or NS records, make sure the qdcount is exactly one
- as it should be.
- The values in the query section in a reply should match
- those in the original query. This is already enforced
- by the BIND 4.9 res_send(). An error is reported when a
- mismatch is detected, but results are processed anyway.
- Make sure response comes from a known server.
- When using datagrams, compare the source address of the
- response to the list of known servers. Ignore the answer
- if there is a mismatch. Was missing for HOST_RES_SEND.
- Minor bug fixes.
- When retrieving SOA records, make sure they belong to
- the requested domain.
- Must properly set h_errno in some obscure circumstances.
- Miscellaneous changes.
- Clear the entire sockaddr_in before filling in the
- relevant entries. Some platforms seem to rely on
- sin_zero being actually zero.
-
-960808
- Conform to BIND 4.9.5 interpretation of TXT strings.
- When multiple strings are encoded, they are now treated
- and printed as individual quoted strings, separated by
- whitespace. Formerly, they were concatenated and printed
- as one single quoted string.
- Note that this interpretation makes the TXT data field
- multi-valued, and precludes the use of strings that are
- longer than 255 characters.
-
-960512
- Allocate list of host data dynamically.
- This avoids the MAXHOSTS static limit, and keeps the
- initial BSS of the executable to a reasonable size.
- Mentioned by Greg Woods <woods%most.weird.com@localhost>
- The list will be expanded in chunks as needed during
- zone transfers, but will not shrink again.
- Escape special characters within quoted strings.
- Data fields of TXT/HINFO/UINFO records are printed as
- quoted strings. Some special embedded characters should
- be backslash-escaped in the output format.
- Properly handle tcp packet overflow.
- If the supplied answer buffer space is insufficient to
- store the entire answer, res_send() is supposed to
- return the length of the entire untruncated answer, not
- the number of bytes that are actually available.
- Increase MAXPACKET packet buffer size.
- This is now set to the maximum value used internally
- by the BIND named. The same value is used by dig.
- Although still static, it should be sufficient.
- Miscellaneous changes.
- Show the length of the received answer in various debug
- messages. This gives some insight in case of truncation.
-
-960417
- Rudimentary support for AAAA RR.
- Just decode and print the ip v6 address during regular
- RR type processing, in the most straightforward way.
- No provisions for reverse lookups yet.
- Increase MAXPACKET packet buffer size.
- The traditional value 1024 for the (tcp) packet size is
- no longer sufficient (see moderators.uu.net MX records).
- Miscellaneous changes.
- In verbose mode, show the number of bytes in the answer
- if it exceeds the (udp) packet size PACKETSZ (512), or
- in case the answer is truncated. Print the truncation
- indication at a more appropriate position.
-
-951231
- Cosmetic changes.
- Print all relevant messages in debug mode to stdout,
- and appropriately prefix them with ";; " to conform
- with the BIND 4.9.3 conventions.
- Miscellaneous changes.
- Consider the all-ones broadcast address a fake address.
-
-951024
- Avoid potential alignment conflicts.
- Allocate socket addresses of type struct sockaddr_in
- instead of type struct sockaddr. The first one has
- stricter alignment restrictions, although they have
- the same size.
- Correct various misspellings.
- Noted by Keith Bostic <bostic%bsdi.com@localhost>
-
-950925
- Portability fix.
- Refine type definitions for the arguments to various
- resolver routines to be even more backward compatible,
- and to avoid compilation or lint warning messages on
- new platforms. It should run clean on BSD44 systems.
- There are no functional changes in this release.
-
-950923
- Add new -z option to list delegated zones in a zone.
- This is a new variant of the zone listing specials.
- A zone transfer is done, and only the names of the
- encountered delegated zones are printed.
- This option is undocumented, and subject to change.
- Sort list of delegated zones alphabetically.
- Before acting on delegated zones during zone listings,
- sort them in alphabetical order for prettier output.
- Portability fix.
- The BIND 4.9.3 resolver routines require the passed
- buffer arguments to be of type u_char instead of char.
- This causes a prototype mismatch for HOST_RES_SEND.
- Mentioned by Geert Jan de Groot <geertj%ripe.net@localhost>
- Minor command option functionality change.
- The -L flag, when given without any other list mode
- option, now implies the -l option.
- Miscellaneous code cleanup.
- Pass the name of the actually contacted server during
- zone listings in more elegant way.
- Avoid (harmless) lint warnings on picky platforms.
-
-950822
- Fix bug in recursive lookup handling.
- During recursive lookups, e.g. when following CNAME
- chains, querynames are always assumed to be already
- fully qualified, and must be tried ``as is''.
- The classical example of a CNAME that points to the
- pseudo "localhost.", or an erroneously dot-terminated
- single name, should not be subject to local aliasing
- or search list processing. They were.
- Reported by Alexander Dupuy <dupuy%smarts.com@localhost>
-
-950809
- Portability fix.
- Check for SVR4 as well as for SYSV in port.h, which is
- necessary for compilation via the master BIND Makefile.
- Suggested by <Piete.Brooks%cl.cam.ac.uk@localhost>
- There are no functional changes in this release.
-
-950502
- Maintain hash list for zone name lookups.
- This should not be really necessary for most practical
- purposes, but it makes processing of the .in-addr.arpa
- zone and even the .COM zone at least feasible.
- The latter still requires quite a lot of memory, and
- some cpu time to filter out the glue records from its
- 50000 A records and 110000 NS records.
- The toplevel zone count as of today is:
- COM 50000 delegated zones
- IN-ADDR.ARPA 30000 delegated zones
- ORG 5000 delegated zones
- NET 3000 delegated zones
- EDU 2000 delegated zones
- Suppress various checks in quiet mode.
- This avoids costly checks and achieves some speedup
- in cases that nothing would have been printed anyway.
- Supply alternative recv_sock() module.
- The select() system call may fail on the solaris 2.4
- platform without appropriate patches. An alarm can be
- used instead, at the cost of extra system call overhead.
-
-950429
- Fix bug in error reporting.
- The name and address of the contacted server during
- zone listings could be clobbered by intermediate
- calls to res_send().
-
Home |
Main Index |
Thread Index |
Old Index