summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-03-27 17:03:06 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-03-27 17:03:06 +0000
commit98e392c5237b91009f4b45e465de1e1e2a9042ea (patch)
tree114e657286aa6b8a99eeb25526413cf4ddeb91fc
parent479bc06185cefeaa71932c5a092db35c5a0027ce (diff)
downloadpfsense-98e392c5237b91009f4b45e465de1e1e2a9042ea.zip
pfsense-98e392c5237b91009f4b45e465de1e1e2a9042ea.tar.gz
Prefer two dns servers by default. Add a hidden variable in <pppoe> called <dnsnosec/> which wil prevent pfSense from requiring a secondary dns server.
Broken/busted ISP users that do not give out 2 dns servers will need to set this option manually. Obtained-from: M0n0wall
-rw-r--r--etc/inc/interfaces.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 142e27e..63d8d0e 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1195,6 +1195,13 @@ EOD;
EOD;
}
+ if (!isset($config['pppoe']['dnsnosec'])) {
+ $mpdconf .= <<<EOD
+ set ipcp enable req-sec-dns
+
+EOD;
+ }
+
$mpdconf .= <<<EOD
open iface
OpenPOWER on IntegriCloud