return replica that is closest to the given IP

Naive solution to return the replica that is closest to the client making the DNS request