Authored by qinchao

双中心切换,去掉pch5域名切换

@@ -16,7 +16,18 @@ public class QcloudDnspotUtil { @@ -16,7 +16,18 @@ public class QcloudDnspotUtil {
16 private static final Logger logger = LoggerFactory.getLogger(QcloudDnspotUtil.class); 16 private static final Logger logger = LoggerFactory.getLogger(QcloudDnspotUtil.class);
17 17
18 //顺序不能乱,一定要保持一致 18 //顺序不能乱,一定要保持一致
19 - private final static String[] DOMAINS_DESCR={"service.yoho.cn","api.yoho.cn","single.yoho.cn","*.m.yohobuy.com","m.yohobuy.com","*.yohobuy.com","@.yohobuy.com","www.yohobuy.com"}; 19 + private final static String[] DOMAINS_DESCR={"service.yoho.cn","api.yoho.cn","single.yoho.cn"};
  20 + private final static String[] DOMAINS={"yoho.cn","yoho.cn","yoho.cn"};
  21 + private final static String[] SUB_DOMAINS={"service","api","single"};
  22 +
  23 + private final static String[] RECORDIDS={"293178322","293178513","223999953"};
  24 + private final static String[] RECORDLINES={"默认","默认","默认"};
  25 + private final static String[] AWS_VALUES={"app-java-v2-478307157.cn-north-1.elb.amazonaws.com.cn.","app-java-v2-478307157.cn-north-1.elb.amazonaws.com.cn.","app-java-v2-478307157.cn-north-1.elb.amazonaws.com.cn."};
  26 + private final static String[] AWS_VALUES_TYPE={"CNAME","CNAME","CNAME"};
  27 + private final static String[] QCLOUD_VALUES={"123.206.1.98","123.206.1.98","123.206.1.98"};
  28 + private final static String[] QCLOUD_VALUES_TYPE={"A","A","A"};
  29 +
  30 + /*private final static String[] DOMAINS_DESCR={"service.yoho.cn","api.yoho.cn","single.yoho.cn","*.m.yohobuy.com","m.yohobuy.com","*.yohobuy.com","@.yohobuy.com","www.yohobuy.com"};
20 //private final String[] DOMAINIDS=("16862974" "16862974" "16862974" "20765505" "20765505" "20765505" "20765505" "20765505"); 31 //private final String[] DOMAINIDS=("16862974" "16862974" "16862974" "20765505" "20765505" "20765505" "20765505" "20765505");
21 private final static String[] DOMAINS={"yoho.cn","yoho.cn","yoho.cn","yohobuy.com","yohobuy.com","yohobuy.com","yohobuy.com","yohobuy.com"}; 32 private final static String[] DOMAINS={"yoho.cn","yoho.cn","yoho.cn","yohobuy.com","yohobuy.com","yohobuy.com","yohobuy.com","yohobuy.com"};
22 private final static String[] SUB_DOMAINS={"service","api","single","*.m","m","*","@","www"}; 33 private final static String[] SUB_DOMAINS={"service","api","single","*.m","m","*","@","www"};
@@ -28,7 +39,7 @@ public class QcloudDnspotUtil { @@ -28,7 +39,7 @@ public class QcloudDnspotUtil {
28 "public-pc-135398895.cn-north-1.elb.amazonaws.com.cn.","public-pc-135398895.cn-north-1.elb.amazonaws.com.cn."}; 39 "public-pc-135398895.cn-north-1.elb.amazonaws.com.cn.","public-pc-135398895.cn-north-1.elb.amazonaws.com.cn."};
29 private final static String[] AWS_VALUES_TYPE={"CNAME","CNAME","CNAME","CNAME","CNAME","CNAME","CNAME","CNAME"}; 40 private final static String[] AWS_VALUES_TYPE={"CNAME","CNAME","CNAME","CNAME","CNAME","CNAME","CNAME","CNAME"};
30 private final static String[] QCLOUD_VALUES={"123.206.1.98","123.206.1.98","123.206.1.98","118.89.211.117","118.89.211.117","118.89.213.119","118.89.213.119","118.89.213.119"}; 41 private final static String[] QCLOUD_VALUES={"123.206.1.98","123.206.1.98","123.206.1.98","118.89.211.117","118.89.211.117","118.89.213.119","118.89.213.119","118.89.213.119"};
31 - private final static String[] QCLOUD_VALUES_TYPE={"A","A","A","A","A","A","A","A"}; 42 + private final static String[] QCLOUD_VALUES_TYPE={"A","A","A","A","A","A","A","A"};*/
32 43
33 /** 44 /**
34 * 接口(RecordModify)用于修改解析记录 45 * 接口(RecordModify)用于修改解析记录