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 ";
DNS master configuration file options