Hi Guru's,
During configuring the DNS for Oracle RAC on my testing machine on Virtual Machine i am getting below error, kindly suggest me why the mentioned error is coming i think there is some problem with named configuration file or what else:-
service named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found
[FAILED]
My /etc/hosts file details as below
# Public
192.168.0.101 ol5-112-rac1.localdomain ol5-112-rac1
192.168.0.102 ol5-112-rac2.localdomain ol5-112-rac2
# Private
192.168.1.103 ol5-112-rac1-priv.localdomain ol5-112-rac1-priv
192.168.1.104 ol5-112-rac2-priv.localdomain ol5-112-rac2-priv
# Virtual
192.168.0.105 ol5-112-rac1-vip.localdomain ol5-112-rac1-vip
192.168.0.106 ol5-112-rac2-vip.localdomain ol5-112-rac2-vip
# SCAN
192.168.0.107 ol5-112-scan.localdomain ol5-112-scan
192.168.0.108 ol5-112-scan.localdomain ol5-112-scan
192.168.0.109 ol5-112-scan.localdomain ol5-112-scan
cat /etc/named.conf file:-
options {
// Set IP address correctly.
listen-on port 53 { 127.0.0.1; 192.168.0.4; };
//
// Leave the rest of the config as it is.
//
// My Additions
// Forwarder: Anything this DNS can't resolve gets forwarded to my ISPs DNS.
forwarders { 194.168.4.100; 194.168.8.100; };
// End My Additions
};
include "/etc/rndc.key";
zone "localdomain." IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
Can anyone of you please suggest sol for the same