hostname

Is there a unix command to retrieve NS records from domain?

Hi, I am looking for a way to get the primary and secondary NS records of a given domain name, and the IP addresses associated with it. Which means that I am looking for these: dns1: ip1: dns2: ip2: Now this kind of information is available from websites like intodns.com, but I am working on a huge list of domains and would like to aut...

Problems resolving Hostname using DNS.getHostEntry()

Tested with 4 PC, 1 of which is local, the others are lan PC in my office environment. All these PC are using static IP with hostname which are all ping-able. I used Socket and wanted to get the hostname of the remote PC. Out of the 4 PC, there is only 1 PC giving me problems. The problem of that PC is that I have already got the IPAd...