ORACLE RAC Deployment Record preparation task (ii): BIND (DNS)

Source: Internet
Author: User
Tags dnssec nslookup

[[email protected] ~]# yum install bind[[email protected] ~]# vi  /etc/named.conf//// named.conf//// provided by red hat bind package to  configure the isc bind named (8)  dns// server as a caching  only nameserver  (as a localhost dns resolver only).//// see  /usr/share/doc/bind*/sample/ for example named configuration files.//options  {        listen-on port 53 { any; };         listen-on-v6 port 53 { ::1; };         directory        "/var/named";         dump-file        "/var/named /data/cache_dump.db ";         statistics-file  "/var/named/data/named_stats.txt";         memstatistics-file  "/var/named/data/named_mem_stats.txt";         allow-query     { any; };         recursion yes;         dnssec-enable no;        dnssec-validation no;         /* Path to ISC DLV key */         bindkeys-file  "/etc/named.iscdlv.key";         managed-keys-directory  "/var/named/dynamic";}; logging {        channel default_debug {                 file  "Data/named.run";                 severity dynamic;        };}; zone  "."  IN {        type hint;         file  "named.ca";}; zone  "tidepharm.cn"  IN {        type master;         file  "Tidepharm.cn.zone";}; include  "/etc/named.rfc1912.zones";include  "/etc/named.root.key";


[[email protected] ~]# cd /var/named/[[email protected] named]# cp  Named.localhost tidepharm.cn.zone[[email protected] named]# vi tidepharm.cn.zone$ttl     86400@                IN SOA  tidepharm.cn. admin.tidepharm.cn.  (                                          42               ; serial                                           3h              ; refresh                                           15m             ; retry                                           1W              ;  expiry                                          1d&nbSP;)             ; minimum             IN NS   ns.tidepharm.cn.ns           IN A    192.168.1.250king         IN A    192.168.1.251king         IN A    192.168.1.252king         in a    192.168.1.253


[Email protected] named]# chown root:named tidepharm.cn.zone[[email protected] ~]#/etc/init.d/named Start[[email     Protected] ~]# chkconfig named On[[email protected] ~]# chkconfig named--listnamed 0:off 1:off 2:on 3:on 4:on 5:on 6:off


[Email protected] ~]# vi/etc/resolv.conf search tidepharm.cnnameserver 192.168.1.250[[email protected] ~]# VI/ETC/NSSW        itch.conf hosts:files dns[[email protected] ~]# nslookup king.tidepharm.cnserver:192.168.1.250address: 192.168.1.250#53name:king.tidepharm.cnaddress:192.168.1.251name:king.tidepharm.cnaddress:192.168.1.252name:k ing.tidepharm.cnaddress:192.168.1.253


[Email protected] ~]# vi/etc/resolv.conf search tidepharm.cnnameserver 192.168.1.250[[email protected] ~]# VI/ETC/NSSW        itch.conf hosts:files DNS [[email protected] ~]# nslookup king.tidepharm.cnserver:192.168.1.250address:   192.168.1.250#53name:king.tidepharm.cnaddress:192.168.1.251name:king.tidepharm.cnaddress:192.168.1.252name: king.tidepharm.cnaddress:192.168.1.253


ORACLE RAC Deployment Record preparation task (ii): BIND (DNS)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.