Dynamic Domain Name System (DDNS) is a critical architectural component of network systems. A domain name system may be analogized as an electronic telephone book that uses domain names to find IP addresses (IP lookup) and IP addresses to find domain names (domain name lookup).
Berkeley Internet Name Domain (BIND) is the most commonly used DNS server on the Internet, especially on Unix-like systems, where it is a de facto standard. While BIND provides many useful features, it imposes a number of architectural limitations on the DNS systems that use it. For example, BIND does not support multiple masters in the same zone. A zone is an individual domain, subdomain, or portion of the domain name system administered by the same authority. Additionally, BIND does not permit a secondary DNS server to update a primary DNS server. Some of the consequences of these limitations are described below.
IP addresses are typically issued dynamically by a dynamic host configuration protocol (DHCP) server. The IP address is issued in the form of a “lease” that has a specified expiration time and date.
The domain name system can be updated dynamically by connecting a DNS server to a DHCP server.
Given the importance of the domain name system, the system is structured with multiple redundancies.
A partial solution to this problem is to use BGP (border gateway protocol) and the anycast protocol. Anycast is a network addressing and routing scheme whereby data is routed to a “best” destination as viewed by the routing topology. The “best” destination is determined by BGP implementation. BGP is an inter-autonomous system routing protocol. Routes learned via BGP have associated properties that are used to select a route to a destination when multiple paths exist to that destination. These properties are referred to as BGP attributes.
In the anycast/BGP solution, all DNS servers have the same IP address. The DNS client utilizes an anycast IP address that directs the lookup request to a router. The router then directs the lookup request to an available DNS server based on the assigned BGP attributes. This allows a DNS client to use a single IP address to contact one of a number of available anycast DNS servers.
While the anycast/BGP solution solves many of the client-side problems associated with domain name systems, the solution is not suited for dynamic domain name systems. Anycast works well with short transaction times, but as transaction times increase so does the potential that a route may change during the transaction. For this reason, anycast cannot be reliably used to update multiple master servers in a dynamic DNS system.
What is needed is a dynamic DNS system in which multiple master servers are capable of processing updates from DHCP servers as long as at least one master server is online and in which when an offline server comes online it is automatically updated with the most current DNS information.
Master DNS 2 server 720 comprises front end 720A and back end 720B. Master DNS server 2720 is linked to datastore 2740. Datastore 2740 is linked to DHCP server 2760. In an embodiment, the front end 720A is an instance of the BIND software. However, this is not meant as a limitation. The front end 720A may be any software that is capable of responding to domain name query messages.
DHCP server 1750 is also linked to DHCP server 2760.
Master DNS 1 server 710 communicates with monitor 710C. Monitor 710C monitors the availability of DNS 1 server 710 to receive and respond to DNS requests and reports this availability to router 770. While monitor 710C is illustrated as a distinct component of the multi-master dynamic domain name system illustrated in
Master DNS 2 server 720 communicates with monitor 720C. Monitor 720C monitors the availability of DNS 1 server 720 to receive and respond to DNS requests and reports this availability to router 780. While monitor 720C is illustrated as a distinct component of the multi-master dynamic domain name system illustrated in
In an embodiment, routers 770 and 780 are BGP routers. However, this is not meant as a limitation. Other routing protocols, such as, for example, open shortest path first (OSPF), may be used.
Router 770 reports the availability of a route to master DNS server 1710 to router 706. In an embodiment, router 706 is a BGP router. However this is not meant as a limitation. Other routing protocols, such as for example, open shortest path first (OSPF), may be used.
Router 780 reports the availability of a route to master DNS server 2720 to router 706. A DNS client 700 issues a DNS lookup request over network 704 to a specified shared IP address in the form of an “anycast” message. Router 706 determines which master DNS server is to receive the request and directs the request to the appropriate server via network 704. Route selection may be based on availability of a DNS server, network loading, and other criteria. For discussion purposes, it will be assumed that the request is directed to DNS server 710.
The request is received by “front end” 710A of DNS server 710. The query is processed and referred to the “back end” 710B of DNS server 710. Datastore 1730 is searched for the network address associated with the domain name identified in the query. The domain name is returned to the front end 710A and sent to DNS client 700 via network 704.
DHCP server 1750 provides dynamic IP address updates to datastore 1730. DHCP server 2760 provides dynamic IP address updates to datastore 2740. In an embodiment, datastores 1 and 2 (730 and 740) are servers operating the lightweight directory application protocol (LDAP). However, this is not meant as a limitation. Other protocols that are capable of performing the functions assigned to datastores 1 and 2 (730 and 740) may be used.
Datastores 1 and 2 (730 and 740) are configured such that the updates received by one datastore are updated to the other. If a datastore is unreachable, the operating datastore holds the updates for the “down” datastore until it is back in service. Additionally, the router 706 “knows” the availability of master DNS servers 710 and 720 to receive DNS queries. Domain name requests from DNS client 700 will not be routed to a master DNS server that is not able to respond to the request.
If datastore 1805 was not reachable when DHCP server 1800 sent the LDAP add message 820, then DHCP server 1800 utilizes a failsafe connection (illustrated as a dotted line in
DHCP server 2815 updates an IP address for a device (not illustrated). An LDAP add message 830 is sent from DHCP server 2815 to datastore 2810. Assuming that datastore 2810 was reachable, datastore 2810 then sends a replicate message 840 to datastore 1805. The replicate message conveys the updated IP address issued by DHCP server 2815 to a network device (not shown). If datastore 1805 is unreachable, datastore 2810 holds the DNS update information until such time as communications with datastore 1805 are restored.
If datastore 2810 was not reachable when DHCP server 2815 sent the LDAP add message 830, then DHCP server 2815 utilizes a failsafe connection (illustrated as a dotted line in
It will be understood by those skilled in the art that the present invention may be, without limitation, embodied in other specific forms without departing from the scope of the invention disclosed and that the examples and embodiments described herein are in all respects illustrative and not restrictive. Those skilled in the art of the present invention will recognize that other embodiments using the concepts described herein are also possible. Further, any reference to claim elements in the singular, for example, using the articles “a,” “an,” or “the,” is not to be construed as limiting the element to the singular. Moreover, a reference to a specific time, time interval, and instantiation of scripts or code segments is in all respects illustrative and not limiting.
Number | Name | Date | Kind |
---|---|---|---|
7203871 | Turner et al. | Apr 2007 | B2 |
7366188 | Kim | Apr 2008 | B2 |
7529810 | Goto et al. | May 2009 | B2 |
20020095484 | Pagani et al. | Jul 2002 | A1 |
20050122903 | Hultgren et al. | Jun 2005 | A1 |
20060129665 | Toebes et al. | Jun 2006 | A1 |
20070165542 | Shin et al. | Jul 2007 | A1 |
20070253377 | Janneteau et al. | Nov 2007 | A1 |
20070297430 | Nykanen et al. | Dec 2007 | A1 |
20080005290 | Nykanen et al. | Jan 2008 | A1 |
20080046593 | Ando et al. | Feb 2008 | A1 |
20090313384 | Baratakke et al. | Dec 2009 | A1 |
20100014536 | Lin et al. | Jan 2010 | A1 |
Number | Date | Country | |
---|---|---|---|
20090216852 A1 | Aug 2009 | US |