ensure dns record exists before trying to set up replication