![]() ![]() When you obtain your Internet domain name, you also must apply for an inaddr.arpa domain. If an incorrect entry or no entry returns (in other words, there is no associated name for the the IP range) then the HTTP request can be blocked. This problem typically results from the inaccessible sites that perform a reverse DNS lookup on the source IP address to verify that the address is not spoofed. In rare cases, you can be unable to access particular Web sites by name. You Can Ping a Web Server, But You Cannot View the HTML Pages If you enable the debug ip packet command without an ACL it can produce a large amount of output to the console and affect the access to the device.Įnsure you have the ip domain-lookupcommand enabled on the router. Use these steps to ensure that the router forwards the lookup requests:ĭefine an access control list (ACL) that matches on DNS packets: access-list 101 permit udp any any eq domainĪccess-list 101 permit udp any eq domain anyĬaution: Ensure that you specify the ACL. Ping the DNS server from the router with its IP address, and make sure that the ip name-server command is used to configure the IP address of the DNS server on the router. Unrecognized host or address, or protocol not running.Ĭomplete these steps to troubleshoot this problem:Įnsure the router can reach the DNS server. *May 12 16:48:37.304: Released port 43478 in Transport Port Agent for IP type 1% *May 12 16:48:37.304: Released port 43478 in Transport Port Agent for IP type 1 *May 12 16:48:37.303: Reserved port 56191 in Transport Port Agent for UDP IP type 1 Not process Router# ping *May 12 16:48:36.302: Reserved port 43478 in Transport Port Agent for UDP IP type 1 % Unrecognized host or address, or protocol not running.Īll possible debugging has been turned off Under rare conditions, you can see one of these error conditions: Router# debug ip udp Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Sending 5, 100-byte ICMP Echos to 10.37.145.84, timeout is 2 seconds: Router# ping Type escape sequence to abort. !- Configures the IP address of the name server. Platform punt-keepalive disable-kernel-core ! Call-home is enabled by Smart-Licensing. ! Last configuration change at 16:24:57 UTC Fri May 12 2023 This example shows a sample configuration on a router configured for basic DNS lookup: Sample Basic DNS Lookup Configuration This feature makes it easier to identify a router because the router is displayed by name rather than by its router ID or neighbor ID. Do not include the initial period that separates an unqualified name from the domain name.Ĭonfigures Open Shortest Path First (OSPF) to look up DNS names for use in all OSPF show EXEC command displays. If there is a domain list, the default domain name is not used.ĭefines a default domain name that the Cisco IOS software uses to complete unqualified host names (names without a dotted-decimal domain name). Note: If there is no domain list, the domain name that you specified with the ip domain-name global configuration command is used. Specifies the address of one or more name servers.ĭefines a list of domains, each to be tried in turn. Use these commands to do so: CommandĮnables DNS-based host name-to-address translation. ![]() Your router can be configured to use DNS lookups if you wish to use the ping or traceroutecommands with a host name rather than an IP address. Conventionsįor more information on document conventions, refer to the Cisco Technical Tips Conventions. If your network is live, ensure that you understand the potential impact of any command. All of the devices used in this document started with a cleared (default) configuration. The information in this document was created from the devices in a specific lab environment. This document is not restricted to specific software and hardware versions. Prerequisites RequirementsĬisco recommends that you have knowledge of these topics: This document describes how to configure Domain Name System (DNS) for Cisco routers. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |