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.
Explanation:
To allow a specific client access to the dns server use
Allow-query { 192.168.0.1; };
Alternatively you can use the acl-keyword
acl lan { 192.168.0.1; };
…
Allow-query { lan; };
B.
Using the allow-query{…;};statement in the named configuration file.