diff options
author | Ermal <eri@pfsense.org> | 2011-08-08 17:15:52 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-08 17:15:52 +0000 |
commit | 6265b04139310df59ae1ad9da3e3bd9996915d12 (patch) | |
tree | d3a0a63311462c20db4d114f8cd4d6d713a8e94a | |
parent | 5e17f20d5a7b5eb4ae399b97d3150408ae96a82d (diff) | |
download | pfsense-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.inc | 2 |
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()); |