mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-24 22:01:49 +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)
|
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) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user