aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-11-10 15:54:42 -0500
committerjim-p <jimp@pfsense.org>2010-11-10 15:54:42 -0500
commit75af13012b8b9ac7cc5a1959e68dc9ef6211908b (patch)
tree63564ac9a5a337c614faac9fd0ec1541e8028f12 /config
parent25d8e6574d8f46bd581af19f80977011790ab4ed (diff)
downloadpfsense-packages-75af13012b8b9ac7cc5a1959e68dc9ef6211908b.tar.gz
pfsense-packages-75af13012b8b9ac7cc5a1959e68dc9ef6211908b.tar.bz2
pfsense-packages-75af13012b8b9ac7cc5a1959e68dc9ef6211908b.zip
Use a double colon for tinydns MX records, otherwise our fields were off by one.
Diffstat (limited to 'config')
-rw-r--r--config/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc
index d1d14ec3..9de8da9d 100644
--- a/config/tinydns/tinydns.inc
+++ b/config/tinydns/tinydns.inc
@@ -717,7 +717,7 @@ function tinydns_get_rowline_data($recordip, $recordtype, $ttl, $hostname, $rdns
// @fqdn:ip:x:dist:ttl:timestamp:lo
if(!$dist)
$dist = "10"; // default to 10 if no preference has been defined. 0 is ugly.
- $record_data = "@{$hostname}:{$recordip}:{$dist}{$ttl_string}";
+ $record_data = "@{$hostname}::{$recordip}:{$dist}{$ttl_string}";
break;
case "PTR":
/* "^" creates "PTR" record only to allow reverse DNS */