The host can be a website, an email server, or other servers that you can lookup with a hostname. The simpliest function of Nslookup, and also commonly used, is to query for the IP address of a remote host. How to Find the A Record (IP Address) of a Domain or Server By maintaining cached copy of DNS records on secondary servers (which is updated from the primary server at a defined interval), query response time is minimized and the primary server isn't inundated with queries. The reason why the primary authoritative server isn't involved in responding to all nslookup queries is to reduce server load. See the example below on how to get an authoritative response. This is important because the DNS record may have been changed recently and the cached copy may not reflect the most up-to-date information.Īn authoritative answer is when the DNS server hosting the primary copy of the DNS record responses to your lookup. Typically, this means the result was provided by a server (such as your Internet service provider) that held a cached copy of the DNS record. This is to tell you know that the results was provided by a server that is not the authoritative (primary) source. In the output of nslookup, you will often notice the statement "non-authoritiative answer" (as illustrative below) as part of the lookup result. With non-interactive mode, you would typically use this when you only need to execute a single lookup.Īuthoritative vs Non-Authoritative Response To exit interactive mode, simply type exit then press Enter. To get help on available switches, type help then press Enter. In the screenshot example below, you can tell you are in interactive mode by looking at style of the prompt. To go into interactive mode, type nslookup at the command window then press Enter. In interactive mode, you are able to query for information about a website or a server, and to also print a list of hosts on a domain. The nslookup utility can be used in one of two modes: interactive and non-interactive. Overview Interactive vs Non-Interactive Mode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |