nslookup is a CLI, utility tool that is used to query the Domain Name System (DNS) to obtain domain name or IP address info. Mostly used for testing DNS propagation, whenever there is a DNS migration.
If you want to test a DNS A record, is pretty simple:
Server: 220.127.116.11 Address: 18.104.22.168#53 Non-authoritative answer: Name: devcoops.com Address: 22.214.171.124 Name: devcoops.com Address: 126.96.36.199
However, if you want to check for any CNAMEs, add the parameter / flag
-type=CNAME. In this case:
nslookup -type=CNAME devcoops.com
Server: 188.8.131.52 Address: 184.108.40.206#53 Non-authoritative answer: *** Can't find devcoops.com: No answer Authoritative answers can be found from: devcoops.com origin = elle.ns.cloudflare.com mail addr = dns.cloudflare.com serial = 2305395170 refresh = 10000 retry = 2400 expire = 604800 minimum = 3600
In case nothing works, feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.