find tld server ip nslookup code example Example: how to find DNS root server ip nslookup nslookup -type=NS .