Doing dig +short @ns1.google.com ns1.google.com AAAA
hits ns1.google.com
to get IPv6 address for ns1.google.com
. From wireshark i can see that the query goes to IPv6 address 2001:4860:4802:32::a
which is something i'm actually looking for.
Question is how did dig
figure out to which IPv6 address the query, to get the IP address of the name server, should be sent to?
May be i'm missing something very basic here.