![]() To list all DNS records in the domain zone, run the command: nslookup -type=any If you don’t see MX records, they probably just aren’t configured for that domain. internet address = 37.1.214.145Īs you can see, this domain has 2 MX records with priorities 10 and 20 (the lower the number, the higher the priority of the MX address). You can set specific record types to lookup using the nslookup parameter: -type=įor example, to list all mail servers configured for a specific domain (MX, Mail eXchange records), run the command: nslookup -type=mx ![]() The default nslookup resource records type is A and AAAA, but you can use different types of resource records: Using Nslookup to Get Different DNS Record Types Just type the IP address in the nslookup interactive prompt and press Enter. You can perform reverse lookups (get DNS name by IP address). ![]() To find the DNS servers that are responsible for a specific domain (Name Server authoritative servers), run the following commands: set query=ns To close the interactive nslookup session, type exit and press Enter. Note that nslookup commands are case-sensitive. A complete list of available internal commands of the nslookup utility can be displayed by typing a question. In this mode, you can execute various commands. When you run nslookup without parameters, the utility switches to the interactive mode. For example, to resolve a name on the authoritative DNS server (that contains this domain) use the command: Nslookup You can access an authoritative DNS server by specifying its address directly in the parameters of the nslookup utility. You can enable and disable the recursive nslookup mode using the commands (by default, recursive DNS queries are enabled): set recurse The Non-authoritative answer means that the DNS server that executed the request is not the owner of the zone (there are no records about this domain in its database) and to perform name resolution a recursive query to another DNS server was used. Make sure your DNS server is available on port 53 UDP and TCP and this port is not blocked by a firewall. In this case, check if you have specified the correct DNS server address and whether there is a problem with the network connection from the IS provider. How to install and configure DNS server on Windows Server.
0 Comments
Leave a Reply. |