From 23aa7c9a09a8f40a342401786269bfd694d08262 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 27 May 2009 14:53:02 -0400 Subject: Add more comments. Remove trailing spaces. No functional changes. --- config/tinydns/tinydns.inc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/tinydns/tinydns.inc b/config/tinydns/tinydns.inc index 516af21e..6072f33d 100644 --- a/config/tinydns/tinydns.inc +++ b/config/tinydns/tinydns.inc @@ -631,12 +631,14 @@ function tinydns_get_rowline_data($recordip, $recordtype, $ttl, $hostname, $rdns break; case "A": /* "=" creates both "A" and "PTR" records to allow both forward and reverse DNS */ - // =fqdn:ip:ttl:timestamp:lo - if($rdns) + if($rdns) { + // =fqdn:ip:ttl:timestamp:lo $record_data = "={$hostname}:{$recordip}{$ttl_string}"; - else + } else { /* "+" creates "A" records only to allow forward DNS */ - $record_data = "+{$hostname}:{$recordip}{$ttl_string}"; + // +fqdn:ip:ttl:timestamp:lo + $record_data = "+{$hostname}:{$recordip}{$ttl_string}"; + } break; case "CNAME": // Cfqdn:p:ttl:timestamp:lo -- cgit v1.2.3