diff options
author | jim-p <jimp@pfsense.org> | 2010-11-10 15:54:42 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-11-10 15:54:42 -0500 |
commit | 75af13012b8b9ac7cc5a1959e68dc9ef6211908b (patch) | |
tree | 63564ac9a5a337c614faac9fd0ec1541e8028f12 /config | |
parent | 25d8e6574d8f46bd581af19f80977011790ab4ed (diff) | |
download | pfsense-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.inc | 2 |
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 */ |