nslookup problem


I have configured my /etc/resolv.conf with the below settings.
domain sistestdomain.sistest.com
search sistestdomain.sistest.com

I have remove all the host defined on the /etc/hosts.  When I try to ping on one of the server that is defined on the Domain Controller, ping is successful.  When I try to do nslookup on the same server that I ping, I am getting the below error.

#ping issolaris    
PING issolaris.sistestdomain.sistest.com: ( 56 data bytes
64 bytes from icmp_seq=0 ttl=252 time=1 ms
64 bytes from icmp_seq=1 ttl=252 time=1 ms

----issolaris.sistestdomain.sistest.com PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1/1/1 ms

#nslookup issolaris
*** Can't find server name for address host/domain
*** Default servers are not available

Who is Participating?
dhoffman_98Connect With a Mentor Commented:
The reverse lookup would be on the DNS server, which as you indicated is also your DC.  Check the following link for basic instructions about creating these zones. Basically, what you will end up with is a zone called 244.32.10.in-addr.arpa. This is the standard default naming for a reverse lookup zone. No it's not wrong that the first three octets are backwards, that's the way it works. Inside that zone, you'll create a record, but because this is a reverse lookup, you'll create a PTR record instead of an A record. The PTR record simply holds the fourth octet, which in this case is 14, and the associated host name, which in this case should be issolaris.sistestdomain.sistest.com.


Something else to look into... When you run NSLOOKUP, you can specify the server you want to communicate with. Execute nslookup with no arguments. Then on the first command line type the word "server" followed by a space, and then the IP Address or host name of the server you want to query. I'm telling you this because I'll suggest another test for you as well...

On the windows machine, open a command prompt and do just that. Run nslookup, and specify the server that your AIX machine is trying to communicate with. See if you have the same results. While the exact details of nslookup might be slightly different on AIX versus Windows, your results should be fairly the same.

Once you get the reverse record in DNS, you'll be able to resolve the name if you specify the address.
I'm slightly confused about something. First you are explaining your question and talking about your /etc/resolv.conf and /etc/hosts files, nut then you are talknig about pinging a host on the Domain Controller. Are you saying that a Windows DC is also your DNS server? It may seem like a stupid question, but are you sure the DNS server is running? Are there any errors or event log entries when starting the service?

It is possible that the error you are getting is due to not having a reverse lookup record for on the name server. When you start nslookup, it attempts to connect to the name server and do a reverse lookup against the IP Address to display the name of the server you connected to.

mkuser01Author Commented:
Hi dhoffman,

Yes, my DC is also my DNS.
How do I set the reverse lookup? And is it on the DC or in the AIX server?

Thank you in advance.
mkuser01Author Commented:
Thanks dhoffman
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.

All Courses

From novice to tech pro — start learning today.