cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
120
Views
1
Helpful
2
Replies

i don't have ipv6 and only using ipv4. when i ping resolve ipv6 not ip

MonkeyBear007
Level 1
Level 1

i don't have ipv6 and only using ipv4. when i ping resolve ipv6 not ipv4

Lab-Hub#ping yahoo.com
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:4998:24:120D::1:0, timeout is 2 seconds:

% No valid route for destination
Success rate is 0 percent (0/1)
Lab-Hub#

2 Replies 2

Debug ip dns 

Share this 

MHM

pieterh
VIP
VIP

a "normal" domain-lookup should retreive both IPV4 and IPV6 adresses (multiple)

C:\Users\>nslookup yahoo.com
Server: UnKnown
Address: x.x.x.x [ my forwarding dns-server]

Non-authoritative answer:
Name: yahoo.com
Addresses: 2001:4998:24:120d::1:0
2001:4998:24:120d::1:1
2001:4998:124:1507::f000
2001:4998:124:1507::f001
2001:4998:44:3507::8000
2001:4998:44:3507::8001
74.6.143.25
74.6.143.26
74.6.231.21
98.137.11.163
98.137.11.164
74.6.231.20

the dns server you use in your lab may have cached only the first returned adresss from the external dns servers
and presents this to your switch
the command mentioned by @MHM Cisco World gives a more detailed view of the dns-resolving than simple nslookup