add Resolv.getname support