CN104852999A - Method for processing continuous service of servers based on DNS resolution - Google Patents

Method for processing continuous service of servers based on DNS resolution Download PDF

Info

Publication number
CN104852999A
CN104852999A CN201510174287.4A CN201510174287A CN104852999A CN 104852999 A CN104852999 A CN 104852999A CN 201510174287 A CN201510174287 A CN 201510174287A CN 104852999 A CN104852999 A CN 104852999A
Authority
CN
China
Prior art keywords
server
address
dns resolution
service
operating state
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.)
Pending
Application number
CN201510174287.4A
Other languages
Chinese (zh)
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.)
Hebi Xi Mo Telecom Technology Co Ltd
Original Assignee
Hebi Xi Mo Telecom Technology 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 Hebi Xi Mo Telecom Technology Co Ltd filed Critical Hebi Xi Mo Telecom Technology Co Ltd
Priority to CN201510174287.4A priority Critical patent/CN104852999A/en
Publication of CN104852999A publication Critical patent/CN104852999A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method for processing continuous service of servers based on DNS resolution. On the basis of resolution provided by a DNS resolving system, by monitoring the availability of servers, the method achieves resolution and returns the address of available servers so as to achieve continuous service of the servers. The method performs analysis and design according to an internet application protocol and relative characteristics of the content thereof, and returns an address result through resolution on the basis of DNS resolution, thereby achieving continuous server service and greatly reducing investment in server continuous service for enterprise units. In perspective of the present reality, the method focuses on a continuous service capability of Internet service, enables a user just to get access to the available servers according to the operating states of the servers, and obviously improves the availability of user access service.

Description

