You can connect to relays using IP directly. And the IP can be taken from the relay's pubkey metadata. It's super easy.