{"id":8030,"date":"2023-07-25T04:30:05","date_gmt":"2023-07-25T04:30:05","guid":{"rendered":"https:\/\/www.infinitivehost.com\/knowledge-base\/?p=8030"},"modified":"2023-07-25T04:30:07","modified_gmt":"2023-07-25T04:30:07","slug":"how-do-i-use-the-nslookup-tool-provided-with-windows","status":"publish","type":"post","link":"https:\/\/www.infinitivehost.com\/knowledge-base\/how-do-i-use-the-nslookup-tool-provided-with-windows\/","title":{"rendered":"How Do I Use The NSLOOKUP Tool Provided With Windows?"},"content":{"rendered":"<div class='epvc-post-count'><span class='epvc-eye'><\/span>  <span class=\"epvc-count\"> 2,088<\/span><span class='epvc-label'> Views<\/span><\/div>\n<p>You may use the NSLOOKUP utility on the command prompt on Windows computers. As well as other diagnostic functions, this tool may be used to test the propagation and resolution of DNS records across several servers.<br><br>Go to\u00a0<strong>Start\u00a0<\/strong>and type\u00a0<strong>cmd<\/strong>\u00a0in the search field to open the command prompt. Alternatively, go to\u00a0<em>Start > Run ><\/em>\u00a0type\u00a0<strong>cmd<\/strong>\u00a0or\u00a0<strong>command<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"768\" height=\"672\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image5.jpg\" alt=\"How Do I Use The NSLOOKUP Tool Provided With Windows?\" class=\"wp-image-8031\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image5.jpg 768w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image5-300x263.jpg 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Type\u00a0<strong>nslookup\u00a0<\/strong>and hit\u00a0<strong>Enter<\/strong>. The displayed information will be your local DNS server and its IP address. You can specify the DNS server (IP address), type of record, and domain name.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"700\" height=\"171\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image1.jpg\" alt=\"How Do I Use The NSLOOKUP Tool Provided With Windows?\" class=\"wp-image-8032\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image1.jpg 700w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image1-300x73.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Type&nbsp;<strong>nslookup&nbsp;<\/strong>and&nbsp;<strong>domain name<\/strong>&nbsp;and the command will return the A record for the domain you run a query for.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"737\" height=\"226\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image3.jpg\" alt=\"How Do I Use The NSLOOKUP Tool Provided With Windows?\" class=\"wp-image-8033\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image3.jpg 737w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image3-300x92.jpg 300w\" sizes=\"(max-width: 737px) 100vw, 737px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Type\u00a0<strong>nslookup -q=XX<\/strong>\u00a0where<strong>\u00a0XX<\/strong>\u00a0is a type of a DNS\u00a0record.\u00a0 Some of the available types are\u00a0<strong>MX<\/strong>,\u00a0<strong>A<\/strong>,\u00a0<strong>CNAME<\/strong>, and\u00a0<strong>TXT<\/strong>. The records are then displayed, to exit the tool type\u00a0<strong>exit<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"122\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image2.jpg\" alt=\"How Do I Use The NSLOOKUP Tool Provided With Windows?\" class=\"wp-image-8034\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image2.jpg 724w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image2-300x51.jpg 300w\" sizes=\"(max-width: 724px) 100vw, 724px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>4. To use\u00a0<strong>nslookup<\/strong>\u00a0as a troubleshooting tool, you can set the specific type of record to lookup for a domain by using the\u00a0<strong>-type=record_type\u00a0<\/strong>where\u00a0<strong>record_type\u00a0<\/strong>is A, CNAME, MX, PTR, NS, ANY.<\/li>\n\n\n\n<li>Type<strong>\u00a0nslookup -type=ns domain_name\u00a0<\/strong>where\u00a0<strong>domain_name<\/strong>\u00a0is the domain for your query and hit\u00a0<strong>Enter.<\/strong>\u00a0Now the tool will display the name servers for the domain you specified.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"855\" height=\"380\" src=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image4.jpg\" alt=\"How Do I Use The NSLOOKUP Tool Provided With Windows?\" class=\"wp-image-8035\" srcset=\"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image4.jpg 855w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image4-300x133.jpg 300w, https:\/\/www.infinitivehost.com\/knowledge-base\/wp-content\/uploads\/2023\/07\/image4-768x341.jpg 768w\" sizes=\"(max-width: 855px) 100vw, 855px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li><strong>Notes:<\/strong><\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you type&nbsp;<strong>help<\/strong>&nbsp;or&nbsp;<strong>?&nbsp;<\/strong>you will see the list of all commands.<\/li>\n\n\n\n<li>By pressing Up and Down arrows you can select previously entered commands.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>2,088 Views You may use the NSLOOKUP utility on the command prompt on Windows computers. As well as other diagnostic functions, this tool may be used to test the propagation and resolution of DNS records across several servers. Go to\u00a0Start\u00a0and type\u00a0cmd\u00a0in the search field to open the command prompt. Alternatively, go to\u00a0Start > Run >\u00a0type\u00a0cmd\u00a0or\u00a0command.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[56],"tags":[],"class_list":["post-8030","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=8030"}],"version-history":[{"count":1,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8030\/revisions"}],"predecessor-version":[{"id":8036,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/8030\/revisions\/8036"}],"wp:attachment":[{"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=8030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=8030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infinitivehost.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=8030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}