Looks like it's network-manager that's responsible.

I was able to reproduce the problem by editing /etc/hosts (and removing the '::1 localhost6.localdomain localhost6' line) and then restarting...