If you’re trying to ping something by hostname but only want to ping the IPv4 IP address, you’ll sometimes need to specify this when executing the PING command. Example on Win2008 & Vista (pinging the IP server.domain.com)
To ping and IPv4 IP:
ping server.domain.com -4
To ping an IPv6 IP:
ping server.domain.com -6