'Resolve wildcard hostname to specific IP/dns record - Android
Let's say I have an domain with *.netflix.com (just an example)
which resolves to corresponding ipv4 (A) & ipv6 (AAAA) addresses.
How can I implement this in android using kotlin?
Currently, I am using
InetAddress.getAllByName("valid-host-name-with-wildcard-such-as-*-")
but the wildcard used in getAllByName() method throws an exception.
https://developer.android.com/reference/java/net/InetAddress#getAllByName(java.lang.String)
Any help is much appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
