[21090] in Athena Bugs
hostinfo oddity
daemon@ATHENA.MIT.EDU (James M. Kretchmar)
Tue Nov 19 11:20:16 2002
Message-Id: <200211191620.LAA11703@mission-control.mit.edu>
To: bugs@MIT.EDU
Date: Tue, 19 Nov 2002 11:20:13 -0500
From: "James M. Kretchmar" <kretch@MIT.EDU>
Mission-control is running Athena 9.1.15 / Solaris. Just for a
baseline:
mission-control:29521.null% hostinfo foobar
Desired host: foobar
Official name: foobar.MIT.EDU
Host address: 18.239.0.66
mission-control:29521.null% hostinfo foobar.mit.edu
Desired host: foobar.mit.edu
Official name: foobar.mit.edu
Host address: 18.239.0.66
No problem. Now the weirdness:
mission-control:29521.null% hostinfo nw12-rtr-1
No such host 'nw12-rtr-1'.
mission-control:29521.null% hostinfo nw12-rtr-1.mit.edu | head -5
Desired host: nw12-rtr-1.mit.edu
Official name: nw12-rtr-1.mit.edu
Host address: 18.251.0.1
Host address: 18.252.0.1
Host address: 18.9.0.1
harley:29521.null% hostinfo nw12-rtr-2 | head -5
Desired host: nw12-rtr-2
Official name: nw12-rtr-2.MIT.EDU
Host address: 18.120.0.1
Host address: 18.139.0.1
Host address: 18.150.0.1
Neo has it's own builtin hostinfo feature:
mission-control:29521.null% neo hostinfo nw12-rtr-1
Official name: NW12-RTR-1-W5.MIT.EDU
Host address: 18.249.0.1
Host CPU: CISCO/7513
Host OS: IOS
I don't see anything odd with dig or the hosttable, though those would
be irrelevant from a FQDN point of view.
mission-control:29521.null% more /etc/resolv.conf
domain MIT.EDU
nameserver 127.0.0.1
Same bahavior on a stock 9.1.14 Linux machine.
kretch