CN103905574B - A kind of DNS Operational Visits method, DNS data synchronous method and equipment - Google Patents

A kind of DNS Operational Visits method, DNS data synchronous method and equipment Download PDF

Info

Publication number
CN103905574B
CN103905574B CN201210581886.4A CN201210581886A CN103905574B CN 103905574 B CN103905574 B CN 103905574B CN 201210581886 A CN201210581886 A CN 201210581886A CN 103905574 B CN103905574 B CN 103905574B
Authority
CN
China
Prior art keywords
domain name
content management
request
name mapping
management server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210581886.4A
Other languages
Chinese (zh)
Other versions
CN103905574A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210581886.4A priority Critical patent/CN103905574B/en
Publication of CN103905574A publication Critical patent/CN103905574A/en
Application granted granted Critical
Publication of CN103905574B publication Critical patent/CN103905574B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a kind of DNS data synchronous method, DNS Operational Visit method and apparatus, and domain name mapping DNS Operational Visit methods include:Dns server is received after the domain name mapping request of client device transmission, if not inquiring corresponding domain name mapping rule from local cache, judges that the domain name of institute's request analysis whether there is in home domain name list;If the dns server judges that the domain name of institute's request analysis is present in home domain name list, domain name analysis request is sent to content management server;The dns server is received after the domain name mapping result that the content management server is returned, and domain name analysis result is returned into the client device.

Description

