Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 13906 - nslookup -q=A != nslookup set type=A (in utility mode)
nslookup -q=A != nslookup set type=A (in utility mode)
Product: Red Hat Linux
Classification: Retired
Component: bind (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  Show dependency treegraph
Reported: 2000-07-13 11:26 EDT by samkaski
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: 2000-07-13 11:26:03 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 samkaski 2000-07-13 11:26:01 EDT
I discovered this while trying to query a DNS server. Here, let me

-- demonstration--

samkaski@vortex:~$ nslookup -q=A irc.fi.quakenet.eu.org ns1.quakenet.eu.org
*** Can't find server name for address Server failed
*** Default servers are not available

18:17:57.586699 eth1 > > 3653+
PTR? (46) (DF) (ttl 64, id 0)
18:17:57.672753 eth1 < > 3653
ServFail 0/0/0 (46) (ttl 53, id 47931)

samkaski@vortex:~$ nslookup
Default Server:  localhost

> server ns1.quakenet.eu.org
Default Server:  ns1.quakenet.eu.org

> set type=A
> irc.fi.quakenet.eu.org
Server:  ns1.quakenet.eu.org

Name:    irc.fi.quakenet.eu.org

> exit

18:18:48.433937 eth1 > > 13517+
A? irc.fi.quakenet.eu.org. (40) (DF) (ttl 64, id 0)
18:18:48.492745 eth1 < > 13517*
1/2/2 irc.fi.quakenet.eu.org. A (139) (ttl 53, id 47947)


What this means is that when nslookup is used from the command line
to search for a A type record it incorrectly tries to resolve the
PTR record for the given DNS server. This might or might not be an
issue (depends if the remote server allows PTR-queries or not).

Dig works correctly.

samkaski@vortex:~$ rpm -qa|grep ^bind-utils
Comment 1 Pekka Savola 2000-07-15 18:40:58 EDT
This is how nslookup works.  Just try e.g. 'nslookup -q=A irc.fi.quakenet.eu.org
ns.funet.fi'.  You'll get answer nice and neat.

The thing here is that nslookup (used in this way) first asks the specified
server a PTR of its own address (here  That
server/zone in question can't handle the situation; It has been misconfigured.

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