summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorN0YB <JunkYardMail1@Frontier.com>2013-02-04 22:42:50 -0800
committerN0YB <JunkYardMail1@Frontier.com>2013-02-04 22:42:50 -0800
commit96ea7162fc0c94d23cb9cb580c3e14be7910950d (patch)
tree959bdc5f9a94c6b8eb35e10fb8ef7c853478c992 /etc
parentf54712b6c8cc69721ccfd5b26a23e62bca722b72 (diff)
downloadpfsense-96ea7162fc0c94d23cb9cb580c3e14be7910950d.zip
pfsense-96ea7162fc0c94d23cb9cb580c3e14be7910950d.tar.gz
Services: DNS Forwarder
Add DNS query forwarding section with options for sequential and require domain.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index f953877..7ffb555 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1547,6 +1547,14 @@ function services_dnsmasq_configure() {
if(!isset($config['system']['webgui']['nodnsrebindcheck']))
$dns_rebind = "--rebind-localhost-ok --stop-dns-rebind";
+ if (isset($config['dnsmasq']['strict_order'])) {
+ $args .= " --strict-order ";
+ }
+
+ if (isset($config['dnsmasq']['domain_needed'])) {
+ $args .= " --domain-needed ";
+ }
+
if ($config['dnsmasq']['custom_options']) {
foreach (preg_split('/\s+/', $config['dnsmasq']['custom_options']) as $c)
$args .= " --$c";
OpenPOWER on IntegriCloud