CN105991793B - The method and apparatus of message forwarding - Google Patents

The method and apparatus of message forwarding Download PDF

Info

Publication number
CN105991793B
CN105991793B CN201510279366.1A CN201510279366A CN105991793B CN 105991793 B CN105991793 B CN 105991793B CN 201510279366 A CN201510279366 A CN 201510279366A CN 105991793 B CN105991793 B CN 105991793B
Authority
CN
China
Prior art keywords
domain name
resolved
address
message
routing table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510279366.1A
Other languages
Chinese (zh)
Other versions
CN105991793A (en
Inventor
王金威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201510279366.1A priority Critical patent/CN105991793B/en
Publication of CN105991793A publication Critical patent/CN105991793A/en
Application granted granted Critical
Publication of CN105991793B publication Critical patent/CN105991793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of method and apparatus of message forwarding, using on network devices, which comprises after client device issues DNS request message to dns server, receives the DNS response message that dns server is sent to client device;After parsing resolved domain name in DNS response message, judge whether resolved domain name matches preset domain name feature;If it does, then parsing A recording address corresponding with resolved domain name from DNS response message;It will update for the next hop address of the resolved preconfigured link of domain name and the corresponding relationship of A recording address into routing table;When receiving the service message of client device transmission, the routing table is inquired to be forwarded.Using the embodiment of the present invention, it realizes and specific domain name access is carried by preconfigured link, to ensure the patency and reliability of the domain name access of particular network business in the case where bandwidth is nervous, business is increased sharply, and then ensure its data transmission quality, improve user experience.

Description

The method and apparatus of message forwarding
Technical field
The present invention relates to calculate network technique field, the method and apparatus that especially a kind of message forwards.
Background technique
With enriching constantly for information service, the contradiction between bandwidth and business also increasingly increases severely, specifically, in bandwidth In the case that nervous, business is increased sharply, it is difficult to ensure the transmission quality of all business.For example, in certain network, certain P2P (Peer To Peer, peer to peer connection) the non-real-time services flow such as downloading, video playing occupies most of bandwidth resources, and cause network stifled Plug, and then the transmission quality of other business (for example, Baidu search) is influenced, reduce the usage experience of user.
Summary of the invention
In view of this, the present invention provides a kind of method and apparatus of message forwarding, the biography of effective guarantee particular network business Transmission quality.
Specifically, the present invention is achieved through the following technical solutions:
An aspect of of the present present invention provides a kind of method of message forwarding, and the method application is on network devices, comprising:
After client device issues DNS request message to dns server, the dns server is received to the client The DNS response message that end equipment is sent;
After parsing resolved domain name in the DNS response message, it is default to judge whether the resolved domain name matches Domain name feature;
If it does, then parsing A recording address corresponding with the resolved domain name from the DNS response message;
It will be for the corresponding relationship of the next hop address of the resolved preconfigured link of domain name and the A recording address It updates in routing table;
When receiving the service message of client device transmission, the routing table is inquired to be forwarded.
Another aspect of the present invention, provides a kind of device of message forwarding, and described device application on network devices, is wrapped It includes:
Message receiving unit, for receiving the DNS after client device issues DNS request message to dns server The DNS response message that server is sent to the client device;
First judging unit, it is described resolved for judging after parsing resolved domain name in the DNS response message Whether domain name matches preset domain name feature;
Resolution unit, for being parsed from the DNS response message when resolved domain name matches preset domain name feature A recording address corresponding with the resolved domain name out;
First updating unit, for will be the preconfigured link of resolved domain name next hop address and the A The corresponding relationship of recording address is updated into routing table;
First retransmission unit, for receive client device transmission service message when, inquire the routing table with It is forwarded.
Using the embodiment of the present invention, conversion link can be configured for certain domain name in advance, and be carried in DNS response message Resolved domain name when being certain domain name, will be for the next hop address of the resolved preconfigured link of domain name and the quilt The corresponding relationship of the corresponding A recording address of parsing domain name is updated in routing table, and when receiving service message, according to the road It is forwarded by table, specific domain name access is carried by preconfigured link to realize, to swash in bandwidth anxiety, business In the case where increasing, the patency and reliability of the domain name access of particular network business are ensured, and then ensure its data transmission quality, Improve user experience.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the method for message forwarding shown in an exemplary embodiment of the invention;
Fig. 2 is the flow chart of the method for another message forwarding shown in an exemplary embodiment of the invention;
Fig. 3 is an a kind of hardware structural diagram of the device of message forwarding shown in an exemplary embodiment of the invention;
Fig. 4 is a kind of structural block diagram of the device of message forwarding shown in an exemplary embodiment of the invention;
Fig. 5 is the structural block diagram of the device of another message forwarding shown in an exemplary embodiment of the invention.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
It is only to be not intended to limit the invention merely for for the purpose of describing particular embodiments in terminology used in the present invention. It is also intended in the present invention and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the present invention A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Those skilled in the art can input institute it is understood that when user accesses certain website in client device The domain name of website is stated, for example, user can input domain name www.baidu.com in the browser that client device loads, with Realize the access to www.baidu.com.During user carries out business access, client device first can be to dns server (Domain Name Server, name server) issues DNS request message, and dns server receives the DNS request message Afterwards, DNS response message is returned to client device, in the DNS response message according to the resolved domain name that carries in request message A (Address, address) recording address corresponding with resolved domain name can be carried, wherein A recording address is resolved domain name Corresponding IP address (Internet Protocol Address, internet protocol address), client device receives DNS response After message, and then business access can be carried out according to the A recording address.
In embodiments of the present invention, it is provided between client device and dns server for realizing load balancing The network equipment, the network equipment can be router, three-tier switch etc., and the present invention is not particularly limited this.The network Equipment can receive dns server and send out to client device after client device issues DNS request message to dns server The DNS response message sent, parses resolved domain name from the message, and judge resolved domain name whether with pre-set domain Name characteristic matching if it does, further parsing A recording address corresponding with resolved domain name from the message, and is established To be resolved the next hop address of the preconfigured link of domain name and the corresponding relationship of the A recording address, and by the corresponding relationship It updates in routing table, when receiving the service message of client device transmission, table of query and routing is with forwarding service message.From And the flow of particular network business can be carried by preconfigured link, it is ensured that the transmission quality of particular network business.
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, with reference to the accompanying drawing Technical solution in the embodiment of the present invention is described in further detail.
Fig. 1 shows a kind of flow chart of the method for message forwarding shown in an exemplary embodiment of the invention.
Referring to Fig.1, a kind of method of message forwarding, using on network devices, described method includes following steps:
Step S101 receives dns server to client after client device issues DNS request message to dns server The DNS response message that end equipment is sent.
Wherein, the field contents that DNS response message is included belong to well-known technique content, and details are not described herein.
Step S102 parses resolved domain name from DNS response message.
The field data of the domain name field of DNS response message is that resolved domain name in the present embodiment can be from the domain name Field parses resolved domain name.
Step S103, judges whether resolved domain name matches preset domain name feature, if it does, step S104 is executed, If mismatched, step S107 is executed.
Specifically, technical staff or administrator can summarize the various network services that transmission quality needs to be protected, These network services are known as particular network business in the present invention.Technical staff or administrator are from the particular network business Domain name in extract domain name feature, then in the network device by domain name feature configuration, so that the network equipment can To carry out the identification of particular network business according to domain name feature.As an example it is assumed that Baidu is particular network business, technology Personnel or administrator can extract a domain name feature b aidu from the domain name www.baidu.com of Baidu, and will be described Domain name feature b aidu is stored in the network device.When the resolved domain name that the network equipment parses matches domain name feature When baidu, the network equipment can determine that the resolved domain name is the domain name of particular network business, execute step 104.It is optional , multiple domain name features can also be preset for some particular network business, when resolved domain name matches preset domain name feature In one or more when, can determine resolved domain name and preset domain name characteristic matching, i.e., resolved domain name is specific The domain name of network service.
Step S104 parses A recording address corresponding with resolved domain name from DNS response message.
In dns resolution, when the type field value of DNS response message is to for A, it can be parsed from DNS response message To IP address corresponding with resolved domain name, which is exactly A recording address.
Step S105 judges the next hop address that the preconfigured link of resolved domain name whether has been saved as in routing table With the corresponding relationship of A recording address, if so, S107 is thened follow the steps, if not, thening follow the steps S106.
In the present embodiment, technical staff or administrator, which can be pre-configured with transmission quality for particular network business, guarantor The link of barrier, and on network devices by the information configuration of the link.Wherein, the information of the link includes: link Priority and the next hop address of link etc..
In this step, the network equipment is retrieved as resolved domain after parsing the corresponding A recording address of resolved domain name The link information of name configuration, that is, it is retrieved as the link information of the corresponding particular network business configuration of the resolved domain name, Then judge the corresponding relationship that next hop address in the A recording address and the link information whether is preserved in routing table. If preserving the corresponding relationship of next hop address in the A recording address and the link information in routing table, step is executed Rapid S107.If not saving the corresponding relationship of next hop address in the A recording address and the link information in routing table, Then follow the steps S106.
The next hop address of the preconfigured link of resolved domain name stored in the routing table is corresponding with A recording address Relationship as shown in table 1, but is not limited to expression-form shown in table 1, as long as above-mentioned corresponding relationship can be expressed.
Table 1
Next hop address A recording address
10.29.0.1 61.135.169.125
In step s105, A recording address is got according to step S104 and searches routing table, if it is possible to found and institute The matched route table items of A recording address are stated, then whether judge the corresponding next hop address of A recording address described in the route table items For the next hop address of the preconfigured link, if it is, can determine in routing table that have saved resolved domain name pre- The next hop address of the link first configured and the corresponding relationship of A recording address, conversely, not saving.
Step S106 will close for the next hop address of the resolved preconfigured link of domain name and the corresponding of A recording address System updates into routing table.
When determining the next hop address for not saving the preconfigured link of resolved domain name in routing table in step S105 When with the corresponding relationship of A recording address, in step S106, by for be resolved the preconfigured link of domain name next hop address and In the corresponding relationship deposit routing table of A recording address.As an example it is assumed that being the next hop address of the preconfigured link of Baidu A recording address for 10.29.0.1, the network equipment Baidu parsed from DNS response message is 61.135.169.125, then The corresponding relationship of the A recording address 61.135.169.125 and next hop address 10.29.0.1 are stored in road by the network equipment By in table, to form routing table shown in table 1.
It should be noted that in embodiments of the present invention, one or more of chains can be pre-configured with for resolved domain name Precedence information is arranged when being pre-configured with multilink for resolved domain name for each of the links in road, and by precedence information It updates in routing table.For example, 3 links are pre-configured with for resolved domain name www.baidu.com, respectively Link1, Link2 and Link3 is ordered as Link2 > Link1 > Link3 by the priority height of link, the priority update of the link is arrived Routing table.
In addition, network is set when carrying multiple A recording address of the resolved domain name in the DNS response message It is standby to update each A recording address and the corresponding relationship of the next hop address of the link into routing table.Further lift For example, the multiple A recording address carried in DNS response message are respectively IP1 and IP2, and link Link1, Link2 and The corresponding next hop address of Link3 is respectively IPA, IPB and IPC, then the network equipment can save following corresponding relationship In the routing table: IP1-IPA, IP1-IPB, IP1-IPC and IP2-IPA, IP2-IPB, IP2-IPC.
DNS response message is forwarded to client device by step S107.
Step S108 inquires the routing table when receiving the service message of client device transmission to be forwarded.
Preferred embodiment in accordance with the present invention, when receiving the service message of client device transmission, according to business report The updated routing table of purpose IP address query steps S106 of text, if purpose IP address is matched to the next-hop of multiple links The service message can be then forwarded to the next-hop of the link of highest priority by address, for example, the destination IP of service message Address is IP1, includes IP1-IPA, IP1-IPB, IP 1-with the matched route table items of IP according to IP1 table of query and routing IPC, and the highest priority of the corresponding link Link2 of IPB, the i.e. next hop address of the purpose IP address of service message are Service message then can be forwarded to IPB, it is to be understood that if destination IP by the address ip B of the corresponding next-hop of Link2 Address is only matched to the next hop address of a preconfigured link, then service message can be forwarded to the next of the link It jumps.The embodiment of the present invention is realized through preconfigured link forwarding service message, ensures the data transmission quality of business.
Fig. 2 shows the flow charts of the method for another message forwarding shown in an exemplary embodiment of the invention.
Referring to Fig. 2, the embodiment is by the interaction between client device, the network equipment and server three, in detail Describe the method for the message forwarding of the embodiment of the present invention.
Step S201, client device send DNS request message to server.
Step S202, server send DNS response message to client device.
Step S203, the network equipment receive the DNS response message that server is sent to client device.
Step S204, the network equipment parse resolved domain name from DNS response message.
Step S205, the network equipment judge resolved domain name whether with preset domain name characteristic matching, if it is, executing Step S206, if not, thening follow the steps S209.
Step S206, the network equipment will parse A recording address corresponding with resolved domain name from DNS response message.
Step S207, the network equipment judge whether saved as under the preconfigured link of resolved domain name in routing table One jumps the corresponding relationship of address and A recording address, if so, S209 is thened follow the steps, if not, thening follow the steps S208.
Step S208, the network equipment by for be resolved the preconfigured link of domain name next hop address and A recording address Corresponding relationship update into routing table, execute step S209.
DNS response message is forwarded to client device by step S209, the network equipment.
Step S210, client device send service message to the network equipment.
Step S211, the network equipment is according to the purpose IP address table of query and routing of service message, to forward the business report Text.
In the present embodiment, the network equipment can will access the service message of certain domain name by for the certain domain name it is preparatory The link of configuration is forwarded, for example, client device carry out www.baidu.com business access when, service message In purpose IP address be 61.135.169.125, the network equipment is by the purpose IP address table of query and routing, and in routing table The next hop address of link corresponding with the purpose IP address is 10.29.0.1, then the network equipment is according to address 10.29.0.1, Again the service message is packaged, to be forwarded to the next-hop device of the link connection, to realize by matching in advance The flow for the link carrying particular network business set, it is ensured that the transmission quality of particular network business.
Using the embodiment of the present invention, conversion link can be configured for certain domain name in advance, and be carried in DNS response message Resolved domain name when being certain domain name, will be for the next hop address of the resolved preconfigured link of domain name and the quilt The corresponding relationship of the corresponding A recording address of parsing domain name is updated in routing table, and when receiving service message, according to the road It is forwarded by table, specific domain name access is carried by preconfigured link to realize, to swash in bandwidth anxiety, business In the case where increasing, the patency and reliability of the domain name access of particular network business are ensured, and then ensure its data transmission quality, Improve user experience.
Corresponding with the embodiment of method of aforementioned message forwarding, the present invention also provides the implementations of the device of message forwarding Example.
The embodiment of the device 400 of message forwarding of the present invention can be using on network devices.Installation practice can lead to Software realization is crossed, can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, as a logic Device in meaning is to be read computer program instructions corresponding in nonvolatile memory by the processor of equipment where it Get what operation in memory was formed.For hardware view, as shown in figure 3, for one shown in an exemplary embodiment of the invention One hardware structural diagram of the device of kind of message forwarding, in addition to processor shown in Fig. 3, memory, network interface and it is non-easily Except the property lost memory, the equipment where the device 400 that message forwards in embodiment is gone back generally according to the actual functional capability of the equipment It may include other hardware, this repeated no more.
Fig. 4 shows a kind of structural block diagram of the device of message forwarding shown in an exemplary embodiment of the invention.
Referring to Fig. 4, a kind of device 400 of message forwarding, using on network devices, described device includes: that message receives Unit 401, the first judging unit 402, resolution unit 403, second judgment unit 404, the second retransmission unit 405, first update Unit 406 and the first retransmission unit 407.
Message receiving unit 401 is used for after client device issues DNS request message to dns server, receives DNS clothes The DNS response message that business device is sent to client device.
First judging unit 402 is used for after parsing resolved domain name in DNS response message, judges that resolved domain name is The no preset domain name feature of matching.
Resolution unit 403 is used to parse from DNS response message when resolved domain name matches preset domain name feature A recording address corresponding with resolved domain name.
Second judgment unit 404 will be for that will be next hop address and the institute of the preconfigured link of resolved domain name State A recording address corresponding relationship update into routing table before, judge whether to have saved as resolved domain name in routing table pre- The next hop address of the link first configured and the corresponding relationship of A recording address.
Second retransmission unit 405 is used to save as resolved domain name in the determining routing table of second judgment unit 404 pre- When the corresponding relationship of the next hop address of the link first configured and A recording address, DNS response message is forwarded to client and is set It is standby.
First updating unit 406, which is used to determine in routing table in second judgment unit 404, does not save as resolved domain name It will be the resolved preconfigured chain of domain name when the corresponding relationship of the next hop address of preconfigured link and A recording address The next hop address on road and the corresponding relationship of A recording address are updated into routing table.
As a kind of alternative embodiment of the invention, when second judgment unit 404 determine do not saved as in routing table by Parse the preconfigured link of domain name next hop address and A recording address corresponding relationship when, the first updating unit 406 can The corresponding relationship of the next hop address and the A recording address of thinking the preconfigured link of resolved domain name is updated to road By in table.
First retransmission unit 407 be used for receive client device transmission service message when, table of query and routing with into Row forwarding.
As a kind of alternative embodiment of the invention, described device further includes third retransmission unit 408, for sentencing first When disconnected unit 402 determines that resolved domain name mismatches preset domain name feature, DNS response message is forwarded to client device.
The device 400 of preferred embodiment in accordance with the present invention, message forwarding further includes the second updating unit 409, is used for When having a plurality of for the resolved preconfigured link of domain name, the precedence information being arranged for each of the links is updated to routing table In.
It further include the second updating unit 409 based on the apparatus for forwarding message 400, the present invention also provides a kind of preferred implementations Example, as shown in figure 5, Fig. 5 is the structural block diagram of the device of another message forwarding shown in an exemplary embodiment of the invention, the One retransmission unit 407 includes that inquiry subelement 4071 and message forward subelement 4072, wherein inquiry subelement 4071 is used for root Updated routing table is inquired according to the purpose IP address of service message, and message forwarding subelement 4072 is used in purpose IP address When being matched to the next hop address of multiple links, service message is forwarded to the next-hop of the link of highest priority.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize the present invention program.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of method of message forwarding, using on network devices, which is characterized in that the described method includes:
After client device issues DNS request message to dns server, receives the dns server and set to the client The DNS response message that preparation is sent;
After parsing resolved domain name in the DNS response message, judge whether the resolved domain name matches preset domain Name feature;
If it does, then parsing A recording address corresponding with the resolved domain name from the DNS response message;
It will be updated for the corresponding relationship of the next hop address of the resolved preconfigured link of domain name and the A recording address Into routing table;
When receiving the service message of client device transmission, the updated routing table is inquired to be forwarded.
2. the method according to claim 1, wherein more having for the resolved preconfigured link of domain name When, the method also includes:
The precedence information of each of the links is updated into routing table.
3. according to the method described in claim 2, it is characterized in that, receive client device transmission service message when, The routing table, which is inquired, to be forwarded includes:
The updated routing table is inquired according to the purpose IP address of the service message;
If the destination IP address matching is forwarded to priority to the next hop address of multilink, by the service message The next-hop of highest link.
4. the method according to claim 1, wherein described will be the resolved preconfigured link of domain name Next hop address and the A recording address corresponding relationship update into routing table before, the method also includes:
Judge the next hop address that the preconfigured link of resolved domain name whether has been saved as in routing table and A note Record the corresponding relationship of address;
If saved, the DNS response message is forwarded to client device;
It, will for the next hop address of the resolved preconfigured link of domain name and A record if do not saved The corresponding relationship of location is updated into routing table.
5. the method according to claim 1, wherein the method also includes:
If it is determined that the resolved domain name mismatches preset domain name feature, then the DNS response message is forwarded to client End equipment.
6. the device of a kind of message forwarding, using on network devices, which is characterized in that described device includes:
Message receiving unit, for receiving the DNS service after client device issues DNS request message to dns server The DNS response message that device is sent to the client device;
First judging unit, for judging the resolved domain name after parsing resolved domain name in the DNS response message Whether preset domain name feature is matched;
Resolution unit, for resolved domain name match preset domain name feature when, parsed from the DNS response message and The corresponding A recording address of the resolved domain name;
First updating unit, for that will be the next hop address and A record of the preconfigured link of resolved domain name The corresponding relationship of address is updated into routing table;
First retransmission unit, for inquiring the updated routing when receiving the service message of client device transmission Table is to be forwarded.
7. device according to claim 6, which is characterized in that described device further include:
Second updating unit, for when having a plurality of for the resolved preconfigured link of domain name, by the excellent of each of the links First grade information update is into routing table.
8. device according to claim 7, which is characterized in that the first retransmission unit includes:
Subelement is inquired, for inquiring the updated routing table according to the purpose IP address of the service message;
Message forwards subelement, in next hop address of the destination IP address matching to multiple links, by the industry Business message is forwarded to the next-hop of the link of highest priority.
9. device according to claim 6, which is characterized in that described device further include:
Second judgment unit, for that will be the next hop address and A note of the preconfigured link of resolved domain name Record address corresponding relationship update into routing table before, judge whether to have saved as the resolved domain name in routing table preparatory The corresponding relationship of the next hop address of the link of configuration and the A recording address;
Second retransmission unit, for when having saved, the DNS response message to be forwarded to client device;
First updating unit will be for the next of the resolved preconfigured link of domain name for when not saving The corresponding relationship for jumping address and the A recording address is updated into routing table.
10. device according to claim 6, which is characterized in that described device further include:
Third retransmission unit, for when determining that the resolved domain name mismatches preset domain name feature, by the DNS response Message is forwarded to client device.
CN201510279366.1A 2015-05-27 2015-05-27 The method and apparatus of message forwarding Active CN105991793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510279366.1A CN105991793B (en) 2015-05-27 2015-05-27 The method and apparatus of message forwarding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510279366.1A CN105991793B (en) 2015-05-27 2015-05-27 The method and apparatus of message forwarding

Publications (2)

Publication Number Publication Date
CN105991793A CN105991793A (en) 2016-10-05
CN105991793B true CN105991793B (en) 2019-06-07

Family

ID=57040127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510279366.1A Active CN105991793B (en) 2015-05-27 2015-05-27 The method and apparatus of message forwarding

Country Status (1)

Country Link
CN (1) CN105991793B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105592181A (en) * 2015-10-15 2016-05-18 杭州华三通信技术有限公司 Link load balancing method and device
CN106533989B (en) * 2016-12-01 2019-08-20 携程旅游网络技术(上海)有限公司 Optimization method and optimization system for enterprise's cross-region access network
CN111107175B (en) * 2017-03-31 2023-08-08 贵州白山云科技股份有限公司 Method and device for constructing DNS response message
CN108650179B (en) * 2018-04-17 2021-10-22 达闼科技(北京)有限公司 Method for configuring forwarding table, forwarding device and computer readable storage medium
CN112491721A (en) * 2020-11-13 2021-03-12 游密科技(深圳)有限公司 Data routing method and device, electronic equipment and storage medium
CN114448941A (en) * 2021-12-24 2022-05-06 苏州浪潮智能科技有限公司 Network equipment management method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764855A (en) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and system for providing domain name resolution services
CN102244613A (en) * 2011-08-11 2011-11-16 深信服网络科技(深圳)有限公司 DNS (domain name system)-based multilink traffic balancing method, gateway and network
CN103634214A (en) * 2013-11-25 2014-03-12 北京神州绿盟信息安全科技股份有限公司 Route information generating method and device
CN103812965A (en) * 2014-02-25 2014-05-21 北京极科极客科技有限公司 Router-based domain name classifying and processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020143946A1 (en) * 2001-03-28 2002-10-03 Daniel Crosson Software based internet protocol address selection method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764855A (en) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and system for providing domain name resolution services
CN102244613A (en) * 2011-08-11 2011-11-16 深信服网络科技(深圳)有限公司 DNS (domain name system)-based multilink traffic balancing method, gateway and network
CN103634214A (en) * 2013-11-25 2014-03-12 北京神州绿盟信息安全科技股份有限公司 Route information generating method and device
CN103812965A (en) * 2014-02-25 2014-05-21 北京极科极客科技有限公司 Router-based domain name classifying and processing method and device

Also Published As

Publication number Publication date
CN105991793A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
CN105991793B (en) The method and apparatus of message forwarding
US9806944B2 (en) Network controller and a computer implemented method for automatically define forwarding rules to configure a computer networking device
US10999319B2 (en) Event driven route control
US8874789B1 (en) Application based routing arrangements and method thereof
US10375193B2 (en) Source IP address transparency systems and methods
US9160667B2 (en) System and method to route data in an anycast environment
CA3010741C (en) Method and system for automatically bypassing network proxies in the presence of interdependent traffic flows
CN102685177B (en) The transparent proxy cache method of resource, the network equipment and system
US8750304B2 (en) Controlling directional asymmetricity in wide area networks
CN106470158B (en) Message forwarding method and device
US9462071B2 (en) Spoofing technique for transparent proxy caching
CN104247371A (en) Name-based neighbor discovery and multi-hop service discovery in information-centric networks
WO2014093900A1 (en) Content based traffic engineering in software defined information centric networks
WO2006000627A1 (en) Method for service chaining in a communication network
WO2017209925A1 (en) Flow modification including shared context
WO2018036254A1 (en) Packet forwarding method and device
CN102647341B (en) Message processing method, device and system
CN104243320A (en) Method and device for optimizing network access paths
CN102547553B (en) Method, system and device for accessing service based on wireless application protocol (WAP)
US10536368B2 (en) Network-aware routing in information centric networking
CN102325079A (en) Message transmission method and egress router
CN109120556B (en) A kind of method and system of cloud host access object storage server
CN107404438A (en) Network route method and network route system
CN106230983A (en) A kind of control device and method
US7609692B2 (en) Method and apparatus for controlling route in network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant after: Hangzhou Dipu Polytron Technologies Inc

Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant before: Hangzhou Dipu Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant