Routing network traffic based on DNS

文档序号:1652327 发布日期:2019-12-24 浏览:14次 中文

阅读说明:本技术 基于dns路由网络流量 (Routing network traffic based on DNS ) 是由 罗宾·詹姆斯 米森·艾耶 赫曼舒·沙 于 2018-05-03 设计创作,主要内容包括:一种方法可以包括:在网络设备处接收域名系统(DNS)查询,其中,DNS查询可以与被标识用于通过利用替代网络设备的替代路径而不是默认路径来进行重新路由的流量流相关联。该方法还可以包括重写DNS查询,使得DNS查询沿着替代路径被路由通过替代网络设备,并且被路由到与替代路径相关联的DNS服务器。该方法可以另外包括接收来自DNS服务器的DNS响应,其中,在DNS响应中标识的资源可以基于经过替代网络设备的DNS查询。(A method may include: a Domain Name System (DNS) query is received at a network device, where the DNS query can be associated with a traffic flow identified for rerouting by utilizing an alternate path of an alternate network device instead of a default path. The method may also include rewriting the DNS query such that the DNS query is routed through the alternative network device along the alternative path and to a DNS server associated with the alternative path. The method can additionally include receiving a DNS response from the DNS server, wherein the resource identified in the DNS response can be based on the DNS query passing through the alternative network device.)

1. A method, comprising:

receiving, at a network device, a Domain Name System (DNS) query associated with a traffic flow identified for rerouting by utilizing an alternate path of an alternate network device instead of a default path;

rewriting the DNS query such that the DNS query is routed through the alternate network device along the alternate path and to a DNS server associated with the alternate path; and

receiving a DNS response from the DNS server, the resource identified in the DNS response based on the DNS query passing through the alternative network device.

2. The method of claim 1, further comprising: rewriting the DNS response such that the DNS response appears to follow the default path.

3. The method of claim 1, wherein rewriting the DNS query comprises: rewriting the destination address in the DNS query to identify the DNS server associated with the alternate path.

4. The method of claim 1, wherein the alternative DNS server is a different DNS server than a default DNS server associated with the default path.

5. The method of claim 4, further comprising: rewriting the DNS response such that the DNS response appears to be from the default DNS server.

6. The method of claim 4, wherein the DNS server is physically closer to a requesting device than the default DNS server.

7. The method of claim 1, further comprising: selecting the alternate path based on one of reduced jitter, reduced delay, reduced packet loss, increased bandwidth, or a combination thereof, as compared to the default path.

8. A non-transitory computer readable medium comprising computer readable instructions stored thereon that are executable by a processor to perform operations or control the performance of operations comprising:

receiving, at a network device, a Domain Name System (DNS) query associated with a traffic flow identified for rerouting by utilizing an alternate path of an alternate network device instead of a default path;

rewriting the DNS query such that the DNS query is routed through the alternate network device along the alternate path and to a DNS server associated with the alternate path; and

receiving a DNS response from the DNS server, the resource identified in the DNS response based on the DNS query passing through the alternative network device.

9. The computer-readable medium of claim 8, the operations further comprising: rewriting the DNS response such that the DNS response appears to follow the default path.

10. The computer-readable medium of claim 8, wherein the operation of rewriting the DNS query includes an operation to rewrite a destination address in the DNS query to identify the DNS server associated with the alternate path.

11. The computer-readable medium of claim 8, wherein the alternative DNS server is a different DNS server than a default DNS server associated with the default path.

12. The computer-readable medium of claim 11, the operations further comprising: rewriting the DNS response such that the DNS response appears to be from the default DNS server.

13. The computer-readable medium of claim 11, wherein the DNS server is physically closer to a requesting device than the default DNS server.

14. The computer-readable medium of claim 8, the operations further comprising: selecting the alternate path based on one of reduced jitter, reduced delay, reduced packet loss, increased bandwidth, or a combination thereof, as compared to the default path.

15. A system, comprising:

one or more processors; and

one or more non-transitory computer-readable media comprising computer-readable instructions stored thereon that are executable by one or more processors to perform operations or control performance of operations comprising:

receiving, at the system, a Domain Name System (DNS) query associated with a traffic flow identified for rerouting by utilizing an alternate path of an alternate network device instead of a default path;

