From 20cd6ac5299a725558a85df7c93c34f4a67b15d5 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 28 Jan 2025 14:26:18 +0100 Subject: Resolver: Use systemd-resolved. --- roles/common/tasks/unbound.yml | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'roles/common/tasks/unbound.yml') diff --git a/roles/common/tasks/unbound.yml b/roles/common/tasks/unbound.yml index b4554ac..dda6769 100644 --- a/roles/common/tasks/unbound.yml +++ b/roles/common/tasks/unbound.yml @@ -19,14 +19,3 @@ when: not r.changed #- meta: flush_handlers - -- name: Use the local DNS server - lineinfile: dest=/etc/resolv.conf create=yes - regexp='^nameserver\s+127\.0\.0\.1\s*$' - line='nameserver 127.0.0.1' - insertbefore='^\s*#*?nameserver\s' - firstmatch=yes - tags: - - resolver - notify: - - Restart Postfix -- cgit v1.2.3