This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 152281 - Resolving using doesn't work at host
Resolving using doesn't work at host
Product: Fedora
Classification: Fedora
Component: bind (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2005-03-27 05:38 EST by Robert Scheck
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-03-28 09:24:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2005-03-27 05:38:51 EST
Description of problem:
Resolving using doesn't work at host:

> host has address

> host domain name pointer

> host

This also applies to and

Version-Release number of selected component (if applicable):

How reproducible:
Everytime, see above. Even reproducible, if bind is rebuilt against -16 or -18. 
Older Rawhide glibcs, I didn't check.

Actual results:
Resolving using doesn't work at host.

Expected results:
> host domain name pointer

Additional info:
I'm not sure, maybe this problem should be re-assigned to glibc.
Comment 1 Jason Vas Dias 2005-03-28 09:24:32 EST
The host command is perhaps not doing what you expect - the command:
$ host

Will be looking up an "A" (address) record for, and
will also be using the search path in /etc/resolv.conf, so if your resolv.conf
contains the line:
host will be generating the queries A ? A ?

Giving host the IP address instead of the name makes it perform 
a PTR query for the name for the address, which is probably what
you want:
   $ host domain name pointer

You could also use the -t option:
    $ host -t PTR domain name pointer

    $ dig
Or: $ dig -x


Note You need to log in before you can comment on or make changes to this bug.