How to get DNS server IP(s) from hostName in java -


situation: trying dns servers entries/details each system. each system can have different dns ips.

ques: how get/fetch dns server ip(s) hostname in java ?

i did this:linkedlist<string> nameservers = (linkedlist<string>) sun.net.dns.resolverconfiguration.open().nameservers(); , able dns details of localsystem - want details of other systems aswell.

any suggestion ?


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -