From d21fab6745b2ffffb753373ea04583fa5a965b30 Mon Sep 17 00:00:00 2001
From: Philipp Rothmann <philipprothmann@posteo.de>
Date: Thu, 23 Dec 2021 01:04:26 +0100
Subject: [PATCH] fix dns

---
 playbook.yml                                     | 4 +++-
 roles/ffhl_nameserver/files/dnsdist/dnsdist.conf | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/playbook.yml b/playbook.yml
index 3e3449a..49ab3ca 100644
--- a/playbook.yml
+++ b/playbook.yml
@@ -18,4 +18,6 @@
   become: yes
   roles:
     - services
-    - ffhl_nameserver
+    - role: ffhl_nameserver
+      tags: [nameserver]
+    
diff --git a/roles/ffhl_nameserver/files/dnsdist/dnsdist.conf b/roles/ffhl_nameserver/files/dnsdist/dnsdist.conf
index 0801c87..ecbee8a 100644
--- a/roles/ffhl_nameserver/files/dnsdist/dnsdist.conf
+++ b/roles/ffhl_nameserver/files/dnsdist/dnsdist.conf
@@ -22,7 +22,7 @@ recursive_ips:addMask('::1/128')
 
 addAction("ffdyn.net.", PoolAction('ffdyndns'))
 addAction(NetmaskGroupRule(recursive_ips), PoolAction('recursor'))
-addAction({"luebeck.freifunk.net.", "ffhl.de.", "ffhl."}, PoolAction('auth'))
+addAction(AllRule(), PoolAction('auth'))
 
 -- disable security status
 setSecurityPollSuffix("")
-- 
GitLab