07-10-2025 12:30 AM
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#
07-10-2025 12:37 AM
Debug ip dns
Share this
MHM
07-11-2025 11:29 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide