LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   can't display server name when nslookup is issued (https://www.linuxquestions.org/questions/linux-server-73/cant-display-server-name-when-nslookup-is-issued-579691/)

group3 08-25-2007 05:03 AM

can't display server name when nslookup is issued
 
I have configured a dns server on redhat linux and it is working quite ok, but the problem is that when i issue nslookup it is not giving me the server name instead it is giving an ip address of the server.

The output is like this

Server: 192.168.0.2
Address: 192.168.0.2#53

Name: group3.edu
Address: 192.168.0.2

soroccoheaven 08-25-2007 05:33 AM

pls. try dig ip_address and dig server_name and post

AlucardZero 08-25-2007 08:06 AM

..can you post exactly what command you typed, and what you expected to get back?

zQUEz 08-25-2007 10:10 AM

group3: in the example you listed, it says the name of the server is: Name: group3.edu

Are you saying IP 192.168.0.2 is not group3.edu?

group3 08-28-2007 07:53 AM

Guys

I used nslookup command. So instead of the result come out like;

server: group3.group3.edu
address: 192.168.0.2

Name: group3.edu
address:192.168.0.2

It is giving

server: 192.168.0.2
address: 192.168.0.2#53

Name: group3.edu
address:192.168.0.2

soroccoheaven 08-30-2007 04:42 AM

pls recheck your zone file i think you missed a "."


All times are GMT -5. The time now is 02:54 AM.