getent hosts on a dualstack machine will most likely return the ipv6 address to ensure one can more cleary define the outcome the ipv{4,6}_address are used.
[Validate]