host name not resolved
I have a server (Red Hat 6.0) named XXServer with a static IP address. When I run
host XXServer it replies that the host is not found. JBoss is failing to start because it hits this problem. All other network functions work well, including accessing other hosts. |
hmm u need be some more specific..
give the output of these commands: cat /etc/resolv.conf and also have you configured dns server on your xxserver... this is to be answered .... in between u can try making an entry in resolv.conf file under /etc.. hope it helps.. |
/etc/resolv.conf has two lines
nameserver <ip of nameserver> nameserver <ip of alternative nameserver> This server is not set up to do dns. |
host or hostname issue? I am confused.
|
Please post output of
Code:
cat /etc/resolv.conf |
Hello Everyone
I am trying to connect pop3 server using telnet hostname 110 It is showing connected but I am unable to execute commands like user.. pass etc.. and same problem for SMTp port 25 .. Please help |
@yashdesai7: please start a new thread.
|
How to start new thread.. I know its very silly question.. but as a new subscriber. I am not able to find option for starting new thread..
sorry..!! |
See if this works to post a new topic or question.
http://www.linuxquestions.org/questi...=newthread&f=3 |
Quote:
you have to specify a **hostname or to configure a dns to do that... for more help i'll prefer u should answer above requested outputs here ...as specified by a GURU user....above |
The quick and dirty solution would be to add the servers real name and IP to /etc/hosts (Not best practice, but can be ok for labs or tests.)
Example 1 Code:
192.168.1.13 xxserver.mydomain.org xxserver Code:
192.168.1.13 xxserver |
All times are GMT -5. The time now is 11:30 PM. |