Resolv.getaddress uses default DNS. In OSX DNS lookup works differently. There might be more than one resolvers. Socket.getaddrinfo utilizes OSX DNS lookup mechanism.
Resolv.getaddress uses default DNS. In OSX DNS lookup works differently. There might be more than one resolvers. Socket.getaddrinfo utilizes OSX DNS lookup mechanism.

eligible/knife-bastion