Đừng quên để sao chép các tập tin vào "/ var / named /" thư mục trên máy chủ của bạn Trường hợp bạn đang cài đặt máy chủ DNS Sau khi lấy nó qua máy chủ tên chính chủ cho khu vực một lần đọc | Server Software BIND DNS Network Services CHAPTER 1 4 To query a new file for your DNS Server use the following command root@deep dig @. . ns Don t forget to copy the file to the var named directory on your server where you re installing DNS server after retrieving it over the Internet. NOTE Internal addresses like 24 are not included in the DNS configuration files for security reasons. It is very important that DNS doesn t exist between hosts on the corporate network and external hosts. Primary master name Server A primary master name server for a zone reads the data for the zone from a file on it s host and are authoritative for that zone. The necessary files to setup a primary master name server are named script Configuration of the etc file for a master name server Use this configuration for the server on your network that acts as a master name server. After compiling DNS you need to set up a primary domain name for your server. We ll use as an example domain and assume you are using IP network address of . To do this add the following lines to your etc . Create the file touch etc and add options directory var named fetch-glue no recursion no allow-query 24 8 allow-transfer transfer-format many-answers These files are not specific to any zone zone . in type hint file zone in type master file These are our primary zone files zone in type master file 242 Copyright 1999 - 2000 Gerhard Mourani Open Network Architecture and OpenDocs Publishing Server Software BIND DNS Network Services CHAPTER 1 4 zone in type master file The fetch-glue no option can be used in conjunction with the option recursion no to prevent the server s cache from growing or becoming .