summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound_domainoverride_edit.php
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-03-20 09:34:13 -0400
committerSteve Beaver <sbeaver@netgate.com>2017-03-20 09:34:13 -0400
commit7879c382db0bf7629df71ad059026f75bcf2fb40 (patch)
tree7f6c7fbf1d5737e099b5405a272e4d40e6ea7d6d /src/usr/local/www/services_unbound_domainoverride_edit.php
parenta0259536e8a80c7a26d2c186f41af1be0c2e0533 (diff)
parent24be73af156efd858c857254bca0d570b3a6657e (diff)
downloadpfsense-7879c382db0bf7629df71ad059026f75bcf2fb40.zip
pfsense-7879c382db0bf7629df71ad059026f75bcf2fb40.tar.gz
Merge pull request #3610 from stilez/patch-57
Diffstat (limited to 'src/usr/local/www/services_unbound_domainoverride_edit.php')
-rw-r--r--src/usr/local/www/services_unbound_domainoverride_edit.php17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/usr/local/www/services_unbound_domainoverride_edit.php b/src/usr/local/www/services_unbound_domainoverride_edit.php
index 17f2fee..f37f366 100644
--- a/src/usr/local/www/services_unbound_domainoverride_edit.php
+++ b/src/usr/local/www/services_unbound_domainoverride_edit.php
@@ -114,20 +114,20 @@ if ($input_errors) {
$form = new Form();
-$section = new Form_Section('Domain Override');
+$section = new Form_Section('Domains to Override with Custom Lookup Servers');
$section->addInput(new Form_Input(
'domain',
'*Domain',
'text',
$pconfig['domain']
-))->setHelp('Domain to override (NOTE: this does not have to be a valid TLD!) e.g.: test or mycompany.localdomain or 1.168.192.in-addr.arpa');
+))->setHelp('Domain whose lookups will be directed to a user-specified DNS lookup server.');
$section->addInput(new Form_IpAddress(
'ip',
'*IP Address',
$pconfig['ip']
-))->setHelp('IP address of the authoritative DNS server for this domain. e.g.: 192.168.100.100%1$s' .
+))->setHelp('IPv4 or IPv6 address of the authoritative DNS server for this domain. e.g.: 192.168.100.100%1$s' .
'To use a non-default port for communication, append an \'@\' with the port number.', '<br />')->setPattern('[a-zA-Z0-9@.:]+');
$section->addInput(new Form_Input(
@@ -146,6 +146,17 @@ if (isset($id) && $a_domainOverrides[$id]) {
));
}
+$section->addInput(new Form_StaticText(
+ '',
+ '<span class="help-block">' .
+ gettext("This page is used to specify domains for which the resolver's standard DNS lookup process will be overridden, " .
+ "and the resolver will query a different (non-standard) lookup server instead. It is possible to enter 'non-standard', 'invalid' " .
+ "and 'local' domains such as 'test', 'mycompany.localdomain', or '1.168.192.in-addr.arpa', as well as usual publicly resolvable " .
+ "domains such as 'org', 'info', or 'google.co.uk'. The IP address entered will be treated as the IP address of an authoritative " .
+ "lookup server for the domain (including all of its subdomains), and other lookup servers will not be queried.") .
+ '</span>'
+));
+
$form->add($section);
print $form;
OpenPOWER on IntegriCloud