A kind of DNS Operational Visits method, DNS data synchronous method and equipment
Technical field
The present invention relates to technical field of communication network, more particularly to a kind of DNS Operational Visits method, DNS data synchronization side Method and equipment.
Background technology
As network technology is continued to develop, data service constantly increases, and increasing operator is by introducing content pipe Server is managed, DNS (Domain Name System, domain name system) domain name mapping result is managed, and then is realized to mutual The control of networking flow.Content management server can be according to content supplier(Content Provider, CP)The domain of offer Name resolution rules, interior each DNS system journals are netted to this operator and carry out data mining, it is focus domain in net to judge which domain name Name, by going out net iterative resolution, or and Cache(Caching)System is interacted, and ultimately generates focus domain name in this operator net Domain name mapping rule.Generally, Content Management Platform passes through XML(Extensible Markup Language, extensible markup Language)Interface translates domain names into rule and is issued to each DNS equipment, and each dns server reads XML file, and changes into local Domain name mapping rule, so as to realize that dns server is parsed according to the domain name mapping rule of content management server.
However, there are the following problems for existing scheme:CP can adjust domain name resolution rules at any time, be not introduced into Content Management In the case of server, dns server periodically inquires about CP dns servers according to TTL, to obtain newest domain name mapping rule, And this no function of XML interface, therefore, dns server need to monitor domain name mapping rule in real time, dns server is consumed Resource.
Therefore, need a kind of DNS Operational Visits scheme badly and DNS data synchronization scenario occurs, to solve above-mentioned technology Problem.
The content of the invention
The embodiments of the invention provide a kind of DNS Operational Visits method and apparatus, to avoid the resource of dns server from disappearing Consumption, shares the pressure of dns server.
To achieve these goals, the embodiment of the present invention uses following technological means:
The embodiment of the present invention provides a kind of DNS Operational Visits method, and methods described includes:
Dns server is received after the domain name mapping request of client device transmission, if not inquired from local cache Corresponding domain name mapping rule, then judge that the domain name of institute's request analysis whether there is in home domain name list;
If the dns server judges that the domain name of institute's request analysis is present in home domain name list, to Content Management Server sends domain name analysis request;
The dns server is received after the domain name mapping result that the content management server is returned, by domain name Analysis result returns to the client device.
The embodiment of the present invention also provides a kind of dns server, including:
Domain name mapping request processing module, for after the domain name mapping request of client device transmission is received, passing through First enquiry module inquires about corresponding domain name mapping rule from local cache, if not inquiring corresponding domain name mapping rule, The domain name for then inquiring about institute's request analysis by the second enquiry module whether there is in home domain name list, if being present in local domain In list of file names, then domain name analysis request is sent to content management server;And, returned receiving the content management server After the domain name mapping result returned, domain name analysis result is returned into the client device;
First enquiry module, is same as inquiring about the domain name mapping rule of institute's request analysis domain name from local cache;
Second enquiry module, the domain name for inquiring about institute's request analysis from home domain name list.
The embodiment of the present invention also provides a kind of content management server, including:
Receiving module, the domain name mapping request for receiving dns server transmission;Wherein, domain name analysis request is The dns server does not inquire corresponding domain name mapping rule from local cache, and judges that the domain name of institute's request analysis is deposited Sent after being in home domain name list;
Domain name mapping module, for carrying out domain name mapping according to domain name analysis request;
Sending module, for the domain name mapping result of domain name parsing module to be returned into the dns server.
Compared with prior art, the above embodiment of the present invention has following advantageous effects:
DNS Operational Visits scheme provided in an embodiment of the present invention, by configuring domain name list on a dns, is sentencing Break institute's request analysis domain name be present in home domain name list after, to content management server send domain name mapping please Ask, dns resolution is carried out by content management server, the embodiment of the present invention adds DNS domain name solution on content management server The function of analysis, will transfer to content management server to handle the domain name mapping of the domain name in domain name list request, it is to avoid content Domain name mapping rule in management server can not be handed down to what domain name mapping success rate caused by dns server was reduced in time Problem, dns server saves the resource consumption of dns server without real-time monitoring domain name mapping rule.
The embodiments of the invention provide a kind of DNS data synchronous method and equipment, to realize dns server domain name mapping Rule is real-time, automatically update, and improves the success rate of DNS name resolution.
To achieve these goals, the embodiment of the present invention uses following technological means:
The embodiment of the present invention also provides a kind of DNS data synchronous method, and methods described includes:
Dns server sends domain name resolution rules serial number request to content management server;
Content management server is returned according to domain name resolution rules serial number request to the content management server The sequence number of domain name mapping rule;
The dns server is less than the content management service in the sequence number for the domain name mapping rule for judging book server During the domain name mapping regular sequence row number that device is returned, send domain name resolution rules to the content management server and update request;
The content management server sends domain name resolution rules according to the dns server and updates request, to the DNS Server returns to domain name resolution rules;
The local domain name mapping rule of domain name mapping Policy Updates that the dns server is returned according to the dns server Then.
The embodiment of the present invention also provides a kind of content management server, including:
Domain name mapping regular sequence row number request processing module, for receiving the domain that its administrative dns server is sent After name resolution rules serial number request, the sequence number of the domain name mapping rule on book server is sent to the dns server;
Domain name mapping Policy Updates request processing module, for receiving the domain name mapping that the dns server is sent After Policy Updates request, the domain name mapping rule on book server is returned into the dns server;Wherein, domain name solution It is the dns server to analyse Policy Updates request, and the sequence number of the domain name mapping rule on book server is judged is less than described Sent after the sequence number of domain name mapping rule on content management server.
The embodiment of the present invention also provides a kind of dns server, including:
Domain name mapping regular sequence row number request module, for sending domain name resolution rules sequence number to content management server After request, the sequence number for the domain name mapping rule that the content management server is returned is received;
Domain name mapping Policy Updates request module, for being less than in the sequence number for the domain name mapping rule for judging book server During the domain name mapping regular sequence row number that the content management server is returned, domain name mapping is sent to the content management server Policy Updates are asked, and receive the domain name mapping rule that the content management server is returned;
Domain name mapping Policy Updates module, for according to the local domain name mapping rule of the domain name mapping Policy Updates received Then.
Compared with prior art, the above embodiment of the present invention has following advantageous effects:
DNS data synchronization scenario provided in an embodiment of the present invention, domain is obtained by dns server to content management server Name resolution rules sequence number, and compared with the domain name mapping regular sequence row number of this equipment, judging to need to update domain name mapping When regular, the domain name mapping rule on content management server is obtained at content management server;Once CP is managed it DNS data is adjusted, and newest DNS data can be synchronized to dns server by content management server automatically, in time, Domain name mapping success rate is improved, dns server monitors domain name mapping rule without real-time, saves the money of dns server Source.
Brief description of the drawings
Fig. 1 is the system architecture schematic diagram of the embodiment of the present invention;
Fig. 2 is the synchronous schematic flow sheet of DNS data provided in an embodiment of the present invention;
Fig. 3 is one of DNS Operational Visits schematic flow sheet provided in an embodiment of the present invention;
Fig. 4 is one of content management server structural representation provided in an embodiment of the present invention;
Fig. 5 is one of structural representation of dns server provided in an embodiment of the present invention;
Fig. 6 is the two of DNS Operational Visits schematic flow sheet provided in an embodiment of the present invention;
Fig. 7 is the two of dns server structural representation provided in an embodiment of the present invention;
Fig. 8 is the two of content management server structural representation provided in an embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of DNS data synchronization scenario, to realize that dns server domain name mapping rule is real When, automatically update, improve DNS name resolution success rate.The embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Fig. 1 shows the system architecture that the embodiment of the present invention is applicable, including:CP dns servers 10, Content Management clothes Business device 20 and dns server 30.CP dns servers 10 are used for the domain name mapping rule for storing and managing each website of CP;Content Management server 20 is used for the domain name mapping rule for generating focus domain name in this operator net;Dns server 30 is used for for using The domain name mapping request that family is initiated, carries out domain name mapping processing.Signified DNS data is domain name mapping in the embodiment of the present invention Rule.
The embodiments of the invention provide a kind of synchronous flow of DNS data, the domain name mapping regular and synchronized of renewal to be arrived In dns server, wherein, AXFR can be utilized between content management server and dns server(Full zone Transfer, all area transmissions)Pattern or IXFR(Incremental zonetransfer, incremental area transmission)Pattern is entered The transmission of row domain name mapping rule.Below in conjunction with Fig. 2, the synchronous flow of DNS data is described in detail, as illustrated, the flow includes Following steps:
Step 201, content management server sends to dns server and notified(notify)Message.
Specifically, when the domain name mapping rule on content management server updates, content management server is to DNS Server sends notify message, to notify dns server to start domain name mapping regular and synchronized flow.
For example, system journal of the content management server to dns server carries out data mining, judge and obtain this operation Focus domain name in business's network, by going out net iterative resolution, or with caching(Cache)System is interacted, and generates this operator Focus domain name mapping rule in network, and update local focus domain name mapping rule.
Step 202, dns server is received after notify message, and domain name resolution rules are sent to content management server Serial number request message.
Step 203, content management server is received after the domain name mapping regular sequence row number request message, to dns server Resolution rules serial number request response message is returned to, wherein carrying content management server domain name mapping regular sequence row number.
Step 204, dns server judges whether the domain name mapping regular sequence row number in this equipment is less than content management service Domain name mapping regular sequence row number on device, if so, then performing step 205;Otherwise, flow is terminated.
Specifically, dns server analytically gets domain name mapping sequence of rules in regular sequence row number request response After number, if judging the domain name mapping sequence of rules that domain name mapping regular sequence row number in this equipment is less than on content management server Number, illustrate that the domain name mapping rule in this equipment is not latest edition, then perform step 205;Otherwise, the domain in this equipment is illustrated Name resolution rules have been latest edition, without synchronous and renewal, can terminate flow.
Step 205, dns server sends the renewal of domain name resolution rules to content management server and asked, i.e. DNS service Device sends domain name resolution rules to content management server and updates request message.
Step 206, the domain name mapping rule in this equipment is returned to dns server by content management server.
Specifically, content management server is received after the domain name mapping Policy Updates request message of dns server transmission, Domain name resolution rules are returned to dns server and update response message, wherein carrying the domain name mapping rule in this equipment.
Content management server can be by the whole domain name mappings stored in this equipment rule(Including the domain name solution not updated Analysis rule and the domain name mapping rule updated)It is sent to dns server.For example, content management server will by AXFR patterns Whole domain name mapping rules are sent to dns server.
It is preferred that, in order to save Internet resources, and save the resource consumption of content management server and dns server, The domain name mapping rule updated only can also be sent to DNS clothes by content management server according to the request of dns server Business device.For example, dns server can translate domain names into the sequence number of rule less than the domain name solution on the content management server The sequence number of analysis rule is carried in the request of domain name mapping Policy Updates, and content management server is regular more according to the domain name mapping Sequence number in new request, corresponding domain name mapping rule is returned to dns server.It is preferred that, content management server passes through The domain name mapping rule of renewal is sent to dns server by IXFR patterns.
It is preferred that, dns server is after the domain name mapping regular and synchronized for receiving content management server transmission is notified, if not Receive the domain name mapping regular and synchronized notice of content management server transmission again in setting duration, then can be to content pipe Manage server and send domain name resolution rules serial number request.
For example, timer can be set on a dns, dns server receives content management server transmission After domain name mapping Policy Updates response message, start timer, dns server is receiving content management server transmission After notify message, the timer is deleted.If timer expiry, illustrate that dns server fails in timer timing duration The notify message of content management server transmission is received, in this case, dns server is actively to content management service Device sends domain name resolution rules serial number request message, to ensure that dns server can be obtained in content management server in time Newest domain name mapping rule.The duration of timer can be regular to domain name mapping more according to equipment performance and application scenarios New demand is different and sets.
Need to point out, in above-mentioned flow, step 201 can also be saved, by dns server according to the setting cycle Domain name resolution rules serial number request is sent to content management server.
Content management server can be seen that by obtaining domain name to dns server by the synchronous flow of above-mentioned DNS data Resolution rules sequence number, and compared with the domain name mapping regular sequence row number of this equipment, judging to need to update domain name mapping rule When then, the domain name mapping rule on content management server is obtained at content management server;Once the DNS that CP is managed it Data are adjusted, and newest DNS data can be synchronized to dns server by content management server automatically, in time, are improved Domain name mapping success rate, dns server monitors domain name mapping rule without real-time, saves the resource of dns server.
The embodiment of the present invention also provides a kind of DNS Operational Visit methods realized based on above-mentioned DNS data synchronous method, with Lower combination Fig. 3, describes DNS Operational Visit flows in detail, as illustrated, the flow comprises the following steps:
Step 301, dns server receives the domain name mapping request that client device is sent.
Step 302, dns server judges corresponding domain name mapping rule whether is inquired in local cache, if inquiring, Then perform step 303;Otherwise, step 304 is performed.
Step 303, dns server is regular by the domain name mapping inquired(Analysis result)Return to client device.
Step 304, dns server initiates domain name analysis request to CP dns servers.
Specifically, when dns server does not inquire corresponding domain name mapping rule in local cache, then being taken to CP DNS Business device sends domain name analysis request, to ask CP dns servers to carry out domain name mapping.
Step 305, CP dns servers carry out DNS name resolution, and analysis result is returned into dns server.
Step 306, analysis result is returned to client device by dns server.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of content management server, as shown in figure 4, The content management server includes:
Domain name mapping regular sequence row number request processing module 41, for receiving what its administrative dns server was sent After the request of domain name mapping regular sequence row number, the sequence number of the domain name mapping rule on book server is sent to the DNS service Device.
Domain name mapping Policy Updates request processing module 42, for receiving the domain name solution that the dns server is sent Analyse after Policy Updates request, the domain name mapping rule on book server is returned into the dns server;Wherein, domain name It is the dns server that resolution rules, which update request, and the sequence number of the domain name mapping rule on book server is judged is less than institute Sent after the sequence number for stating the rule of the domain name mapping on content management server.
Content management server also includes domain name mapping regular and synchronized notification module 43, for being taken to its administrative each DNS Business device sends domain name resolution rules synchronization notice, and domain name resolution rules synchronization notice is the domain name mapping rule on book server Sent after then updating.
Wherein, the request of domain name mapping regular sequence row number is that dns server is receiving the content management server transmission Synchronization notice after send.
Domain name mapping Policy Updates request processing module 42 is specifically for by whole domain name mappings rule on book server Return to the dns server;Or, the domain name solution that the dns server is asked to update by the content management server Analysis rule returns to the dns server, wherein, the dns server asks the sequence number of the domain name mapping rule updated Less than the sequence number of the corresponding domain name resolution rules on the content management server.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of dns server, as shown in figure 5, the DNS Server includes:
Domain name mapping regular sequence row number request module 51, for sending domain name resolution rules sequence to content management server After number request, the sequence number for the domain name mapping rule that the content management server is returned is received.
Domain name mapping Policy Updates request module 52 is small for the sequence number in the domain name mapping rule for judging book server When the domain name mapping regular sequence row number that the content management server is returned, domain name solution is sent to the content management server Policy Updates request is analysed, and receives the domain name mapping rule that the content management server is returned.
Domain name mapping Policy Updates module 53, for according to the local domain name mapping of the domain name mapping Policy Updates received Rule.
Dns server also includes domain name mapping regular and synchronized notification handler module 54, for receiving the Content Management clothes The domain name mapping regular and synchronized that business device is sent is notified;Wherein, domain name resolution rules synchronization notice is the Content Management clothes It is engaged in what is sent after domain name mapping rule of the device on book server updates.
It is preferred that, domain name mapping regular sequence row number request module 51 is specific in receiving the content management server After the domain name mapping regular and synchronized of transmission is notified, domain name resolution rules serial number request is sent to content management server.
Domain name mapping regular sequence row number request module 51 is additionally operable to, and is receiving the domain name that the content management server is sent After resolution rules synchronization notice, if not receiving the domain name mapping that the content management server is sent again in setting duration Regular and synchronized is notified, then sends domain name resolution rules serial number request to content management server.
Domain name mapping regular sequence row number request module 51 according to the setting cycle to content management server specifically for sending Domain name mapping regular sequence row number is asked.
Domain name mapping Policy Updates request module 52 to the content management server specifically for sending domain name mapping rule Request is then updated, wherein the sequence number for the domain name mapping rule that request updates is carried, the domain name mapping rule that the request updates Sequence number then is less than the sequence number of the domain name mapping rule on the content management server;Or, for the content Management server sends domain name resolution rules and updates request, to ask the content management server to return to the content management service Whole domain name mappings rule on device.
In an alternative embodiment of the invention, content management server passes through forwarding with dns server(forward)Interface is mutual Connection, the forward interfaces are existing DNS standard interfaces.Be configured with domain name list on a dns, the domain name list by Human configuration, the domain name included in domain name list is the domain name for needing to be carried out DNS name resolution by content management server.Due to Content management server is the equipment in carrier network, by setting domain name list, can intercept website domain name to this fortune Seek in business's network, DNS access services are handled by content management server, so that user can access resource in net nearby, realize Management and control to DNS name resolution result.
Below in conjunction with the network architecture and Fig. 6 shown in Fig. 1, DNS Operational Visit flows are described in detail, as illustrated, the stream Journey comprises the following steps:
Step 601, dns server receives the domain name mapping request that client device is sent.
Step 602, dns server inquiry local cache, if inquiring corresponding domain name mapping rule from local cache, Then perform step 603;Otherwise, step 604 is performed.
If specifically, dns server inquires corresponding domain name mapping rule in local cache, illustrating DNS service Device once carried out domain name mapping processing to the domain-name information, and result is still stored in caching, performs step 603;If Record corresponding with the domain-name information is not inquired, then illustrates that dns server was not carried out at domain name mapping to the domain-name information Reason, performs step 604.
Step 603, the analysis result inquired is returned to client device by dns server.
Step 604, dns server judges that the domain name of institute's request analysis whether there is in home domain name list, if not depositing It is in home domain name list, then performs step 605;Otherwise, step 607 is performed.
Step 605-606, dns server sends domain name analysis request to CP dns servers, in domain name mapping request The domain-name information is carried, and after the analysis result of CP dns servers return is received, performs step 609.
Specifically, when dns server finds the domain name not among domain name list, then to CP dns server sending domain Name analysis request.The domain-name information that CP dns servers are carried in being asked according to domain name mapping, carries out after domain name mapping, will parse As a result dns server is returned to.
Dns server is received after the analysis result of CP dns servers return, performs step 509.
Step 607, dns server sends domain name analysis request to content management server, with request content management service Device carries out domain name mapping to the domain name.
Specifically, when dns server is present in home domain name list in the domain name for judging request analysis, domain name is believed Breath is carried in domain name mapping request, is sent to content management server, and domain name mapping is carried out with request content management server.
Step 608, content management server is asked according to domain name mapping, carries out domain name mapping, and analysis result is returned To dns server.
Specifically, after content management server is using the domain name mapping request of forward interfaces, to what is wherein carried Domain-name information carries out domain name mapping, wherein, the implementation process of domain name mapping is same as the prior art, will not be repeated here.
Step 609, analysis result is returned to client device by dns server.
Specifically, the domain name mapping result either obtained by CP dns servers, or pass through content management service The domain name mapping result that device is obtained, can return to dns server, and dns server, will after domain name mapping result is received The analysis result returns to client device.
Further, in step 608, if content management server fails to obtain the analysis result of the domain name, to CP Dns server sends domain name analysis request, to ask CP dns servers to carry out domain name mapping.
It should be noted that if content management server performance is powerful enough, dns server also on can not configure domain List of file names, when dns server receives the DNS Operational Visits request of client device transmission, and is not inquired about in local cache During to corresponding domain name mapping rule, dns server directly sends domain name analysis request to content management server.
It is can be seen that by above flow by configuring domain name list on a dns, the request analysis judging Domain name be present in home domain name list after, to content management server send domain name analysis request, taken by Content Management Business device carries out dns resolution, and the embodiment of the present invention adds the function of DNS name resolution on content management server, not light energy Enough share the processing pressure of dns server, and avoid the domain name mapping rule on content management server can not and at present The problem of domain name mapping success rate caused by dns server is reduced is issued, dns server is without real-time monitoring domain name mapping Rule, saves the resource consumption of dns server;In addition, content management server uses the DNS interface and DNS service of standard Device is interconnected, and relative to traditional XML interface, the software and hardware of existing network equipment are cost-effective without transformation, and improve performance Stability.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of dns server, as shown in fig. 7, the DNS Server includes:
Domain name mapping request processing module 71, for after the domain name mapping request of client device transmission is received, leading to Cross the first enquiry module 72 and corresponding domain name mapping rule is inquired about from local cache, if not inquiring corresponding domain name mapping rule Then, then the domain name for inquiring about institute's request analysis by the second enquiry module 73 whether there is in home domain name list, if being present in In home domain name list, then domain name analysis request is sent to content management server;And, receiving the Content Management clothes It is engaged in after the domain name mapping result of device return, domain name analysis result is returned into the client device.
First enquiry module 72, is same as inquiring about the domain name mapping rule of the domain name of institute's request analysis from local cache;
Second enquiry module 73, the domain name for inquiring about institute's request analysis from home domain name list.
Domain name mapping request processing module 71 is additionally operable to, and judging, the domain name of request analysis is not ranked in the local domain When in table, domain name analysis request is sent to content supplier's CP dns servers, and return receiving the CP dns servers After the domain name mapping result returned, domain name analysis result is returned into the client device.
Domain name mapping request processing module 71 by the second enquiry module 71 specifically for inquiring institute's request analysis When domain name is present in home domain name list, domain name analysis request is sent to content management server using forwarding interface;And, After the domain name mapping result that the content management server is returned is received using forwarding interface, by domain name analysis result Return to the client device;Wherein, the forwarding interface is DNS standard interfaces.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of content management server, as shown in figure 8, The content management server includes:
Receiving module 81, the domain name mapping request for receiving dns server transmission;Wherein, domain name analysis request It is that the dns server does not inquire corresponding domain name mapping rule from local cache, and judges the domain name of institute's request analysis Sent after being present in home domain name list.
Domain name mapping module 82, for carrying out domain name mapping according to domain name analysis request.
Sending module 83, for the domain name mapping result of domain name parsing module to be returned into the dns server.
Receiving module 81 using forwarding interface specifically for receiving the domain name mapping request that dns server is sent;Send mould Block 83 is specifically for translating domain names into the domain name mapping result of the acquisition of module 82, the DNS service being returned to using forwarding interface Device;Wherein, the forwarding interface is DNS standard interfaces.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases, the former is more Good embodiment.Understood based on such, what technical scheme substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including Dry instruction is to cause a station terminal equipment(Can be mobile phone, personal computer, server, or network equipment etc.)Perform sheet Invent the method described in each embodiment.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (16)

1. a kind of domain name mapping DNS Operational Visit methods, it is characterised in that including:
Dns server is received after the domain name mapping request of client device transmission, if not inquired from local cache corresponding Domain name mapping rule, then judge the domain name of institute's request analysis with the presence or absence of in home domain name list;
If the dns server judges that the domain name of institute's request analysis is present in home domain name list, to content management service Device sends domain name analysis request;
The dns server is received after the domain name mapping result that the content management server is returned, and domain name is parsed As a result the client device is returned to;
Wherein, the update method of the domain name mapping rule of the dns server, including:
The dns server is sent to content management server obtains the request of domain name mapping regular sequence row number;
The content management server returns to domain name solution according to domain name resolution rules serial number request to the dns server Analyse the sequence number of rule;
The sequence number of the domain name mapping rule of the return is compared with the domain name mapping regular sequence row number of local cache, sentenced The sequence number of the domain name mapping rule of disconnected local cache is less than the domain name mapping sequence of rules that the content management server is returned Number when, at content management server obtain update local cache domain name mapping rule.
2. the method as described in claim 1, it is characterised in that methods described also includes:
If the dns server judges the domain name of institute's request analysis not in the home domain name list, to content supplier CP dns servers send domain name analysis request, and after the domain name mapping result that the CP dns servers are returned is received, Domain name analysis result is returned into the client device.
3. the method as described in claim 1, it is characterised in that described to send domain name analysis request to content management server, Specially:The dns server sends domain name analysis request using forwarding interface to content management server;
The dns server receives the domain name mapping result that the content management server is returned using forwarding interface;
Wherein, the forwarding interface is DNS standard interfaces.
4. a kind of DNS data synchronous method, it is characterised in that including:
Dns server sends domain name resolution rules serial number request to content management server;
Content management server returns to domain name according to domain name resolution rules serial number request to the content management server The sequence number of resolution rules;
The dns server is returned in the sequence number for the domain name mapping rule for judging book server less than the content management server During the domain name mapping regular sequence row number returned, send domain name resolution rules to the content management server and update request;
The content management server sends domain name resolution rules according to the dns server and updates request, to the DNS service Device returns to domain name resolution rules;
The local domain name mapping rule of domain name mapping Policy Updates that the dns server is returned according to the dns server.
5. method as claimed in claim 4, it is characterised in that the dns server sends domain name to content management server Before resolution rules serial number request, in addition to:
Dns server receives the domain name mapping regular and synchronized notice that the content management server is sent;Wherein, domain name solution Analysis regular and synchronized notify to be sent after domain name mapping rule of the content management server on book server updates;
The dns server sends domain name resolution rules serial number request to content management server, is specially:The DNS clothes Business device is sent out after the domain name mapping regular and synchronized notice that the content management server is sent is received to content management server Domain name mapping regular sequence row number is sent to ask.
6. method as claimed in claim 5, it is characterised in that this method also includes:
Dns server is after the domain name mapping regular and synchronized notice that the content management server is sent is received, if not in setting The domain name mapping regular and synchronized notice that the content management server is sent is received in duration again, then to content management service Device sends domain name resolution rules serial number request.
7. a kind of dns server, it is characterised in that including:
Domain name mapping request processing module, for after the domain name mapping request of client device transmission is received, passing through first Enquiry module inquires about corresponding domain name mapping rule from local cache, if not inquiring corresponding domain name mapping rule, leads to The domain name for crossing the second enquiry module inquiry institute request analysis whether there is in home domain name list, be ranked if being present in local domain In table, then domain name analysis request is sent to content management server;And, receiving what the content management server was returned After domain name mapping result, domain name analysis result is returned into the client device;
First enquiry module, is same as inquiring about the domain name mapping rule of the domain name of institute's request analysis from local cache;
Second enquiry module, the domain name for inquiring about institute's request analysis from home domain name list;
The dns server, in addition to:Domain name mapping regular sequence row number request module and domain name mapping Policy Updates ask modulus Block,
Domain name resolution rules serial number request module, for sending domain name resolution rules sequence number to content management server After request, the sequence number for the domain name mapping rule that the content management server is returned is received;
Domain name resolution rules update request module, for being less than in the sequence number for the domain name mapping rule for judging book server During the domain name mapping regular sequence row number that the content management server is returned, domain name mapping is sent to the content management server Policy Updates are asked, and receive the domain name mapping rule that the content management server is returned.
8. dns server as claimed in claim 7, it is characterised in that domain name analysis request processing module is additionally operable to, When judging the domain name of institute's request analysis not in the home domain name list, domain name is sent to content supplier's CP dns servers Analysis request, and after the domain name mapping result that the CP dns servers are returned is received, domain name analysis result is returned Back to the client device.
9. dns server as claimed in claim 7, it is characterised in that domain name analysis request processing module specifically for, When the domain name that institute's request analysis is inquired by the second enquiry module is present in home domain name list, using forwarding interface to Content management server sends domain name analysis request;And, returned receiving the content management server using forwarding interface After the domain name mapping result returned, domain name analysis result is returned into the client device;Wherein, the forwarding interface is DNS standard interfaces.
10. a kind of content management server, it is characterised in that including:
Receiving module, the domain name mapping request for receiving dns server transmission;Wherein, domain name analysis request is described Dns server does not inquire corresponding domain name mapping rule from local cache, and judges that the domain name of institute's request analysis is present in Sent after in home domain name list;
Domain name mapping module, for carrying out domain name mapping according to domain name analysis request;
Sending module, for the domain name mapping result of domain name parsing module to be returned into the dns server;
The content management server also includes:Domain name mapping regular sequence row number request processing module and domain name mapping Policy Updates Request processing module,
Domain name resolution rules serial number request processing module, for receiving the domain that its administrative dns server is sent After name resolution rules serial number request, the sequence number of the domain name mapping rule on book server is sent to the dns server;
Domain name resolution rules update request processing module, for receiving the domain name mapping that the dns server is sent After Policy Updates request, the domain name mapping rule on book server is returned into the dns server;Wherein, domain name solution It is the dns server to analyse Policy Updates request, and the sequence number of the domain name mapping rule on book server is judged is less than described Sent after the sequence number of domain name mapping rule on content management server.
11. management server as claimed in claim 10, it is characterised in that the receiving module is specifically for utilizing forwarding The domain name mapping request that interface dns server is sent;
The sending module is specifically for the domain name mapping result for obtaining domain name parsing module is returned using forwarding interface Back to the dns server;
Wherein, the forwarding interface is DNS standard interfaces.
12. a kind of content management server, it is characterised in that including:
Domain name mapping regular sequence row number request processing module, for receiving the domain name solution that its administrative dns server is sent Analyse after the request of regular sequence row number, the sequence number of the domain name mapping rule on book server is sent to the dns server;
Domain name mapping Policy Updates request processing module, for receiving the domain name mapping rule that the dns server is sent Update after request, the domain name mapping rule on book server is returned into the dns server;Wherein, domain name parsing rule It is the dns server then to update request, and the sequence number of the domain name mapping rule on book server is judged is less than the content Sent after the sequence number of domain name mapping rule in management server.
13. content management server as claimed in claim 12, it is characterised in that also notified including domain name mapping regular and synchronized Module, for sending domain name resolution rules synchronization notice to its administrative each dns server, domain name resolution rules are synchronously logical Know what the rule of the domain name mapping on book server was sent after updating;
Domain name resolution rules serial number request is that dns server is receiving the synchronization that the content management server is sent Sent after notice.
14. a kind of dns server, it is characterised in that including:
Domain name mapping regular sequence row number request module, for sending domain name resolution rules serial number request to content management server Afterwards, the sequence number for the domain name mapping rule that the content management server is returned is received;
Domain name mapping Policy Updates request module, it is described for being less than in the sequence number for the domain name mapping rule for judging book server During the domain name mapping regular sequence row number that content management server is returned, domain name resolution rules are sent to the content management server Request is updated, and receives the domain name mapping rule that the content management server is returned;
Domain name mapping Policy Updates module, for according to the local domain name mapping rule of the domain name mapping Policy Updates received.
15. dns server as claimed in claim 14, it is characterised in that also include:
Domain name mapping regular and synchronized notification handler module, for receiving the domain name mapping rule that the content management server is sent Synchronization notice;Wherein, domain name resolution rules synchronization notice is domain name of the content management server on book server What resolution rules were sent after updating;
Domain name resolution rules serial number request module is specific in receiving the domain name that the content management server is sent After resolution rules synchronization notice, domain name resolution rules serial number request is sent to content management server.
16. dns server as claimed in claim 15, it is characterised in that domain name resolution rules serial number request module It is additionally operable to, after the domain name mapping regular and synchronized notice that the content management server is sent is received, if not in setting duration The domain name mapping regular and synchronized notice that the content management server is sent is received again, then is sent to content management server Domain name mapping regular sequence row number is asked.
CN201210581886.4A 2012-12-27 2012-12-27 A kind of DNS Operational Visits method, DNS data synchronous method and equipment Active CN103905574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210581886.4A CN103905574B (en) 2012-12-27 2012-12-27 A kind of DNS Operational Visits method, DNS data synchronous method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210581886.4A CN103905574B (en) 2012-12-27 2012-12-27 A kind of DNS Operational Visits method, DNS data synchronous method and equipment

Publications (2)

Publication Number Publication Date
CN103905574A CN103905574A (en) 2014-07-02
CN103905574B true CN103905574B (en) 2017-09-08

Family

ID=50996728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210581886.4A Active CN103905574B (en) 2012-12-27 2012-12-27 A kind of DNS Operational Visits method, DNS data synchronous method and equipment

Country Status (1)

Country Link
CN (1) CN103905574B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161400B (en) * 2015-04-22 2020-08-11 腾讯科技(深圳)有限公司 Communication message security detection method, device and system
CN106210158B (en) * 2015-05-04 2020-03-27 阿里巴巴集团控股有限公司 Domain name resolution synchronization method and device
CN104869182A (en) * 2015-05-28 2015-08-26 广州华多网络科技有限公司 Domain name resolution method and device
CN105162900B (en) * 2015-09-25 2019-02-15 中国互联网络信息中心 A kind of domain name mapping of multi-node collaboration and caching method and system
CN106534396A (en) * 2016-11-08 2017-03-22 安徽马钢自动化信息技术有限公司 Domain name analysis method and analysis system with multiple forwarding servers
CN106790766A (en) * 2017-02-17 2017-05-31 郑州云海信息技术有限公司 A kind of dns server intelligent configuration method for client
CN109842691A (en) * 2017-11-24 2019-06-04 中兴通讯股份有限公司 The domain name synchronous method and relevant device of Cache system and dns server
CN109600417B (en) * 2018-11-02 2021-08-27 创新先进技术有限公司 Method, device, equipment and system for tracking application access
CN110213394B (en) * 2018-12-29 2023-09-01 上海传英信息技术有限公司 DNS server configuration method, device and network system
CN110290233A (en) * 2019-06-27 2019-09-27 广州虎牙科技有限公司 Domain name analytic method, device, server and computer readable storage medium
CN114448931B (en) * 2022-02-17 2023-11-21 浪潮思科网络科技有限公司 Domain name resolution method, device and medium based on MLAG networking environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431539A (en) * 2008-12-11 2009-05-13 华为技术有限公司 Domain name resolution method, system and apparatus
CN102025793A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 Domain name resolution method and system and DNS in IP network
CN102571997A (en) * 2010-12-29 2012-07-11 中国移动通信集团北京有限公司 Method, system and device for data access
CN102572011A (en) * 2012-02-02 2012-07-11 中国科学院计算机网络信息中心 Method, device and system for processing data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070014241A1 (en) * 2005-07-14 2007-01-18 Banerjee Dwip N Resolver caching of a shortest path to a multihomed server as determined by a router
US8676989B2 (en) * 2009-04-23 2014-03-18 Opendns, Inc. Robust domain name resolution

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431539A (en) * 2008-12-11 2009-05-13 华为技术有限公司 Domain name resolution method, system and apparatus
CN102025793A (en) * 2010-01-22 2011-04-20 中国移动通信集团北京有限公司 Domain name resolution method and system and DNS in IP network
CN102571997A (en) * 2010-12-29 2012-07-11 中国移动通信集团北京有限公司 Method, system and device for data access
CN102572011A (en) * 2012-02-02 2012-07-11 中国科学院计算机网络信息中心 Method, device and system for processing data

