AIX, nslookup

Posted on 2012-09-06
Last Modified: 2012-09-06
I can ping an address, but can not find it in the nslookup

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

---- PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms
# nslookup

** server can't find NXDOMAIN

Open in new window

Am I reading this correctly

Should not this be impossible
Question by:Los Angeles1
    1 Comment
    LVL 68

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
    In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now