summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_unbound.php
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2012-04-05 13:21:11 +0200
committerWarren Baker <warren@decoy.co.za>2012-04-05 13:21:11 +0200
commitf196aba3876be697bfae279c056fd43397ea0315 (patch)
tree1f0e0202070ed4596308e094f06453271af43bce /usr/local/www/services_unbound.php
parent467748e3e426fa5710d513b0cdce1c39f9f18d2e (diff)
downloadpfsense-f196aba3876be697bfae279c056fd43397ea0315.zip
pfsense-f196aba3876be697bfae279c056fd43397ea0315.tar.gz
Add select box for outgoing queries
Diffstat (limited to 'usr/local/www/services_unbound.php')
-rw-r--r--usr/local/www/services_unbound.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php
index 9910133..86e4fe6 100644
--- a/usr/local/www/services_unbound.php
+++ b/usr/local/www/services_unbound.php
@@ -91,6 +91,7 @@ function enable_change(enable_over) {
var endis;
endis = !(document.iform.enable.checked || enable_over);
document.iform.active_interface.disabled = endis;
+ document.iform.outgoing_interface.disabled = endis;
document.iform.dnssec.disabled = endis;
document.iform.forwarding.disabled = endis;
document.iform.regdhcp.disabled = endis;
@@ -154,6 +155,26 @@ function enable_change(enable_over) {
</td>
</tr>
<tr>
+ <td width="22%" valign="top" class="vncellreq"><?=gettext("Outgoing interfaces");?></td>
+ <td width="78%" class="vtable">
+ <select name="outgoing_interface[]" id="outgoing_interface" multiple="true" size="3">
+ <?php $iflist = get_configured_interface_with_descr();
+ $active_iface = explode(",", $pconfig['outgoing_interface']);
+ $iflist['localhost'] = "Localhost";
+ foreach ($iflist as $iface => $ifdescr) {
+ echo "<option value='{$iface}' ";
+ if (in_array($iface, $active_iface))
+ echo "selected";
+ echo ">{$ifdescr}</option>\n";
+ }
+ ?>
+ </select>
+ <br/><span class="vexpl">
+ <?=gettext("Utilize different network interface(s) that the DNS Resolver will use to send queries to authoritative servers and receive their replies. By default all interfaces are used.");?> <br/>
+ </span>
+ </td>
+ </tr>
+ <tr>
<td width="22%" valign="top" class="vncellreq"><?=gettext("DNSSEC");?></td>
<td width="78%" class="vtable"><p>
<input name="dnssec" type="checkbox" id="dnssec" value="yes" <?php if ($pconfig['dnssec'] == "yes") echo "checked";?>/>
OpenPOWER on IntegriCloud