From ae380ddbe21e05be75b924a69b8e2861f4954a8f Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Fri, 22 Jan 2021 22:17:07 +0100 Subject: space_server: named: add trust-ad option to resolv.conf --- roles/space_server/files/resolv.conf | 1 + roles/space_server/tasks/named.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/space_server/files/resolv.conf b/roles/space_server/files/resolv.conf index dd42aca..44286ba 100644 --- a/roles/space_server/files/resolv.conf +++ b/roles/space_server/files/resolv.conf @@ -1,2 +1,3 @@ nameserver 127.0.0.1 nameserver ::1 +options edns0 trust-ad diff --git a/roles/space_server/tasks/named.yml b/roles/space_server/tasks/named.yml index 93f230f..ac9571f 100644 --- a/roles/space_server/tasks/named.yml +++ b/roles/space_server/tasks/named.yml @@ -69,8 +69,8 @@ - name: Use our own resolver copy: - dest: /etc/resolv.conf - content: "nameserver 127.0.0.1\nnameserver ::1\noptions edns0\n" + dest: '/etc/resolv.conf' + src: resolv.conf owner: root group: root mode: 0644 -- cgit v1.2.1