Subject: bin/2174: nslookup doesn't understand all tags
To: None <netbsd-gnats@peti.rhein.de>
From: Peter Simons <simons@peti.rhein.de>
List: netbsd-bugs
Date: 03/05/1996 12:16:22
>Number:         2174
>Category:       bin
>Synopsis:       nslookup doesn't understand all tags
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar  5 06:35:00 1996
>Last-Modified:
>Originator:     Peter Simons
>Organization:
net
>Release:        NetBSD 1.1
>Environment:
	
System: NetBSD peti.rhein.de 1.1 NetBSD 1.1 (PETI) amiga

>Description:
	nslookup doesn't understand all dns tags correctly.
	Unfortunately, it prints out junk rather than telling so. The
	zone description for our domain Rhein.De looks as follows:

 | $ORIGIN de.
 | rhein		IN	SOA	gatekeeper.rhein.de. ws.rhein.de. (
 | 		1996030101 14400 5400 1209600 259200 )
 | 		IN	NS	gatekeeper.rhein.de.
 | 		IN	NS	oink.rhein.de.
 | 		IN	NS	uran.informatik.uni-bonn.de.
 | 		IN	NS	specklec.mpifr-bonn.mpg.de.
 | 		IN	NS	arbi.informatik.uni-oldenburg.de.
 | 		IN	NS	ki1.chemie.fu-berlin.de.
 | 		IN	MX	10 uran.informatik.uni-bonn.de.
 | 		IN	MX	20 titan.informatik.uni-bonn.de.
 | 		IN	MX	50 gatekeeper.rhein.de.
 | 		IN	MX	1000 vm.gmd.de.
 | 		IN	HINFO	"Sun-4/75" "SunOS"
 | 		IN	TXT	"Regionalnetz Bonn e.V."
 | 		IN	TXT	"Individual Network in the Bonn area"
 | 		IN	TXT	"c/o: Walter Steiner, PO Box 1624"
 | 		IN	TXT	"D-53734 Sankt Augustin, Germany"
 | 		IN	TXT	"wp-smtp-expn-finger://rhein.rhein.de"
 | 		IN	TXT	"wp-smtp-expn-finger://comma.rhein.de"
 | 		IN	TXT	"wp-smtp-expn-finger://oink.rhein.de"
 | 		IN	TXT	"wp-smtp-expn-finger://serpens.rhein.de"
 | 		IN	TXT	"wp-smtp-expn-finger://phoenix.rhein.de"
 | 		IN	TXT	"wp-smtp-expn-finger://cygnet.rhein.de"
 | 		IN	TXT	"wp-smtp-expn-finger://shadowgate.rhein.de"
 | 		IN	PTR	0.27.175.193.in-addr.arpa.
 | 		IN	PTR	0.6.174.193.in-addr.arpa.
 | 		IN	A	193.175.27.1
 | [...]

	When I call nslookup, it looks as follows:

 | simons@peti:~$ nslookup -type=any rhein.de.
 | Server:  peti.rhein.de
 | Address:  193.175.27.170
 |
 | rhein.de
 |         origin = gatekeeper.rhein.de
 |         mail addr = ws.rhein.de
 |         serial = 1996030101
 |         refresh = 14400 (4 hours)
 |         retry   = 5400 (1 hour 30 mins)
 |         expire  = 1209600 (14 days)
 |         minimum ttl = 259200 (3 days)
 | rhein.de        nameserver = gatekeeper.rhein.de
 | rhein.de        nameserver = oink.rhein.de
 | rhein.de        nameserver = uran.informatik.uni-bonn.de
 | rhein.de        nameserver = specklec.mpifr-bonn.mpg.de
 | rhein.de        nameserver = arbi.informatik.uni-oldenburg.de
 | rhein.de        nameserver = ki1.chemie.fu-berlin.de
 | rhein.de        preference = 10, mail exchanger = uran.informatik.uni-bonn.de
 | rhein.de        preference = 20, mail exchanger = titan.informatik.uni-bonn.de
 | rhein.de        preference = 50, mail exchanger = gatekeeper.rhein.de
 | rhein.de        preference = 1000, mail exchanger = vm.gmd.de
 | rhein.de        CPU = Sun-4/75  OS = SunOS
 | rhein.de        text = "Regionalnetz Bonn e.V."
 | rhein.de        text = "Individual Network in the Bonn area"
 | rhein.de        text = "c/o: Walter Steiner, PO Box 1624"
 | ÿø÷"€ÿde        text = "
 | (name truncated?)
 | *** peti.rhein.de can't find rhein.de.: Unspecified error

	nslookup on SunOS, does, nonetheless, show all entries
	correctly.

	I use the following version of nslookup under 1.1:

 | simons@peti:~$ ident `which nslookup`
 | /usr/sbin/nslookup:
 |      $Id: commands.l,v 1.3 1993/08/01 17:58:17 mycroft Exp $
 |      $Id: main.c,v 1.4 1995/05/22 01:02:36 mycroft Exp $
 |      $Id: getinfo.c,v 1.4 1995/05/22 01:02:34 mycroft Exp $
 |      $Id: debug.c,v 1.2 1993/08/01 17:58:16 mycroft Exp $
 |      $Id: send.c,v 1.2 1993/08/01 17:58:09 mycroft Exp $
 |      $Id: skip.c,v 1.2 1993/08/01 17:58:07 mycroft Exp $
 |      $Id: list.c,v 1.2 1993/08/01 17:58:13 mycroft Exp $
 |      $Id: subr.c,v 1.2 1993/08/01 17:58:06 mycroft Exp $

>How-To-Repeat:
	nslookup -type=any rhein.de. gatekeeper.rhein.de

>Fix:

>Audit-Trail:
>Unformatted: