aboutsummaryrefslogtreecommitdiffstats
path: root/config/bind
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2013-10-08 10:37:57 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2013-10-08 10:37:57 -0300
commit18533369a719d2956600d1b46408357372816afc (patch)
treee42fde8201876d8b2ea55b4d20affcaf89f9e4f8 /config/bind
parentf9ac72222104375f776457222505995f9c663bc3 (diff)
downloadpfsense-packages-18533369a719d2956600d1b46408357372816afc.tar.gz
pfsense-packages-18533369a719d2956600d1b46408357372816afc.tar.bz2
pfsense-packages-18533369a719d2956600d1b46408357372816afc.zip
bind - Fix typos
Thanks to phil-davis
Diffstat (limited to 'config/bind')
-rw-r--r--config/bind/bind.inc14
-rw-r--r--config/bind/bind.xml12
-rw-r--r--config/bind/bind_sync.xml2
-rw-r--r--config/bind/bind_zones.xml6
4 files changed, 17 insertions, 17 deletions
diff --git a/config/bind/bind.inc b/config/bind/bind.inc
index 65d3c4f7..9d436e4e 100644
--- a/config/bind/bind.inc
+++ b/config/bind/bind.inc
@@ -45,8 +45,8 @@ function bind_sync(){
$bind = $config["installedpackages"]["bind"]["config"][0];
$bind_enable = $bind['enable_bind'];
$bind_forwarder = $bind['bind_forwarder'];
- $forwader_ips = $bind['bind_forwader_ips'];
- $ram_limite = $bind['bind_ram_limite'];
+ $forwarder_ips = $bind['bind_forwarder_ips'];
+ $ram_limit = $bind['bind_ram_limit'];
$hide_version = $bind['bind_hide_version'];
$bind_notify = $bind['bind_notify'];
$custom_options = base64_decode($bind['bind_custom_options']);
@@ -62,7 +62,7 @@ $bind_conf .= <<<EOD
pid-file "/var/run/named/pid";
statistics-file "/var/log/named.stats";
- max-cache-size $ram_limite;\n
+ max-cache-size $ram_limit;\n
EOD;
//check ips to listen on
@@ -97,7 +97,7 @@ EOD;
#forwarder config
if ($bind_forwarder == on)
- $bind_conf .="\t\tforwarders { $forwader_ips };\n";
+ $bind_conf .="\t\tforwarders { $forwarder_ips };\n";
if ($bind_notify == on)
$bind_conf .="\t\tnotify yes;\n";
if ($hide_version == on)
@@ -188,7 +188,7 @@ EOD;
$zonename = $zone['name'];
$zonetype = $zone['type'];
$zoneview = $zone['view'];
- $zonecuston = $zone['custon'];
+ $zonecustom = $zone['custom'];
$zoneipslave = $zone['slaveip'];
$zonereverso = $zone['reverso'];
if($zone['allowupdate'] == '')
@@ -221,8 +221,8 @@ EOD;
$bind_conf .= "\t\tallow-query { $zoneallowquery;};\n";
if ($zonetype != "slave")
$bind_conf .= "\t\tallow-transfer { $zoneallowtransfer;};\n";
- if ($zonecuston != '')
- $bind_conf .= "\t\t$zonecuston\n";
+ if ($zonecustom != '')
+ $bind_conf .= "\t\t$zonecustom\n";
$bind_conf .= "\t};\n\n";
if (!(file_exists("/etc/namedb/$zonetype"))) {
diff --git a/config/bind/bind.xml b/config/bind/bind.xml
index 4e0c4326..d0d67bc4 100644
--- a/config/bind/bind.xml
+++ b/config/bind/bind.xml
@@ -140,7 +140,7 @@
<field>
<fielddescr>Enable Notify</fielddescr>
<fieldname>bind_notify</fieldname>
- <description>Update imediaty slave zone</description>
+ <description>Notify slave server after any update on master.</description>
<type>checkbox</type>
</field>
<field>
@@ -151,7 +151,7 @@
</field>
<field>
<fielddescr>Limitar Memory RAM</fielddescr>
- <fieldname>bind_ram_limite</fieldname>
+ <fieldname>bind_ram_limit</fieldname>
<description>Limits the use of RAM for the DNS when much use does not exhaust the resources of the machine, recommend 256M</description>
<type>input</type>
<size>80</size>
@@ -181,18 +181,18 @@
<fieldname>bind_forwarder</fieldname>
<description>Forwardes enable DNS Bind on Server.</description>
<type>checkbox</type>
- <enablefields>bind_forwader_ips</enablefields>
+ <enablefields>bind_forwarder_ips</enablefields>
</field>
<field>
<fielddescr>Forwarder IPs</fielddescr>
- <fieldname>bind_forwader_ips</fieldname>
- <description>Paste here ips do forwarder. Separate by semi-colons (;). [Applies only to Forwarder mode]</description>
+ <fieldname>bind_forwarder_ips</fieldname>
+ <description>Enter IPs to forward. Separate by semi-colons (;). [Applies only to Forwarder mode]</description>
<type>input</type>
<size>80</size>
</field>
<field>
<type>listtopic</type>
- <name>Custon Options</name>
+ <name>custom Options</name>
<fieldname>temp01</fieldname>
</field>
<field>
diff --git a/config/bind/bind_sync.xml b/config/bind/bind_sync.xml
index 7fde2eb5..d81f7803 100644
--- a/config/bind/bind_sync.xml
+++ b/config/bind/bind_sync.xml
@@ -8,7 +8,7 @@
/* ========================================================================== */
/*
bind_sync.xml
- part of the sarg package for pfSense
+ part of the Bind package for pfSense
Copyright (C) 2013 Marcello Coutinho
All rights reserved.
*/
diff --git a/config/bind/bind_zones.xml b/config/bind/bind_zones.xml
index 577b6cad..0656aec7 100644
--- a/config/bind/bind_zones.xml
+++ b/config/bind/bind_zones.xml
@@ -153,8 +153,8 @@
<type>checkbox</type>
</field>
<field>
- <fielddescr>Custon Option</fielddescr>
- <fieldname>custon</fieldname>
+ <fielddescr>custom Option</fielddescr>
+ <fieldname>custom</fieldname>
<description>You can put your own custom options here, separated by semi-colons (;).</description>
<type>textarea</type>
<cols>65</cols>
@@ -176,7 +176,7 @@
<field>
<fielddescr>IP Master Zone</fielddescr>
<fieldname>slaveip</fieldname>
- <description>In which case the zone is slave, enter the IP address of the master DNS zone.</description>
+ <description>If zone is slave, enter the IP address of the master DNS zone.</description>
<type>input</type>
</field>
<field>