mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-09 19:48:37 +01:00
fix hostname in PTR
This commit is contained in:
parent
7b891d513b
commit
edf603018d
@ -100,7 +100,7 @@ class WebDashboardServer {
|
||||
DefaultDnsQuestion(reverseLookup(it.address), DnsRecordType.PTR)
|
||||
)
|
||||
info = ipLookup.await()
|
||||
ptr = dnsQuery.suspendAwait().first { it is DnsPtrRecord }?.name()
|
||||
ptr = dnsQuery.suspendAwait().first { it is DnsPtrRecord }?.hostname()
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user