Which of these ways can be used to only allow access to a DNS server from specified networks/hosts?



A. Using the limit{...;}; statement in the named configuration file.
B. Using the allow-query{...;}; statement in the named configuration file.
C. Using the answer only{...;}; statement in the named configuration file.
D. Using the answer{...;}; statement in the named configuration file.
E. Using the query access{...;}; statement in the named configuration file.

題解

「named.conf」(/etc/named.conf)設定檔中,可以使用「allow-query」來指定允許存取這台DNS伺服器的主機或是網路。例如:

也可以使用「acl」替一個或多個主機與網路定義一個名稱。例如: