cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2958
Views
7
Helpful
6
Replies

Bad hostname or protocol not running

aridy
Level 1
Level 1

Hi,

I have a Cisco ASR 9010 Router and when i try pinging domains like facebook.com and google.com I get the following message: 

RP/0/RSP0/CPU0:ios#ping ipv4 facebook.com count 500
Thu Apr 23 12:42:36.754 GMT+2
% Bad hostname or protocol not running 

Can you give any advice how to fix this issue?

Thanks,

Aridy

6 Replies 6

omz
VIP Alumni
VIP Alumni

no domain lookup disable

domain name-server server-address

I verified domain lookup is not disabled and have defined my DNS servers which can all be pinged.

Still receiving same error.

Make new post I will reply and try solve issue 

MHM

Thanks for verifying that domain lookup is not disabled and that you have IP connectivity to the DNS servers. Is it possible that you have an access list examining traffic to or from the Internet that might not allow the DNS request or response? 

Perhaps posting the current running config (with sensitive information such as passwords or Public IP obscured might help us find the issue.

HTH

Rick

ehayric1320
Level 1
Level 1

Thanks for the reply. It looks like I was missing the mgmt vrf on domain name servers and on the domain lookup source interface command. Now it pings by name successfully.

This was on an 8201 router FYI.

domain vrf mgmt name-server X.X.X.X
domain vrf mgmt lookup source-interface MgmtEth0/RP0/CPU0/0

Thanks for the update. Glad to know that you have solved your issue. Thanks for sharing the solution with the community.

HTH

Rick

Review Cisco Networking for a $25 gift card