Authored by qinchao

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

... ... @@ -16,7 +16,18 @@ public class QcloudDnspotUtil {
private static final Logger logger = LoggerFactory.getLogger(QcloudDnspotUtil.class);
//顺序不能乱,一定要保持一致
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"};
private final static String[] DOMAINS_DESCR={"service.yoho.cn","api.yoho.cn","single.yoho.cn"};
private final static String[] DOMAINS={"yoho.cn","yoho.cn","yoho.cn"};
private final static String[] SUB_DOMAINS={"service","api","single"};
private final static String[] RECORDIDS={"293178322","293178513","223999953"};
private final static String[] RECORDLINES={"默认","默认","默认"};
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."};
private final static String[] AWS_VALUES_TYPE={"CNAME","CNAME","CNAME"};
private final static String[] QCLOUD_VALUES={"123.206.1.98","123.206.1.98","123.206.1.98"};
private final static String[] QCLOUD_VALUES_TYPE={"A","A","A"};
/*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"};
//private final String[] DOMAINIDS=("16862974" "16862974" "16862974" "20765505" "20765505" "20765505" "20765505" "20765505");
private final static String[] DOMAINS={"yoho.cn","yoho.cn","yoho.cn","yohobuy.com","yohobuy.com","yohobuy.com","yohobuy.com","yohobuy.com"};
private final static String[] SUB_DOMAINS={"service","api","single","*.m","m","*","@","www"};
... ... @@ -28,7 +39,7 @@ public class QcloudDnspotUtil {
"public-pc-135398895.cn-north-1.elb.amazonaws.com.cn.","public-pc-135398895.cn-north-1.elb.amazonaws.com.cn."};
private final static String[] AWS_VALUES_TYPE={"CNAME","CNAME","CNAME","CNAME","CNAME","CNAME","CNAME","CNAME"};
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"};
private final static String[] QCLOUD_VALUES_TYPE={"A","A","A","A","A","A","A","A"};
private final static String[] QCLOUD_VALUES_TYPE={"A","A","A","A","A","A","A","A"};*/
/**
* 接口(RecordModify)用于修改解析记录
... ...