Question : What does nslookup do?

I just bought a domain name and hosting my website on my own server with static ip. I configured the host record in doamin provider's nameserver to point to my ip (76.10.*.*).

When I run nslookup abc.com
Server:  resolver1.opendns.com
Address:  208.67.222.222

Non-authoritative answer:
Name:    abc.com
Address:  76.10.*.*
------------------------------------------------------

Why the name here under Non-authoritative answer is my domain name not the name server hosting the record? so how do I find out the nameserer hosting my record? Isn't nslookup suppose to show nameserver?

Answer : What does nslookup do?

nslookup will resolve names to ip addresses from dns servers. by default it resolves A records.

if you other info like dns servers serving a domain, then

nslookup> set type=ns

nslookup> yourdomain.com
Random Solutions  
 
programming4us programming4us