Allow the use of DNS discovery for eureka connections

You could pull out `response.Answer[0]` into a variable since you're using it in three places if you wanted.