CentOS 6.0 Installation bind9.7 FAQ

Source: Internet
Author: User
Tags bind centos dnssec nameserver

1.[root@zh888 ~] #yum-y install bind*//Install all bind software with Yum

2.[root@zh888 ~]# rpm-qa|grep bind//query all software installed by bind
bind-9.7.3-8.p3.el6_2.2.i686
bind-libs-9.7.3-8.p3.el6_2.2.i686
bind-sdb-9.7.3-8.p3.el6_2.2.i686
bind-devel-9.7.3-8.p3.el6_2.2.i686
bind-utils-9.7.3-8.p3.el6_2.2.i686

3.[root@zh888 ~]# cat/etc/named.conf//view named.conf main configuration file
//
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 {any;///Open Listening ports 53, accept any IP connection
      &NBS P;listen-on-v6 Port 53 {:: 1;};
       directory       "/var/named";//This is the directory forward to the reverse zone are all created in this directory
    &NBS P  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     {0.0.0.0/0;////  allow arbitrary IP queries here can also be modified to any if not modified will appear in Nslookup Error refused denied
       forward only;              //Add forwarding function
&N Bsp      forwarders {
               202.101.172.35;      //zhejiang DNS server address
               202.101.172.46;

recursion Yes;

Dnssec-enable Yes;
Dnssec-validation Yes;
Dnssec-lookaside Auto;

/* Path to ISC DLV Key * *
Bindkeys-file "/etc/named.iscdlv.key";
};

Logging {
Channel Default_debug {
File "Data/named.run";
Severity dynamic;
};
};

Zone "." in {
Type hint;
File "named.ca";
};

Include "/etc/named.rfc1912.zones"; Primary configuration file

The 4.//named.rfc1912.zones:///etc/named.rf1912.zones configuration file is as follows: Add forward and reverse zone files at the end
//
Provided by Red Hat Caching-nameserver Package
//
ISC BIND named zone configuration for zones recommended by
RFC 1912 Section 4.1:localhost TLDs and address zones
and Http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
(c) 2007 R W Franks
//
See/usr/share/doc/bind*/sample/for example named configuration files.
//

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.