DNS master configuration file options

Source: Internet
Author: User
Tags domain name server

Options block:
Listen-on port listens to the local IP address and port of the DNS query request
Eg: listen-on port 53 {192.168.0.78}; listens to the DNS query of 192.168.0.78 on the local machine. If this parameter is not followed, it indicates listening to the DNS received by all the IP addresses of the Local Machine
Listen-on port 53 {any ;};
Listen-on-v6 port listens to IPv6
Directory of the configuration file in the specified region
Directory "/var/named ";
Query-source port specifies the source port that the client must use when submitting DNS queries
Query-source port 53;
Allow-query {IP1; ip2; ipn...}; specifies the client that accepts DNS query requests.
Eg: allow-query {192.168.0.101; 192.168.1.1 ;}; only these two addresses are allowed to query
Allow-recursion specifies the client that can submit recursive queries. The difference between allow-query and allow-recursion is that allow-recursion is not responsible for submitting iterative queries.
Forward only | first
Forwarders specifies the forwarding Server
Eg: forwarders {1.1.1.1;}; any information not found on the local machine is forwarded to 1.1.1.1.
Version indicates the BIND version number displayed by the DNS client during query, such as version "hello, I can't tell you"
Interface-interval specifies the period for BIND to check network interface changes
Maximum memory size available for datasize Server
Max-cache-size Maximum cache, such as max-cache-size 10 M
The maximum number of recursive queries executed by the recursive-clients DNS server for the customer at the same time. The default value is 1000. Each recursive query uses 20 KB of memory at a time.
Maximum number of tcp connections for the tcp-clients DNS service at the same time. The default value is 100.
Allow-transfer is a secondary area that allows regional transmission
If the max-transfer-time-in parameter is set to be longer, the transfer to the domain will be terminated. The default value is 120 min.
The transfer of a domain with no progress in max-transfer-idel-in at the set time will be terminated. The default value is 60 minutes.
Transmission of a domain with a max-transfer-time-out running time longer than the set time will be terminated
Max-transfer-idle-out transmission of the domain with no progress at the specified time will be terminated
The secondary server of serial-query-rate regularly queries the Primary Domain Name Server.
Transfer format
Transfer-in can run at the same time to transfer the maximum value into the domain
Recursion yes | no | whether to allow recursive query by the customer
View Block
Match-clients specifies the source IP address range for submitting DNS clients
Match-destinations specifies the target IP address range for submitting DNS clients
Match-rescursive-only yes | no indicates whether recursive queries are allowed.
Include specifies the main configuration file, such as include "/etc/name. zones ";


This article is from the "IT dream-qi-sharing" blog

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.