rewriting the DNS query such that the DNS query is routed through the alternate network device along the alternate path and to a DNS server associated with the alternate path; and

receiving a DNS response from the DNS server, the resource identified in the DNS response based on the DNS query passing through the alternative network device.

16. The system of claim 15, the operations further comprising: rewriting the DNS response such that the DNS response appears to follow the default path.

17. The system of claim 15, wherein the operation of rewriting the DNS query comprises an operation to rewrite a destination address in the DNS query to identify the DNS server associated with the alternate path.

18. The system of claim 15, wherein the alternative DNS server is a different DNS server than a default DNS server associated with the default path.

19. The system of claim 18, the operations further comprising: rewriting the DNS response such that the DNS response appears to be from the default DNS server.

20. The system of claim 18, wherein the DNS server is physically closer to a requesting device than the default DNS server.

Technical Field

Embodiments discussed in this disclosure relate to routing network traffic.

Background

The use of networks is a useful tool to allow communication between different computing devices. Despite the proliferation of computers and networks over which computers communicate, various limitations still exist with respect to current network technologies.

The subject matter claimed in this disclosure is not limited to embodiments that solve any disadvantages or that operate only in environments such as those described above. Rather, this background is only provided to illustrate one example area of technology in which some embodiments described in this disclosure may be practiced.

Disclosure of Invention

One or more embodiments of the present disclosure may include a method of routing network traffic. The method may include routing traffic from the local network device to a third party network resource through the remote network location along a first path. The method may further comprise: determining a first ranking of the first path; and determining a second ranking of a second path from the local network device to the third party network resource along the second path, the second path not including the remote network location. The method may additionally include: based on the second ranking exceeding the first ranking threshold amount, traffic is rerouted along the second path.

One or more embodiments of the present disclosure may include a method comprising: a Domain Name System (DNS) query is received at a network device, where the DNS query can be associated with a traffic flow identified for rerouting by utilizing an alternate path of an alternate network device instead of a default path. The method may also include rewriting the DNS query such that the DNS query is routed through the alternative network device along the alternative path and to a DNS server associated with the alternative path. The method can additionally include receiving a DNS response from the DNS server, wherein the resource identified in the DNS response can be based on the DNS query passing through the alternative network device.

One or more embodiments of the present disclosure may include a method comprising identifying an address within a packet of a traffic flow associated with a network device. The method may also include comparing an address within the packet to a stored address associated with a route for an alternate traffic path, wherein the alternate traffic path may be different from a default traffic route through the network device. The method may additionally include: the packet is routed along an alternate traffic path instead of the default traffic route based on an address within the packet that matches the stored address.

One or more embodiments of the present disclosure may include a method comprising: the method may include selecting a destination for a traffic flow in a second network domain outside of the first network domain, and determining a plurality of paths from an origin of the traffic flow to the destination, wherein each of the plurality of paths may include a first network domain path through the first network domain and a second network domain path through the second network domain. The method may also include combining, for each of the plurality of paths, a first performance score of the first network domain path with a second performance score of the second network domain path. The method may additionally include: selecting one of the plurality of paths having a combined first and second performance score below a threshold; and routing the traffic flow along the selected one of the plurality of paths.

One or more embodiments of the present disclosure can additionally include a system and/or non-transitory computer-readable medium for facilitating performance of such a method.

Drawings

The illustrative embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings in which:

FIG. 1 illustrates an example system implementing network components of a software defined network;

FIG. 2 illustrates another example system implementing a software defined network;

FIG. 3 illustrates another example system that is part of a software defined network;

FIG. 4 illustrates another example system implementing a software defined network;

FIG. 5 illustrates a flow diagram of an example method of routing network traffic within a software defined network;

FIG. 6 illustrates a flow diagram of an example method of rerouting a Domain Name System (DNS) request;

FIG. 7 illustrates a flow diagram of another example method of routing traffic;

FIG. 8 shows a flow diagram of an example method of obtaining an address;

FIG. 9 illustrates a flow diagram of another example method of obtaining an address;

FIG. 10 shows a flow diagram of an example method of routing; and

FIG. 11 illustrates an example computing system.

The objects and advantages of the embodiments will be realized and attained by at least the elements, features, and combinations particularly pointed out in the claims.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.

37页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于性能路由网络业务

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!