1 package org.kuali.common.devops.status; 2 3 import java.util.Map; 4 5 import org.junit.Test; 6 import org.kuali.common.devops.logic.DNS; 7 import org.kuali.common.util.log.LoggerUtils; 8 import org.slf4j.Logger; 9 10 public class DNSTest { 11 12 private static final Logger logger = LoggerUtils.make(); 13 14 @Test 15 public void test() { 16 Map<String, String> all = DNS.getAliasMap(false); 17 logger.info(String.format("cname records -> %s", all.size())); 18 Map<String, String> unambiguous = DNS.getCanonicalMap(false); 19 logger.info(String.format("unambiguous cname records -> %s", unambiguous.size())); 20 } 21 }