DNS Server Configuration For Oracle-RAC
DNS Server Configuration For Oracle-RAC
2: 3 Nodes Machines
paw-racstorage-dns.examlpe.com :
gateway : 192.168.75.1
subnet : 255.255.255.0
hostname: paw-racstorage-dns.examlpe.com
3 Nodes Details:
Node1:
paw-racnode1.examlpe.com :
gateway : 192.168.75.1
subnet : 255.255.255.0
hostname: paw-racnode1.examlpe.com
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 1/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
Node2:
paw-racnode2.examlpe.com :
gateway : 192.168.75.1
subnet : 255.255.255.0
hostname: paw-racnode2.examlpe.com
Node3:
paw-racnode3.example.com
gateway : 192.168.75.1
subnet : 255.255.255.0
hostname: paw-racnode3.examlpe.com
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 2/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 3/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
bind-9.3.6-16.P1.el5
bind-utils-9.3.6-16.P1.el5
bind-devel-9.3.6-16.P1.el5
bind-sdb-9.3.6-16.P1.el5
bind-libbind-devel-9.3.6-16.P1.el5
bind-libs-9.3.6-16.P1.el5
bind-chroot-9.3.6-16.P1.el5
system-con䁀옿g-bind-4.0.3-4.el5
ypbind-1.19-12.el5_6.1
caching-nameserver-9.3.6-16.P1.el5
//
// named.caching-nameserver.conf
//
//
//
//
options {
directory “/var/named”;
dump-䁀옿le “/var/named/data/cache_dump.db”;
statistics-䁀옿le “/var/named/data/named_stats.txt”;
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 5/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
memstatistics-䁀옿le “/var/named/data/named_mem_stats.txt”;
// randomization
allow-query { localhost; };
allow-query-cache { localhost; };
};
logging {
channel default_debug {
䁀옿le “data/named.run”;
severity dynamic;
};
};
view localhost_resolver {
match-clients { localhost; };
match-destinations { localhost; };
recursion yes;
include “/etc/named.rfc1912.zones”;
};
// named.caching-nameserver.confalhost; };
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 6/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
//
//
//
options {
directory “/var/named”;
dump-䁀옿le “/var/named/data/cache_dump.db”;
statistics-䁀옿le “/var/named/data/named_stats.txt”;
memstatistics-䁀옿le “/var/named/data/named_mem_stats.txt”;
// randomization
};
logging {
channel default_debug {
䁀옿le “data/named.run”;
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 7/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
severity dynamic;
};
};
view localhost_resolver {
recursion yes;
include “/etc/named.rfc1912.zones”;
};
Orignal “/etc/named.rfc1912.zones” :
// named.rfc1912.zones:
//
//
//
//
zone “.” IN {
type hint;
䁀옿le “named.ca”;
};
zone “localdomain” IN {
type master;
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 8/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
䁀옿le “localdomain.zone”;
allow-update { none; };
};
zone “localhost” IN {
type master;
䁀옿le “localhost.zone”;
allow-update { none; };
};
zone “0.0.127.in-addr.arpa” IN {
type master;
䁀옿le “named.local”;
allow-update { none; };
};
zone “0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa” IN {
type master;
䁀옿le “named.ip6.local”;
allow-update { none; };
};
zone “255.in-addr.arpa” IN {
type master;
䁀옿le “named.broadcast”;
allow-update { none; };
};
zone “0.in-addr.arpa” IN {
type master;
䁀옿le “named.zero”;
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 9/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
allow-update { none; };
};
Modifed “/etc/named.rfc1912.zones”:
// named.rfc1912.zones:
//
//
//
zone “.” IN {
type hint;
䁀옿le “named.ca”;
};
zone “example.com” IN {
type master;
䁀옿le “for.zone”;
allow-update { none; };
};
zone “localhost” IN {
type master;
䁀옿le “localhost.zone”;
allow-update { none; };
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 10/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
};
zone “75.168.192.in-addr.arpa” IN {
type master;
allow-update { none; };
};
zone “0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa” IN {
type master;
䁀옿le “named.ip6.local”;
allow-update { none; };
};
zone “255.in-addr.arpa” IN {
type master;
䁀옿le “named.broadcast”;
allow-update { none; };
};
zone “0.in-addr.arpa” IN {
type master;
䁀옿le “named.zero”;
allow-update { none; };
};
[root@paw-racstorage-dns named]# ll
total 44
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 11/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
[root@paw-racstorage-dns named]# ll
total 52
Orignal “/var/named/chroot/var/named/for.zone”䁀옿le:
$TTL 86400
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 12/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
$TTL 86400
1997022700 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 13/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
$TTL 86400
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
$TTL 86400
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 14/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
; generated by /sbin/dhclient-script
search localdomain
nameserver 192.168.75.2
; generated by /sbin/dhclient-script
search example.com
nameserver 192.168.75.10
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 15/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
[root@paw-racstorage-dns named]#
search localdomain
nameserver 192.168.75.2
search example.com
nameserver 192.168.75.10
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 16/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
DNS Testing :
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 17/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
;; Got answer:
;; QUESTION SECTION:
;; ANSWER SECTION:
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 18/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
;; SERVER: 192.168.75.10#53(192.168.75.10)
;; Got answer:
;; QUESTION SECTION:
;; ANSWER SECTION:
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; SERVER: 192.168.75.10#53(192.168.75.10)
;; Got answer:
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 19/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
;; QUESTION SECTION:
;; ANSWER SECTION:
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; SERVER: 192.168.75.10#53(192.168.75.10)
;; Got answer:
;; QUESTION SECTION:
;; ANSWER SECTION:
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 20/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
;; SERVER: 192.168.75.10#53(192.168.75.10)
;; Got answer:
;; QUESTION SECTION:
;; SERVER: 192.168.75.10#53(192.168.75.10)
;; Got answer:
;; QUESTION SECTION:
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 21/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
;; SERVER: 192.168.75.10#53(192.168.75.10)
;; Got answer:
;; QUESTION SECTION:
;; SERVER: 192.168.75.10#53(192.168.75.10)
;; Got answer:
;; QUESTION SECTION:
;paw-racnode2.in-addr.arpa. IN PTR
;; SERVER: 192.168.75.10#53(192.168.75.10)
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 22/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
;; Got answer:
;; QUESTION SECTION:
;; SERVER: 192.168.75.10#53(192.168.75.10)
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racstorage-dns.example.com
Address: 192.168.75.10
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racstorage-dns.example.com
Address: 192.168.75.10
Server: 192.168.75.10
Address: 192.168.75.10#53
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 23/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
Name: paw-racnode1.example.com
Address: 192.168.75.11
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode1.example.com
Address: 192.168.75.11
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode2.example.com
Address: 192.168.75.12
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode3.example.com
Address: 192.168.75.13
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode1-priv.example.com
Address: 10.0.0.1
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode2-priv.example.com
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 24/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
Address: 10.0.0.2
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode3-priv.example.com
Address: 10.0.0.3
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode1-vip.example.com
Address: 192.168.75.21
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode2-vip.example.com
Address: 192.168.75.22
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-racnode3-vip.example.com
Address: 192.168.75.23
Server: 192.168.75.10
Address: 192.168.75.10#53
Name: paw-rac01-scan.example.com
Address: 192.168.75.101
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 25/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
Name: paw-rac01-scan.example.com
Address: 192.168.75.102
Name: paw-rac01-scan.example.com
Address: 192.168.75.103
=====================================================================
Checking on paw-racnode1 :
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 26/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 27/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
=====================================================================
Checking on paw-racnode2 :
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 28/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 29/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
====================================================================
Checking on paw-racnode3 :
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 30/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 31/32
5/28/2016 DNS Server Configuration For OracleRAC in RHEL 5/6/7 | airydba Oracle Blog Notes
About these ads
https://airydba.wordpress.com/2016/05/26/dnsserverconfigurationfororacleracinrhel567/ 32/32