Enable Ip Domain Lookup Cisco
This command has no arguments or keywords.
Enable ip domain lookup cisco. Router config ip domain name name example. Defines a default domain name that the cisco ios software uses to complete unqualified host names names without a dotted decimal domain name. Specifies hosts 192 168 1 111 and 192 168 1 2 as name servers ip name server 192 168 1 111 192 168 1 2.
Use the ip domain name command to configure the domain name for the device use the vrf context command to enter the vrf context mode to configure the domain monastery for a particular vrf. No ip domain lookup. Basic commands of ios in cisco router relates to set the hostname password etc on first time.
Use the no form of this command to disable this feature. It s really a great explanation but i think we still need to configure ip domain name command in case that we need to enable ssh on the switch router. The result of basic commands of ios in cisco router initially saved in running configuration and we need to copy the running configuration into the startup configuration.
This example shows how to configure a default domain name and enable dns lookup. You can configure a dns client within a vrf. Ip dns based hostname to address translation is enabled ip domain lookup.
Do not include the initial period that separates an unqualified name from the domain name. The ip dns server command is used to enable dns service on router and ip domain lookup command is used to enable ip to domain name translation on router. If you do not enter vrf configuration mode your dns client configuration applies to the default vrf.
This example shows how to configure the ip domain name for the default vrf. Now we need to add forwarder address so that r1 can make recursive query to other dns server if it does not have any record in its own database. Now if we check show cdp neighbors on r2 we see that r1 has a domain name appended to it.