Revision 89289853
Added by Ermal LUÇI almost 14 years ago
etc/inc/system.inc | ||
---|---|---|
90 | 90 |
if($syscfg['domain']) |
91 | 91 |
$resolvconf = "domain {$syscfg['domain']}\n"; |
92 | 92 |
|
93 |
$resolvconf .= "nameserver 127.0.0.1\n"; |
|
93 |
if (!isset($config['system']['dnslocalhost'])) |
|
94 |
$resolvconf .= "nameserver 127.0.0.1\n"; |
|
94 | 95 |
|
95 | 96 |
if (isset($syscfg['dnsallowoverride'])) { |
96 | 97 |
/* get dynamically assigned DNS servers (if any) */ |
Also available in: Unified diff
Allow disabling having localhost in resolv.conf. There are some special setups that might need this.