mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add select box for outgoing queries
This commit is contained in:
parent
467748e3e4
commit
f196aba387
@ -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;
|
||||
@ -153,6 +154,26 @@ function enable_change(enable_over) {
|
||||
</span>
|
||||
</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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user