Subject: bin/3492: /usr/sbin/host fails to apply domain search rules
To: None <gnats-bugs@gnats.netbsd.org>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: netbsd-bugs
Date: 04/14/1997 15:51:05
>Number: 3492
>Category: bin
>Synopsis: /usr/sbin/host fails to apply domain search rules
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 14 16:05:01 1997
>Last-Modified:
>Originator:
>Organization:
NetBSD
>Release: NetBSD-current as at 1997-04-12; possibly NetBSD 1.2(?)
>Environment:
System: NetBSD Cup.DSG.Stanford.EDU 1.2D NetBSD 1.2D (DSG_4K) #0: Mon Mar 31 20:29:11 PST 1997 jonathan@Cup.DSG.Stanford.EDU:/aga/n1/src/NetBSD/IP-PLUS/src/sys/arch/i386/compile/DSG_4K i386
>Description:
/usr/sbin/host fails to apply domain search rules.
>How-To-Repeat:
Suppose you have a host called Hostname.Some.Internal.Domain.
Suppose there's a host called "Fred.Internal.Domain.
On Hostname.Some.Internal.Domain, do:
host Fred
See host(8) report that Fred.Some.Internal.Domain doesn't exist,
and give up.
As of BIND-4.9.3-P9, (or thereabouts) /usr/sbin/host *used* to search
up the domain searchlist, find Fred.Internal.Domain, and report on it.
The newer, ``enhanced'' version of host that we've had since
BIND-4.9.4 doesn't do this. If this is a local substitution,
I would very much like the old behaviour back.
I think the new behaviour is a bug, as it means host(8) gives
different answers than all other DNS clients.
>Fix:
I dunno, go back to the previous version of host(8)? I haven't
checked to see if this is a local substitution or a change in BIND.
If the latter, the bugreport should be forwarded to the BIND maintainer ;).
>Audit-Trail:
>Unformatted: