@Test
	public void eurekaDnsConfigurationWorks() {
		new ApplicationContextRunner()
			.withConfiguration(AutoConfigurations.of(EurekaConfigServerBootstrapConfiguration.class))
			.withPropertyValues("spring.cloud.config.discovery.enabled=true", "eureka.client.enabled=true",
					"eureka.instance.hostname=eurekaclient1", "eureka.client.use-dns-for-fetching-service-urls=true",
					"eureka.client.eureka-server-d-n-s-name=myeurekahost",
					"eureka.client.eureka-server-u-r-l-context=eureka", "eureka.client.eureka-server-port=30000")
			.run(context -> assertThat(output)
				.contains("Cannot get cnames bound to the region:txt.us-east-1.myeurekahost"));
	}
@author Spencer Gibb
@author Tang Xiong
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/config/EurekaConfigServerBootstrapConfigurationTests.java