DigitalCourage encrypted DNS (DoT) via TLS systemd-resolved without censorship
This commit is contained in:
parent
872efb6f4f
commit
6059046738
15
basics.yml
15
basics.yml
@ -165,6 +165,21 @@
|
||||
state: present
|
||||
notify: localectl
|
||||
|
||||
- name: DigitalCourage encrypted DNS (DoT) via TLS systemd-resolved without censorship
|
||||
blockinfile:
|
||||
path: /etc/systemd/resolved.conf.d/digitalcourage-dot.conf
|
||||
mode: "0444"
|
||||
owner: root
|
||||
group: root
|
||||
create: yes
|
||||
insertbefore: BOF # Beginning of the file
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK"
|
||||
block: |
|
||||
[Resolve]
|
||||
DNS=5.9.164.112#dns3.digitalcourage.de 2a01:4f8:251:554::2#dns3.digitalcourage.de
|
||||
DNSOverTLS=opportunistic
|
||||
backup: yes
|
||||
|
||||
- name: SSHD hardening
|
||||
blockinfile:
|
||||
path: /etc/ssh/sshd_config.d/hardening.conf
|
||||
|
Loading…
Reference in New Issue
Block a user