Domain Name Lookup Command
This command allows you to set a domain name for the router.
Domain name lookup command. This will perform a reverse dns lookup and will try to match the given ip address in the command with its corresponding domain name. The no ip domain lookup command is usually seen in configurations. The first section specifies the domain name of the requested server. Many times you check the a records to see the ips of a domain but sometimes you need to verify if an ip address is related to a specific domain.
No ip domain lookup. This command is often used to perform a reverse lookup on an ip address as shown in the example below. Changes the name of the root server used for queries. Echo userdomain note that the value in userdomain may not be the.
Now if we check show cdp neighbors on r2 we see that r1 has a domain name appended to it. Nslookup ip address. Appends the dns domain names in the dns domain search list to the request until an answer is received. Router config ip domain name name example.
Use the no form of this command to disable this feature. As shown above the nslookup command followed by a domain name will show you the ipv4 and ipv6 addresses a records and aaaa records assigned to the specific domain. For that purpose we need a reverse dns lookup. To enable the domain name server dns lookup feature use the ip domain lookup command.
Systeminfo findstr b c domain we can find the logged in user s domain by using the environment variable userdomain. This applies when the set and the lookup request contain at least one period but do not end with a trailing period. The ip address for that server is displayed in the second section. By default any single word entered on a command line that is not recognized as a valid command is considered as a hostname by the router and the router will by default try to telnet to that hostname.
Now if i mistype a command the router will not perform a dns resolution process. We can find the domain name of a computer by running the following commnad from command line. This command has no arguments or keywords. R1 writte translating writte unknown command or computer name or unable to find computer address r1.
Access your command prompt.