Test Domain : arraysupport.com
Test Hostname : www.arraysupport.com
Authoritative DNS(domain) : Bind running on FreeBSD (10.7.0.1)
Authoritative DNS (host) :Array TMX in
GSLB Sites :
1. Authoritative DNS configuration:
#Bind zone file for arraysupport.com
@ IN SOA ns.arraysupport.com. root.localhost (
2008090101; serial
28800 ; refresh
7200 ; retry
3600 ; expire
86400 ; ttl
)
@ IN NS ns1.arraysupport.com.
#Authoritative name servers for host www
#Queries for www will be forwarded to one of the DNS
www IN NS usa.arraysupport.com.
www IN NS japan.arraysupport.com.
www IN NS china.arraysupport.com.
ns1 IN A 10.7.0.1
japan IN A 10.7.5.10
china IN A 10.7.6.10
2. Configure Array to serve DNS queries:
“llb dns local” turns on DNS to listen on UDP port 53
“llb dns host” creates A records for DNS responses
#TMX
llb dns local 10.7.4.10
llb dns host "www.arraysupport.com" 10.7.4.11
#TMX
llb dns local 10.7.5.10
llb dns host "www.arraysupport.com" 10.7.5.11
#TMX
llb dns local 10.7.6.10
llb dns host "www.arraysupport.com" 10.7.6.11
"sdns member local" defines the site member in the local site.
#Common config for all sites:
#define members from from all geographical sites
sdns on
sdns member attribute "USA_site" 10.7.4.10 5888 all
sdns member attribute "Japan_site" 10.7.5.10 5888 all
sdns member attribute "China_site" 10.7.6.10 5888 all
#TMX
# Identify the local member for
sdns member local "USA_site"
#TMX
# Identify the local member for
sdns member local "Japan_site"
#TMX
# Identify the local member for
sdns member local "China_site"