Get IPv4 and IPv6 with one command

It may be that this has been added to dig since the question was asked, but for completeness this can be accomplished through the following query: dig hostname A hostname AAAA +short Source: http://linux.die.net/man/1/dig — under the ‘Multiple Queries’ section

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)