Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1602
  • 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

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

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