qcloud.zone.j2 13.1 KB
$TTL    5      ;  5s default TTL

; Zone: yohoops.org.
; Generated by ansible, at {{ timestamp }}


@       IN      SOA     ns1.yohoops.org.  root.ns.yohoops.org. (
                        {{ zone_serical }} ; Serial
                        1M                ;   Refresh
                        15M               ;   Retry
                        1W                ;   Expire
                        1M                ;   Negative Response TTL
                )

; DNS Servers
        IN      NS      ns.yohoops.org.


; Other A and CNAME records, etc


;ops
influxdb                                          IN	A         10.66.4.25
influxdb-event                                    IN	A         10.66.4.25
influxdb-order                                    IN	A         10.66.4.25
monitor.redis                                     IN	A         10.66.4.25
zabbix.master                                     IN	A         10.66.0.191
rsyslog                                           IN	A         10.66.0.36
config.server                                     IN	A         10.66.80.2
zabbix                                            IN	A         10.66.0.191
kafkacluster                                      IN	A         10.66.80.4
kafkacluster                                      IN	A         10.66.80.17
kafkacluster                                      IN	A         10.66.80.14
clickstream.ckafka                                IN    A         10.66.105.31
ops.kafka                                         IN	A         10.66.105.56
ops.ckafka                                        IN	A         10.66.105.56
rec.ckafka                                        IN	A         10.66.105.31


;database
write.cms                                         IN	A         {{ db_cms_write }}
read.cms                                          IN	A         {{ db_cms_read }}
write.uic                                         IN	A         {{ db_uic_write }}
read.uic                                          IN	A         {{ db_uic_read }}
write.passport                                    IN	A         {{ db_passport_write }}
read.passport                                     IN	A         {{ db_passport_read }}
write.orders                                      IN	A         {{ db_order_write }}
read.orders                                       IN	A         {{ db_order_read }}
write.shops                                       IN	A         {{ db_shops_write }}
read.shops                                        IN	A         {{ db_shops_read }}
write.yohood                                      IN	A         {{ db_order_write }}
read.yohood                                       IN	A         {{ db_order_read }}
write.message                                     IN	A         {{ db_message_write }}
read.message                                      IN	A         {{ db_message_read }}
read2.message                                     IN	A         {{ db_message_read }}

write1.orders                                     IN	A         {{ db_ordersplit_1_write }}
write2.orders                                     IN	A         {{ db_ordersplit_2_write }}
write3.orders                                     IN	A         {{ db_ordersplit_3_write }}
write4.orders                                     IN	A         {{ db_ordersplit_4_write }}
read1.orders                                      IN	A         {{ db_ordersplit_1_read }}
read2.orders                                      IN	A         {{ db_ordersplit_2_read }}
read3.orders                                      IN	A         {{ db_ordersplit_3_read }}
read4.orders                                      IN	A         {{ db_ordersplit_4_read }}

write1.promotion                                  IN	A        {{ db_ordersplit_1_write }}
write2.promotion                                  IN	A        {{ db_ordersplit_2_write }}
write3.promotion                                  IN	A        {{ db_ordersplit_3_write }}
write4.promotion                                  IN	A        {{ db_ordersplit_4_write }}
read1.promotion                                   IN	A        {{ db_ordersplit_1_read }}
read2.promotion                                   IN	A        {{ db_ordersplit_2_read }}
read3.promotion                                   IN	A        {{ db_ordersplit_3_read }}
read4.promotion                                   IN	A        {{ db_ordersplit_4_read }}

write.search                                      IN	A         {{ db_search }}
read.search                                       IN	A         {{ db_search }}
brower.mongodb                                    IN	A         {{ db_mongo }}

write.erp                                         IN	A         10.66.50.99
read1.erp                                         IN	A         10.66.50.64
read2.erp                                         IN	A         10.66.50.64
read3.erp                                         IN	A         {{ erp_3_read }}

write.social                                      IN	A         10.66.251.12
read.social                                       IN	A         10.66.251.12
write.mars                                        IN	A         10.66.251.15
read.mars                                         IN	A         10.66.251.15
write.yhcms                                       IN	A         10.66.251.12
read.yhcms                                        IN	A         10.66.251.12
write.global                                      IN	A         10.66.251.12
read.global                                       IN	A         10.66.251.12
db.global                                         IN	A         10.66.6.6
write.yhUnion                                     IN	A         10.66.6.131
read.yhUnion                                      IN	A         10.66.106.14
qq.union.dbs.slave                                IN	A         10.66.106.14
write.yhLogs                                      IN	A         10.66.6.49
qq.logs.dbs.slave                                 IN	A         10.66.6.49
yohologs                                          IN	A         10.66.6.49
write.store                                       IN	A         10.66.6.183
read.store                                        IN	A         10.66.6.183
qq.dbs.slave                                      IN	A         10.67.2.2
dbs.slave                                         IN	A         10.67.2.2
bigdata.db.union                                  IN	A         10.66.6.24
read.bigdata                                      IN	A         10.66.106.4
db.crm                                            IN	A         10.66.6.199
gp.db                                             IN	A         10.67.2.47
db.crm.readonly                                   IN	A         10.66.6.3
bigdata.db.yohoservice                            IN    A         10.66.6.24
sched.db                                          IN    A         10.66.6.24
sched                                             IN    A         10.66.6.168


;java inner load balancer
uic                                               IN	A         {{ java.inner_lb }}
api.yoho                                          IN	A         {{ java.inner_lb }}
service.yoho                                      IN	A         {{ java.inner_lb }}
erp.yoho                                          IN	A         {{ java.inner_lb }}
search                                            IN	A         {{ java.inner_lb }}
message-controller                                IN	A         {{ java.single_inner_lb }}
single                                            IN	A         {{ java.single_inner_lb }}
gateway.erp                                       IN	A         {{ java.single_inner_lb }}
gateway-gray.erp                                  IN    A         10.66.202.9


;redis server
redis.nginx                                       IN	A         10.66.4.80
redis.global                                      IN	A         10.66.4.161
redis.java                                        IN	A         {{ redis.java }}
redis.gateway                                     IN	A         {{ redis.gateway }}
redis.bigdata                                     IN	A         10.66.4.156
redis.web                                         IN	A         10.66.105.49
search.redis                                      IN	A         {{ redis.search }}
redis.push                                        IN	A         10.66.5.182
bigdata.rtrec.redis                               IN	A         10.67.1.139
web.redis                                         IN	A         10.66.1.192
push.redis                                        IN	A         10.66.5.182
redis.crm                                         IN	A         10.66.4.143
union.redis                                       IN	A         10.66.4.127


;hosts
gateway                                           IN	A         {{ groups['java-gateway'][0] }}
zk01                                              IN	A         {{ zookeeper[0] }}
zk02                                              IN	A         {{ zookeeper[1] }}
zk03                                              IN	A         {{ zookeeper[2] }}
zk04                                              IN	A         {{ zookeeper[3] }}
zk05                                              IN	A         {{ zookeeper[4] }}

;java rabbitmq
rabbit.order.dc1                                  IN	A         10.66.4.234
rabbit.order.dc2                                  IN	A         10.66.105.13
rabbit.order.dc3                                  IN	A         10.66.200.14
rabbit.order.local                                IN	A         {{ rabbit.order_local }}
rabbit.common.dc1                                 IN	A         10.66.4.112
rabbit.common.dc2                                 IN	A         10.66.104.6
rabbit.common.dc3                                 IN	A         10.66.202.9
rabbit.common.local                               IN	A         {{ rabbit.common_local }}
rabbitmq-crm                                      IN	A         10.66.70.92


;cobar
cobar2                                            IN	A         10.66.4.20
cobar1                                            IN	A         10.66.4.20
cobar3                                            IN	A         10.66.4.21
cobar4                                            IN	A         10.66.4.21
cobar.promotion1                                  IN	A         10.66.50.27
cobar.promotion2                                  IN	A         10.66.50.27


;erp
erp.zk01.qq                                       IN	A         10.66.50.20
erp.zk02.qq                                       IN	A         10.66.50.21
erp.zk03.qq                                       IN	A         10.66.50.22
erp.redis01.qq                                    IN	A         10.66.50.20
erp.redis02.qq                                    IN	A         10.66.50.21
erp.redis03.qq                                    IN	A         10.66.50.22
rabbitmq-erp-gray01                               IN	A         10.66.50.112
rabbitmq-erp-gray02                               IN	A         10.66.50.144
rabbitmq-erp01                                    IN	A         10.66.50.87
rabbitmq-erp02                                    IN	A         10.66.50.100
erp.influxdb                                      IN	A         10.66.50.10
zk.pro.platform                                   IN	A         10.66.50.140
zk.gray.platform                                  IN	A         10.66.50.107
redis.platform                                    IN	A         10.66.50.132
apigray.platform                                  IN	A         10.66.50.107
api.platform                                      IN	A         10.66.50.140
serve.erp                                         IN	A         10.66.50.7



;other
ns                                                IN	A         {{ groups['nameservers'][0]}}
extendstore                                       IN	A         10.66.0.118
api.crm                                           IN	A         10.66.0.133
api.store                                         IN	A         10.66.0.133
risk                                              IN	A         10.67.254.22
shop                                              IN	A         10.67.254.22
platform.shareOrder                               IN	A         10.67.90.13
photo.search                                      IN	A         10.66.0.97
search.adaptor                                    IN    A         10.66.5.2
adminstore                                        IN	A         10.66.0.133
influxdblog.web                                   IN	A         10.66.0.139
web.zookeeper                                     IN	A         10.66.1.192
bigdata.api.crm                                   IN	A         10.67.7.2
bigdata.ftp                                       IN	A         10.67.7.2
badjs                                             IN    A         10.66.16.6


;global
global.redis                                      IN	A         10.66.5.187
global.mem.01                                     IN	A         10.66.5.187
global.mem.02                                     IN	A         10.66.5.17

;media
media.rabbit                                      IN	A         10.66.251.8
search-mars                                       IN	A         10.66.251.4
now.redis                                         IN	A         10.66.251.11