summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-08 17:15:52 +0000
committerErmal <eri@pfsense.org>2011-08-08 17:16:07 +0000
commit8ac329daa06dbc88748df5ca7158d44edd5936f8 (patch)
tree701bd942d82ba8895715188e92d4c85d19cc5b9d /etc
parenta7702ed5db8f0a85397366771c32ee1cd02301f9 (diff)
downloadpfsense-8ac329daa06dbc88748df5ca7158d44edd5936f8.zip
pfsense-8ac329daa06dbc88748df5ca7158d44edd5936f8.tar.gz
Tell the local system to use the locally running dns forwarder as a primary source. This should help ticket #1407
Diffstat (limited to 'etc')
-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 4ef5531..cd2c44a 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