Pinging own machine returns an IPv6 address instead of IPv4

Solution 1:

This could be due to caching or the DNS. On a Windows Server 2008 issue on Server Fault they suggest:

If they are resolving to IPv6 they might be cached or have ipv6 addresses registered in DNS.

You can also add a -4 to the ping:

ping example.com -4