From Fedora Project Wiki

ifconfig | grep inet6

nslookup -type=AAAA ipv6.DOMAIN.TLD


Warning!
Warning!
Sometimes a=b and b=c. In that case, a=c. :-|