Also Published As

Publication number Publication date
CN103905574A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103905574B (en) A kind of DNS Operational Visits method, DNS data synchronous method and equipment
Feng et al. HetNet: A flexible architecture for heterogeneous satellite-terrestrial networks
CN101981572B (en) Request routing
CN102893556B (en) Method, system and equipment for source peer-to-peer Diameter based on capacity load Sharing
US8363663B2 (en) Methods and apparatus for routing data to nodes
CN100471299C (en) Data business content adapting method. system and portal system
CN115442423A (en) Method for discovering services provided by a network repository function
CN103841045B (en) A kind of internet method for caching and processing, content detection subsystem and Cache systems
CN104135460B (en) A kind of push channel keepalive method and push server
CN107181804B (en) The method for down loading and device of resource
CN102047243A (en) Request routing based on class
JP2009500968A (en) Integrated architecture for remote network access
CN110460652A (en) A kind of resource acquiring method and edge calculations dispatch server
US20110307944A1 (en) Dispatching method, dispatching apparatus and dispatching system
CN101123578A (en) A method and system for improving access speed of network resource
US10432577B2 (en) Method and device for redirection to web page
CN105119787B (en) A kind of public internet access system and method based on software definition
CN109218362A (en) A kind of internet content distribution method, device and system
CN104079683B (en) A kind of authoritative domain name server directly in response to domain name analytic method and system
CN103312749B (en) A kind of application layer traffic optimizes discovery method, equipment and the system of server
CN107222561A (en) A kind of transport layer reverse proxy method
CN103997479B (en) A kind of asymmetric services IP Proxy Methods and equipment
CN109729183A (en) Request processing method, device, equipment and storage medium
CN109302437A (en) A kind of method and apparatus redirecting website
CN103888539A (en) P2P cache guiding method and device and P2P cache system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant