When you try to nslookup any domain in CentOS you might get the following error:
-bash: nslookup: command not found
To run nslookup in CentOS, you have to install bind-utils at first because nslookup is part of it.
Step 1: install bind-utils
yum -y install bind-utils
Step 2: run nslookup
Step 3: Let check the Domain you want to check
>google.com Server: 126.96.36.199 Address: 188.8.131.52#53 Non-authoritative answer: Server: google.com Address: 184.108.40.206