Oracle
本文將詳細介紹如何配置 DNS 來解析 SCAN VIP
演示環境
OracleEnterprise Linux
一
rpm
rpm
rpm
DNS的守護進程
/usr/sbin/named
/usr/sbin/rndc
DNS的腳本
/etc/init
DNS的端口
DNS的配置文件
/var/named/chroot/etc/nf(主配置文件)
/var/named/chroot/*
二
[root@rac
[root@rac
total
[root@rac
//
//named
//
// Provided by RedHat caching
// ISC BIND named(
// (as a localhostDNS resolver only)
//
// See/usr/share/doc/bind*/sample/ for example named configuration files
//
// DONOT EDIT THIS FILE
// tocreate nf
// caching
//
[root@rac
[root@rac
total
listen
allow
match
match
allow
將上述entry中的 host 信息全部修改為 any
[root@rac
zone
type master;
file
allow
};
[root@rac
zone
type master;
file
allow
};
這裡需要注意的是
[root@rac
[root@rac
total
drwxrwx
drwxrwx
[root@rac
[root@rac
[root@rac
$TTL
@ IN SOA (
IN NS
rac
rac
rac
注意
[root@rac
$TTL
@ IN SOA
IN NS
注意
(
(
[root@rac
Stopping named:[ OK ]
Starting named:[ OK ]
[root@rac
#search
#nameserver
nameserver
注意
[root@rac
Server:
Address:
[root@rac
[root@rac
Server:
Address:
Name:
Address:
Name:
Address:
Name:
Address:
[root@rac
Server:
Address:
Name:
Address:
Name:
Address:
Name:
Address:
[root@rac
Server:
Address:
#eth
#VIP
#eth
From:http://tw.wingwit.com/Article/program/Oracle/201311/18492.html