[4151] in Athena Bugs

home help back first fref pref prev next nref lref last post

vax 6.4R: /bin/athena/hostinfo

daemon@ATHENA.MIT.EDU (John T Kohl)
Tue Feb 6 17:29:29 1990

Date: Tue, 6 Feb 90 17:28:46 -0500
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System name:		lycus
Type and version:	CVAXSTAR 6.4R
Display type:		SM

What were you trying to do?
	look up the address of 'vax.dialup.mit.edu'

What's wrong:
	hostinfo only displays the first address; it fails to print the
additional addresses.

[{1}lycus:~]
% hostinfo vax.dialup.mit.edu
Desired host:   vax.dialup.mit.edu
Official name:  vax.dialup.mit.edu
Host address:   18.71.0.19
[{1}lycus:~]
% bindtest
> avax.dialup.mit.edu
res_mkquery(0, vax.dialup.mit.edu, 255, 1)
res_send()
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  rd
        qdcount = 1, ancount = 0, nscount = 0, arcount = 0

QUESTIONS:
        VAX.DIALUP.MIT.EDU, type = A, class = ANY

Querying server (# 1) address = 127.0.0.1
got answer:
HEADER:
        opcode = QUERY, id = 1, rcode = NOERROR
        header flags:  qr rd ra
        qdcount = 1, ancount = 3, nscount = 2, arcount = 2

QUESTIONS:
        VAX.DIALUP.MIT.EDU, type = A, class = ANY

ANSWERS:
        VAX.DIALUP.MIT.EDU
        type = A, class = IN, ttl = 53, dlen = 4
        internet address = 18.71.0.19

        VAX.DIALUP.MIT.EDU
        type = A, class = IN, ttl = 53, dlen = 4
        internet address = 18.71.0.17

        VAX.DIALUP.MIT.EDU
        type = A, class = IN, ttl = 53, dlen = 4
        internet address = 18.80.0.8


What should have happened:
	It should print all the addresses.

Please describe any relevant documentation references:
	hostinfo(1)

home help back first fref pref prev next nref lref last post