I want to write a simple app that would send a dns query to specific dns server ip and get a response for me.
Can someone point me to a code or give me a sample code that I could use in android.
I am not even sure if we can do that.
Thank you.
您可以使用dnsjava - ExtendedResolver
可能是您想要的(假设平台可以让您使用纯Java)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.