Revert "add Resolv.getname support"

This reverts commit effabf54602eae67d5ffca6e817345dff4240c10.