Dear LQ,
I'm considering setting up GSLB (global server load balancing) with DNS (and am well aware of the caveats).
Let's say I have domain 1234.com
I have nameservers (which I don't really have much control over) that are:
ns1.serviceprovider.com
ns2.serviceprovider.com
which my 1234.com domain uses.
If I set up a zone file that looked similar to this (on the serviceprovider.com ns servers):
Code:
$ORIGIN .
$TTL 900 ; 15 minutes
1234.com IN SOA ns1.1234.com.
support@1234.com. (
2007111301 ; serial
10800 ; refresh (3 hours)
900 ; retry (15 minutes)
604800 ; expire (1 week)
900 ; minimum (15 minutes)
)
NS ns1.1234.com.
NS ns2.1234.com.
NS ns3.1234.com.
ns1 A 1.1.1.1
ns2 A 1.1.1.2
ns3 A 3.1.1.2
What I'm hoping to accomplish is although the domain is set up to use ns1/2.serviceprovider.com, actual a record lookups will then go to ns1.1234.com, etc.
The bind9 running on ns1-3 of 1234.com would actually have a custom geodns patch, allowing views broken down as fine grained as state. I would have my zone files on ns1-3 of 1234.com with the actual a and mx records.
Is this possible?
In summary, here's what I want to accomplish:
Client does this....
Client(looking for www.1234.com)--->ns1.serviceprovider.com (which returns ns1.1234.com as authorative for the domain)--->Client--->ns1.1234.com(returns A record of 1.1.1.3 for www)
Am I off base or is this possible?
Thanks,
Michael