diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-27 14:20:04 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-05-27 14:20:04 -0400 |
commit | ce0e3ea336e665c9b95936dbbd3f0d6b59312bc0 (patch) | |
tree | 0621dfbc6790f57842cc565f919b8d393ab0d477 | |
parent | 2d621831153fbf24687bf028f5a4f01f292e08be (diff) | |
download | pfsense-packages-ce0e3ea336e665c9b95936dbbd3f0d6b59312bc0.tar.gz pfsense-packages-ce0e3ea336e665c9b95936dbbd3f0d6b59312bc0.tar.bz2 pfsense-packages-ce0e3ea336e665c9b95936dbbd3f0d6b59312bc0.zip |
Default to MX dist of 10 instead of 0. Most folks start with 10 or 5.
-rw-r--r-- | config/tinydns/tinydns.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc index f3a17b43..ea4c75a2 100644 --- a/config/tinydns/tinydns.inc +++ b/config/tinydns/tinydns.inc @@ -620,6 +620,8 @@ function tinydns_get_rowline_data($recordip, $recordtype, $ttl, $hostname, $rdns break; case "MX": // @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}"; break; case "PTR": |