qcloud.zone.j2
12.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
$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
ops.kafka IN A 10.66.80.17
;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 }}
db.global 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 10.67.2.194
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
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.67.2.46
read.bigdata IN A 10.67.2.144
db.crm IN A 10.66.6.93
gp.db IN A 10.67.2.47
;java inner load balancer
uic IN A {{ java.inner_lb }}
api.yoho IN A {{ java.inner_lb }}
service.yoho IN A {{ java.inner_lb }}
search IN A {{ java.inner_lb }}
message-controller IN A {{ java.inner_lb }}
single IN A {{ java.inner_lb }}
gateway.erp IN A {{ java.inner_lb }}
erp.yoho IN A {{ java.inner_lb }}
;redis server
bigdata.redis IN A 10.67.3.135
qqbigdata.redis IN A 10.67.3.135
qqbigdata.redis.push IN A 10.67.3.135
bigdata.redis.push.aws IN A 10.67.3.135
bigdata.redis.push IN A 10.67.3.135
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[1] }}
zk02 IN A {{ zookeeper[2] }}
zk03 IN A {{ zookeeper[3] }}
zk04 IN A {{ zookeeper[4] }}
zk05 IN A {{ zookeeper[5] }}
;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 10.66.4.17
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
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
;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