Methods and gateways for processing DNS request
First Claim
1. A method for processing Domain Name Service (DNS) requests in a gateway with a plurality of wide area network (WAN) interfaces, wherein each of the WAN interfaces is configured to connect to a plurality of DNS servers via one access network, the method comprising:
- receiving a first DNS request from a host via at least one LAN interface of the gateway;
when the gateway does not have information to respond to the first DNS request;
(a) selecting, according to at least one predefined selection policy, a plurality of DNS servers;
(b) selecting a plurality of access networks that are authorized to send a plurality of new DNS requests, wherein the content of the plurality of new DNS requests is the same as the content of the first DNS request;
(c) transmitting the plurality of new DNS requests to the selected plurality of DNS servers through the selected plurality of access networks via the plurality of WAN interfaces that are connected to the selected plurality of access networks, wherein the gateway does not transmit more than one of the new DNS requests to a selected DNS server through the same access network;
(d) receiving a plurality of DNS responses within a predefined period of time, wherein the plurality of DNS responses correspond to the plurality of new DNS requests;
(e) identifying valid DNS responses from the plurality of DNS responses, wherein the identified valid DNS responses have a return code (RCODE) of zero;
(f) when the pre-defined period of time has expired and no DNS response corresponding to the first DNS request has already been sent to the host, if at least one valid DNS response was identified, selecting a valid DNS response from the at least one identified valid DNS response, and generating a first new DNS response, wherein the content of the first new DNS response is the same as the content of the selected valid DNS response, else if no valid DNS responses were identified, generating a first new DNS response, wherein the first new DNS response has a non-zero RCODE;
(g) sending the first new DNS response to the host.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for processing DNS request in a gateway with WAN and LAN interfaces. The gateway receives a first DNS request from a host via the LAN interface. The gateway selects DNS servers according to predefined selection policies and selects access networks that are authorized to send new DNS requests. The new DNS requests and the first DNA request have the same content. The gateway transmits the new DNS requests to corresponding DNS sever of the selected access networks through the selected access networks and via the WAN interfaces that are connected to the selected access networks. The gateway then identifies valid DNS responses from DNS responses received from the corresponding DNS server. The gateway selects one of the identified valid DNS responses and generates a first new DNS response with the same content thereof. The gateway sends the first new DNS response to the host.
-
Citations
20 Claims
-
1. A method for processing Domain Name Service (DNS) requests in a gateway with a plurality of wide area network (WAN) interfaces, wherein each of the WAN interfaces is configured to connect to a plurality of DNS servers via one access network, the method comprising:
-
receiving a first DNS request from a host via at least one LAN interface of the gateway; when the gateway does not have information to respond to the first DNS request; (a) selecting, according to at least one predefined selection policy, a plurality of DNS servers; (b) selecting a plurality of access networks that are authorized to send a plurality of new DNS requests, wherein the content of the plurality of new DNS requests is the same as the content of the first DNS request; (c) transmitting the plurality of new DNS requests to the selected plurality of DNS servers through the selected plurality of access networks via the plurality of WAN interfaces that are connected to the selected plurality of access networks, wherein the gateway does not transmit more than one of the new DNS requests to a selected DNS server through the same access network; (d) receiving a plurality of DNS responses within a predefined period of time, wherein the plurality of DNS responses correspond to the plurality of new DNS requests; (e) identifying valid DNS responses from the plurality of DNS responses, wherein the identified valid DNS responses have a return code (RCODE) of zero; (f) when the pre-defined period of time has expired and no DNS response corresponding to the first DNS request has already been sent to the host, if at least one valid DNS response was identified, selecting a valid DNS response from the at least one identified valid DNS response, and generating a first new DNS response, wherein the content of the first new DNS response is the same as the content of the selected valid DNS response, else if no valid DNS responses were identified, generating a first new DNS response, wherein the first new DNS response has a non-zero RCODE; (g) sending the first new DNS response to the host. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A gateway for processing DNS requests comprising:
-
a plurality of WAN interfaces; at least one LAN interface; at least one processing unit; wherein each of the WAN interfaces is able to connect to a plurality of DNS servers via one access network; and at least one computer readable storage medium comprising program instructions executable by the at least one processing unit for; receiving a first DNS request from a host via the at least one LAN interface of the gateway; when the gateway does not have information to respond to the first DNS request; (a) selecting, according to at least one predefined selection policy, a plurality of DNS servers; (b) selecting a plurality of access networks that are authorized to send a plurality of new DNS requests, wherein the content of the plurality of new DNS requests is the same as the content of the first DNS request; (c) transmitting the plurality of new DNS requests to the selected plurality of DNS servers through the selected plurality of access networks via the plurality of WAN interfaces that are connected to the selected plurality of access networks, wherein the gateway does not transmit more than one of the new DNS requests to a selected DNS server through the same access network; (d) receiving a plurality of DNS responses within a predefined period of time, wherein the plurality of DNS responses correspond to the plurality of new DNS requests; (e) identifying valid DNS responses from the plurality of DNS responses, wherein the identified valid DNS responses have a return code (RCODE) of zero; (f) when the pre-defined period of time has expired and no DNS response corresponding to the first DNS request has already sent to the host, if at least one valid DNS response was identified, selecting a valid DNS response from the at least one identified valid DNS response, and generating a first new DNS response, wherein the content of the first new DNS response is the same as the content of the selected valid DNS response, else if no valid DNS responses were identified, generating a first new DNS response, wherein the first new DNS response has a non-zero RCODE; (g) sending the first new DNS response to the host. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification