summaryrefslogtreecommitdiff
path: root/www/jdresolve/files/patch-jdresolve
blob: 1f9fb96d37634b9aacfc597cdccb9e646c99226a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- jdresolve.orig	2014-09-04 21:09:39 UTC
+++ jdresolve
@@ -857,7 +857,7 @@
 				# For each DNS answer, check the data received
 				if ($type eq 'H') {
 					if (defined $_->{ptrdname}) {
-						$hosts{$query}{NAME} = $_->{ptrdname};
+						$hosts{$query}{NAME} = join(".",@{$_->{ptrdname}->{label}});
 						$hosts{$query}{RESOLVED} = 'N';
 
 						$resolved = 1;