using apis with managed dns providers

23
Maximizing Internet Infrastructure: Using an API For Managed DNS @tu=smoose @DynInc @joberon @Mashery Maximizing Internet Infrastructure: Using an API For Managed DNS Kevin Gray Dyn’s Technical Integrator @tuftsmoose @Dyninc John Oberon Mashery’s VP of Engineering @joberon @mashery

Upload: dyn

Post on 27-Dec-2014

575 views

Category:

Technology


0 download

DESCRIPTION

Get the slides that Mashery's John Oberon and Dyn's Kevin Gray used during a recent webinar on using APIs with managed DNS providers.

TRANSCRIPT

Page 1: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  

 Kevin Gray Dyn’s Technical Integrator @tuftsmoose @Dyninc

John Oberon Mashery’s VP of Engineering @joberon @mashery

Page 2: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

What  is  DNS?  

•  Associate  names  to  addresses  

•  Giant  distributed  database  

•  2  Types  of  DNS  Servers  

•  Recursive  –  performs  the  lookup  

•  AuthoritaAve  –  Replies  with  the  answers  

DNS  =  Domain  Name  System  

Page 3: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

A  Basic    DNS  Lookup    

Page 4: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

A  Basic  DNS  Lookup    

Page 5: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

•  All  stored  in  a  zone  file  

•  Many  different  types  with  different  data  

•  A  Record:  IPv4  address  

•  AAA  Record:  IPv6  address  

•  MX:    Mail  Server  

•  CNAME:  Alias  to  another  DNS  name  

What  is  it  we  are  asking  for?  

A  DNS  Record  

Page 6: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

It’s  a  bit  more  complicated…  

I’m in the details!

Page 7: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

It's  a  bit  more  complicated…  

•  Caching  at  all  levels  

•  MulQple  Data  Centers  &  fastest  route  algorithms  

•  Loading  Balancing  

•  Failovers  

•  NX:  No  record    found  handling  

•  PropagaQon  Time  

•  DNSSEC:    Think  hUps  at    the  DNS  level  

•  Access  control  &    zone  ediQng  

•  Dozens  of  record    types  (A,  AAAA,  MX,  CNAME,  etc.)  

The  devil  is  in  the  details    

Page 8: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

Managed  DNS  

 •  Offloads  data  center  upkeep  

•  Allows  for  responses  from  mulQple  points  around  the  world  

•  Handles  the  implementaQons  of  load  balancing,  failovers,  geographically    specific  responses,  etc.  

Takes  care  of  most  of  the  details  

Page 9: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

Managed  DNS  

 •  Gives  you  a  simple  zone  editor  and    

user  access  control  

•  Lets  you  focus  on  your  specialty    instead  of  DNS  

•  Dyn’s  Enterprise  DNS  offering  is  DynECT  

 

Takes  care  of  most  of  the  details  

Page 10: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

WHAT’S  AN  API  –  Mechanism  to  Connect  

ONE  OF  THE  MOST  POWERFUL  SOURCES  OF  COMPETITIVE  ADVANTAGE  IN  BUSINESS  TODAY    

Page 11: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

SIMPLIFY THE COMPLEXITY

PRODUCT   BUS  DEV   IT  

Page 12: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

DEPLOY  FLEXIBLY  &  QUICKLY  

Page 13: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

MASHERY  GLOBAL  API  TRAFFIC  NETWORK  

•  Robust    –  4  levels  of  

failover  –  SLA  

•  ElasQc  •  Distributed    

–  Edge  Caching  

–  Geo-­‐rouQng  

Page 14: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

DynECT  API  

Asynchronous  •  Start  a  job:  reply  is  immediate  

•  Call  back  to  ask  if  job  has  finished  

•  Unblocks  user  during  long  operaQons  

•  Libraries  allow  for  synchronous  access    by  hiding  the  blocking  

RESTful  API  

Page 15: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

DynECT  API  

 •  JSON              

•  XML  

•  YAML  

•  HTML/Querystring  (limited)  

 

Supported  Data  Forms  

Page 16: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

DynECT  API  

 •  All  zones  and  nodes  &  all  record  types              

•  Advanced  services  

•  Users  

•  Permissions  

 

What  can  be  accessed?  

Page 17: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

Page 18: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

DynECT  API  

 •  YES!  

•  We  provide  a  WSDL  

SOAP?  

Page 19: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

DynECT  API  

•  Full  documentaQon  online  

•  SecQons  specific  to  REST  and  SOAP  

•  Most  examples  we  provide  are  REST    (C#  is  SOAP)  

•  There  examples  in  many  languages  

 

DocumentaAon  &  Examples  

•  Python  •  Ruby  

•  Perl  •  C#    

•  Java  •  PHP  

Page 20: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

Tell  me  more!  

Shameless  Plug  Alert!!!  

Check  out  the  blog  I  wrote  for  ge\ng  started  with  the  API:    hUp://bit.ly/10dqCtz  

Page 21: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

Tell  me  more!  

Find  some  great  examples  on  Github  

                   Dyninc                  Dyninc-­‐cs  

 

Page 22: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

Tell  me  more!  

•  Bulk  changes  to  mulQple  zones    or  records  

•  Keeping  advanced  services  in  sync    with  local  DNS  

•  CreaQng  single  point  tools  to  update  mulQple  DNS  providers  

What  would  I  use  your  API  for?  

Page 23: Using APIs with Managed DNS Providers

Maximizing  Internet  Infrastructure:  Using  an  API  For  Managed  DNS  @tu=smoose          @DynInc          @joberon          @Mashery    

Thank  You!  

Dyn www.dyn.com www.dyn.com/blog @Dyninc

Mashery www.mashery.com  blog.mashery.com  @mashery