Handle IPv6 lookups within 4-letter commands

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>