Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am configuring DNS for oracle rac. But when i fired command nslookup ip it display output bt when i fired nslookup hostname no respond.
root@dns1 named]# nslookup rac2.rac.com
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
Read the "Question Guidelines" link in my posting signature. You provide no details that would let anyone help you; version/distro of Linux, how DNS is configured further along (where does your system get ITS name information from?), etc. Also, Oracle RAC is a commercial product...since you're paying for it, have you contacted Oracle support?
The above shows that there is no A record for rac2 at domain rac.com.
Did you try setting up your own domain called rac.com? If you aren't the Registrant you shouldn't do that.
Also you don't have to run a name server on the same host as Oracle RAC/GRID if you already have another name server in your environment.
When we did RAC/GRID here we setup in our internal dns domain (e.g. mydomain.com) the VIP IPs and the SCAN IPs required by RAC.
VIP of first node = racserver1 GRID VIP 10.0.70.10 racserver1-vip.mydomain.com
VIP of second node = racserver2 GRID VIP 10.0.79.11 racserver2-vip.mydomain.com
GRID Shared (SCAN) IPs racserverg-scan.mydomain.com = 10.0.70.12, 10.0.70.13 & 10.0.70.14
Again, you need to read the LQ Rules and Question Guidelines. Do NOT use text speak, and don't bump your own threads. If you need 'urgent' help, then do as suggested in the very first reply, and contact Oracle...HAVE YOU??? Oracle RAC is NOT a free product, and MensaWater gave you good advice...did you look at/try/read any of it?
And again, you STILL have not told us version/distro of Linux, or any details about your environment.
The above tells it to do query against 192.168.3.8 and if that fails do it against 184.108.40.206. It also says if you don't put in a fully qualified domain name (FQDN) then append dns.com to the short name you used.
If you do "host www.google.com" or even "host google.com" it sees that as an FQDN. If you input only "host google" it sees that as a short name and would actually search for google.dns.com (which likely doesn't exist).
So now that you know what servers you're querying you have to verify they are LISTENing on port 53. You can first simply try ping on the IPs:
If that responds you have a path to it. If it doesn't it may be you have no path or it may be it doesn't allow ping (ICMP) traffic.
You can try doing your test directly against the IPs:
dig @192.168.3.8 rac2.rac.com
dig @220.127.116.11 rac2.rac.com
My guess is that you're not actually reaching either network on port 53 because your log tells you you're not making a network connection. Is either of these an IP on your network? Did you setup DNS on one of them?
I notice you also ignored my question as to why you're trying to use "rac.com" or whether you own that.
By the way: Did you mean to have 18.104.22.168 or is that a typo of 127.0.0.1 (localhost)? If you have configured DNS on the local server having 127.0.0.1 in the resolv.conf makes sense.
Last edited by MensaWater; 03-25-2016 at 11:11 AM.