Linux DNS Configuration Summary __linux

Source: Internet
Author: User
1. Installation See: http://blog.sina.com.cn/s/blog_40d47c890100q5ca.html 2. Own Configuration Master profile:/etc/named.conf 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";         Query-source Port 53;     QUERY-SOURCE-V6 Port 53;     allow-query {any;}; Forwarders {119.6.6.6;}; Forwarding DNS, which is your superior DNS forward only; This DNS is for forwarding only and does not request resolution from the Named.ca root server (the individual understands this, does not know right)};
Logging {Channel Default_debug {file "Data/named.run";         Severity dynamic; }; };
View Localhost_resolver {match-clients {any;};     match-destinations {any;};     recursion Yes;  Include "/etc/named.rfc1912.zones";   Zone files, which have specific forward and reverse parsing configuration, only forwarding can be commented out. };
Zone files, which have specific forward and reverse parsing configuration, only forwarding can be commented out. 3. Other profiles such as:/var/named/chroot/var/named/hao9go.com.zone  $TTL defined under Named.rfc1912.zones    86400 @               in SOA  hao9go.com. Root.hao9go.com. (                                        42              ; Serial (d. Adams)                                         3h              ; Refresh                                &NB Sp        15m            ; Retry                                &NBSP ;        1W              ; Expiry                                &NBS P        1d)            ; Minimum                 in NS           localhost &N bsp;//Domain Authorization server, you can choose your own localhost       in A            127.0.0.1 Hao  in A 1 24.161.87.157    //below correspond are all A records buy  in a 124.161.87.15 Caipiao in a 124.161.87.15 www. a   124.161.87.156  //www.hao9go.com corresponding IP 124.161.87.156



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.