aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-30 00:15:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-30 00:15:24 +0000
commitbc715271fb7519c26df4e21ccb8afa9e410d369d (patch)
tree7976a9a4a0a5ea011191cdb413ed00583101e48d
parent5c61c0708380c3f93db53977c6dc91f1f2e99c44 (diff)
downloadpfsense-packages-bc715271fb7519c26df4e21ccb8afa9e410d369d.tar.gz
pfsense-packages-bc715271fb7519c26df4e21ccb8afa9e410d369d.tar.bz2
pfsense-packages-bc715271fb7519c26df4e21ccb8afa9e410d369d.zip
Fix TTL for SOA type records
-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 9633e602..5c9d8909 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -314,7 +314,7 @@ function tinydns_get_rowline_data($recordip, $recordtype, $ttl, $hostname) {
$ttl_string = "";
switch ($recordtype) {
case "SOA":
- $record_data = ".{$hostname}::{$recordip}";
+ $record_data = ".{$hostname}::{$recordip}{$ttl_string}";
break;
case "MX":
$record_data = "@{$hostname}:{$recordip}::{$ttl_string}";