This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 3234 - dnsquery, route, unable to resolve anything
dnsquery, route, unable to resolve anything
Product: Red Hat Linux
Classification: Retired
Component: bind (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Cristian Gafton
Depends On:
  Show dependency treegraph
Reported: 1999-06-03 06:16 EDT by tom
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-19 17:57:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description tom 1999-06-03 06:16:10 EDT
dnsquery is unable to look up addresses without help, eg:

[tom@skybowl tom]$ dnsquery
Query failed (h_errno = 2) : Host name lookup failure

If I specify a nameserver it's able to use DNS (it's even
the same DNS server that's listed in /etc/resolv.conf).

[tom@skybowl tom]$ dnsquery -n
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26208
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 3,
;;, type = ANY, class = IN		48m41s IN NS		48m41s IN NS		48m41s IN NS		48m38s IN A		48m38s IN MX	10		48m38s IN MX	5		48m41s IN NS		48m41s IN NS		48m41s IN NS		1d13h25m49s IN A	5h37m12s IN A	48m11s IN A  48m38s IN A

A utility such as host still works fine without help:
[tom@skybowl tom]$ host has address mail is handled (pri=10) by mail is handled (pri=5) by

As a side effect I also note that 'route' isnt able to
resolve hosts:

[tom@skybowl tom]$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric
Ref    Use Iface    *      UH    0
0        0 eth0    *        U     0
0        0 eth0       *            U     0
0        0 lo
default         UG    0
0        0 eth0
Comment 1 Jeff Johnson 1999-06-06 12:20:59 EDT
I'm changing the component to bind because that's the package that
contains dnsquery.

Route resolves hostnames quite well, even in your example. Perhaps
your DNS needs some attention ...
Comment 2 tom 1999-06-06 12:38:59 EDT
erg (don't submit bugs late at night I think is the moral) in regards
my route embarrassment. However, dnsquery is definitely buggy.

The RedHat 5.2 machines are able to use dnsquery, but not the 6.0
Comment 3 Jay Turner 1999-06-29 07:29:59 EDT
Confirmed the dnsquery problem in the test lab.
Comment 4 Jay Turner 1999-06-29 07:30:59 EDT
Confirmed the dnsquery problem in the test lab.
Comment 5 Bill Nottingham 1999-08-19 17:57:59 EDT
works OK with the latest dnsquery from bind in Raw Hide.

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