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
Post a Comment