Reputation: 2173
is there a unix command to retrieve all informations possible from a website?
I mean info like: IP, IP geo location, (sub-)domains, alternative domain names, name server, and all other informations I'm thinking about.
I know about whois
, but is there anything else?
Something that gives more informations?
Thanks
Upvotes: 0
Views: 537
Reputation: 489
I don't know any command that can do all of that at once but a simple pipeline should work too.
ping www.website.com
for IPcurl ipinfo.io/ip-adress
for geo-locationnslookup -query=soa www.website.com
for original DNSAlternatively you can use the command dig
to find the subdomains via the DNS:
dig domain.com
the output in the authority section are the DNS servers which are useddig @dns.server domain.com AFXR
to retrieve the subdomains of domain.comUpvotes: 2