nslookup returns "connection timed out"
Hi,
I am not so experienced with networking in Linux so you'd excuse me if my question looks silly. I've successfully installed Red Hat Linux Enterprise 5.2 on a VMware host. When I issued nslookup command, it returns "connection timed out" error as follows: Code:
[root@rac1 ~]# time nslookup rac1 (1) is that error normal? (2) is there a way to decrease the 15.038s value? rac1 is the local hostname, so why it takes all that time to resolve it. Following info may help: Code:
[root@rac1 ~]# hostname |
Greetingz!
That error is normal...if you're unable to query your default Domain Name Server(s) as defined in your /etc/resolv.conf. Sample /etc/resolv.conf [code]search example.com search user.example.com nameserver 172.16.0.1 nameserver 172.16.0.2 nameserver 172.16.0.3[code] There is a way to decrease that wait time; 1) Configure it to query the correct DNS server(s). 2) Use a different command "getent hosts hostname" will hit the /etc/hosts file. If this (or any post helps), please rate that post. If your problem is solved, please use "Thread Tools" to mark the thread [SOLVED]. |
Thanks for your reply.
I don't have any DNS server. I want to just use the /ect/hosts file. Should I edit /etc/resolv.conf? what shall I put in it? |
Quote:
Quote:
Quote:
If this or any other post helps you, make sure you mark that post as "helpful". If your problem gets solved, use "thread tools" at the tippy-top of the page to mark this thread as [SOLVED]. |
Actually the nlslookup command is used by a software to check the response time. And the software requires a response time less than 15 Seconds. I thought as no nds server is actually used and only the local file /etc/hosts is used, the response time should easily by less than 15 s!
|
Maybe if you posted the code we'd get a better understanding of what you're attempting to do.
Don't forget the 'code' tags. |
The error displayed by Oracle has nothing to do with Linux.
Anyway, thanks for your helpful reply. If you're curious, following is the error I got from Oracle Code:
PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on |
which version of oracle are you installing ? 11.2.0.2?
|
yes
|
I had the same issue with 11.2.0.2 and I could not find work around since i do not have DNS server, BUT with Oracle 11.2.0.1 and Oracle Linux 5 Update 5 no issues of any kind to build a RAC.
good luck, let me know |
All times are GMT -5. The time now is 05:32 PM. |