mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
a7702ed5db
commit
8ac329daa0
@ -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());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user