CN102868550A - 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 PDF

Info

Publication number
CN102868550A
CN102868550A CN201210295882XA CN201210295882A CN102868550A CN 102868550 A CN102868550 A CN 102868550A CN 201210295882X A CN201210295882X A CN 201210295882XA CN 201210295882 A CN201210295882 A CN 201210295882A CN 102868550 A CN102868550 A CN 102868550A
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.)
Granted
Application number
CN201210295882XA
Other languages
Chinese (zh)
Other versions
CN102868550B (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.)
Sina Technology China Co Ltd
Original Assignee
Sina Technology China 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 Sina Technology China Co Ltd filed Critical Sina Technology China Co Ltd
Priority to CN201210295882.XA priority Critical patent/CN102868550B/en
Publication of CN102868550A publication Critical patent/CN102868550A/en
Application granted granted Critical
Publication of CN102868550B publication Critical patent/CN102868550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

The whole network traffic scheduler and use the method for this scheduler nslookup solution new record
Technical field
The present invention relates to the field of netting mutually, relate to especially the flow scheduling field.
Background technology
As shown in Figure 1, in the prior art, be by BIND 9(DNS server software) the Views(view) function can realize flow scheduling.People are divided into a plurality of views (View) with BIND 9, and the parsing of each view is fully independent.As having comprised the parsing configuration in " a.com " territory (zone) in " Northern Telecom " view, and another view " southern telecommunications " has also comprised the parsing configuration of " a.com ", these two territories are separate, preserve respectively with the form of file (zone file) physically, can carry out the configuration of differentiation, the user of north and south telecommunications is resolved to respectively on the different addresses, realizes flow scheduling.And how to define " north and south ", and be to have divided in advance the IP section, with the form of configuration file, be included in the master configuration file of BIND 9.When needs are revised the record of certain domain name under the given view, need to revise (or by instrument generation) Zone file, then carry out the reload instruction at primary name server; For from name server, can come synchronous Zone configuration by Zone Transfer mechanism.View is divided, the change of IP section then needs to carry out master configuration file synchronously, carries out the instruction of heavy duty (reload) after synchronously again.
As seen, the configuration of traffic scheduling method of the prior art is all based on the file on the disk by a little, configure loaded down with trivial detailsly, needs generate with synchronous by other programs; Only have single view partition strategy, can't carry out self-defined view to certain domain name and divide; Configuration modification (comprising the modification of domain name mapping record, view division, IP section) need to carry out heavy duty (reload) operation and come into force; When inquiry contained the domain name of many A records, each bar record returned with equal probabilities, namely can't realize the flow scheduling by weight.
Summary of the invention
In order to address the above problem, the present invention aims to provide and a kind ofly can customize that the zone is divided, cum rights returns the 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, and described protocol process module is for the treatment of the related content of domain name mapping agreement; Described database query module comprises processor and domain name mapping database, be used for by processor the domain name mapping database being inquired about, and Query Result returned to described protocol process module, domain name resolution data storehouse comprises regional database and database of record, wherein, record each IP address area information under different domain names in the described regional database, described database of record records each regional domain name mapping record, described processor is inquired about this IP address corresponding area information under this domain name according to IP address and domain-name information in described regional database, from described database of record, search with it corresponding domain name mapping record according to resulting area information again, at last the result who finds is returned to described protocol process module.
The present invention also provides a kind of the whole network flow scheduling system, comprise a plurality of aforesaid the whole network traffic scheduler, described a plurality of 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 realized synchronously by the database of described control unit.
The present invention also provides a kind of method of using aforesaid the whole network traffic scheduler nslookup solution new record, the method comprises: after the inquiry beginning, database query module in described the whole network traffic scheduler is inquired about this IP address at the domain name mapping record of this domain name according to the IP address of the local domain name server of the domain name that receives and initiation domain name mapping request in domain name resolution data storehouse, and domain name solution new record returned to 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, the present invention also provides a kind of and has used aforesaid the whole network traffic scheduler to carry out the method for domain name mapping, and described method comprises the steps:
(1) local domain name server receives the domain name mapping request that comes from the user;
(2) local domain name server is transmitted to the website name server with the domain name mapping request that receives;
(3) described website name server carries out rename to the domain name that the user inputs, and the domain name that renames is returned to described local domain name server;
(4) described local domain name server sends to described the whole network traffic scheduler with the received domain name that renames, and asks described the whole network traffic scheduler inquiry;
(5) described the whole network traffic scheduler is used the method for aforesaid nslookup solution new record, IP address according to the domain name that receives and described local domain name server draws the domain name mapping record, and domain name solution new record is returned to described local domain name server;
(6) described local domain name server sends to the user with the domain name mapping record that receives.
The whole network traffic scheduler of the present invention comprises database query module, this module is so that redesign data structure and query logic become possibility, thereby the whole network traffic scheduler has realized that on this basis self defined area division, cum rights return the function of separating new record at random.Secondly, the present invention has realized the self-defining zone of a certain domain name is divided, thereby has realized more flexibly flow scheduling.In addition, scheduler of the present invention has application programming interface (API), be used for revising the domain name mapping database by external program, reaching the purpose that on-the-fly modifies the domain name mapping database, thereby avoided traditional domain name resolution server in each troublesome operation that all needs to reload (reload) when revising configuration file.
Description of drawings
Fig. 1 shows the scheduling of existing traffic scheduler and 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 is divided;
Fig. 4 shows the scheduling of the whole network traffic scheduler of the present invention and divides schematic diagram;
Fig. 5 shows the structural representation of the whole network flow scheduling of the present invention system;
The schematic diagram of Fig. 6 for 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 of use the whole network traffic scheduler of the present invention;
Fig. 8 is the flow chart of the database query module nslookup solution new record of use the whole network traffic scheduler of the present invention.
Use the whole network traffic scheduler of the present invention shown in Figure 9 is dynamically carried 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 is 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 used for inquiring about by 121 pairs of domain name mapping databases 122 of described processor, and Query Result returned to described protocol process module 11, domain name resolution data storehouse 122 comprises regional database and database of record further, wherein, record each IP address area information under different domain names in the described regional database, described database of record records each regional domain name mapping record, described processor is inquired about this IP address corresponding area information under this domain name according to IP address and domain-name information in described regional database, from described database of record, search with it corresponding domain name mapping record according to resulting area information again, at last the result who finds 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 domain name resolution data storehouse 122 is managed with domain name mapping database 22 in the 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, be used for revising the domain name mapping database by external program, reaching the purpose that on-the-fly modifies the domain name mapping database, thereby avoided traditional domain name resolution server in each troublesome operation that all needs to reload (reload) when revising 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 the described regional database.In described regional database, include further IP_ area table (IP_Location Table), area _ region list (Location_Region Table), region list (Region Table) and domain name table (Domain Table).
Wherein, as shown in table 1, recorded the corresponding relation between area and the zone in described area _ region list (Location_Region Table), comprising the projects such as sequence number (ID), regional sequence number (Location_ID) and regional sequence number (Region_ID) are arranged.Described IP_ area table (IP_Location Table) then records each corresponding area, IP address.In a better 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), a plurality of areas are divided in the same zone, as shown in Figure 3, the Yunnan telecommunications, Sichuan telecommunications and the Shaanxi telecommunications (area) that belong to same ISP all are divided in the western telecommunications (zone).And when the IP address that a new position occurs need to join in the described regional database, directly it is added to getting final product in the corresponding area, namely in IP_ area table (IP_Location Table), add corresponding content, as shown in Figure 3.
Figure BDA00002026477400041
Table 1 area _ region list
As shown in table 2, record regional sequence number (Region_ID), domain name sequence number (Domain_ID), zone name (Region_Name) in the described region list (Region Table), whether be default zone (Is_Default), the record set information such as strategy (rr_Order) and remarks (Memo) of returning in this zone.Wherein, in a better embodiment of the present invention, when described whether be that value in the default zone (Is_Default) is during for " 1 ", represent that this zone is default zone, and when described whether be value in the default zone (Is_Default) during for " 0 ", represent that this zone is not default zone; When described record set returns value in the strategy (rr_Order) when " 1 " in this zone, the record that inquires is returned in expression randomly, and when this value during for " 0 ", represents that by weight rear cum rights being arranged in record returns the domain name mapping record randomly.
Table 2 region list
And it is as shown in table 3, then record the information such as domain name sequence number (Domain_ID), domain name (Domain_Name), domain name state (Status) and remarks (Memo) in the domain name table (Domain Table), wherein, in a better embodiment of the present invention, when being " 1 ", domain name state (Status) represents that the state of this domain name is normal, and when domain name state (Status) is " 0 ", represent that then domain name can't normally use.
Figure BDA00002026477400052
Table 3 domain name table
This shows, described the whole network traffic scheduler has realized the self defined area of domain name is divided.As shown in Figure 4, domain name " a.com " has different regional partition strategies from " b.com ", thereby has realized managing flexibly flow scheduling.
Described database of record then records the domain name mapping record corresponding with each zone, comprising regional record table (Region_Record Table) is arranged, as shown in table 4, record sequence number (ID), record type (Record_Type), record content (Record_Content), life cycle (TTL), the information such as record weight (Record_Weight), regional sequence number (Region_ID) and remarks (Memo) in the described regional record table (Region_RecordTable).
Figure BDA00002026477400061
Table 4 regional record table
Further, as shown in Figure 5, the figure shows the whole network flow scheduling of the present invention system, described the whole network flow scheduling system comprises a plurality of the whole network traffic scheduler, each the whole network traffic scheduler is controlled by same control unit, and each domain name mapping database is wherein realized synchronously by the database of described control unit control, and described the whole network flow scheduling system can carry out extending transversely, jointly share query requests, thereby improve its availability.
Further, the present invention also provides a kind of method of using aforesaid the whole network traffic scheduler nslookup solution new record, described method comprises: after the inquiry beginning, database query module in described the whole network traffic scheduler is inquired about this IP address at the domain name mapping record of this domain name according to the IP address of the local domain name server of the domain name that receives and initiation domain name mapping request in domain name resolution data storehouse, and domain name solution new record returned to 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) processor of described database query module is inquired about this IP address corresponding area information under this domain name according to the IP address of the local domain name server that receives in described regional database;
(b) processor of described database query module is inquired about domain name at this regional domain name mapping record according to the area information that is inquired by step (a) again in described database of record, and the record that will inquire returns to the processor of described database query module, returns to further the protocol process module in described the whole network traffic scheduler again.
And in the specific implementation process of the method for the invention, each zone has analysis result and the parses policy (referring to " record set in this zone return strategy (rr_order) " in the table 3) of oneself, in a concrete execution mode of the present invention, when record set returns value in the strategy (rr_order) when " 1 " in this zone, the record that inquires is returned in expression randomly, at this moment, the database query module processor can select a record to return to protocol process module in described the whole network traffic scheduler from the record set that returns at random, and by described protocol process module domain name solution new record is processed; And when this value is " 0 ", expression is arranged rear cum rights by weight to record and is returned randomly the domain name mapping record, at this moment, the database query module processor can sort to the record set that returns according to the weighted value that is set in advance in the regional database, and the record that will come forward position returns to the protocol process module in described the whole network traffic scheduler, and by described protocol process module domain name solution new record processed.Thus, when adopt by weight record is arranged after the cum rights mode of returning randomly the domain name mapping record return the domain name mapping record, what the record that weighted value is higher so was returned may be larger; And when adopting the mode return at random the domain name mapping record to return the domain name mapping record, the probability that is returned of each record is identical so.
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 the domain name that receives and described local domain name server
Whether the received domain name of (a ') check is available, and the return results not if this domain name is unavailable if this domain name can be used, then continues execution in step (b ');
The IP section of (b ') inquiry local domain name server IP address, and judge whether described IP section exists, continue execution in step (c ') if described IP section exists, preserve IP address that if there is no then should the unknown, and continue execution in step (e ');
(c ') obtains the area information in this domain name of IP section place;
(d ') judges whether the area information that is obtained by step (c ') exists, and if there is no then continues execution in step (e '), if exist then execution in step (f ');
Whether (e ') inquiry domain name exists default zone information, and if there is no return results not then is if exist then execution in step (f ');
(f ') returns record in this zone by the strategy that returns that arranges in the area information.
And further, described step (c ') also comprises: (c ' .1) obtains the regional information at IP section place; (c ' .2) obtains by step (c ' .1) area information of resulting regional information in this domain name.
Moreover shown in Fig. 6,9, the method that the aforesaid the whole network traffic scheduler of use of the present invention is dynamically carried out domain name mapping comprises the steps:
(1) local domain name server 3 receives the domain name mapping request that comes from user 2;
(2) local domain name server 3 is transmitted to website name server 4 with the domain name mapping request that receives;
(3) domain name inputted of 4 couples of users 2 of described website name server is carried out rename, and the domain name that renames is returned to described local domain name server 3;
(4) described local domain name server 3 sends to described the whole network traffic scheduler 1 with the received domain name that renames, and asks described the whole network traffic scheduler 1 inquiry;
(5) described the whole network traffic scheduler 1 is used the method for nslookup solution new record as indicated above, IP address according to the domain name that receives and described local domain name server draws the domain name mapping record, and domain name solution new record is returned to described local domain name server 3;
(6) described local domain name server 3 sends to user 2 with the domain name mapping record that receives.
As shown in Figure 6, in a preferred embodiment of the present invention, the 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 that receives being transmitted to website name server (Authoritative DNS) after user's request; Described website name server carries out rename to the domain name that the user inputs, and the domain name img.test.gtm.com that renames 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 inquiry; Described the whole network traffic scheduler draws domain name mapping record 1.1.1.1 according to the IP address of the domain name img.test.gtm.com that receives and described local domain name server, and domain name solution new record is returned to described local domain name server; At last, described local domain name server sends to the user with the domain name mapping record 1.1.1.1 that receives, and the user directly accesses the corresponding data center 5 of 1.1.1.1.
Dynamically carry out in the specific implementation process of method of domain name mapping in the aforesaid the whole network traffic scheduler of use of the present invention, each zone has analysis result and the parses policy (referring to " record set in this zone return strategy (rr_order) " in the table 3) of oneself, in a concrete execution mode of the present invention, in this zone, return value in the strategy (rr_Order) when " 1 " when record set, the record that inquires is returned in expression randomly, at this moment, the database query module processor can select a record to return to protocol process module in described the whole network traffic scheduler from the record set that returns at random, and by described protocol process module domain name solution new record is processed, at last this domain name mapping record is returned to described local domain name server; And when this value is " 0 ", expression is arranged rear cum rights by weight to record and is returned randomly the domain name mapping record, at this moment, the database query module processor can sort to the record set that returns according to the weighted value that is set in advance in the regional database, and the record that will come forward position returns 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, at last this domain name mapping record is returned to described local domain name server.Thus, when adopt by weight record is arranged after the cum rights mode of returning randomly the domain name mapping record return the domain name mapping record, what the record that weighted value is higher so was returned may be larger; And when adopting the mode return at random the domain name mapping record to return the domain name mapping record, the probability that is returned of each record is identical so.
Hereinbefore in the described execution mode, configured altogether 3 zones in the domain name (img.test.gtm.com) of being carried out rename by described website name server, described Three regions (Region) is respectively default zone, western telecommunications zone and east telecommunications zone.Wherein in western telecommunications zone, configured again corresponding area, comprise Sichuan telecommunications, Yunnan telecommunications, Shaanxi telecommunications etc., and in this zone next two records (Record) that configured, being respectively the 1.1.1.1(weight is 100) and the 2.2.2.2(weight be 50), be 0 and the record set in the region list corresponding with this zone (Region Table) returns the numerical value of strategy (rr_Order), that is to say that the record set corresponding with this zone returns strategy and be " wrr ", namely cum rights randomized policy.
And for east telecommunications zone, there are Shanghai Telecom, Jiangsu Telecom etc. in the area that wherein configures, also dispose two records (Record) under this zone, be respectively 3.3.3.3 and 4.4.4.4, be 1 and the record set in the region list corresponding with this zone (Region Table) returns the numerical value of strategy (rr_Order), that is to say that the record set corresponding with this zone returns strategy and be " rr ", namely randomized policy.
Default zone disposes record 1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4, also be 1 and the record set in the region list corresponding with this zone (Region Table) returns the numerical value of strategy (rr_Order), that is to say that the record set corresponding with this zone returns strategy and be " rr ", namely randomized policy.
In above-mentioned specific embodiment, when some local domain name servers are inquired 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 access to it is 5.5.5.5, finding the area corresponding with the IP address 5.5.5.5 of described local domain name server in described IP_Location table is telecommunications area, Sichuan (Sichuan telecommunications Location), and then in region list (Region Table), find 3 zones that in domain name img.test.gtm.com, configure, determine in area _ region list (Location_Region Table) more subsequently telecommunications area, described Sichuan (Sichuan telecommunications Location) is divided in which zone in above-mentioned 3 zones.In the present embodiment, Sichuan telecommunications area (Sichuan telecommunications Location) is divided in the western telecommunications zone (western telecommunications Location) particularly.At last, in the regional record table, obtain the record corresponding with described western telecommunications zone (western telecommunications Location).In the present embodiment, corresponding with described western telecommunications zone (western telecommunications Location) records two, and being respectively the 1.1.1.1(weight is 100) and the 2.2.2.2(weight be 50).
Above-mentioned two records are returned to described database query module processor, because above-mentioned record set that should the zone returns strategy (rr_Order) and is the cum rights randomized policy, the solution new record is arranged and returned to described processor after arrangement according to the weight size.In the present embodiment, described two weight ratios of separating new records are 2:1, separate new record 1.1.1.1 and might be in 3 inquiries return for twice, separate new record 2.2.2.2 and only once return.This shows that the probability that the larger solution new record of weight is returned is higher; On the other hand, the number of times of inquiry is more, returns the comparison of each number of times of separating new record close to the ratio of weighted value between the described solution new record.
Further, in another embodiment of the present invention, described local domain name server stores the domain name mapping record that receives in its buffer zone into, within a life cycle of domain name solution new record, as same user again to as described in local domain name server when sending analysis request with regard to same domain name, described local domain name server directly sends to this user with the record of the domain name mapping in the buffer zone, wherein, be to be recorded in the database of record of described the whole network traffic scheduler described life cycle, and together return to described local domain name server with the domain name mapping record in described step (5).In a preferred embodiment of the present invention, be 60 seconds described life cycle.
Preferably, be 1 minute the life cycle of described name analysis record.As shown in Figure 6, receive the user within 1 minute behind the domain name mapping record 1.1.1.1 that is sent by described local domain name server, if this user sends analysis request to described local domain name server with regard to domain name img.test.com again, this moment, local domain name server was no longer resolved this domain name, but the domain name mapping record 1.1.1.1 that directly will be stored in the buffer zone directly sends to the user; And if this user sent analysis request to described local domain name server with regard to domain name img.test.com after 1 minute, this moment, 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 has mainly realized with the lookup function of face and get function, wherein, the lookup function has been realized the query function of described database query module, and described get function has realized that then the Query Result with the lookup of institute function returns to the described protocol process module of the whole network traffic scheduler.
Figure BDA00002026477400101
Figure BDA00002026477400111
Although described the present invention by embodiment, those of ordinary skills know, without departing from the spirit and substance in the present invention, just can make the present invention that many distortion and variation are arranged, 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, and described protocol process module is for the treatment of the related content of domain name mapping agreement; Described database query module comprises processor and domain name mapping database, be used for by processor the domain name mapping database being inquired about, and Query Result returned to described protocol process module, domain name resolution data storehouse comprises regional database and database of record, wherein, record each IP address area information under different domain names in the described regional database, described database of record records each regional domain name mapping record, described processor is inquired about this IP address corresponding area information under this domain name according to IP address and domain-name information in described regional database, from described database of record, search with it corresponding domain name mapping record according to resulting area information again, at last the result who finds is returned to described protocol process module.
2. the whole network traffic scheduler as claimed in claim 1 is characterized in that, described the whole network traffic scheduler also comprises control unit, is used for management domain name resolution data storehouse.
3. the whole network flow scheduling system, it is characterized in that, comprise a plurality of the whole network traffic scheduler as claimed in claim 1, described a plurality of 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 realized synchronously by the database of described control unit.
4. the method for the described the whole network traffic scheduler of each claim nslookup solution new record among a use such as the claim 1-2, it is characterized in that, described method comprises: after the inquiry beginning, database query module in described the whole network traffic scheduler is inquired about this IP address at the domain name mapping record of this domain name according to the IP address of the local domain name server of the domain name that receives and initiation domain name mapping request in domain name resolution data storehouse, and domain name solution new record returned to protocol process module in described the whole network traffic scheduler, and by described protocol process module domain name solution new record is processed.
5. the method for use the whole network traffic scheduler nslookup solution new record as claimed in claim 4 is characterized in that, the method comprises the steps: further
(a) processor of described database query module is inquired about this IP address corresponding area information under this domain name according to the IP address of the local domain name server that receives in described regional database;
(b) processor of described database query module is inquired about domain name at this regional domain name mapping record according to the area information that is inquired by step (a) again in described database of record, and the record that will inquire returns to the processor of described database query module, returns to further the protocol process module in described the whole network traffic scheduler again.
6. the method for use the whole network traffic scheduler nslookup solution new record as claimed in claim 5, it is characterized in that, comprise the steps: further in the described step (b) to resolve the strategy that returns be recorded in the described zone according to domain name, return randomly the domain name mapping record after record being arranged randomly or by weight.
7. the method for use the whole network traffic scheduler nslookup solution new record as claimed in claim 4 is characterized in that, the method comprises the steps: particularly
Whether the received domain name of (a ') check is available, and the return results not if this domain name is unavailable if this domain name can be used, then continues execution in step (b ');
The IP section of (b ') inquiry local domain name server IP address, and judge whether described IP section exists, continue execution in step (c ') if described IP section exists, preserve IP address that if there is no then should the unknown, and continue execution in step (e ');
(c ') obtains the area information in this domain name of IP section place;
(d ') judges whether the area information that is obtained by step (c ') exists, and if there is no then continues execution in step (e '), if exist then execution in step (f ');
Whether (e ') inquiry domain name exists default zone information, and if there is no return results not then is if exist then execution in step (f ');
(f ') returns domain name mapping record in this zone by the strategy that returns that arranges in the area information.
8. use the whole network traffic scheduler as claimed in claim 7 method of dynamically carrying out domain name mapping is characterized in that, comprises the steps: further in the described step (c ')
(c ' .1) obtains the regional information at IP section place;
(c ' .2) obtains by step (c ' .1) area information of resulting regional information in this domain name.
9. the method that the described the whole network traffic scheduler of each claim is carried out domain name mapping among a use such as the claim 1-2 is characterized in that described method comprises the steps:
(1) local domain name server receives the domain name mapping request that comes from the user;
(2) local domain name server is transmitted to the website name server with the domain name mapping request that receives;
(3) described website name server carries out rename to the domain name that the user inputs, and the domain name that renames is returned to described local domain name server;
(4) described local domain name server sends to described the whole network traffic scheduler with the received domain name that renames, and asks described the whole network traffic scheduler inquiry;
(5) described the whole network traffic scheduler is used the method such as the described nslookup solution of each claim new record among the claim 4-8, IP address according to the domain name that receives and described local domain name server draws the domain name mapping record, and domain name solution new record is returned to described local domain name server;
(6) described local domain name server sends to the user with the domain name mapping record that receives.
10. use the whole network traffic scheduler as claimed in claim 9 method of carrying out domain name mapping is characterized in that, described method also comprises the steps: further
(7) local domain name server stores the domain name mapping record that receives in its buffer zone into, within a life cycle of domain name solution new record, as same user again to as described in local domain name server when sending the domain name mapping request with regard to same domain name, described local domain name server directly sends to this user with the record of the domain name mapping in the buffer zone, wherein, be to be recorded in the database of record of described the whole network traffic scheduler described life cycle, and together return to described local domain name server with the domain name mapping record in described step (5).
CN201210295882.XA 2012-08-17 2012-08-17 Total network flow scheduler and method for querying domain name resolution record by using total network flow scheduler Active CN102868550B (en)

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 true CN102868550A (en) 2013-01-09
CN102868550B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119841A (en) * 2015-09-06 2015-12-02 互联网域名系统北京市工程研究中心有限公司 Proportional load scheduling method for types of domain name resolution results
CN105872079A (en) * 2016-05-12 2016-08-17 北京网瑞达科技有限公司 Chain balancing method based on domain name system (DNS)
CN106534390A (en) * 2017-01-24 2017-03-22 网宿科技股份有限公司 Method and system for storing and managing data of authoritative domain name system server
CN108075909A (en) * 2016-11-11 2018-05-25 阿里巴巴集团控股有限公司 A kind of method for predicting and device
CN108600146A (en) * 2017-12-29 2018-09-28 北京搜狐新媒体信息技术有限公司 A kind of address dispatching method and device
CN109936463A (en) * 2017-12-15 2019-06-25 创盛视联数码科技(北京)有限公司 Traffic scheduling method based on PowerDNS system
CN112437170A (en) * 2020-11-26 2021-03-02 新华三大数据技术有限公司 Domain name information processing method and device, computer equipment and computer storage medium
CN113660359A (en) * 2021-08-25 2021-11-16 北京搜房科技发展有限公司 Management method and device for domain name resolution record, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070118668A1 (en) * 2005-11-21 2007-05-24 Limelight Networks, Inc. Domain Name Resolution Resource Allocation
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 北京云快线软件服务有限公司 Intelligent dispatching method, device and system of content delivery network flow

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070118668A1 (en) * 2005-11-21 2007-05-24 Limelight Networks, Inc. Domain Name Resolution Resource Allocation
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 北京云快线软件服务有限公司 Intelligent dispatching method, device and system of content delivery network flow

Cited By (15)

* Cited by examiner, † Cited by third party
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
CN105119841A (en) * 2015-09-06 2015-12-02 互联网域名系统北京市工程研究中心有限公司 Proportional load scheduling method for types of domain name resolution results
CN105872079B (en) * 2016-05-12 2019-01-29 北京网瑞达科技有限公司 A kind of link equalization method based on domain name system DNS
CN105872079A (en) * 2016-05-12 2016-08-17 北京网瑞达科技有限公司 Chain balancing method based on domain name system (DNS)
CN108075909A (en) * 2016-11-11 2018-05-25 阿里巴巴集团控股有限公司 A kind of method for predicting and device
CN108075909B (en) * 2016-11-11 2020-12-18 阿里巴巴集团控股有限公司 Flow prediction method and device
CN106534390A (en) * 2017-01-24 2017-03-22 网宿科技股份有限公司 Method and system for storing and managing data of authoritative domain name system server
CN106534390B (en) * 2017-01-24 2019-10-25 网宿科技股份有限公司 The storage and management method and system of authoritative domain name system server data
CN109936463A (en) * 2017-12-15 2019-06-25 创盛视联数码科技(北京)有限公司 Traffic scheduling method based on PowerDNS 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
CN112437170A (en) * 2020-11-26 2021-03-02 新华三大数据技术有限公司 Domain name information processing method and device, computer equipment and computer storage medium
CN112437170B (en) * 2020-11-26 2022-06-28 新华三大数据技术有限公司 Domain name information processing method and device, computer equipment and computer storage medium
CN113660359A (en) * 2021-08-25 2021-11-16 北京搜房科技发展有限公司 Management method and device for domain name resolution record, storage medium and electronic equipment
CN113660359B (en) * 2021-08-25 2024-01-19 北京搜房科技发展有限公司 Domain name resolution record management method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN102868550B (en) 2015-05-20

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
CN108886525B (en) Intelligent domain name system forwarding method and device
US20190081922A1 (en) Method and system for increasing speed of domain name system resolution within a computing device
US9246874B2 (en) Virtual domain name system
US7548945B2 (en) System, network device, method, and computer program product for active load balancing using clustered nodes as authoritative domain name servers
US8966121B2 (en) Client-side management of domain name information
CN110928709B (en) Service calling method and device under micro-service framework and server
CN103905572B (en) The processing method and processing device of domain name mapping request
CN112039942A (en) Subscription and publishing method and server
CN101378324B (en) Method, apparatus and system for processing, replacing combined business and invoking concrete business
CN102647482A (en) Method and system for accessing website
JP2012038152A (en) Connection management system and connection management server cooperation method in thin client system
JP2002169694A (en) Method and system for automatic allocation of boot server to pxe client on network via dhcp server
CN103501358B (en) A kind of domain name trustship management method and device
US20230128125A1 (en) Systems and methods for processing requests for content of a content distribution network
CN108989430B (en) Load balancing method, device and storage medium
CN113645304B (en) Data service processing method and related equipment
CA3065118A1 (en) Distributed searching and index updating method and system, servers, and computer devices
US20230022183A1 (en) Systems and methods for processing requests for content of a content distribution network
CN111885216B (en) DNS query method, device, equipment and storage medium
WO2015039475A1 (en) Method, server, and system for domain name resolution
CN108737591B (en) Service configuration method and device
KR20090022341A (en) Ubiquitous web service gateway and method
US8972604B1 (en) Network address retention and assignment
CN115242882A (en) Method and device for accessing k8s container environment based on transport layer route

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.