Java – Get nameservers of a website
In this tutorial, we will show you how to get the nameservers of a website using Java + dig command. 1. Using Dig Command 1.1 On Linux, we can use dig command to query a DNS lookup of a website, for example : $ dig any mkyong.com //… mkyong.com. 299 IN A 162.159.x.x mkyong.com. 299 …