Based on the processing method that the server of dns resolution is served continuously
Technical field
The present invention relates to the technical field that server is served continuously, be specifically related to a kind of processing method of serving continuously based on the server of dns resolution.
Background technology
Along with the development of computer network, use the number of network also in continuous increase, and the server of service is provided, also increase according to the increase of number of users.If certain station server goes wrong, provide service just can not to the user of this station server of access.Want to reach that user is convenient, continuous print access services device, just need real-time monitoring, maintenance server, available continuously with the service of Deterministic service device.Traditional manual monitoring mode, needs the uninterrupted monitoring of 24 hours every days, and the Breakdown Maintenance team of 24 hours, and this is by the human and material resources of at substantial.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of processing method of serving continuously based on the server of dns resolution, utilize existing DNS equipment, it is available continuously that Deterministic service device is served, and reduces the input of server monitoring aspect fund and manpower to a great extent.
In order to achieve the above object, technical scheme of the present invention is: a kind of processing method of serving continuously based on the server of dns resolution, there is provided on the basis of parsing in dns resolution system, by the availability of monitor server, realize resolving that return can the address of workspace server, reach the continuous service of server, its step is as follows:
(1) server S that domain name is the application APP of DM is set 1, S 2, S 3..., S ninitial condition be and can work, wherein n be application APP server sum;
(2) dns resolution system, according to the IP address of client, is resolved the domain name DM of application APP, is returned the IP address A of its Servers-all 1, A 2, A 3..., A n;
(3) dns resolution system detects server S by Transmission Control Protocol timing 1, S 2, S 3..., S nport whether open, if port is opened, being denoted as can operating state; If port shutdown, being then denoted as can not operating state;
(4) dns resolution system analysis domain name DM is all can the server address of operating state;
(5) during user access application APP, access the server that can work, thus be embodied as user continuous print service is provided.
Described Transmission Control Protocol detecting server S i when providing the port shutdown of service, tag address is A i server S i for can not operating state, excluded address A in the address returned when resolving domain name DM i ; Described Transmission Control Protocol detecting server S i when providing the port of service to open, tag address is A i server S i for can not operating state, in the address returned when resolving domain name DM, comprise address A i , wherein i=1,2 ..., n.
Described dns resolution Operation system setting server S 1, S 2, S 3..., S ncache-time be 0.
The present invention carries out analysis and designation according to the relevant feature of internet, applications agreement and content thereof, based on the basis of dns resolution, by resolving the address result returned, realizing the available continuously of server service, greatly reducing the input of business unit in server continuously service.The present invention sets out according to actual, pays close attention to the continuous service ability of Internet service, according to the operating state of server, makes user only access the server that can work, significantly improve the availability of user's access services.
Embodiment
The present invention is specifically described below by embodiment.
Based on the processing method that the server of dns resolution is served continuously, provide on the basis of parsing in dns resolution system, by the availability of monitor server, realize resolving that return can the address of workspace server, reach the continuous service of server, its step is as follows:
(1) server S that domain name is the application APP of DM is set 1, S 2, S 3..., S ninitial condition be and can work.
The server S of application APP 1, S 2, S 3..., S ncorresponding IP address is respectively A 1, A 2, A 3..., A n, wherein n is total number of the server of application APP.The address of server is user configured when arranging address resolution.Each server independently can provide service, and its state is as shown in table 1.
The server of APP applied by table 1
The service provider of application APP opens its Servers-all S 1, S 2, S 3..., S nport, its initial condition is can work.
(2) dns resolution system, according to the IP address of client, is resolved the domain name DM of application APP, is returned the IP address A of its Servers-all 1, A 2, A 3..., A n.
Dns resolution system, according to the IP address of client, returns the record value in this IP corresponding line, i.e. the IP address of server.Dns resolution Operation system setting server S 1, S 2, S 3..., S ncache-time be 0, namely point out client not caching server S 1, S 2, S 3..., S naddress.Use buffer memory, user will use the cache information in client rs PC, and this cache information of having a rest is not up-to-date server state, can not can work by Deterministic service device.Therefore, server S is set 1, S 2, S 3..., S ncache-time be 0, for the operating state of real-time acquisition server provides precondition.
(3) dns resolution system detects server S by Transmission Control Protocol timing 1, S 2, S 3..., S nport whether open, if port is opened, being denoted as can operating state; If port shutdown, being then denoted as can not operating state.
Server S is detected by Transmission Control Protocol timing in dns resolution system 1, S 2, S 3..., S nthere is provided the port of service whether to open, if the port shutdown of server providing services, be namely considered as this server and do not provide service.When the port shutdown of certain server being detected, dns resolution system can notification service business in time.After Service-Port is opened, Transmission Control Protocol detection can be opened the port of detecting server, and making it be denoted as can operating state, makes it continue to provide service.The port of specifying to server after Transmission Control Protocol detection sends information, and the content according to this server returns information judges.
Whether timing detects and after a default time value, just can perform the port that Transmission Control Protocol detects server open, and the operating state of update server.The time value preset generally is got.Detected by timing, and mark server can operating state, what return when dns resolution is all can the server address of operating state, the namely operable server of user's access.
(4) dns resolution system analysis domain name DM is all can the server address of operating state.
Transmission Control Protocol detecting server S i when providing the port shutdown of service, tag address is A i server S i for can not operating state resolve domain name DM time the address that returns in excluded address A i , in the address namely returned, do not comprise the address A of this server i .Transmission Control Protocol detecting server S i when providing the port of service to open, tag address is A i server S i for can not operating state, in the address returned when resolving domain name DM, get rid of A i , wherein i=1,2 ..., n.
(5) during user access application APP, access the server that can work, thus be embodied as user continuous print service is provided.
During due to dns resolution system analysis domain name DM, timing detects the operating state of Servers-all, return all can the server address of operating state, thus provide the server that can serve for user, realize the continuous service of this domain name.Therefore, the present invention does not need to increase extra equipment can be embodied as the continuous service that user provides domain name, and easy to maintenance, greatly reduces the input of man power and material.Meanwhile, user can only access the server that can work, and user friendly operation uses.
Embodiment:
Domain name is the application of x.y, and it has two-server S 1and S 2, and server S 1address be 10.10.10.2, server S 2address be 10.10.10.3, to the processing method that this server is served continuously be:
1, the service provider providing domain name x.y to serve arranges server S 1and S 2state for working.
2, during dns resolution system analysis domain name x.y, the server S that can work is returned 1and S 2address, be: 10.10.10.2 and 10.10.10.3.
3, dns resolution system is by Transmission Control Protocol monitoring server S 1and S 2operating state, if server S 1there is provided the port shutdown of service, then server S 1state for working, therefore resolve the address that returns of domain name x.y and be: 10.10.10.3.
4, service provider opens server S 1there is provided the port of service, dns resolution system is by Transmission Control Protocol monitoring server S 1and S 2state, if server S 1there is provided the port of service to open, then server S is set 1state for working, therefore resolve the address that returns of domain name x.y and be: 10.10.10.2,10.10.10.3.
5, dns resolution timing is monitored and is arranged server S 1and S 2operating state, and return to the address of all servers worked according to the operating state of server, the IP address of the server that can work can be used when user accesses domain name x.y, thus achieve the continuous service of server.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.

Claims (3)

