summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-08 17:15:52 +0000
committerErmal <eri@pfsense.org>2011-08-08 17:15:52 +0000
commit6265b04139310df59ae1ad9da3e3bd9996915d12 (patch)
treed3a0a63311462c20db4d114f8cd4d6d713a8e94a
parent5e17f20d5a7b5eb4ae399b97d3150408ae96a82d (diff)
downloadpfsense-6265b04139310df59ae1ad9da3e3bd9996915d12.zip
pfsense-6265b04139310df59ae1ad9da3e3bd9996915d12.tar.gz
Tell the local system to use the locally running dns forwarder as a primary source. This should help ticket #1407
-rw-r--r--etc/inc/system.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index a5ece26..beb821b 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());
OpenPOWER on IntegriCloud