nslookup utility can be installed and used on a Linux system to find out information about the DNS records for a domain or IP address. It's particularly handy when troubleshooting DNS issues. A popular tool that also comes installed with nslookup is
dig, which is similar but uses different resolvers. It's a good alternative to nslookup, but nslookup is typically easier to use.
This is a companion discussion topic for the original entry at https://linuxconfig.org/nslookup-linux-command