aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/space_server/files/resolv.conf1
-rw-r--r--roles/space_server/tasks/named.yml4
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