From 75af13012b8b9ac7cc5a1959e68dc9ef6211908b Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 10 Nov 2010 15:54:42 -0500 Subject: Use a double colon for tinydns MX records, otherwise our fields were off by one. --- config/tinydns/tinydns.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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 */ -- cgit v1.2.3