Skip to content
Snippets Groups Projects
Commit 039117a0 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

doc: clarify independence of remote and ACL specifications

parent 0c1e02a7
Branches
Tags
No related merge requests found
......@@ -121,7 +121,7 @@ If the zone file doesn't exist it will be bootstrapped over AXFR::
address: 192.168.1.1@53
acl:
- id: master_acl
- id: notify_from_master
address: 192.168.1.1
action: notify
......@@ -130,7 +130,7 @@ If the zone file doesn't exist it will be bootstrapped over AXFR::
storage: /var/lib/knot/zones/
# file: example.com.zone # Default value
master: master
acl: master_acl
acl: notify_from_master
Note that the :ref:`zone_master` option accepts a list of multiple remotes.
The first remote in the list is used as the primary master, and the rest is used
......@@ -138,9 +138,9 @@ for failover if the connection with the primary master fails.
The list is rotated in this case, and a new primary is elected.
The preference list is reset on the configuration reload.
To use TSIG for transfer authentication, configure a TSIG key and assign the
key to the remote. If the notifications are used, the same key should be
configured in a proper ACL rule::
To use TSIG for transfers and notification messages authentication, configure
a TSIG key and assign the key both to the remote and the ACL rule. Notice that
the :ref:`remote` and ref:`acl` definitions are independent::
key:
- id: slave1_key
......@@ -153,7 +153,7 @@ configured in a proper ACL rule::
key: slave1_key
acl:
- id: master_acl
- id: notify_from_master
address: 192.168.1.1
key: slave1_key
action: notify
......
......@@ -361,7 +361,9 @@ Shared key secret.
ACL section
===========
Access control list rule definition.
Access control list rule definitions. The ACLs are used to match incoming
connections to allow or deny requested operation (zone transfer request, DDNS
update, etc.).
::
......@@ -470,7 +472,8 @@ control.
Remote section
==============
Definition of remote servers for zone transfers or notifications.
Definitions of remote servers for outgoing connections (source of a zone
transfer, target for a notification, etc.).
::
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment