Tell the local system to use the locally running dns forwarder as a primary source. This should help ticket #1407

This commit is contained in:
Ermal 2011-08-08 17:15:52 +00:00
parent a7702ed5db
commit 8ac329daa0

View File

@ -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());