The Shodan search tool, for some DNS servers, shows a Resolver name
value for what it finds on UDP port 53. For example, 80.82.117.140 shows Resolver name: server402.xenserve.com
and 103.81.27.118 reports Resolver name: smartway-h7
.
I have searched the web as well as the man pages for dig
and nslookup
, as well as searching the output of dig @ip_of_dns_server
, but I cannot figure out how to retrieve the resolver name for a DNS server.
How can I query the resolver name myself using Linux command-line tools?