From 8ac329daa06dbc88748df5ca7158d44edd5936f8 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 8 Aug 2011 17:15:52 +0000 Subject: [PATCH] Tell the local system to use the locally running dns forwarder as a primary source. This should help ticket #1407 --- etc/inc/system.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 4ef55313d9..cd2c44a5fa 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -92,6 +92,8 @@ function system_resolvconf_generate($dynupdate = false) { $havedns = false; + $resolvconf .= "nameserver 127.0.0.1\n"; + if (isset($syscfg['dnsallowoverride'])) { /* get dynamically assigned DNS servers (if any) */ $ns = array_unique(get_searchdomains());