CN102868550B - Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler - Google Patents
Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler Download PDFInfo
- Publication number
- CN102868550B CN102868550B CN201210295882.XA CN201210295882A CN102868550B CN 102868550 B CN102868550 B CN 102868550B CN 201210295882 A CN201210295882 A CN 201210295882A CN 102868550 B CN102868550 B CN 102868550B
- Authority
- CN
- China
- Prior art keywords
- domain name
- record
- database
- whole network
- network traffic
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000013507 mapping Methods 0.000 claims description 66
- 230000008569 process Effects 0.000 claims description 31
- 230000001360 synchronised effect Effects 0.000 claims description 6
- 238000007689 inspection Methods 0.000 claims description 2
- 238000012360 testing method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a total network flow scheduler and a method for querying a domain name resolution record by using the total network flow scheduler. The total network flow scheduler comprises a protocol processing module and a database query module, wherein the protocol processing module is used for processing a domain name resolution protocol; the database query module is used for querying a domain name resolution database through a processor and returning a query result to the protocol processing module; the domain name resolution database comprises a region database and a record database; the region information of each internet protocol (IP) address under different domain names is recorded in the region database; and the domain name resolution record of each region is recorded in the record database. The total network flow scheduler can customize regional division, can randomly return the domain name resolution record in a weighted mode and can flexibly schedule flow. Meanwhile, the total network flow scheduler is provided with an application programming interface, the domain name resolution database can be directly modified through an external program, and the aim of dynamically modifying the domain name resolution database is fulfilled.
Description
Technical field
The present invention relates to mutual net field, particularly flow scheduling field.
Background technology
As shown in Figure 1, in the prior art, be by BIND 9(DNS server software) Views(view) function can realize flow scheduling.BIND 9 is divided into multiple view (View) by people, and the parsing of each view is completely independent.As contained the parsing configuration in " a.com " territory (zone) in " Northern Telecom " view, and another view " southern telecommunications " also contains the parsing configuration of " a.com ", these two territories are separate, preserve respectively with the form of file (zone file) physically, the configuration of differentiation can be carried out, the user of north and south telecommunications is resolved to respectively on different addresses, realizes flow scheduling.And how to define " north and south ", be divided IP section in advance, with the form of configuration file, be included in the master configuration file of BIND 9.When needing the record of certain domain name under amendment given view, needing amendment (or generating by instrument) Zone file, then performing reload instruction at primary name server; For from name server, synchronous Zone configuration can be carried out by Zone Transfer mechanism.View divides, the variation of IP section then needs to carry out the synchronous of master configuration file, performs the instruction of heavy duty (reload) after synchronous again.
From a little, the configuration of traffic scheduling method of the prior art, all based on the file on disk, configures loaded down with trivial details, need generate with synchronously by other programs; Only have single view partition strategy, self-defined view division cannot be carried out to certain domain name; Configuration modification (comprising the amendment of domain name mapping record, view division, IP section) needs to carry out heavy duty (reload) operation and comes into force; When inquiring about the domain name containing many A records, each bar record returns with equal probabilities, namely cannot realize the flow scheduling by weight.
Summary of the invention
In order to solve the problem, the present invention aims to provide one and can customize Region dividing, cum rights and return solution new record at random, and flow scheduling is the whole network traffic scheduler more flexibly.
For achieving the above object, described the whole network traffic scheduler, comprises protocol process module and database query module, described protocol process module, for the treatment of the related content of domain name mapping agreement, described database query module comprises processor and domain name mapping database, for being inquired about domain name mapping database by processor, and Query Result is returned to described protocol process module, domain name resolution data storehouse comprises regional database and database of record, wherein, each IP address area information under different domain names is recorded in described regional database, the domain name mapping record in described each region of database of record record, described processor inquires about this IP address area information corresponding under this domain name according to IP address and domain-name information in described regional database, from described database of record, the domain name mapping record corresponded is searched again according to obtained area information, finally found result is returned to described protocol process module.
The present invention also provides a kind of the whole network flow scheduling system, comprise multiple the whole network traffic scheduler as above, described multiple the whole network traffic scheduler is controlled by same control unit, and the domain name mapping database of each the whole network traffic scheduler is wherein synchronous by the database realizing of described control unit.
Present invention also offers a kind of method using the whole network traffic scheduler nslookup solution new record as above, the method comprises: after inquiry starts, database query module in described the whole network traffic scheduler inquires about the domain name mapping record of this IP address in this domain name according to the IP address of the local domain name server of received domain name and the request of initiated domain name analysis in domain name resolution data storehouse, and domain name solution new record is returned to the protocol process module in described the whole network traffic scheduler, and by described protocol process module, domain name solution new record is processed.
In addition, present invention also offers and a kind ofly use the whole network traffic scheduler as above to carry out the method for domain name mapping, described method comprises the steps:
(1) local domain name server receives the domain name mapping request coming from user;
(2) local domain name server by the domain name mapping request forward that receives to website name server;
(3) described website name server carries out rename to the domain name that user inputs, and the domain name renamed is returned to described local domain name server;
(4) the received domain name that renames is sent to described the whole network traffic scheduler by described local domain name server, asks described the whole network traffic scheduler to be inquired about;
(5) described the whole network traffic scheduler uses the method for nslookup solution new record as above, IP address according to received domain name and described local domain name server draws domain name mapping record, and domain name solution new record is returned to described local domain name server;
(6) received domain name mapping record is sent to user by described local domain name server.
The whole network traffic scheduler of the present invention comprises database query module, this module makes redesign data structure and query logic become possibility, and thus the whole network traffic scheduler achieves the function that self defined area divides, cum rights returns solution new record at random on this basis.Secondly, present invention achieves the self-defining Region dividing to a certain domain name, thus achieve flow scheduling more flexibly.In addition, scheduler of the present invention has application programming interface (API), for revising domain name mapping database by external program, to reach the object on-the-fly modifying domain name mapping database, thus avoid traditional domain name resolution server all needs to reload (reload) troublesome operation when each amendment configuration file.
Accompanying drawing explanation
The scheduling that Fig. 1 shows existing traffic scheduler divides schematic diagram;
Fig. 2 shows the structural representation of the whole network traffic scheduler of the present invention;
Fig. 3 shows the schematic diagram that the whole network traffic scheduler self defined area of the present invention divides;
The scheduling that Fig. 4 shows the whole network traffic scheduler of the present invention divides schematic diagram;
Fig. 5 shows the structural representation of the whole network flow scheduling system of the present invention;
Fig. 6 is the schematic diagram using the whole network traffic scheduler of the present invention dynamically to carry out domain name mapping;
Fig. 7 is the schematic diagram of the database query module nslookup solution new record using the whole network traffic scheduler of the present invention;
Fig. 8 is the flow chart of the database query module nslookup solution new record using the whole network traffic scheduler of the present invention.
Shown in Fig. 9, use the whole network traffic scheduler of the present invention dynamically carries out the flow chart of the method for domain name mapping.
Embodiment
As shown in Figure 2, the whole network traffic scheduler 1 of the present invention comprises protocol process module 11 and database query module 12, and described protocol process module 11, for the treatment of the related content of domain name mapping agreement, described database query module 12 then comprises processor 121 and domain name mapping database 122, it is for inquiring about by described processor 121 pairs of domain name mapping databases 122, and Query Result is returned to described protocol process module 11, domain name resolution data storehouse 122 comprises regional database and database of record further, wherein, each IP address area information under different domain names is recorded in described regional database, the domain name mapping record in described each region of database of record record, described processor inquires about this IP address area information corresponding under this domain name according to IP address and domain-name information in described regional database, from described database of record, the domain name mapping record corresponded is searched again according to obtained area information, finally found result is returned to described protocol process module.
Further, as shown in Figure 2, the whole network traffic scheduler of the present invention also comprises control unit 13, and described control unit 13 is connected for managing domain name resolution data storehouse 122 with the domain name mapping database 22 in described database query module 12.
In a better embodiment of the present invention, described control unit 13 is presented with the form of website user interface (Web UI).
Described control unit 13 also comprises one or more application programming interface (API) further, for revising domain name mapping database by external program, to reach the object on-the-fly modifying domain name mapping database, thus avoid traditional domain name resolution server all needs to reload (reload) troublesome operation when each amendment configuration file.
Domain name resolution data storehouse comprises regional database and database of record, wherein, records each IP address area information under different domain names in described regional database.IP_ area table (IP_Location Table), area _ region list (Location_Region Table), region list (Region Table) and domain name table (Domain Table) is included further in described regional database.
Wherein, as shown in table 1, the corresponding relation between area and region is have recorded, comprising there being the projects such as sequence number (ID), regional sequence number (Location_ID) and region sequence number (Region_ID) in described area _ region list (Location_Region Table).Described IP_ area table (IP_Location Table) then records each area corresponding to IP address.At one preferably in execution mode of the present invention, the least unit in described area is divided into province's (dividing respectively according to the difference of ISP), multiple area is divided in same region, as shown in Figure 3, belong to the Yunnan telecommunications of same ISP, Sichuan telecommunications and Shaanxi telecommunications (area) to be all divided in western telecommunications (region).And when the IP address of the new position of appearance one needs to join in described regional database, directly added in corresponding area, in IP_ area table (IP_Location Table), namely add corresponding content, as shown in Figure 3.
Table 1 area _ region list
As shown in table 2, record in described region list (Region Table) region sequence number (Region_ID), domain name sequence number (Domain_ID), zone name (Region_Name), whether be default zone (Is_Default), record set in the region return the information such as strategy (rr_Order) and remarks (Memo).Wherein, in a better embodiment of the present invention, when described be whether value in default zone (Is_Default) for " 1 " time, represent that this region is default zone, and when described be whether value in default zone (Is_Default) for " 0 " time, represent that this region is not default zone; When described record set in the region return value in strategy (rr_Order) for " 1 " time, represent and return the record inquired randomly, and when this value is " 0 ", represent, by weight, rear cum rights returns to field name analysis record is randomly arranged to record.
Table 2 region list
And it is as shown in table 3, the information such as domain name sequence number (Domain_ID), domain name (Domain_Name), domain name state (Status) and remarks (Memo) are then recorded in domain name table (Domain Table), wherein, in a better embodiment of the present invention, when for time " 1 ", domain name state (Status) represents that the state of this domain name is normal, and when domain name state (Status) is " 0 ", then represent that domain name cannot normally use.
Table 3 domain name table
As can be seen here, described the whole network traffic scheduler achieves and divides the self defined area of domain name.As shown in Figure 4, domain name " a.com " and " b.com " have different Region dividing strategies, thus achieve and manage flow scheduling flexibly.
Described database of record then records the domain name mapping record corresponding with each region, comprising there being regional record table (Region_Record Table), as shown in table 4, record the information such as sequence number (ID), record type (Record_Type), record content (Record_Content), life cycle (TTL), record weight (Record_Weight), region sequence number (Region_ID) and remarks (Memo) in described regional record table (Region_RecordTable).
Table 4 regional record table
Further, as shown in Figure 5, the figure shows the whole network flow scheduling system of the present invention, described the whole network flow scheduling system comprises multiple the whole network traffic scheduler, each the whole network traffic scheduler is controlled by same control unit, and the database realizing that each domain name mapping database is wherein controlled by described control unit is synchronous, and described the whole network flow scheduling system can be carried out extending transversely, jointly share inquiry request, thus improve its availability.
Further, present invention also offers a kind of method using the whole network traffic scheduler nslookup solution new record as above, described method comprises: after inquiry starts, database query module in described the whole network traffic scheduler inquires about the domain name mapping record of this IP address in this domain name according to the IP address of the local domain name server of received domain name and the request of initiated domain name analysis in domain name resolution data storehouse, and domain name solution new record is returned to the protocol process module in described the whole network traffic scheduler, and by described protocol process module, domain name solution new record is processed.
As shown in Figure 7, in a better embodiment of the present invention, the step of described nslookup solution new record comprises the steps: further
A the processor of () described database query module inquires about this IP address area information corresponding under this domain name according to the IP address of received local domain name server in described regional database;
B the processor of () described database query module inquires about the domain name mapping record of domain name in this region according to the area information inquired by step (a) again in described database of record, and the record inquired is returned to the processor of described database query module, then return to the protocol process module in described the whole network traffic scheduler further.
And in the specific implementation process of the method for the invention, each region has oneself analysis result and parses policy (" record set in the region return strategy (rr_order) " see in table 3), in a concrete execution mode of the present invention, when the record set value returned in strategy (rr_order) is in the region " 1 ", represent and return the record inquired randomly, now, database query module processor can return to the protocol process module in described the whole network traffic scheduler by Stochastic choice record from returned record set, and by described protocol process module, domain name solution new record is processed, and when this value is " 0 ", represent, by weight, rear cum rights returns to field name analysis record is randomly arranged to record, now, database query module processor can sort to returned record set according to the weighted value be set in advance in regional database, and the protocol process module record coming forward position returned in described the whole network traffic scheduler, and by described protocol process module, domain name solution new record is processed.Thus, when adopt by weight, record is arranged after the mode returns to field name analysis record of cum rights returns to field name analysis record randomly, the record that so weighted value is higher may be larger by what return; And when adopting the mode returns to field name analysis record of random returns to field name analysis record, so each record is identical by the probability returned.
As shown in Figure 8, in another one better embodiment of the present invention, described use the whole network traffic scheduler comprises the steps: particularly according to the step of the IP address lookup domain name mapping record of received domain name and described local domain name server
Whether the domain name that (a ') inspection institute receives can be used, if this domain name is unavailable, does not return results, if this domain name can be used, then continues to perform step (b ');
The IP section of (b ') inquiry local domain name server IP address, and judge whether described IP section exists, if described IP section exists, continuation execution step (c '), if there is no then the IP address of this unknown is preserved, and continuation execution step (e ');
(c ') obtains the area information in this domain name of IP section place;
(d ') judges whether the area information obtained by step (c ') exists, and if there is no then continues to perform step (e '), if existed, performs step (f ');
Whether (e ') inquiry domain name exists default zone information, does not if there is no then return results, if existed, performs step (f ');
(f ') returns record in this region by the strategy that returns arranged in area information.
And further, described step (c ') also comprises: (c ' .1) obtains the regional information at IP section place; (c ' .2) obtains the area information of regional information in this domain name obtained by step (c ' .1).
Moreover as shown in Fig. 6,9, the method that use of the present invention the whole network traffic scheduler as above dynamically carries out domain name mapping comprises the steps:
(1) local domain name server 3 receives the domain name mapping request coming from user 2;
(2) local domain name server 3 by the domain name mapping request forward that receives to website name server 4;
(3) domain name that name server 4 couples of users 2 in described website input carries out rename, and the domain name renamed is returned to described local domain name server 3;
(4) the received domain name that renames is sent to described the whole network traffic scheduler 1 by described local domain name server 3, asks described the whole network traffic scheduler 1 to be inquired about;
(5) described the whole network traffic scheduler 1 uses the method for nslookup solution new record as described above, IP address according to received domain name and described local domain name server draws domain name mapping record, and domain name solution new record is returned to described local domain name server 3;
(6) received domain name mapping record is sent to user 2 by described local domain name server 3.
As shown in Figure 6, in a preferred embodiment of the present invention, user sends request to local domain name server, request is resolved the domain name of img.test.com, and described local domain name server is receiving from the domain name img.test.com received being transmitted to website name server (Authoritative DNS) after the request of user; Described website name server carries out rename to the domain name that user inputs, and the domain name img.test.gtm.com renamed is returned to described local domain name server; Local domain name server will rename domain name img.test.gtm.com and send to described the whole network traffic scheduler, ask described the whole network traffic scheduler to be inquired about; Described the whole network traffic scheduler draws domain name mapping record 1.1.1.1 according to the IP address of received domain name img.test.gtm.com and described local domain name server, and domain name solution new record is returned to described local domain name server; Finally, received domain name mapping record 1.1.1.1 is sent to user by described local domain name server, and user directly accesses the data center 5 corresponding to 1.1.1.1.
Dynamically carry out in the specific implementation process of method of domain name mapping in use of the present invention the whole network traffic scheduler as above, each region has oneself analysis result and parses policy (" record set in the region return strategy (rr_order) " see in table 3), in a concrete execution mode of the present invention when record set in the region return value in strategy (rr_Order) for " 1 " time, represent and return the record inquired randomly, now, database query module processor can return to the protocol process module in described the whole network traffic scheduler by Stochastic choice record from returned record set, and by described protocol process module, domain name solution new record is processed, finally this domain name mapping record is returned to described local domain name server, and when this value is " 0 ", represent, by weight, rear cum rights returns to field name analysis record is randomly arranged to record, now, database query module processor can sort to returned record set according to the weighted value be set in advance in regional database, and the protocol process module record coming forward position returned in described the whole network traffic scheduler, and by described protocol process module, domain name solution new record is processed, finally this domain name mapping record is returned to described local domain name server.Thus, when adopt by weight, record is arranged after the mode returns to field name analysis record of cum rights returns to field name analysis record randomly, the record that so weighted value is higher may be larger by what return; And when adopting the mode returns to field name analysis record of random returns to field name analysis record, so each record is identical by the probability returned.
In execution mode described hereinbefore, in the domain name (img.test.gtm.com) of being carried out rename by described website name server, be configured with 3 regions altogether, described three regions (Region) are respectively default zone, western telecommunications region and telecommunications region, east.Wherein in western telecommunications region, be configured with again corresponding area, comprise Sichuan telecommunications, Yunnan telecommunications, Shaanxi telecommunications etc., two records (Record) are then configured with under this region, being respectively 1.1.1.1(weight is 100) and 2.2.2.2(weight be 50), and the numerical value that the record set in the region list corresponding with this region (Region Table) returns strategy (rr_Order) is 0, that is corresponding with this region record set returns strategy for " wrr ", namely cum rights randomized policy.
And for telecommunications region, east, there are Shanghai Telecom, Jiangsu Telecom etc. in wherein configured area, also two records (Record) are configured with under this region, be respectively 3.3.3.3 and 4.4.4.4, and the numerical value that the record set in the region list corresponding with this region (Region Table) returns strategy (rr_Order) is 1, that is corresponding with this region record set returns strategy for " rr ", namely randomized policy.
Default zone is configured with record 1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4, and the numerical value that the record set in the region list corresponding with this region (Region Table) returns strategy (rr_Order) is also 1, that is corresponding with this region record set returns strategy for " rr ", namely randomized policy.
In above-mentioned specific embodiment, when some local domain name servers inquire about the solution new record of img.test.gtm.com to described the whole network traffic scheduler, the IP that described the whole network traffic scheduler processor gets it is 5.5.5.5, in described IP_Location table, find the area corresponding with the IP address 5.5.5.5 of described local domain name server is telecommunications area, Sichuan (Sichuan telecommunications Location), and then in region list (Region Table), find 3 regions configured in domain name img.test.gtm.com, in area _ region list (Location_Region Table), determine telecommunications area, described Sichuan (Sichuan telecommunications Location) is divided in which region in above-mentioned 3 regions subsequently again.In the present embodiment, Sichuan telecommunications area (Sichuan telecommunications Location) is divided in western telecommunications region (western telecommunications Location) particularly.Finally, in regional record table, the record corresponding with described western telecommunications region (western telecommunications Location) is obtained.In the present embodiment, corresponding with described western telecommunications region (western telecommunications Location) records two, and being respectively 1.1.1.1(weight is 100) and 2.2.2.2(weight be 50).
Above-mentioned two records are returned to described database query module processor, and the record set due to this region above-mentioned returns strategy (rr_Order) for cum rights randomized policy, and described processor carries out arranging according to weight size and after arrangement, returns solution new record.In the present embodiment, described two weight ratios of separating new record are 2:1, and in 3 inquiries, likely return solution new record 1.1.1.1 for twice, and only once return solution new record 2.2.2.2.The solution new record that weight is larger is as can be seen here higher by the probability returned; On the other hand, the number of times of inquiry is more, returns the ratio being comparatively close to weighted value between described solution new record that each separates the number of times of new record.
Further, in another embodiment of the present invention, received domain name mapping record is stored in its buffer zone by described local domain name server, within a life cycle of domain name solution new record, as same user again to as described in local domain name server just same domain name sends analysis request time, domain name mapping record in buffer zone is directly sent to this user by described local domain name server, wherein, described life cycle is recorded in the database of record of described the whole network traffic scheduler, and in described step (5), together return to described local domain name server with domain name mapping record.In a preferred embodiment of the present invention, described life cycle is 60 seconds.
Preferably, the life cycle of described name analysis record is 1 minute.As shown in Figure 6, receive within 1 minute after the domain name mapping record 1.1.1.1 sent by described local domain name server user, if this user sends analysis request to described local domain name server with regard to domain name img.test.com again, now local domain name server is no longer resolved this domain name, but directly the domain name mapping record 1.1.1.1 be stored in buffer zone is directly sent to user; And if this user sends analysis request to described local domain name server with regard to domain name img.test.com after 1 minute, now local domain name server must be resolved this domain name by the whole network traffic scheduler again.
In the preferred embodiment of the present invention, the database query module of described the whole network traffic scheduler mainly achieves with the lookup function in face and get function, wherein, lookup function achieves the query function of described database query module, and described get function then achieves the described protocol process module Query Result of institute lookup function being returned to the whole network traffic scheduler.
Although depict the present invention by embodiment, those of ordinary skill in the art know, without departing from the spirit and substance in the present invention, the present invention just can be made to have many distortion and change, and scope of the present invention is limited to the appended claims.
Claims (10)
1. the whole network traffic scheduler, is characterized in that, comprises protocol process module and database query module, described protocol process module, for the treatment of the related content of domain name mapping agreement, described database query module comprises processor and domain name mapping database, for being inquired about domain name mapping database by processor, and Query Result is returned to described protocol process module, domain name resolution data storehouse comprises regional database and database of record, wherein, in described regional database, be directed to different domain names and record different Region dividing strategies, in order to record the area information of area under this domain name corresponding to each IP address, the domain name mapping record in described each region of database of record record, described processor inquires about this IP address area information corresponding under this domain name according to IP address and domain-name information in described regional database, from described database of record, the domain name mapping record corresponded is searched again according to obtained area information, finally found domain name mapping record is returned to described protocol process module according to the strategy that returns recorded in described area information.
2. the whole network traffic scheduler as claimed in claim 1, it is characterized in that, described the whole network traffic scheduler also comprises control unit, for management domain name resolution data storehouse.
3. the whole network flow scheduling system, it is characterized in that, comprise multiple the whole network traffic scheduler as claimed in claim 1 or 2, described multiple the whole network traffic scheduler is controlled by same control unit, and the domain name mapping database of each the whole network traffic scheduler is wherein synchronous by the database realizing of described control unit.
4. one kind uses the method for the whole network traffic scheduler nslookup solution new record any one of claim 1-2 as described in claim, it is characterized in that, described method comprises: after inquiry starts, database query module in described the whole network traffic scheduler inquires about the domain name mapping record of this IP address in this domain name according to the IP address of the local domain name server of received domain name and the request of initiated domain name analysis in domain name resolution data storehouse, and domain name solution new record is returned to protocol process module in described the whole network traffic scheduler according to the strategy that returns recorded in described regional database, and by described protocol process module, domain name solution new record is processed.
5. the method using the whole network traffic scheduler nslookup solution new record as claimed in claim 4, it is characterized in that, the method comprises the steps: further
A the processor of () described database query module inquires about this IP address area information corresponding under this domain name according to the IP address of received local domain name server in described regional database;
B the processor of () described database query module inquires about the domain name mapping record of domain name in this region according to the area information inquired by step (a) again in described database of record, and the record inquired is returned to the processor of described database query module, then return to the protocol process module in described the whole network traffic scheduler further.
6. the method using the whole network traffic scheduler nslookup solution new record as claimed in claim 5, it is characterized in that, comprise the steps: further in described step (b) according to domain name resolve record in this region return strategy, returns to field name analysis record randomly randomly or after record being arranged by weight.
7. the method using the whole network traffic scheduler nslookup solution new record as claimed in claim 4, it is characterized in that, the method comprises the steps: particularly
Whether the domain name that (a ') inspection institute receives can be used, if this domain name is unavailable, does not return results, if this domain name can be used, then continues to perform step (b ');
The IP section of (b ') inquiry local domain name server IP address, and judge whether described IP section exists, if described IP section exists, continuation execution step (c '), if there is no then the IP address of this unknown is preserved, and continuation execution step (e ');
(c ') obtains the area information in this domain name of IP section place;
(d ') judges whether the area information obtained by step (c ') exists, and if there is no then continues to perform step (e '), if existed, performs step (f ');
Whether (e ') inquiry domain name exists default zone information, does not if there is no then return results, if existed, performs step (f ');
(f ') returns domain name mapping record in this region by the strategy that returns arranged in area information.
8. the as claimed in claim 7 method using the whole network traffic scheduler dynamically to carry out domain name mapping, is characterized in that, comprises the steps: further in described step (c ')
(c ' .1) obtains the regional information at IP section place;
(c ' .2) obtains the area information of regional information in this domain name obtained by step (c ' .1).
9. use the whole network traffic scheduler any one of claim 1-2 as described in claim to carry out a method for domain name mapping, it is characterized in that, described method comprises the steps:
(1) local domain name server receives the domain name mapping request coming from user;
(2) local domain name server by the domain name mapping request forward that receives to website name server;
(3) described website name server carries out rename to the domain name that user inputs, and the domain name renamed is returned to described local domain name server;
(4) the received domain name that renames is sent to described the whole network traffic scheduler by described local domain name server, asks described the whole network traffic scheduler to be inquired about;
(5) described the whole network traffic scheduler uses the method for the nslookup solution new record any one of claim 4-8 as described in claim, IP address according to received domain name and described local domain name server draws domain name mapping record, and domain name solution new record is returned to described local domain name server;
(6) received domain name mapping record is sent to user by described local domain name server.
10. the method using the whole network traffic scheduler to carry out domain name mapping as claimed in claim 9, it is characterized in that, described method also comprises the steps: further
(7) received domain name mapping record is stored in its buffer zone by local domain name server, within a life cycle of domain name solution new record, as same user again to as described in local domain name server just same domain name sends domain name mapping request time, domain name mapping record in buffer zone is directly sent to this user by described local domain name server, wherein, described life cycle is recorded in the database of record of described the whole network traffic scheduler, and in described step (5), together return to described local domain name server with domain name mapping record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210295882.XA CN102868550B (en) | 2012-08-17 | 2012-08-17 | Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210295882.XA CN102868550B (en) | 2012-08-17 | 2012-08-17 | Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102868550A CN102868550A (en) | 2013-01-09 |
CN102868550B true CN102868550B (en) | 2015-05-20 |
Family
ID=47447155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210295882.XA Active CN102868550B (en) | 2012-08-17 | 2012-08-17 | Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102868550B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105119841B (en) * | 2015-09-06 | 2019-05-31 | 互联网域名系统北京市工程研究中心有限公司 | A kind of method of domain name mapping result generic load dispatch in proportion |
CN105872079B (en) * | 2016-05-12 | 2019-01-29 | 北京网瑞达科技有限公司 | A kind of link equalization method based on domain name system DNS |
CN108075909B (en) * | 2016-11-11 | 2020-12-18 | 阿里巴巴集团控股有限公司 | Flow prediction method and device |
CN106534390B (en) * | 2017-01-24 | 2019-10-25 | 网宿科技股份有限公司 | Method and system for storing and managing server data of authoritative domain name system |
CN109936463B (en) * | 2017-12-15 | 2021-06-25 | 创盛视联数码科技(北京)有限公司 | Flow scheduling method based on PowerDNS system |
CN108600146A (en) * | 2017-12-29 | 2018-09-28 | 北京搜狐新媒体信息技术有限公司 | A kind of address dispatching method and device |
CN112437170B (en) * | 2020-11-26 | 2022-06-28 | 新华三大数据技术有限公司 | Domain name information processing method and device, computer equipment and computer storage medium |
CN113660359B (en) * | 2021-08-25 | 2024-01-19 | 北京搜房科技发展有限公司 | Domain name resolution record management method and device, storage medium and electronic equipment |
CN115914043B (en) * | 2022-11-30 | 2025-02-11 | 中盈优创资讯科技有限公司 | A method and device for analyzing customer scheduling behavior based on BGP routing and DNS |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101505305A (en) * | 2009-03-12 | 2009-08-12 | 杭州比比西网络科技有限公司 | Method and apparatus for binding domain name and specific service |
CN101710905A (en) * | 2009-12-17 | 2010-05-19 | 中国联合网络通信集团有限公司 | Address resolution control method and system based on tactics |
CN101764747B (en) * | 2009-12-24 | 2012-05-02 | 北京云快线软件服务有限公司 | Content distribution network flow intelligent scheduling method, device and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7707314B2 (en) * | 2005-11-21 | 2010-04-27 | Limelight Networks, Inc. | Domain name resolution resource allocation |
-
2012
- 2012-08-17 CN CN201210295882.XA patent/CN102868550B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101505305A (en) * | 2009-03-12 | 2009-08-12 | 杭州比比西网络科技有限公司 | Method and apparatus for binding domain name and specific service |
CN101710905A (en) * | 2009-12-17 | 2010-05-19 | 中国联合网络通信集团有限公司 | Address resolution control method and system based on tactics |
CN101764747B (en) * | 2009-12-24 | 2012-05-02 | 北京云快线软件服务有限公司 | Content distribution network flow intelligent scheduling method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN102868550A (en) | 2013-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102868550B (en) | Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler | |
CN113746887B (en) | Cross-cluster data request processing method, device and storage medium | |
US10686751B2 (en) | Methods and apparatus for intelligent domain name system forwarding | |
EP1869868B1 (en) | System, network device, method, and computer program product for active load balancing using clustered nodes as authoritative domain name servers | |
CN103685590B (en) | Obtain the method and system of IP address | |
US9246874B2 (en) | Virtual domain name system | |
JP5582344B2 (en) | Connection management system and connection management server linkage method in thin client system | |
US20020107939A1 (en) | System and method for accessing software components in a distributed network environment | |
CN103905572B (en) | Method and device for processing domain name resolution request | |
CN108989430B (en) | Load balancing method, device and storage medium | |
JP2002169694A (en) | Method and system for automatically assigning a boot server to a PXE client on a network via a DHCP server | |
CN103501358B (en) | A kind of domain name trustship management method and device | |
CN102137145A (en) | Method, device and system for managing distributed contents | |
WO2015039475A1 (en) | Method, server, and system for domain name resolution | |
JP7132494B2 (en) | Multi-cloud operation program and multi-cloud operation method | |
US12261764B2 (en) | Cloud agnostic service discovery | |
CN108667946B (en) | Multi-domain name mutual backup analysis management method, device and system | |
CN104092785A (en) | Method for domain name registration and resolution, and resource access method and resource access device based on domain name | |
CN107800814A (en) | Virtual machine deployment method and device | |
CN112953982A (en) | Service processing method, service configuration method and related device | |
US8972604B1 (en) | Network address retention and assignment | |
CN102833287A (en) | Distributed file system and method for visiting data resource in distributed system | |
US8713198B2 (en) | Hierarchical binding and lookup of addresses in inter-process communications systems | |
CN106161668A (en) | Generate the method for domain name mapping, device and server | |
JP6734303B2 (en) | Information processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230418 Address after: Room 501-502, 5/F, Sina Headquarters Scientific Research Building, Block N-1 and N-2, Zhongguancun Software Park, Dongbei Wangxi Road, Haidian District, Beijing, 100193 Patentee after: Sina Technology (China) Co.,Ltd. Address before: 100080, International Building, No. 58 West Fourth Ring Road, Haidian District, Beijing, 20 floor Patentee before: Sina.com Technology (China) Co.,Ltd. |