dns/master: Added dnssec support
- Generation of keys - Signing zone after each changewip
parent
69026d8d27
commit
df88e582a7
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Generate key signing key for zone {{ domain }}
|
||||||
|
command: >-
|
||||||
|
dnssec-keygen
|
||||||
|
-f KSK
|
||||||
|
-3
|
||||||
|
-a {{ dnssec_algorithm | quote }}
|
||||||
|
-b {{ dnssec_key_length | quote }}
|
||||||
|
-n ZONE {{ domain | quote }}
|
||||||
|
args:
|
||||||
|
chdir: "{{ domain_directory }}"
|
||||||
|
|
||||||
|
- name: Generate zone signing key for zone {{ domain }}
|
||||||
|
command: >-
|
||||||
|
dnssec-keygen
|
||||||
|
-3
|
||||||
|
-a {{ dnssec_algorithm | quote }}
|
||||||
|
-b {{ dnssec_key_length | quote }}
|
||||||
|
-n ZONE {{ domain | quote }}
|
||||||
|
args:
|
||||||
|
chdir: "{{ domain_directory }}"
|
||||||
|
|
||||||
|
# TODO Copy public keys to localhost
|
Loading…
Reference in New Issue