NSLOOKUP is a tool included with Windows, that will allow you to check DNS records via your router, or other external servers. Its a very handy tool to troubleshoot website issues, particularly when you have just migrated or changed DNS.
To open NSLOOKUP:
You will be presented with a screen similar to be below:
As you can see, the screen below is using the local Router (192.168.0.1) as the default server. This means any DNS records are coming from that server.
It can be handy to check DNS against other servers, to be sure your DNS server hasn't cached the records.
To change to another server, for example Googles Public DNS server, type:
You can see the server is now showing as google-public-dns-a.google.com. Which basically means any queries you enter from here, will be how google "sees" things.
The beauty of NSLOOKUP is that you can query various DNS types, we have listed the main 4 you will use below:
CNAME - Canonical Name
MX - Mail Routing
NS - Name Servers
A - A records
To change the query type, you use the command: 'set q=[TYPE]' where type is one of the above 4 DNS record types. For example:
...will swap the query to Mail Records, or:
...will query the NameServers.
See examples of both below, Red arrows showign the change of Query type and the green showing the results.