Whois
whois
The whois command queries information about domain names, IP addresses, and other network-related information. Use the command to fetch domain ownership details, such as the domain's ownership details, registration date, and expiration date.
whois [options] [query]
Install
apt install whois
Usage
whois <fqdn>