{"id":19589,"date":"2020-11-24T14:46:55","date_gmt":"2020-11-24T06:46:55","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&#038;p=19589"},"modified":"2022-09-07T21:40:14","modified_gmt":"2022-09-07T13:40:14","slug":"windows-commands-nslookup","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/windows-commands-nslookup","title":{"rendered":"Windows Commands \u2013 Nslookup"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"19589\" class=\"elementor elementor-19589\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c74a3ae elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"c74a3ae\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-04b5227\" data-id=\"04b5227\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1b777cd elementor-widget elementor-widget-heading\" data-id=\"1b777cd\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Windows Commands \u2013 Nslookup<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2c958a7 elementor-widget elementor-widget-heading\" data-id=\"2c958a7\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">Windows Commands Query<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6a7a412 elementor-widget elementor-widget-text-editor\" data-id=\"6a7a412\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Please refer to the following instance\u00a0<\/p><ol><li>Firstly, &gt; nslookup<br \/>Default Server: ns1.domain.com<br \/>Address: 10.0.0.1<\/li><li>Secondly, &gt; mailhost<br \/>Server: ns1.domain.com<br \/>Address: 10.0.0.1<\/li><li>And next, mailhost.domain.com MX preference = 0<\/li><li>Then, mail exchanger =mailhost.domain.com<br \/>mailhost.domain.com internet address = 10.0.0.5<\/li><\/ol><p>You can refer to <a href=\"https:\/\/docs.microsoft.com\/en-us\/previous-versions\/windows\/it-pro\/windows-server-2012-R2-and-2012\/cc725991(v=ws.11)?redirectedfrom=MSDN\" rel=\"noopener\">this article<\/a> from Microsoft KB for more information.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce2360b elementor-widget elementor-widget-heading\" data-id=\"ce2360b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">What is nslookup?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d1af181 elementor-widget elementor-widget-text-editor\" data-id=\"d1af181\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>First of all, nslookup is a simple but very practical command-line tool. We principally use it to find the IP address that corresponds to a host, or the domain name that corresponds to an IP address (the process of what we call it \u201cReverse DNS Lookup\u201d). Nslookup allows itself to be used in the command-line of the operating system in question. For Windows users, they start the service via the command prompt. For Unix users, they use a terminal window. Additionally, there are now a number of services that can make using nslookup online possible.<\/p><p><strong>Note: <\/strong>The name &#8220;nslookup&#8221; actually stands for \u201cname server look up.\u201d<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3d60461 elementor-widget elementor-widget-text-editor\" data-id=\"3d60461\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Besides that, Nslookup retrieves the relevant address information directly from the DNS cache of name servers. We can achieve this process through two different modes that the user can choose from. In the non-interactive mode, the tool inspects the resource records, which is what the address entries in the DNS cache are called. These are stored in the local name server, in a standard way. The mode is especially well suited for simple queries, for which a single domain entry needs to be looked up. When you want to use a different DNS server for the research and complete more complex search processes, you need the interactive mode. We need to start the command-line program separately at first.<\/p><p><strong>Note: <\/strong>Unlike the wide range of other command-line programs from Windows\/DOS, nslookup has the case-sensitive parameter \u201c-q\u201d. In other words, a parameter in which capitalization or lack thereof is relevant.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-69d1b3d elementor-widget elementor-widget-heading\" data-id=\"69d1b3d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-medium\">What can it be used for?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3179157 elementor-widget elementor-widget-text-editor\" data-id=\"3179157\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>There are a few different scenarios in which the use of nslookup is appropriate. In this way, a command-line program is a crucial tool in resolving DNS issues. First of all, a data query helps find the cause of the problem at hand. For example, those who use Windows and experience an issue with the active directory can use nslookup. Nslookup allows them to quickly and easily check whether all involved servers are converted into the domain name system as planned. Generally, this program shows its strengths when various subdomains. Not only when it is simply a matter of checking them, but also when there are connection problems.<\/p><p>Another typical scenario is the search for optimal mail servers (SMTP, POP, IMAP) for the desired domain. In this case, nslookup determines the servers in question on the basis of the mail exchanger (MX-Records) that belong to the domain of the e-mail provider. These entries contain the IP addresses and names of the provider servers, which subsequently we only need to specify during the configuration of the mail clients to perfect the routing of the electronic mail service.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dd99735 elementor-widget elementor-widget-text-editor\" data-id=\"dd99735\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>When using nslookup to retrieve the <strong>MX Record<\/strong> of a domain, the network tool will find the mail server in question which is labeled \u201cresponsible mail addr\u201d.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Windows Commands \u2013 Nslookup Windows Commands Query Please refer to the following instance\u00a0 Firstly, &gt; nslookupDefault Server: ns1.domain.comAddress: 10.0.0.1 Secondly, &gt; mailhostServer: ns1.domain.comAddress: 10.0.0.1 And next, mailhost.domain.com MX preference = 0 Then, mail exchanger =mailhost.domain.commailhost.domain.com internet address = 10.0.0.5 You can refer to this article from Microsoft KB for more information. What is nslookup? First [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[118],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/19589"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=19589"}],"version-history":[{"count":10,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/19589\/revisions"}],"predecessor-version":[{"id":37885,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/19589\/revisions\/37885"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=19589"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=19589"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=19589"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=19589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}