From ec3b198843651d078ae4505413daeb5cf5cc1d18 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 18 Mar 2017 19:21:27 +0000 Subject: [PATCH] fix unbound check in resolv.conf template --- modules/resolv/templates/resolv.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/resolv/templates/resolv.conf.erb b/modules/resolv/templates/resolv.conf.erb index a42aa25d4..773337420 100644 --- a/modules/resolv/templates/resolv.conf.erb +++ b/modules/resolv/templates/resolv.conf.erb @@ -15,7 +15,7 @@ if %w{draghi}.include?(@hostname) end nameservers += @ns -if @unbound && @unbound == "true" +if @unbound nameservers = ['127.0.0.1'] end -- 2.20.1