To find information about any domain, create a .sh file using below script. Copy it as it is excluding the top and bottom lines.
............................................................................................................
#!/bin/bash
read -p "Enter Domain Name : " my_var
echo "MX Records" ---------------------------------------------------------------------------
dig MX ${my_var}
echo "NS Records" ---------------------------------------------------------------------------
dig NS ${my_var}
echo "CNAME Records" ---------------------------------------------------------------------------
dig CNAME ${my_var}
echo "DMARC Records" ---------------------------------------------------------------------------
dig _dmarc.${my_var} txt
echo "DKIM Records" ---------------------------------------------------------------------------
dig selector1._domainkey.${my_var} txt
dig selector2._domainkey.${my_var} txt
echo "Domain Regristration Information" ---------------------------------------------------------------------------
whois ${my_var} | grep -E 'Registrar|Expiration|Country|State|City|Postal|Phone|Email'
.................................................................................................................................
Watch video DNS Lookup - Get domain information quickly online without registration, duration hours minute second in high quality. This video was added by user Linux Milestone 12 November 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 52 once and liked it 2 people.