DNS client
DNS commands support both IPv4 and IPv6 addresses. Link‐local addresses are
not supported. Use the following command to specify the type of DNS query to
be sent first:
CN 4093(config)# ip dns ipv6 request-version {ipv4|ipv6}
If you set the request version to ipv4, the DNS application sends an A query
first, to resolve the hostname with an IPv4 address. If no A record is found for
that hostname (no IPv4 address for that hostname) an AAAA query is sent to
resolve the hostname with a IPv6 address.
If you set the request version to ipv6, the DNS application sends an AAAA query
first, to resolve the hostname with an IPv6 address. If no AAAA record is found
for that hostname (no IPv6 address for that hostname) an A query is sent to
resolve the hostname with an IPv4 address.
413
© Copyright Lenovo 2017
Chapter 24: Internet Protocol Version 6