aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-08 17:47:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-08 17:47:58 +0000
commit1fb2b25af3d93d3e7a009063384f2cc274b55543 (patch)
treefe7c77d0b3242cc805fa1e902aa5ee1d83710129
parent65156c658f054c9743100c9706d5332ff2ae0105 (diff)
downloadpfsense-packages-1fb2b25af3d93d3e7a009063384f2cc274b55543.tar.gz
pfsense-packages-1fb2b25af3d93d3e7a009063384f2cc274b55543.tar.bz2
pfsense-packages-1fb2b25af3d93d3e7a009063384f2cc274b55543.zip
SOA records do not need a TTL in this case.
-rw-r--r--packages/tinydns/tinydns.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index bc6cfcc7..9622d8e9 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -199,7 +199,7 @@ function tinydns_create_zone_file() {
$ipaddress = tinydns_get_backup_record($ipaddress);
switch ($domain['recordtype']) {
case "SOA":
- $record_data = ".{$hostname}::{$ipaddress}::{$ttl}";
+ $record_data = ".{$hostname}::{$ipaddress}";
break;
case "MX":
$record_data = "@{$hostname}:{$ipaddress}::{$ttl}";