Index: /trunk/DNSDB.pm
===================================================================
--- /trunk/DNSDB.pm	(revision 525)
+++ /trunk/DNSDB.pm	(revision 526)
@@ -5312,13 +5312,11 @@
       } elsif ($type == 65281) { # AAAA+PTR
 
-#$$recflags{$val}++;
+	$$recflags{$val}++;
 	# treat these as two separate records.  since tinydns doesn't have
 	# a native combined type, we have to create them separately anyway.
-	if ($revrec eq 'n') {
-	  $type = 28;
-	} else {
-	  $type = 12;
-	}
-	_printrec_tiny($datafile,$revrec,$recflags,$zone,$host,$type,$val,$dist,$weight,$port,$ttl,$loc,$stamp);
+	# print both;  a dangling record is harmless, and impossible via web
+	# UI anyway
+	_printrec_tiny($datafile,$revrec,$recflags,$zone,$host,28,$val,$dist,$weight,$port,$ttl,$loc,$stamp);
+	_printrec_tiny($datafile,$revrec,$recflags,$zone,$host,12,$val,$dist,$weight,$port,$ttl,$loc,$stamp);
 ##fixme: add a config flag to indicate use of the patch from http://www.fefe.de/dns/
 # type 6 is for AAAA+PTR, type 3 is for AAAA
