Red Hat Bugzilla – Bug 219473
"host" command from bind-utils package returns zero whether the host resolves or not.
Last modified: 2013-04-30 19:34:42 EDT
Description of problem:
"host" command from bind-utils package returns zero wether the host resolves or not.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# host nawaktruc.fr
Host nawaktruc.fr not found: 3(NXDOMAIN)
# echo $?
# host truc.fr
truc.fr has address 22.214.171.124
# echo $?
It should returns "1" when not found ?
Please direct this request to BIND upstream (http://www.isc.org/index.pl?/sw/bind/)
Sorry, i forgot to mention that bug doesn't happen on my ubuntu (9.3.2)...
I can direct this to BIND upstream but they wont fix code for 9.2.4 !
I see. Okay, I'll check it.
Created attachment 147575 [details]
very simple patch
Yes, this "bug" really exists. I think upstream doesn't want patch it because
patch is really simple
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.