fix hostname in PTR

This commit is contained in:
creeper123123321 2021-06-12 12:22:38 -03:00 committed by GitHub
parent 7b891d513b
commit edf603018d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,7 @@ class WebDashboardServer {
DefaultDnsQuestion(reverseLookup(it.address), DnsRecordType.PTR) DefaultDnsQuestion(reverseLookup(it.address), DnsRecordType.PTR)
) )
info = ipLookup.await() info = ipLookup.await()
ptr = dnsQuery.suspendAwait().first { it is DnsPtrRecord }?.name() ptr = dnsQuery.suspendAwait().first { it is DnsPtrRecord }?.hostname()
} catch (ignored: Exception) { } catch (ignored: Exception) {
} }
} }