• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1648
  • Last Modified:

AIX, nslookup

I can ping an address, but can not find it in the nslookup

# ping 10.14.100.2
PING 10.14.100.2: (10.14.100.2): 56 data bytes
64 bytes from 10.14.100.2: icmp_seq=0 ttl=128 time=0 ms
64 bytes from 10.14.100.2: icmp_seq=1 ttl=128 time=0 ms

----10.14.100.2 PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms
#
#
# nslookup 10.14.100.2
Server:         10.14.10.10
Address:        10.14.10.10#53

** server can't find 2.100.14.10.in-addr.arpa: NXDOMAIN

Open in new window



Am I reading this correctly

Should not this be impossible
0
Los Angeles1
Asked:
Los Angeles1
1 Solution
 
woolmilkporcCommented:
nslookup queries your nameserver for the IP of a hostname (lookup) or the hostname of an IP (reverse lookup).

ping would have to lookup the IP had you specified a hostname, but because you're using an IP address with ping there is absolutely no need to query the DNS, because there is already an IP given.

Moreover, nslookup doesn't consult your /etc/hosts file, while ping does (provided /etc/netsvc.conf contains "local" in the "hosts=" specification), so you might well be able to even ping a hostname which nslookup doesn't find.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now