1. a processing method of serving continuously based on the server of dns resolution, it is characterized in that: provide on the basis of parsing in dns resolution system, by the availability of monitor server, realize resolving that return can the address of workspace server, reach the continuous service of server, its step is as follows:
(1) server S that domain name is the application APP of DM is set 1, S 2, S 3..., S ninitial condition be and can work, wherein n be application APP server sum;
(2) dns resolution system, according to the IP address of client, is resolved the domain name DM of application APP, is returned the IP address A of its Servers-all 1, A 2, A 3..., A n;
(3) dns resolution system detects server S by Transmission Control Protocol timing 1, S 2, S 3..., S nport whether open, if port is opened, being denoted as can operating state; If port shutdown, being then denoted as can not operating state;
(4) dns resolution system analysis domain name DM is all can the server address of operating state;
(5) during user access application APP, access the server that can work, thus be embodied as user continuous print service is provided.
2. processing method of serving continuously based on the server of dns resolution according to claim 1, is characterized in that, described Transmission Control Protocol detecting server S i when providing the port shutdown of service, tag address is A i server S i for can not operating state, excluded address A in the address returned when resolving domain name DM i ; Described Transmission Control Protocol detecting server S i when providing the port of service to open, tag address is A i server S i for can not operating state, in the address returned when resolving domain name DM, comprise address A i , wherein i=1,2 ..., n.
3. processing method of serving continuously based on the server of dns resolution according to claim 1 and 2, is characterized in that, described dns resolution Operation system setting server S 1, S 2, S 3..., S ncache-time be 0.
CN201510174287.4A 2015-04-14 2015-04-14 Method for processing continuous service of servers based on DNS resolution Pending CN104852999A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510174287.4A CN104852999A (en) 2015-04-14 2015-04-14 Method for processing continuous service of servers based on DNS resolution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510174287.4A CN104852999A (en) 2015-04-14 2015-04-14 Method for processing continuous service of servers based on DNS resolution

Publications (1)

Publication Number Publication Date
CN104852999A true CN104852999A (en) 2015-08-19

Family

ID=53852347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510174287.4A Pending CN104852999A (en) 2015-04-14 2015-04-14 Method for processing continuous service of servers based on DNS resolution

Country Status (1)

Country Link
CN (1) CN104852999A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030055954A1 (en) * 2001-09-18 2003-03-20 Alan Kavanagh Adaptive node selection
CN1934839A (en) * 2004-06-29 2007-03-21 西门子公司 Method of providing a reliable server function in support of a service or a set of services
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server
CN101764855A (en) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and system for providing domain name resolution services
CN102045411A (en) * 2009-10-13 2011-05-04 中国移动通信集团公司 Method, server and system for domain name resolution
CN103731287A (en) * 2012-10-16 2014-04-16 无锡云捷科技有限公司 Method for selecting server to take over fault server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030055954A1 (en) * 2001-09-18 2003-03-20 Alan Kavanagh Adaptive node selection
CN1934839A (en) * 2004-06-29 2007-03-21 西门子公司 Method of providing a reliable server function in support of a service or a set of services
CN101340327A (en) * 2008-08-21 2009-01-07 腾讯科技(深圳)有限公司 Method, system and domain name parsing server implementing load balance of network server
CN102045411A (en) * 2009-10-13 2011-05-04 中国移动通信集团公司 Method, server and system for domain name resolution
CN101764855A (en) * 2009-12-30 2010-06-30 福建星网锐捷网络有限公司 Method, device and system for providing domain name resolution services
CN103731287A (en) * 2012-10-16 2014-04-16 无锡云捷科技有限公司 Method for selecting server to take over fault server

Similar Documents

Publication Publication Date Title
CN104054316B (en) Systems and methods for conducting load balancing on SMS center and building virtual private network
CN104168316B (en) A kind of Webpage access control method, gateway
WO2015120750A1 (en) Dns-based ipv6 and ipv4 interworking method
CN102292961A (en) Systems and methods for applying transformations to IP addresses obtained by domain name service (DNS)
CN108183975A (en) A kind of method and system of domain name mapping
CN102783090A (en) Systems and methods for object rate limiting in a multi-core system
CN101610294A (en) A kind of method of utilizing intelligent DNS to improve website visiting speed
WO2012034518A1 (en) Method and system for providing message including universal resource locator
DE60336998D1 (en) Check for duplicate MAC addresses and dynamic allocation of MAC addresses
EP1748598A3 (en) System and method for ensuring a device uses the correct instance of a network service
CN101686245B (en) Method and system for isolating hypertext transfer protocol session
CN104394227B (en) User data transmission method, system and the browser of browser
CN102811219A (en) Method for remotely accessing desktop of computer in intranet across network segments in cluster system
CN105743945A (en) Method and system for downloading files on the basis of switching download sources
CN106878458A (en) A kind of proxy access method and system
CN104954501A (en) Cross-domain information interactive method, device thereof and system thereof
CN102123180A (en) DNS (Domain Name Server) network structure and domain name resolution method
CN102624691A (en) Multi-proxy internet access method adopting shareable advertisement blocking configuration information
CN106411819A (en) Method and apparatus for recognizing proxy Internet protocol address
CN102780791A (en) Self-adaption IP (Internet Protocol) method, device and system
CN113242299A (en) Disaster recovery system, method, computer device and medium for multiple data centers
US9866614B2 (en) Methods for website version control using bucket cookies
CN104065688B (en) A kind of method and device for calling underlying services
CN202103713U (en) Visiting system
CN104852999A (en) Method for processing continuous service of servers based on DNS resolution

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150819

RJ01 Rejection of invention patent application after publication