LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Red Hat Linux 5 on VMware (http://www.linuxquestions.org/questions/linux-server-73/red-hat-linux-5-on-vmware-877450/)

ashishbamane 04-27-2011 02:50 PM

Red Hat Linux 5 on VMware
 
Hello All,

I have install Redhat Linux server 5 on VMware machine.
The installtion is successfully completed and i have given FQDN name to the system(redhatserver.test.com) with static ip address. I am able to ping the IP also. but when i tries to execute the "dig" or "nsllokup" command it gives the error"connection timeout, no servers could be reached"
I have checked the resolv.conf also, its having following directive
search test.com
nameserver 192.168.10.1 (server ip)

Any suggestion how to resolve this

Thanks in Advance

Ashish

acid_kewpie 04-27-2011 03:34 PM

Can you ping the nameserver IP? Is it a valid server? There really should be nothing likely to get in the way other than routing and the end point in question.

TB0ne 04-27-2011 03:39 PM

Quote:

Originally Posted by ashishbamane (Post 4338412)
Hello All,
I have install Redhat Linux server 5 on VMware machine.
The installtion is successfully completed and i have given FQDN name to the system(redhatserver.test.com) with static ip address. I am able to ping the IP also. but when i tries to execute the "dig" or "nsllokup" command it gives the error"connection timeout, no servers could be reached"
I have checked the resolv.conf also, its having following directive
search test.com
nameserver 192.168.10.1 (server ip)

Any suggestion how to resolve this

Is that 192 address the address of the NAMESERVER, or of your new machine?? And unless you've put a record into your internal DNS server to resolve that address back to a name, you won't be able to dig or look it up by name. Same as any other OS...you've got to build the server, then put the record into DNS. If you're just wanting to do it locally, then put an entry into your /etc/hosts file for your system...you can then ping the hostname, since it will resolve (usually), from hosts file first, then DNS.

And since you're using RedHat Enterprise Linux...CALL REDHAT FOR SUPPORT, since you're paying for it, right?


All times are GMT -5. The time now is 04:58 AM.