To make it more clear ```-4``` performs DNS lookup using IPv4. ```-6``` uses IPv6. It doesn't depend if you query ```A``` or ```AAAA``` record. It only selects protocol for communication with DNS server.