Re: global server load balancing with the domain name

2017-04-14 Thread Chris Buxton
On Apr 14, 2017, at 2:40 PM, McDonald, Daniel (Dan) 
 wrote:
> 
> Setting up global server load balancing seems easy enough – just add ns 
> records pointing at the load balancer and away you go:
>  
> example.com. 38400INSOAns20.example.net. 
> dan\.mcdonald.example.com. 2017011107 10800 3600 604800 3600
> example.com. 38400INNS   ns1.example.com.
> example.com. 38400INNS   ns2.example.com.
> test.example.com. 900 INNS   
> gslb1.example.com.
> test.example.com. 900 INNS   
> gslb2.example.com.
>  
> That works fine for test.example.com.  But when I go to production, I need to 
> do it for example.com and www.example.com.  How do I delegate just the A 
> record and not the SOA, TXT, MX, SPF, and NS records, nor any of the other 
> entries in the zone.  As I recall, I can’t just delegate , as an example,  
> www.example.com, then use a CNAME for example.com.

You can't do this for example.com. Obviously, www.example.com is not a problem. 
Your GSLB device should have a work-around for the zone apex (example.com 
itself), such as a simple webserver (right on each GSLB, perhaps) that takes 
those web requests and redirects them to www.example.com. Then in your main 
zone (not on the GSLB), you would have a record set pointing that zone apex to 
each of those web servers.

Regards,
Chris Buxton
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: global server load balancing with the domain name

2017-04-14 Thread Chuck Swiger
On Apr 14, 2017, at 2:40 PM, McDonald, Daniel (Dan) 
 wrote:
> Setting up global server load balancing seems easy enough – just add ns 
> records pointing at the load balancer and away you go:
>  
> example.com. 38400INSOAns20.example.net. 
> dan\.mcdonald.example.com. 2017011107 10800 3600 604800 3600
> example.com. 38400INNS   ns1.example.com.
> example.com. 38400INNS   ns2.example.com.
> test.example.com. 900 INNS   
> gslb1.example.com.
> test.example.com. 900 INNS   
> gslb2.example.com.

Are your load-balancers providing different DNS replies to different clients?

Most organizations don't need to place the nameservers themselves behind a LB.

> That works fine for test.example.com.  But when I go to production, I need to 
> do it for example.com and www.example.com.  How do I delegate just the A 
> record and not the SOA, TXT, MX, SPF, and NS records, nor any of the other 
> entries in the zone.  As I recall, I can’t just delegate , as an example,  
> www.example.com, then use a CNAME for example.com.

You can't delegate individual records-- you delegate zones.

If you had multiple DCs available, you might use a CNAME to point 
www.example.com to www.dc1.example.com, www.dc2.example.com, etc based upon 
whatever criteria seems reasonable, such as availability, client geolocation 
data, etc.  For web traffic, it is common to set a session cookie or similar 
for session affinity to keep requests going to the same DC once a given client 
has landed there.

You might want to have a chat with someone from Akamai, Level3, or one of the 
other CDN players.

Regards,
-- 
-Chuck
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

global server load balancing with the domain name

2017-04-14 Thread McDonald, Daniel (Dan)
Setting up global server load balancing seems easy enough – just add ns records 
pointing at the load balancer and away you go:

example.com. 38400INSOAns20.example.net. 
dan\.mcdonald.example.com. 2017011107 10800 3600 604800 3600
example.com. 38400INNS   ns1.example.com.
example.com. 38400INNS   ns2.example.com.
test.example.com. 900 INNS   
gslb1.example.com.
test.example.com. 900 INNS   
gslb2.example.com.

That works fine for test.example.com.  But when I go to production, I need to 
do it for example.com and www.example.com.  How do I 
delegate just the A record and not the SOA, TXT, MX, SPF, and NS records, nor 
any of the other entries in the zone.  As I recall, I can’t just delegate , as 
an example,  www.example.com, then use a CNAME for 
example.com.


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users