Policy, access control, data manipulation¶
This chapter briefly describes rules for access control and for overriding DNS by local or remote sources of data. These rules are declarative, contrary to the imperative Lua commands used before Knot Resolver 6.
The main parts described in this chapter are:
views: A means of achieving access control by changing responses based on where the DNS request came from.
local-data: Overriding returned DNS data, which also includes blocking.
forward: Rules overriding which servers get asked to obtain DNS data.
The so-called tags are used to link clients defined using views and the rules applied to them in local-data.
It is also possible to modify data returned to clients, either by providing DNS64 translation, or IP address renumbering.
Additional features offer protection against various DNS-based attacks, see Rebinding protection and Refuse queries without RD bit.