forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
367 B
Text
11 lines
367 B
Text
--- 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;
|